TrinityCore
field_options.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: global_extensions/field_options.proto
3
4#ifndef PROTOBUF_global_5fextensions_2ffield_5foptions_2eproto__INCLUDED
5#define PROTOBUF_global_5fextensions_2ffield_5foptions_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 "google/protobuf/descriptor.pb.h"
30#include "Define.h" // for TC_PROTO_API
31// @@protoc_insertion_point(includes)
32
33namespace bgs {
34namespace protocol {
35
36// Internal implementation detail -- do not call these.
40
41class BGSFieldOptions;
50
58};
63
64TC_PROTO_API const ::google::protobuf::EnumDescriptor* EntityIdRestriction_Kind_descriptor();
65inline const ::std::string& EntityIdRestriction_Kind_Name(EntityIdRestriction_Kind value) {
66 return ::google::protobuf::internal::NameOfEnum(
68}
70 const ::std::string& name, EntityIdRestriction_Kind* value) {
71 return ::google::protobuf::internal::ParseNamedEnum<EntityIdRestriction_Kind>(
73}
75 HIDDEN = 1,
76 HEX = 2
77};
82
83TC_PROTO_API const ::google::protobuf::EnumDescriptor* LogOption_descriptor();
84inline const ::std::string& LogOption_Name(LogOption value) {
85 return ::google::protobuf::internal::NameOfEnum(
86 LogOption_descriptor(), value);
87}
88inline bool LogOption_Parse(
89 const ::std::string& name, LogOption* value) {
90 return ::google::protobuf::internal::ParseNamedEnum<LogOption>(
91 LogOption_descriptor(), name, value);
92}
93// ===================================================================
94
95class TC_PROTO_API BGSFieldOptions : public ::google::protobuf::Message {
96 public:
99
101
103 CopyFrom(from);
104 return *this;
105 }
106
107 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
108 return _unknown_fields_;
109 }
110
111 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
112 return &_unknown_fields_;
113 }
114
115 static const ::google::protobuf::Descriptor* descriptor();
117
118 void Swap(BGSFieldOptions* other);
119
120 // implements Message ----------------------------------------------
121
123 int GetCachedSize() const { return _cached_size_; }
124 private:
127 void SetCachedSize(int size) const;
128 public:
129 ::google::protobuf::Metadata GetMetadata() const;
130
131 // nested types ----------------------------------------------------
132
133 // accessors -------------------------------------------------------
134
135 // optional .bgs.protocol.LogOption log = 1;
136 inline bool has_log() const;
137 inline void clear_log();
138 static const int kLogFieldNumber = 1;
140 inline void set_log(::bgs::protocol::LogOption value);
141
142 // optional bool shard_key = 2;
143 inline bool has_shard_key() const;
144 inline void clear_shard_key();
145 static const int kShardKeyFieldNumber = 2;
146 inline bool shard_key() const;
147 inline void set_shard_key(bool value);
148
149 // optional bool fanout_key = 3;
150 inline bool has_fanout_key() const;
151 inline void clear_fanout_key();
152 static const int kFanoutKeyFieldNumber = 3;
153 inline bool fanout_key() const;
154 inline void set_fanout_key(bool value);
155
156 // optional bool client_instance_key = 4;
157 inline bool has_client_instance_key() const;
158 inline void clear_client_instance_key();
159 static const int kClientInstanceKeyFieldNumber = 4;
160 inline bool client_instance_key() const;
161 inline void set_client_instance_key(bool value);
162
163 // optional string realized_enum = 5;
164 inline bool has_realized_enum() const;
165 inline void clear_realized_enum();
166 static const int kRealizedEnumFieldNumber = 5;
167 inline const ::std::string& realized_enum() const;
168 inline void set_realized_enum(const ::std::string& value);
169 inline void set_realized_enum(const char* value);
170 inline void set_realized_enum(const char* value, size_t size);
171 inline ::std::string* mutable_realized_enum();
172 inline ::std::string* release_realized_enum();
173 inline void set_allocated_realized_enum(::std::string* realized_enum);
174
175 // @@protoc_insertion_point(class_scope:bgs.protocol.BGSFieldOptions)
176 private:
177 inline void set_has_log();
178 inline void clear_has_log();
179 inline void set_has_shard_key();
180 inline void clear_has_shard_key();
181 inline void set_has_fanout_key();
182 inline void clear_has_fanout_key();
183 inline void set_has_client_instance_key();
184 inline void clear_has_client_instance_key();
185 inline void set_has_realized_enum();
186 inline void clear_has_realized_enum();
187
188 ::google::protobuf::UnknownFieldSet _unknown_fields_;
189
191 mutable int _cached_size_;
192 int log_;
196 ::std::string* realized_enum_;
200
203};
204// -------------------------------------------------------------------
205
206class TC_PROTO_API FieldRestriction : public ::google::protobuf::Message {
207 public:
210
212
214 CopyFrom(from);
215 return *this;
216 }
217
218 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
219 return _unknown_fields_;
220 }
221
222 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
223 return &_unknown_fields_;
224 }
225
226 static const ::google::protobuf::Descriptor* descriptor();
228
229 enum TypeCase {
230 kSigned = 1,
231 kUnsigned = 2,
232 kFloat = 3,
233 kString = 4,
234 kRepeated = 5,
235 kMessage = 6,
236 kEntityId = 7,
237 kBytes = 8,
238 TYPE_NOT_SET = 0,
239 };
240
241 void Swap(FieldRestriction* other);
242
243 // implements Message ----------------------------------------------
244
246 int GetCachedSize() const { return _cached_size_; }
247 private:
250 void SetCachedSize(int size) const;
251 public:
252 ::google::protobuf::Metadata GetMetadata() const;
253
254 // nested types ----------------------------------------------------
255
256 // accessors -------------------------------------------------------
257
258 // optional .bgs.protocol.SignedFieldRestriction signed = 1;
259 inline bool has_signed_() const;
260 inline void clear_signed_();
261 static const int kSignedFieldNumber = 1;
262 inline const ::bgs::protocol::SignedFieldRestriction& signed_() const;
263 inline ::bgs::protocol::SignedFieldRestriction* mutable_signed_();
264 inline ::bgs::protocol::SignedFieldRestriction* release_signed_();
265 inline void set_allocated_signed_(::bgs::protocol::SignedFieldRestriction* signed_);
266
267 // optional .bgs.protocol.UnsignedFieldRestriction unsigned = 2;
268 inline bool has_unsigned_() const;
269 inline void clear_unsigned_();
270 static const int kUnsignedFieldNumber = 2;
271 inline const ::bgs::protocol::UnsignedFieldRestriction& unsigned_() const;
272 inline ::bgs::protocol::UnsignedFieldRestriction* mutable_unsigned_();
273 inline ::bgs::protocol::UnsignedFieldRestriction* release_unsigned_();
274 inline void set_allocated_unsigned_(::bgs::protocol::UnsignedFieldRestriction* unsigned_);
275
276 // optional .bgs.protocol.FloatFieldRestriction float = 3;
277 inline bool has_float_() const;
278 inline void clear_float_();
279 static const int kFloatFieldNumber = 3;
280 inline const ::bgs::protocol::FloatFieldRestriction& float_() const;
281 inline ::bgs::protocol::FloatFieldRestriction* mutable_float_();
282 inline ::bgs::protocol::FloatFieldRestriction* release_float_();
283 inline void set_allocated_float_(::bgs::protocol::FloatFieldRestriction* float_);
284
285 // optional .bgs.protocol.StringFieldRestriction string = 4;
286 inline bool has_string() const;
287 inline void clear_string();
288 static const int kStringFieldNumber = 4;
289 inline const ::bgs::protocol::StringFieldRestriction& string() const;
290 inline ::bgs::protocol::StringFieldRestriction* mutable_string();
291 inline ::bgs::protocol::StringFieldRestriction* release_string();
292 inline void set_allocated_string(::bgs::protocol::StringFieldRestriction* string);
293
294 // optional .bgs.protocol.RepeatedFieldRestriction repeated = 5;
295 inline bool has_repeated() const;
296 inline void clear_repeated();
297 static const int kRepeatedFieldNumber = 5;
298 inline const ::bgs::protocol::RepeatedFieldRestriction& repeated() const;
299 inline ::bgs::protocol::RepeatedFieldRestriction* mutable_repeated();
300 inline ::bgs::protocol::RepeatedFieldRestriction* release_repeated();
301 inline void set_allocated_repeated(::bgs::protocol::RepeatedFieldRestriction* repeated);
302
303 // optional .bgs.protocol.MessageFieldRestriction message = 6;
304 inline bool has_message() const;
305 inline void clear_message();
306 static const int kMessageFieldNumber = 6;
307 inline const ::bgs::protocol::MessageFieldRestriction& message() const;
308 inline ::bgs::protocol::MessageFieldRestriction* mutable_message();
309 inline ::bgs::protocol::MessageFieldRestriction* release_message();
310 inline void set_allocated_message(::bgs::protocol::MessageFieldRestriction* message);
311
312 // optional .bgs.protocol.EntityIdRestriction entity_id = 7;
313 inline bool has_entity_id() const;
314 inline void clear_entity_id();
315 static const int kEntityIdFieldNumber = 7;
316 inline const ::bgs::protocol::EntityIdRestriction& entity_id() const;
317 inline ::bgs::protocol::EntityIdRestriction* mutable_entity_id();
318 inline ::bgs::protocol::EntityIdRestriction* release_entity_id();
319 inline void set_allocated_entity_id(::bgs::protocol::EntityIdRestriction* entity_id);
320
321 // optional .bgs.protocol.StringFieldRestriction bytes = 8;
322 inline bool has_bytes() const;
323 inline void clear_bytes();
324 static const int kBytesFieldNumber = 8;
325 inline const ::bgs::protocol::StringFieldRestriction& bytes() const;
326 inline ::bgs::protocol::StringFieldRestriction* mutable_bytes();
327 inline ::bgs::protocol::StringFieldRestriction* release_bytes();
328 inline void set_allocated_bytes(::bgs::protocol::StringFieldRestriction* bytes);
329
330 inline TypeCase type_case() const;
331 // @@protoc_insertion_point(class_scope:bgs.protocol.FieldRestriction)
332 private:
333 inline void set_has_signed_();
334 inline void set_has_unsigned_();
335 inline void set_has_float_();
336 inline void set_has_string();
337 inline void set_has_repeated();
338 inline void set_has_message();
339 inline void set_has_entity_id();
340 inline void set_has_bytes();
341
342 inline bool has_type();
344 inline void clear_has_type();
345
346 ::google::protobuf::UnknownFieldSet _unknown_fields_;
347
349 mutable int _cached_size_;
350 union TypeUnion {
359 } type_;
361
365
368};
369// -------------------------------------------------------------------
370
371class TC_PROTO_API RepeatedFieldRestriction : public ::google::protobuf::Message {
372 public:
375
377
379 CopyFrom(from);
380 return *this;
381 }
382
383 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
384 return _unknown_fields_;
385 }
386
387 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
388 return &_unknown_fields_;
389 }
390
391 static const ::google::protobuf::Descriptor* descriptor();
393
394 enum TypeCase {
395 kSigned = 3,
396 kUnsigned = 4,
397 kFloat = 5,
398 kString = 6,
399 kEntityId = 7,
400 kBytes = 8,
401 TYPE_NOT_SET = 0,
402 };
403
405
406 // implements Message ----------------------------------------------
407
409 int GetCachedSize() const { return _cached_size_; }
410 private:
413 void SetCachedSize(int size) const;
414 public:
415 ::google::protobuf::Metadata GetMetadata() const;
416
417 // nested types ----------------------------------------------------
418
419 // accessors -------------------------------------------------------
420
421 // optional .bgs.protocol.UnsignedIntRange size = 1;
422 inline bool has_size() const;
423 inline void clear_size();
424 static const int kSizeFieldNumber = 1;
425 inline const ::bgs::protocol::UnsignedIntRange& size() const;
426 inline ::bgs::protocol::UnsignedIntRange* mutable_size();
427 inline ::bgs::protocol::UnsignedIntRange* release_size();
428 inline void set_allocated_size(::bgs::protocol::UnsignedIntRange* size);
429
430 // optional bool unique = 2;
431 inline bool has_unique() const;
432 inline void clear_unique();
433 static const int kUniqueFieldNumber = 2;
434 inline bool unique() const;
435 inline void set_unique(bool value);
436
437 // optional .bgs.protocol.SignedFieldRestriction signed = 3;
438 inline bool has_signed_() const;
439 inline void clear_signed_();
440 static const int kSignedFieldNumber = 3;
441 inline const ::bgs::protocol::SignedFieldRestriction& signed_() const;
442 inline ::bgs::protocol::SignedFieldRestriction* mutable_signed_();
443 inline ::bgs::protocol::SignedFieldRestriction* release_signed_();
444 inline void set_allocated_signed_(::bgs::protocol::SignedFieldRestriction* signed_);
445
446 // optional .bgs.protocol.UnsignedFieldRestriction unsigned = 4;
447 inline bool has_unsigned_() const;
448 inline void clear_unsigned_();
449 static const int kUnsignedFieldNumber = 4;
450 inline const ::bgs::protocol::UnsignedFieldRestriction& unsigned_() const;
451 inline ::bgs::protocol::UnsignedFieldRestriction* mutable_unsigned_();
452 inline ::bgs::protocol::UnsignedFieldRestriction* release_unsigned_();
453 inline void set_allocated_unsigned_(::bgs::protocol::UnsignedFieldRestriction* unsigned_);
454
455 // optional .bgs.protocol.FloatFieldRestriction float = 5;
456 inline bool has_float_() const;
457 inline void clear_float_();
458 static const int kFloatFieldNumber = 5;
459 inline const ::bgs::protocol::FloatFieldRestriction& float_() const;
460 inline ::bgs::protocol::FloatFieldRestriction* mutable_float_();
461 inline ::bgs::protocol::FloatFieldRestriction* release_float_();
462 inline void set_allocated_float_(::bgs::protocol::FloatFieldRestriction* float_);
463
464 // optional .bgs.protocol.StringFieldRestriction string = 6;
465 inline bool has_string() const;
466 inline void clear_string();
467 static const int kStringFieldNumber = 6;
468 inline const ::bgs::protocol::StringFieldRestriction& string() const;
469 inline ::bgs::protocol::StringFieldRestriction* mutable_string();
470 inline ::bgs::protocol::StringFieldRestriction* release_string();
471 inline void set_allocated_string(::bgs::protocol::StringFieldRestriction* string);
472
473 // optional .bgs.protocol.EntityIdRestriction entity_id = 7;
474 inline bool has_entity_id() const;
475 inline void clear_entity_id();
476 static const int kEntityIdFieldNumber = 7;
477 inline const ::bgs::protocol::EntityIdRestriction& entity_id() const;
478 inline ::bgs::protocol::EntityIdRestriction* mutable_entity_id();
479 inline ::bgs::protocol::EntityIdRestriction* release_entity_id();
480 inline void set_allocated_entity_id(::bgs::protocol::EntityIdRestriction* entity_id);
481
482 // optional .bgs.protocol.StringFieldRestriction bytes = 8;
483 inline bool has_bytes() const;
484 inline void clear_bytes();
485 static const int kBytesFieldNumber = 8;
486 inline const ::bgs::protocol::StringFieldRestriction& bytes() const;
487 inline ::bgs::protocol::StringFieldRestriction* mutable_bytes();
488 inline ::bgs::protocol::StringFieldRestriction* release_bytes();
489 inline void set_allocated_bytes(::bgs::protocol::StringFieldRestriction* bytes);
490
491 inline TypeCase type_case() const;
492 // @@protoc_insertion_point(class_scope:bgs.protocol.RepeatedFieldRestriction)
493 private:
494 inline void set_has_size();
495 inline void clear_has_size();
496 inline void set_has_unique();
497 inline void clear_has_unique();
498 inline void set_has_signed_();
499 inline void set_has_unsigned_();
500 inline void set_has_float_();
501 inline void set_has_string();
502 inline void set_has_entity_id();
503 inline void set_has_bytes();
504
505 inline bool has_type();
507 inline void clear_has_type();
508
509 ::google::protobuf::UnknownFieldSet _unknown_fields_;
510
512 mutable int _cached_size_;
515 union TypeUnion {
522 } type_;
524
528
531};
532// -------------------------------------------------------------------
533
534class TC_PROTO_API SignedFieldRestriction : public ::google::protobuf::Message {
535 public:
538
540
542 CopyFrom(from);
543 return *this;
544 }
545
546 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
547 return _unknown_fields_;
548 }
549
550 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
551 return &_unknown_fields_;
552 }
553
554 static const ::google::protobuf::Descriptor* descriptor();
556
558
559 // implements Message ----------------------------------------------
560
562 int GetCachedSize() const { return _cached_size_; }
563 private:
566 void SetCachedSize(int size) const;
567 public:
568 ::google::protobuf::Metadata GetMetadata() const;
569
570 // nested types ----------------------------------------------------
571
572 // accessors -------------------------------------------------------
573
574 // optional .bgs.protocol.SignedIntRange limits = 1;
575 inline bool has_limits() const;
576 inline void clear_limits();
577 static const int kLimitsFieldNumber = 1;
578 inline const ::bgs::protocol::SignedIntRange& limits() const;
579 inline ::bgs::protocol::SignedIntRange* mutable_limits();
580 inline ::bgs::protocol::SignedIntRange* release_limits();
581 inline void set_allocated_limits(::bgs::protocol::SignedIntRange* limits);
582
583 // repeated sint64 exclude = 2;
584 inline int exclude_size() const;
585 inline void clear_exclude();
586 static const int kExcludeFieldNumber = 2;
587 inline ::google::protobuf::int64 exclude(int index) const;
588 inline void set_exclude(int index, ::google::protobuf::int64 value);
589 inline void add_exclude(::google::protobuf::int64 value);
590 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
591 exclude() const;
592 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
593 mutable_exclude();
594
595 // @@protoc_insertion_point(class_scope:bgs.protocol.SignedFieldRestriction)
596 private:
597 inline void set_has_limits();
598 inline void clear_has_limits();
599
600 ::google::protobuf::UnknownFieldSet _unknown_fields_;
601
603 mutable int _cached_size_;
605 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > exclude_;
609
612};
613// -------------------------------------------------------------------
614
615class TC_PROTO_API UnsignedFieldRestriction : 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.UnsignedIntRange limits = 1;
656 inline bool has_limits() const;
657 inline void clear_limits();
658 static const int kLimitsFieldNumber = 1;
659 inline const ::bgs::protocol::UnsignedIntRange& limits() const;
660 inline ::bgs::protocol::UnsignedIntRange* mutable_limits();
661 inline ::bgs::protocol::UnsignedIntRange* release_limits();
662 inline void set_allocated_limits(::bgs::protocol::UnsignedIntRange* limits);
663
664 // repeated uint64 exclude = 2;
665 inline int exclude_size() const;
666 inline void clear_exclude();
667 static const int kExcludeFieldNumber = 2;
668 inline ::google::protobuf::uint64 exclude(int index) const;
669 inline void set_exclude(int index, ::google::protobuf::uint64 value);
670 inline void add_exclude(::google::protobuf::uint64 value);
671 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
672 exclude() const;
673 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
674 mutable_exclude();
675
676 // @@protoc_insertion_point(class_scope:bgs.protocol.UnsignedFieldRestriction)
677 private:
678 inline void set_has_limits();
679 inline void clear_has_limits();
680
681 ::google::protobuf::UnknownFieldSet _unknown_fields_;
682
684 mutable int _cached_size_;
686 ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > exclude_;
690
693};
694// -------------------------------------------------------------------
695
696class TC_PROTO_API FloatFieldRestriction : public ::google::protobuf::Message {
697 public:
700
702
704 CopyFrom(from);
705 return *this;
706 }
707
708 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
709 return _unknown_fields_;
710 }
711
712 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
713 return &_unknown_fields_;
714 }
715
716 static const ::google::protobuf::Descriptor* descriptor();
718
720
721 // implements Message ----------------------------------------------
722
724 int GetCachedSize() const { return _cached_size_; }
725 private:
728 void SetCachedSize(int size) const;
729 public:
730 ::google::protobuf::Metadata GetMetadata() const;
731
732 // nested types ----------------------------------------------------
733
734 // accessors -------------------------------------------------------
735
736 // optional .bgs.protocol.FloatRange limits = 1;
737 inline bool has_limits() const;
738 inline void clear_limits();
739 static const int kLimitsFieldNumber = 1;
740 inline const ::bgs::protocol::FloatRange& limits() const;
741 inline ::bgs::protocol::FloatRange* mutable_limits();
742 inline ::bgs::protocol::FloatRange* release_limits();
743 inline void set_allocated_limits(::bgs::protocol::FloatRange* limits);
744
745 // repeated float exclude = 2;
746 inline int exclude_size() const;
747 inline void clear_exclude();
748 static const int kExcludeFieldNumber = 2;
749 inline float exclude(int index) const;
750 inline void set_exclude(int index, float value);
751 inline void add_exclude(float value);
752 inline const ::google::protobuf::RepeatedField< float >&
753 exclude() const;
754 inline ::google::protobuf::RepeatedField< float >*
755 mutable_exclude();
756
757 // @@protoc_insertion_point(class_scope:bgs.protocol.FloatFieldRestriction)
758 private:
759 inline void set_has_limits();
760 inline void clear_has_limits();
761
762 ::google::protobuf::UnknownFieldSet _unknown_fields_;
763
765 mutable int _cached_size_;
767 ::google::protobuf::RepeatedField< float > exclude_;
771
774};
775// -------------------------------------------------------------------
776
777class TC_PROTO_API StringFieldRestriction : public ::google::protobuf::Message {
778 public:
781
783
785 CopyFrom(from);
786 return *this;
787 }
788
789 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
790 return _unknown_fields_;
791 }
792
793 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
794 return &_unknown_fields_;
795 }
796
797 static const ::google::protobuf::Descriptor* descriptor();
799
801
802 // implements Message ----------------------------------------------
803
805 int GetCachedSize() const { return _cached_size_; }
806 private:
809 void SetCachedSize(int size) const;
810 public:
811 ::google::protobuf::Metadata GetMetadata() const;
812
813 // nested types ----------------------------------------------------
814
815 // accessors -------------------------------------------------------
816
817 // optional .bgs.protocol.UnsignedIntRange size = 1;
818 inline bool has_size() const;
819 inline void clear_size();
820 static const int kSizeFieldNumber = 1;
821 inline const ::bgs::protocol::UnsignedIntRange& size() const;
822 inline ::bgs::protocol::UnsignedIntRange* mutable_size();
823 inline ::bgs::protocol::UnsignedIntRange* release_size();
824 inline void set_allocated_size(::bgs::protocol::UnsignedIntRange* size);
825
826 // repeated string exclude = 2;
827 inline int exclude_size() const;
828 inline void clear_exclude();
829 static const int kExcludeFieldNumber = 2;
830 inline const ::std::string& exclude(int index) const;
831 inline ::std::string* mutable_exclude(int index);
832 inline void set_exclude(int index, const ::std::string& value);
833 inline void set_exclude(int index, const char* value);
834 inline void set_exclude(int index, const char* value, size_t size);
835 inline ::std::string* add_exclude();
836 inline void add_exclude(const ::std::string& value);
837 inline void add_exclude(const char* value);
838 inline void add_exclude(const char* value, size_t size);
839 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& exclude() const;
840 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_exclude();
841
842 // @@protoc_insertion_point(class_scope:bgs.protocol.StringFieldRestriction)
843 private:
844 inline void set_has_size();
845 inline void clear_has_size();
846
847 ::google::protobuf::UnknownFieldSet _unknown_fields_;
848
850 mutable int _cached_size_;
852 ::google::protobuf::RepeatedPtrField< ::std::string> exclude_;
856
859};
860// -------------------------------------------------------------------
861
862class TC_PROTO_API EntityIdRestriction : public ::google::protobuf::Message {
863 public:
866
868
870 CopyFrom(from);
871 return *this;
872 }
873
874 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
875 return _unknown_fields_;
876 }
877
878 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
879 return &_unknown_fields_;
880 }
881
882 static const ::google::protobuf::Descriptor* descriptor();
884
886
887 // implements Message ----------------------------------------------
888
890 int GetCachedSize() const { return _cached_size_; }
891 private:
894 void SetCachedSize(int size) const;
895 public:
896 ::google::protobuf::Metadata GetMetadata() const;
897
898 // nested types ----------------------------------------------------
899
903 static const Kind GAME_ACCOUNT = EntityIdRestriction_Kind_GAME_ACCOUNT;
904 static const Kind ACCOUNT_OR_GAME_ACCOUNT = EntityIdRestriction_Kind_ACCOUNT_OR_GAME_ACCOUNT;
907 static inline bool Kind_IsValid(int value) {
909 }
910 static const Kind Kind_MIN =
912 static const Kind Kind_MAX =
914 static const int Kind_ARRAYSIZE =
916 static inline const ::google::protobuf::EnumDescriptor*
919 }
920 static inline const ::std::string& Kind_Name(Kind value) {
921 return EntityIdRestriction_Kind_Name(value);
922 }
923 static inline bool Kind_Parse(const ::std::string& name,
924 Kind* value) {
925 return EntityIdRestriction_Kind_Parse(name, value);
926 }
927
928 // accessors -------------------------------------------------------
929
930 // optional bool needed = 1;
931 inline bool has_needed() const;
932 inline void clear_needed();
933 static const int kNeededFieldNumber = 1;
934 inline bool needed() const;
935 inline void set_needed(bool value);
936
937 // optional .bgs.protocol.EntityIdRestriction.Kind kind = 2;
938 inline bool has_kind() const;
939 inline void clear_kind();
940 static const int kKindFieldNumber = 2;
942 inline void set_kind(::bgs::protocol::EntityIdRestriction_Kind value);
943
944 // @@protoc_insertion_point(class_scope:bgs.protocol.EntityIdRestriction)
945 private:
946 inline void set_has_needed();
947 inline void clear_has_needed();
948 inline void set_has_kind();
949 inline void clear_has_kind();
950
951 ::google::protobuf::UnknownFieldSet _unknown_fields_;
952
954 mutable int _cached_size_;
956 int kind_;
960
963};
964// -------------------------------------------------------------------
965
966class TC_PROTO_API MessageFieldRestriction : public ::google::protobuf::Message {
967 public:
970
972
974 CopyFrom(from);
975 return *this;
976 }
977
978 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
979 return _unknown_fields_;
980 }
981
982 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
983 return &_unknown_fields_;
984 }
985
986 static const ::google::protobuf::Descriptor* descriptor();
988
990
991 // implements Message ----------------------------------------------
992
994 int GetCachedSize() const { return _cached_size_; }
995 private:
998 void SetCachedSize(int size) const;
999 public:
1000 ::google::protobuf::Metadata GetMetadata() const;
1001
1002 // nested types ----------------------------------------------------
1003
1004 // accessors -------------------------------------------------------
1005
1006 // optional bool needed = 1;
1007 inline bool has_needed() const;
1008 inline void clear_needed();
1009 static const int kNeededFieldNumber = 1;
1010 inline bool needed() const;
1011 inline void set_needed(bool value);
1012
1013 // @@protoc_insertion_point(class_scope:bgs.protocol.MessageFieldRestriction)
1014 private:
1015 inline void set_has_needed();
1016 inline void clear_has_needed();
1017
1018 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1019
1021 mutable int _cached_size_;
1026
1029};
1030// ===================================================================
1031
1032// ===================================================================
1033
1034static const int kFieldOptionsFieldNumber = 90000;
1035TC_PROTO_API extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions,
1036 ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::BGSFieldOptions >, 11, false >
1038static const int kValidFieldNumber = 90001;
1039TC_PROTO_API extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions,
1040 ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::FieldRestriction >, 11, false >
1041 valid;
1042
1043// ===================================================================
1044
1045// BGSFieldOptions
1046
1047// optional .bgs.protocol.LogOption log = 1;
1048inline bool BGSFieldOptions::has_log() const {
1049 return (_has_bits_[0] & 0x00000001u) != 0;
1050}
1052 _has_bits_[0] |= 0x00000001u;
1053}
1055 _has_bits_[0] &= ~0x00000001u;
1056}
1058 log_ = 1;
1059 clear_has_log();
1060}
1062 // @@protoc_insertion_point(field_get:bgs.protocol.BGSFieldOptions.log)
1063 return static_cast< ::bgs::protocol::LogOption >(log_);
1064}
1067 set_has_log();
1068 log_ = value;
1069 // @@protoc_insertion_point(field_set:bgs.protocol.BGSFieldOptions.log)
1070}
1071
1072// optional bool shard_key = 2;
1074 return (_has_bits_[0] & 0x00000002u) != 0;
1075}
1077 _has_bits_[0] |= 0x00000002u;
1078}
1080 _has_bits_[0] &= ~0x00000002u;
1081}
1083 shard_key_ = false;
1085}
1086inline bool BGSFieldOptions::shard_key() const {
1087 // @@protoc_insertion_point(field_get:bgs.protocol.BGSFieldOptions.shard_key)
1088 return shard_key_;
1089}
1090inline void BGSFieldOptions::set_shard_key(bool value) {
1092 shard_key_ = value;
1093 // @@protoc_insertion_point(field_set:bgs.protocol.BGSFieldOptions.shard_key)
1094}
1095
1096// optional bool fanout_key = 3;
1098 return (_has_bits_[0] & 0x00000004u) != 0;
1099}
1101 _has_bits_[0] |= 0x00000004u;
1102}
1104 _has_bits_[0] &= ~0x00000004u;
1105}
1107 fanout_key_ = false;
1109}
1110inline bool BGSFieldOptions::fanout_key() const {
1111 // @@protoc_insertion_point(field_get:bgs.protocol.BGSFieldOptions.fanout_key)
1112 return fanout_key_;
1113}
1114inline void BGSFieldOptions::set_fanout_key(bool value) {
1116 fanout_key_ = value;
1117 // @@protoc_insertion_point(field_set:bgs.protocol.BGSFieldOptions.fanout_key)
1118}
1119
1120// optional bool client_instance_key = 4;
1122 return (_has_bits_[0] & 0x00000008u) != 0;
1123}
1125 _has_bits_[0] |= 0x00000008u;
1126}
1128 _has_bits_[0] &= ~0x00000008u;
1129}
1131 client_instance_key_ = false;
1133}
1135 // @@protoc_insertion_point(field_get:bgs.protocol.BGSFieldOptions.client_instance_key)
1136 return client_instance_key_;
1137}
1140 client_instance_key_ = value;
1141 // @@protoc_insertion_point(field_set:bgs.protocol.BGSFieldOptions.client_instance_key)
1142}
1143
1144// optional string realized_enum = 5;
1146 return (_has_bits_[0] & 0x00000010u) != 0;
1147}
1149 _has_bits_[0] |= 0x00000010u;
1150}
1152 _has_bits_[0] &= ~0x00000010u;
1153}
1155 if (realized_enum_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1156 realized_enum_->clear();
1157 }
1159}
1160inline const ::std::string& BGSFieldOptions::realized_enum() const {
1161 // @@protoc_insertion_point(field_get:bgs.protocol.BGSFieldOptions.realized_enum)
1162 return *realized_enum_;
1163}
1164inline void BGSFieldOptions::set_realized_enum(const ::std::string& value) {
1166 if (realized_enum_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1167 realized_enum_ = new ::std::string;
1168 }
1169 realized_enum_->assign(value);
1170 // @@protoc_insertion_point(field_set:bgs.protocol.BGSFieldOptions.realized_enum)
1171}
1172inline void BGSFieldOptions::set_realized_enum(const char* value) {
1174 if (realized_enum_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1175 realized_enum_ = new ::std::string;
1176 }
1177 realized_enum_->assign(value);
1178 // @@protoc_insertion_point(field_set_char:bgs.protocol.BGSFieldOptions.realized_enum)
1179}
1180inline void BGSFieldOptions::set_realized_enum(const char* value, size_t size) {
1182 if (realized_enum_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1183 realized_enum_ = new ::std::string;
1184 }
1185 realized_enum_->assign(reinterpret_cast<const char*>(value), size);
1186 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.BGSFieldOptions.realized_enum)
1187}
1190 if (realized_enum_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1191 realized_enum_ = new ::std::string;
1192 }
1193 // @@protoc_insertion_point(field_mutable:bgs.protocol.BGSFieldOptions.realized_enum)
1194 return realized_enum_;
1195}
1198 if (realized_enum_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1199 return NULL;
1200 } else {
1201 ::std::string* temp = realized_enum_;
1202 realized_enum_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1203 return temp;
1204 }
1205}
1206inline void BGSFieldOptions::set_allocated_realized_enum(::std::string* realized_enum) {
1207 if (realized_enum_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1208 delete realized_enum_;
1209 }
1210 if (realized_enum) {
1213 } else {
1215 realized_enum_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1216 }
1217 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.BGSFieldOptions.realized_enum)
1218}
1219
1220// -------------------------------------------------------------------
1221
1222// FieldRestriction
1223
1224// optional .bgs.protocol.SignedFieldRestriction signed = 1;
1226 return type_case() == kSigned;
1227}
1229 _oneof_case_[0] = kSigned;
1230}
1232 if (has_signed_()) {
1233 delete type_.signed__;
1235 }
1236}
1237inline const ::bgs::protocol::SignedFieldRestriction& FieldRestriction::signed_() const {
1238 return has_signed_() ? *type_.signed__
1240}
1241inline ::bgs::protocol::SignedFieldRestriction* FieldRestriction::mutable_signed_() {
1242 if (!has_signed_()) {
1243 clear_type();
1245 type_.signed__ = new ::bgs::protocol::SignedFieldRestriction;
1246 }
1247 return type_.signed__;
1248}
1249inline ::bgs::protocol::SignedFieldRestriction* FieldRestriction::release_signed_() {
1250 if (has_signed_()) {
1253 type_.signed__ = NULL;
1254 return temp;
1255 } else {
1256 return NULL;
1257 }
1258}
1260 clear_type();
1261 if (signed_) {
1264 }
1265}
1266
1267// optional .bgs.protocol.UnsignedFieldRestriction unsigned = 2;
1269 return type_case() == kUnsigned;
1270}
1273}
1275 if (has_unsigned_()) {
1276 delete type_.unsigned__;
1278 }
1279}
1280inline const ::bgs::protocol::UnsignedFieldRestriction& FieldRestriction::unsigned_() const {
1281 return has_unsigned_() ? *type_.unsigned__
1283}
1284inline ::bgs::protocol::UnsignedFieldRestriction* FieldRestriction::mutable_unsigned_() {
1285 if (!has_unsigned_()) {
1286 clear_type();
1288 type_.unsigned__ = new ::bgs::protocol::UnsignedFieldRestriction;
1289 }
1290 return type_.unsigned__;
1291}
1292inline ::bgs::protocol::UnsignedFieldRestriction* FieldRestriction::release_unsigned_() {
1293 if (has_unsigned_()) {
1296 type_.unsigned__ = NULL;
1297 return temp;
1298 } else {
1299 return NULL;
1300 }
1301}
1303 clear_type();
1304 if (unsigned_) {
1307 }
1308}
1309
1310// optional .bgs.protocol.FloatFieldRestriction float = 3;
1311inline bool FieldRestriction::has_float_() const {
1312 return type_case() == kFloat;
1313}
1315 _oneof_case_[0] = kFloat;
1316}
1318 if (has_float_()) {
1319 delete type_.float__;
1321 }
1322}
1323inline const ::bgs::protocol::FloatFieldRestriction& FieldRestriction::float_() const {
1324 return has_float_() ? *type_.float__
1326}
1327inline ::bgs::protocol::FloatFieldRestriction* FieldRestriction::mutable_float_() {
1328 if (!has_float_()) {
1329 clear_type();
1331 type_.float__ = new ::bgs::protocol::FloatFieldRestriction;
1332 }
1333 return type_.float__;
1334}
1335inline ::bgs::protocol::FloatFieldRestriction* FieldRestriction::release_float_() {
1336 if (has_float_()) {
1339 type_.float__ = NULL;
1340 return temp;
1341 } else {
1342 return NULL;
1343 }
1344}
1346 clear_type();
1347 if (float_) {
1350 }
1351}
1352
1353// optional .bgs.protocol.StringFieldRestriction string = 4;
1354inline bool FieldRestriction::has_string() const {
1355 return type_case() == kString;
1356}
1358 _oneof_case_[0] = kString;
1359}
1361 if (has_string()) {
1362 delete type_.string_;
1364 }
1365}
1366inline const ::bgs::protocol::StringFieldRestriction& FieldRestriction::string() const {
1367 return has_string() ? *type_.string_
1369}
1370inline ::bgs::protocol::StringFieldRestriction* FieldRestriction::mutable_string() {
1371 if (!has_string()) {
1372 clear_type();
1374 type_.string_ = new ::bgs::protocol::StringFieldRestriction;
1375 }
1376 return type_.string_;
1377}
1378inline ::bgs::protocol::StringFieldRestriction* FieldRestriction::release_string() {
1379 if (has_string()) {
1382 type_.string_ = NULL;
1383 return temp;
1384 } else {
1385 return NULL;
1386 }
1387}
1389 clear_type();
1390 if (string) {
1393 }
1394}
1395
1396// optional .bgs.protocol.RepeatedFieldRestriction repeated = 5;
1398 return type_case() == kRepeated;
1399}
1402}
1404 if (has_repeated()) {
1405 delete type_.repeated_;
1407 }
1408}
1409inline const ::bgs::protocol::RepeatedFieldRestriction& FieldRestriction::repeated() const {
1410 return has_repeated() ? *type_.repeated_
1412}
1413inline ::bgs::protocol::RepeatedFieldRestriction* FieldRestriction::mutable_repeated() {
1414 if (!has_repeated()) {
1415 clear_type();
1417 type_.repeated_ = new ::bgs::protocol::RepeatedFieldRestriction;
1418 }
1419 return type_.repeated_;
1420}
1421inline ::bgs::protocol::RepeatedFieldRestriction* FieldRestriction::release_repeated() {
1422 if (has_repeated()) {
1425 type_.repeated_ = NULL;
1426 return temp;
1427 } else {
1428 return NULL;
1429 }
1430}
1432 clear_type();
1433 if (repeated) {
1436 }
1437}
1438
1439// optional .bgs.protocol.MessageFieldRestriction message = 6;
1441 return type_case() == kMessage;
1442}
1445}
1447 if (has_message()) {
1448 delete type_.message_;
1450 }
1451}
1452inline const ::bgs::protocol::MessageFieldRestriction& FieldRestriction::message() const {
1453 return has_message() ? *type_.message_
1455}
1456inline ::bgs::protocol::MessageFieldRestriction* FieldRestriction::mutable_message() {
1457 if (!has_message()) {
1458 clear_type();
1460 type_.message_ = new ::bgs::protocol::MessageFieldRestriction;
1461 }
1462 return type_.message_;
1463}
1464inline ::bgs::protocol::MessageFieldRestriction* FieldRestriction::release_message() {
1465 if (has_message()) {
1468 type_.message_ = NULL;
1469 return temp;
1470 } else {
1471 return NULL;
1472 }
1473}
1475 clear_type();
1476 if (message) {
1479 }
1480}
1481
1482// optional .bgs.protocol.EntityIdRestriction entity_id = 7;
1484 return type_case() == kEntityId;
1485}
1488}
1490 if (has_entity_id()) {
1491 delete type_.entity_id_;
1493 }
1494}
1495inline const ::bgs::protocol::EntityIdRestriction& FieldRestriction::entity_id() const {
1496 return has_entity_id() ? *type_.entity_id_
1498}
1499inline ::bgs::protocol::EntityIdRestriction* FieldRestriction::mutable_entity_id() {
1500 if (!has_entity_id()) {
1501 clear_type();
1503 type_.entity_id_ = new ::bgs::protocol::EntityIdRestriction;
1504 }
1505 return type_.entity_id_;
1506}
1507inline ::bgs::protocol::EntityIdRestriction* FieldRestriction::release_entity_id() {
1508 if (has_entity_id()) {
1511 type_.entity_id_ = NULL;
1512 return temp;
1513 } else {
1514 return NULL;
1515 }
1516}
1518 clear_type();
1519 if (entity_id) {
1522 }
1523}
1524
1525// optional .bgs.protocol.StringFieldRestriction bytes = 8;
1526inline bool FieldRestriction::has_bytes() const {
1527 return type_case() == kBytes;
1528}
1530 _oneof_case_[0] = kBytes;
1531}
1533 if (has_bytes()) {
1534 delete type_.bytes_;
1536 }
1537}
1538inline const ::bgs::protocol::StringFieldRestriction& FieldRestriction::bytes() const {
1539 return has_bytes() ? *type_.bytes_
1541}
1542inline ::bgs::protocol::StringFieldRestriction* FieldRestriction::mutable_bytes() {
1543 if (!has_bytes()) {
1544 clear_type();
1545 set_has_bytes();
1546 type_.bytes_ = new ::bgs::protocol::StringFieldRestriction;
1547 }
1548 return type_.bytes_;
1549}
1550inline ::bgs::protocol::StringFieldRestriction* FieldRestriction::release_bytes() {
1551 if (has_bytes()) {
1554 type_.bytes_ = NULL;
1555 return temp;
1556 } else {
1557 return NULL;
1558 }
1559}
1561 clear_type();
1562 if (bytes) {
1563 set_has_bytes();
1564 type_.bytes_ = bytes;
1565 }
1566}
1567
1569 return type_case() != TYPE_NOT_SET;
1570}
1573}
1576}
1577// -------------------------------------------------------------------
1578
1579// RepeatedFieldRestriction
1580
1581// optional .bgs.protocol.UnsignedIntRange size = 1;
1583 return (_has_bits_[0] & 0x00000001u) != 0;
1584}
1586 _has_bits_[0] |= 0x00000001u;
1587}
1589 _has_bits_[0] &= ~0x00000001u;
1590}
1592 if (size_ != NULL) size_->::bgs::protocol::UnsignedIntRange::Clear();
1594}
1595inline const ::bgs::protocol::UnsignedIntRange& RepeatedFieldRestriction::size() const {
1596 // @@protoc_insertion_point(field_get:bgs.protocol.RepeatedFieldRestriction.size)
1597 return size_ != NULL ? *size_ : *default_instance_->size_;
1598}
1599inline ::bgs::protocol::UnsignedIntRange* RepeatedFieldRestriction::mutable_size() {
1600 set_has_size();
1601 if (size_ == NULL) size_ = new ::bgs::protocol::UnsignedIntRange;
1602 // @@protoc_insertion_point(field_mutable:bgs.protocol.RepeatedFieldRestriction.size)
1603 return size_;
1604}
1605inline ::bgs::protocol::UnsignedIntRange* RepeatedFieldRestriction::release_size() {
1608 size_ = NULL;
1609 return temp;
1610}
1612 delete size_;
1613 size_ = size;
1614 if (size) {
1615 set_has_size();
1616 } else {
1618 }
1619 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.RepeatedFieldRestriction.size)
1620}
1621
1622// optional bool unique = 2;
1624 return (_has_bits_[0] & 0x00000002u) != 0;
1625}
1627 _has_bits_[0] |= 0x00000002u;
1628}
1630 _has_bits_[0] &= ~0x00000002u;
1631}
1633 unique_ = false;
1635}
1637 // @@protoc_insertion_point(field_get:bgs.protocol.RepeatedFieldRestriction.unique)
1638 return unique_;
1639}
1642 unique_ = value;
1643 // @@protoc_insertion_point(field_set:bgs.protocol.RepeatedFieldRestriction.unique)
1644}
1645
1646// optional .bgs.protocol.SignedFieldRestriction signed = 3;
1648 return type_case() == kSigned;
1649}
1651 _oneof_case_[0] = kSigned;
1652}
1654 if (has_signed_()) {
1655 delete type_.signed__;
1657 }
1658}
1659inline const ::bgs::protocol::SignedFieldRestriction& RepeatedFieldRestriction::signed_() const {
1660 return has_signed_() ? *type_.signed__
1662}
1663inline ::bgs::protocol::SignedFieldRestriction* RepeatedFieldRestriction::mutable_signed_() {
1664 if (!has_signed_()) {
1665 clear_type();
1667 type_.signed__ = new ::bgs::protocol::SignedFieldRestriction;
1668 }
1669 return type_.signed__;
1670}
1671inline ::bgs::protocol::SignedFieldRestriction* RepeatedFieldRestriction::release_signed_() {
1672 if (has_signed_()) {
1675 type_.signed__ = NULL;
1676 return temp;
1677 } else {
1678 return NULL;
1679 }
1680}
1682 clear_type();
1683 if (signed_) {
1686 }
1687}
1688
1689// optional .bgs.protocol.UnsignedFieldRestriction unsigned = 4;
1691 return type_case() == kUnsigned;
1692}
1695}
1697 if (has_unsigned_()) {
1698 delete type_.unsigned__;
1700 }
1701}
1702inline const ::bgs::protocol::UnsignedFieldRestriction& RepeatedFieldRestriction::unsigned_() const {
1703 return has_unsigned_() ? *type_.unsigned__
1705}
1706inline ::bgs::protocol::UnsignedFieldRestriction* RepeatedFieldRestriction::mutable_unsigned_() {
1707 if (!has_unsigned_()) {
1708 clear_type();
1710 type_.unsigned__ = new ::bgs::protocol::UnsignedFieldRestriction;
1711 }
1712 return type_.unsigned__;
1713}
1714inline ::bgs::protocol::UnsignedFieldRestriction* RepeatedFieldRestriction::release_unsigned_() {
1715 if (has_unsigned_()) {
1718 type_.unsigned__ = NULL;
1719 return temp;
1720 } else {
1721 return NULL;
1722 }
1723}
1725 clear_type();
1726 if (unsigned_) {
1729 }
1730}
1731
1732// optional .bgs.protocol.FloatFieldRestriction float = 5;
1734 return type_case() == kFloat;
1735}
1737 _oneof_case_[0] = kFloat;
1738}
1740 if (has_float_()) {
1741 delete type_.float__;
1743 }
1744}
1745inline const ::bgs::protocol::FloatFieldRestriction& RepeatedFieldRestriction::float_() const {
1746 return has_float_() ? *type_.float__
1748}
1749inline ::bgs::protocol::FloatFieldRestriction* RepeatedFieldRestriction::mutable_float_() {
1750 if (!has_float_()) {
1751 clear_type();
1753 type_.float__ = new ::bgs::protocol::FloatFieldRestriction;
1754 }
1755 return type_.float__;
1756}
1757inline ::bgs::protocol::FloatFieldRestriction* RepeatedFieldRestriction::release_float_() {
1758 if (has_float_()) {
1761 type_.float__ = NULL;
1762 return temp;
1763 } else {
1764 return NULL;
1765 }
1766}
1768 clear_type();
1769 if (float_) {
1772 }
1773}
1774
1775// optional .bgs.protocol.StringFieldRestriction string = 6;
1777 return type_case() == kString;
1778}
1780 _oneof_case_[0] = kString;
1781}
1783 if (has_string()) {
1784 delete type_.string_;
1786 }
1787}
1788inline const ::bgs::protocol::StringFieldRestriction& RepeatedFieldRestriction::string() const {
1789 return has_string() ? *type_.string_
1791}
1792inline ::bgs::protocol::StringFieldRestriction* RepeatedFieldRestriction::mutable_string() {
1793 if (!has_string()) {
1794 clear_type();
1796 type_.string_ = new ::bgs::protocol::StringFieldRestriction;
1797 }
1798 return type_.string_;
1799}
1800inline ::bgs::protocol::StringFieldRestriction* RepeatedFieldRestriction::release_string() {
1801 if (has_string()) {
1804 type_.string_ = NULL;
1805 return temp;
1806 } else {
1807 return NULL;
1808 }
1809}
1811 clear_type();
1812 if (string) {
1815 }
1816}
1817
1818// optional .bgs.protocol.EntityIdRestriction entity_id = 7;
1820 return type_case() == kEntityId;
1821}
1824}
1826 if (has_entity_id()) {
1827 delete type_.entity_id_;
1829 }
1830}
1831inline const ::bgs::protocol::EntityIdRestriction& RepeatedFieldRestriction::entity_id() const {
1832 return has_entity_id() ? *type_.entity_id_
1834}
1835inline ::bgs::protocol::EntityIdRestriction* RepeatedFieldRestriction::mutable_entity_id() {
1836 if (!has_entity_id()) {
1837 clear_type();
1839 type_.entity_id_ = new ::bgs::protocol::EntityIdRestriction;
1840 }
1841 return type_.entity_id_;
1842}
1843inline ::bgs::protocol::EntityIdRestriction* RepeatedFieldRestriction::release_entity_id() {
1844 if (has_entity_id()) {
1847 type_.entity_id_ = NULL;
1848 return temp;
1849 } else {
1850 return NULL;
1851 }
1852}
1854 clear_type();
1855 if (entity_id) {
1858 }
1859}
1860
1861// optional .bgs.protocol.StringFieldRestriction bytes = 8;
1863 return type_case() == kBytes;
1864}
1866 _oneof_case_[0] = kBytes;
1867}
1869 if (has_bytes()) {
1870 delete type_.bytes_;
1872 }
1873}
1874inline const ::bgs::protocol::StringFieldRestriction& RepeatedFieldRestriction::bytes() const {
1875 return has_bytes() ? *type_.bytes_
1877}
1878inline ::bgs::protocol::StringFieldRestriction* RepeatedFieldRestriction::mutable_bytes() {
1879 if (!has_bytes()) {
1880 clear_type();
1881 set_has_bytes();
1882 type_.bytes_ = new ::bgs::protocol::StringFieldRestriction;
1883 }
1884 return type_.bytes_;
1885}
1886inline ::bgs::protocol::StringFieldRestriction* RepeatedFieldRestriction::release_bytes() {
1887 if (has_bytes()) {
1890 type_.bytes_ = NULL;
1891 return temp;
1892 } else {
1893 return NULL;
1894 }
1895}
1897 clear_type();
1898 if (bytes) {
1899 set_has_bytes();
1900 type_.bytes_ = bytes;
1901 }
1902}
1903
1905 return type_case() != TYPE_NOT_SET;
1906}
1909}
1912}
1913// -------------------------------------------------------------------
1914
1915// SignedFieldRestriction
1916
1917// optional .bgs.protocol.SignedIntRange limits = 1;
1919 return (_has_bits_[0] & 0x00000001u) != 0;
1920}
1922 _has_bits_[0] |= 0x00000001u;
1923}
1925 _has_bits_[0] &= ~0x00000001u;
1926}
1928 if (limits_ != NULL) limits_->::bgs::protocol::SignedIntRange::Clear();
1930}
1931inline const ::bgs::protocol::SignedIntRange& SignedFieldRestriction::limits() const {
1932 // @@protoc_insertion_point(field_get:bgs.protocol.SignedFieldRestriction.limits)
1933 return limits_ != NULL ? *limits_ : *default_instance_->limits_;
1934}
1935inline ::bgs::protocol::SignedIntRange* SignedFieldRestriction::mutable_limits() {
1937 if (limits_ == NULL) limits_ = new ::bgs::protocol::SignedIntRange;
1938 // @@protoc_insertion_point(field_mutable:bgs.protocol.SignedFieldRestriction.limits)
1939 return limits_;
1940}
1941inline ::bgs::protocol::SignedIntRange* SignedFieldRestriction::release_limits() {
1944 limits_ = NULL;
1945 return temp;
1946}
1948 delete limits_;
1949 limits_ = limits;
1950 if (limits) {
1952 } else {
1954 }
1955 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.SignedFieldRestriction.limits)
1956}
1957
1958// repeated sint64 exclude = 2;
1960 return exclude_.size();
1961}
1963 exclude_.Clear();
1964}
1966 // @@protoc_insertion_point(field_get:bgs.protocol.SignedFieldRestriction.exclude)
1967 return exclude_.Get(index);
1968}
1970 exclude_.Set(index, value);
1971 // @@protoc_insertion_point(field_set:bgs.protocol.SignedFieldRestriction.exclude)
1972}
1974 exclude_.Add(value);
1975 // @@protoc_insertion_point(field_add:bgs.protocol.SignedFieldRestriction.exclude)
1976}
1977inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
1979 // @@protoc_insertion_point(field_list:bgs.protocol.SignedFieldRestriction.exclude)
1980 return exclude_;
1981}
1982inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
1984 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.SignedFieldRestriction.exclude)
1985 return &exclude_;
1986}
1987
1988// -------------------------------------------------------------------
1989
1990// UnsignedFieldRestriction
1991
1992// optional .bgs.protocol.UnsignedIntRange limits = 1;
1994 return (_has_bits_[0] & 0x00000001u) != 0;
1995}
1997 _has_bits_[0] |= 0x00000001u;
1998}
2000 _has_bits_[0] &= ~0x00000001u;
2001}
2003 if (limits_ != NULL) limits_->::bgs::protocol::UnsignedIntRange::Clear();
2005}
2006inline const ::bgs::protocol::UnsignedIntRange& UnsignedFieldRestriction::limits() const {
2007 // @@protoc_insertion_point(field_get:bgs.protocol.UnsignedFieldRestriction.limits)
2008 return limits_ != NULL ? *limits_ : *default_instance_->limits_;
2009}
2010inline ::bgs::protocol::UnsignedIntRange* UnsignedFieldRestriction::mutable_limits() {
2012 if (limits_ == NULL) limits_ = new ::bgs::protocol::UnsignedIntRange;
2013 // @@protoc_insertion_point(field_mutable:bgs.protocol.UnsignedFieldRestriction.limits)
2014 return limits_;
2015}
2016inline ::bgs::protocol::UnsignedIntRange* UnsignedFieldRestriction::release_limits() {
2019 limits_ = NULL;
2020 return temp;
2021}
2023 delete limits_;
2024 limits_ = limits;
2025 if (limits) {
2027 } else {
2029 }
2030 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.UnsignedFieldRestriction.limits)
2031}
2032
2033// repeated uint64 exclude = 2;
2035 return exclude_.size();
2036}
2038 exclude_.Clear();
2039}
2041 // @@protoc_insertion_point(field_get:bgs.protocol.UnsignedFieldRestriction.exclude)
2042 return exclude_.Get(index);
2043}
2045 exclude_.Set(index, value);
2046 // @@protoc_insertion_point(field_set:bgs.protocol.UnsignedFieldRestriction.exclude)
2047}
2049 exclude_.Add(value);
2050 // @@protoc_insertion_point(field_add:bgs.protocol.UnsignedFieldRestriction.exclude)
2051}
2052inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
2054 // @@protoc_insertion_point(field_list:bgs.protocol.UnsignedFieldRestriction.exclude)
2055 return exclude_;
2056}
2057inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
2059 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.UnsignedFieldRestriction.exclude)
2060 return &exclude_;
2061}
2062
2063// -------------------------------------------------------------------
2064
2065// FloatFieldRestriction
2066
2067// optional .bgs.protocol.FloatRange limits = 1;
2069 return (_has_bits_[0] & 0x00000001u) != 0;
2070}
2072 _has_bits_[0] |= 0x00000001u;
2073}
2075 _has_bits_[0] &= ~0x00000001u;
2076}
2078 if (limits_ != NULL) limits_->::bgs::protocol::FloatRange::Clear();
2080}
2081inline const ::bgs::protocol::FloatRange& FloatFieldRestriction::limits() const {
2082 // @@protoc_insertion_point(field_get:bgs.protocol.FloatFieldRestriction.limits)
2083 return limits_ != NULL ? *limits_ : *default_instance_->limits_;
2084}
2085inline ::bgs::protocol::FloatRange* FloatFieldRestriction::mutable_limits() {
2087 if (limits_ == NULL) limits_ = new ::bgs::protocol::FloatRange;
2088 // @@protoc_insertion_point(field_mutable:bgs.protocol.FloatFieldRestriction.limits)
2089 return limits_;
2090}
2091inline ::bgs::protocol::FloatRange* FloatFieldRestriction::release_limits() {
2094 limits_ = NULL;
2095 return temp;
2096}
2098 delete limits_;
2099 limits_ = limits;
2100 if (limits) {
2102 } else {
2104 }
2105 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.FloatFieldRestriction.limits)
2106}
2107
2108// repeated float exclude = 2;
2110 return exclude_.size();
2111}
2113 exclude_.Clear();
2114}
2115inline float FloatFieldRestriction::exclude(int index) const {
2116 // @@protoc_insertion_point(field_get:bgs.protocol.FloatFieldRestriction.exclude)
2117 return exclude_.Get(index);
2118}
2119inline void FloatFieldRestriction::set_exclude(int index, float value) {
2120 exclude_.Set(index, value);
2121 // @@protoc_insertion_point(field_set:bgs.protocol.FloatFieldRestriction.exclude)
2122}
2123inline void FloatFieldRestriction::add_exclude(float value) {
2124 exclude_.Add(value);
2125 // @@protoc_insertion_point(field_add:bgs.protocol.FloatFieldRestriction.exclude)
2126}
2127inline const ::google::protobuf::RepeatedField< float >&
2129 // @@protoc_insertion_point(field_list:bgs.protocol.FloatFieldRestriction.exclude)
2130 return exclude_;
2131}
2132inline ::google::protobuf::RepeatedField< float >*
2134 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.FloatFieldRestriction.exclude)
2135 return &exclude_;
2136}
2137
2138// -------------------------------------------------------------------
2139
2140// StringFieldRestriction
2141
2142// optional .bgs.protocol.UnsignedIntRange size = 1;
2144 return (_has_bits_[0] & 0x00000001u) != 0;
2145}
2147 _has_bits_[0] |= 0x00000001u;
2148}
2150 _has_bits_[0] &= ~0x00000001u;
2151}
2153 if (size_ != NULL) size_->::bgs::protocol::UnsignedIntRange::Clear();
2155}
2156inline const ::bgs::protocol::UnsignedIntRange& StringFieldRestriction::size() const {
2157 // @@protoc_insertion_point(field_get:bgs.protocol.StringFieldRestriction.size)
2158 return size_ != NULL ? *size_ : *default_instance_->size_;
2159}
2160inline ::bgs::protocol::UnsignedIntRange* StringFieldRestriction::mutable_size() {
2161 set_has_size();
2162 if (size_ == NULL) size_ = new ::bgs::protocol::UnsignedIntRange;
2163 // @@protoc_insertion_point(field_mutable:bgs.protocol.StringFieldRestriction.size)
2164 return size_;
2165}
2166inline ::bgs::protocol::UnsignedIntRange* StringFieldRestriction::release_size() {
2169 size_ = NULL;
2170 return temp;
2171}
2173 delete size_;
2174 size_ = size;
2175 if (size) {
2176 set_has_size();
2177 } else {
2179 }
2180 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.StringFieldRestriction.size)
2181}
2182
2183// repeated string exclude = 2;
2185 return exclude_.size();
2186}
2188 exclude_.Clear();
2189}
2190inline const ::std::string& StringFieldRestriction::exclude(int index) const {
2191 // @@protoc_insertion_point(field_get:bgs.protocol.StringFieldRestriction.exclude)
2192 return exclude_.Get(index);
2193}
2194inline ::std::string* StringFieldRestriction::mutable_exclude(int index) {
2195 // @@protoc_insertion_point(field_mutable:bgs.protocol.StringFieldRestriction.exclude)
2196 return exclude_.Mutable(index);
2197}
2198inline void StringFieldRestriction::set_exclude(int index, const ::std::string& value) {
2199 // @@protoc_insertion_point(field_set:bgs.protocol.StringFieldRestriction.exclude)
2200 exclude_.Mutable(index)->assign(value);
2201}
2202inline void StringFieldRestriction::set_exclude(int index, const char* value) {
2203 exclude_.Mutable(index)->assign(value);
2204 // @@protoc_insertion_point(field_set_char:bgs.protocol.StringFieldRestriction.exclude)
2205}
2206inline void StringFieldRestriction::set_exclude(int index, const char* value, size_t size) {
2207 exclude_.Mutable(index)->assign(
2208 reinterpret_cast<const char*>(value), size);
2209 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.StringFieldRestriction.exclude)
2210}
2212 return exclude_.Add();
2213}
2214inline void StringFieldRestriction::add_exclude(const ::std::string& value) {
2215 exclude_.Add()->assign(value);
2216 // @@protoc_insertion_point(field_add:bgs.protocol.StringFieldRestriction.exclude)
2217}
2218inline void StringFieldRestriction::add_exclude(const char* value) {
2219 exclude_.Add()->assign(value);
2220 // @@protoc_insertion_point(field_add_char:bgs.protocol.StringFieldRestriction.exclude)
2221}
2222inline void StringFieldRestriction::add_exclude(const char* value, size_t size) {
2223 exclude_.Add()->assign(reinterpret_cast<const char*>(value), size);
2224 // @@protoc_insertion_point(field_add_pointer:bgs.protocol.StringFieldRestriction.exclude)
2225}
2226inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
2228 // @@protoc_insertion_point(field_list:bgs.protocol.StringFieldRestriction.exclude)
2229 return exclude_;
2230}
2231inline ::google::protobuf::RepeatedPtrField< ::std::string>*
2233 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.StringFieldRestriction.exclude)
2234 return &exclude_;
2235}
2236
2237// -------------------------------------------------------------------
2238
2239// EntityIdRestriction
2240
2241// optional bool needed = 1;
2243 return (_has_bits_[0] & 0x00000001u) != 0;
2244}
2246 _has_bits_[0] |= 0x00000001u;
2247}
2249 _has_bits_[0] &= ~0x00000001u;
2250}
2252 needed_ = false;
2254}
2255inline bool EntityIdRestriction::needed() const {
2256 // @@protoc_insertion_point(field_get:bgs.protocol.EntityIdRestriction.needed)
2257 return needed_;
2258}
2259inline void EntityIdRestriction::set_needed(bool value) {
2261 needed_ = value;
2262 // @@protoc_insertion_point(field_set:bgs.protocol.EntityIdRestriction.needed)
2263}
2264
2265// optional .bgs.protocol.EntityIdRestriction.Kind kind = 2;
2267 return (_has_bits_[0] & 0x00000002u) != 0;
2268}
2270 _has_bits_[0] |= 0x00000002u;
2271}
2273 _has_bits_[0] &= ~0x00000002u;
2274}
2276 kind_ = 0;
2278}
2280 // @@protoc_insertion_point(field_get:bgs.protocol.EntityIdRestriction.kind)
2281 return static_cast< ::bgs::protocol::EntityIdRestriction_Kind >(kind_);
2282}
2285 set_has_kind();
2286 kind_ = value;
2287 // @@protoc_insertion_point(field_set:bgs.protocol.EntityIdRestriction.kind)
2288}
2289
2290// -------------------------------------------------------------------
2291
2292// MessageFieldRestriction
2293
2294// optional bool needed = 1;
2296 return (_has_bits_[0] & 0x00000001u) != 0;
2297}
2299 _has_bits_[0] |= 0x00000001u;
2300}
2302 _has_bits_[0] &= ~0x00000001u;
2303}
2305 needed_ = false;
2307}
2309 // @@protoc_insertion_point(field_get:bgs.protocol.MessageFieldRestriction.needed)
2310 return needed_;
2311}
2314 needed_ = value;
2315 // @@protoc_insertion_point(field_set:bgs.protocol.MessageFieldRestriction.needed)
2316}
2317
2318// @@protoc_insertion_point(namespace_scope)
2319
2320} // namespace protocol
2321} // namespace bgs
2322
2323#ifndef SWIG
2324namespace google {
2325namespace protobuf {
2326template <> struct is_proto_enum< ::bgs::protocol::EntityIdRestriction_Kind> : ::google::protobuf::internal::true_type {};
2327template <>
2328inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::EntityIdRestriction_Kind>() {
2330}
2331template <> struct is_proto_enum< ::bgs::protocol::LogOption> : ::google::protobuf::internal::true_type {};
2332template <>
2333inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::LogOption>() {
2335}
2336} // namespace google
2337} // namespace protobuf
2338#endif // SWIG
2339
2340// @@protoc_insertion_point(global_scope)
2341
2342#endif // PROTOBUF_global_5fextensions_2ffield_5foptions_2eproto__INCLUDED
int64_t int64
Definition: Define.h:137
#define TC_PROTO_API
Definition: Define.h:105
uint64_t uint64
Definition: Define.h:141
uint32_t uint32
Definition: Define.h:142
inline ::std::string * release_realized_enum()
BGSFieldOptions(const BGSFieldOptions &from)
void SetCachedSize(int size) const
void set_allocated_realized_enum(::std::string *realized_enum)
void set_realized_enum(const ::std::string &value)
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto()
void Swap(BGSFieldOptions *other)
::google::protobuf::uint32 _has_bits_[1]
void set_client_instance_key(bool value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static BGSFieldOptions * default_instance_
BGSFieldOptions * New() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
BGSFieldOptions & operator=(const BGSFieldOptions &from)
friend void protobuf_AssignDesc_global_5fextensions_2ffield_5foptions_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_log(::bgs::protocol::LogOption value)
const ::std::string & realized_enum() const
inline ::std::string * mutable_realized_enum()
friend void protobuf_ShutdownFile_global_5fextensions_2ffield_5foptions_2eproto()
static const BGSFieldOptions & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::LogOption log() const
::google::protobuf::uint32 _has_bits_[1]
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::EnumDescriptor * Kind_descriptor()
void SetCachedSize(int size) const
static const EntityIdRestriction & default_instance()
static EntityIdRestriction * default_instance_
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto()
void Swap(EntityIdRestriction *other)
friend void protobuf_AssignDesc_global_5fextensions_2ffield_5foptions_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static bool Kind_IsValid(int value)
static bool Kind_Parse(const ::std::string &name, Kind *value)
static const ::std::string & Kind_Name(Kind value)
::google::protobuf::Metadata GetMetadata() const
friend void protobuf_ShutdownFile_global_5fextensions_2ffield_5foptions_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
EntityIdRestriction * New() const
void set_kind(::bgs::protocol::EntityIdRestriction_Kind value)
::google::protobuf::UnknownFieldSet _unknown_fields_
EntityIdRestriction(const EntityIdRestriction &from)
EntityIdRestriction & operator=(const EntityIdRestriction &from)
inline ::bgs::protocol::EntityIdRestriction_Kind kind() const
const ::bgs::protocol::FloatFieldRestriction & float_() const
void set_allocated_repeated(::bgs::protocol::RepeatedFieldRestriction *repeated)
static const FieldRestriction & default_instance()
static FieldRestriction * default_instance_
inline ::bgs::protocol::StringFieldRestriction * release_string()
::google::protobuf::Metadata GetMetadata() const
void set_allocated_unsigned_(::bgs::protocol::UnsignedFieldRestriction *unsigned_)
const ::bgs::protocol::RepeatedFieldRestriction & repeated() const
inline ::bgs::protocol::SignedFieldRestriction * mutable_signed_()
void set_allocated_string(::bgs::protocol::StringFieldRestriction *string)
void set_allocated_message(::bgs::protocol::MessageFieldRestriction *message)
static const ::google::protobuf::Descriptor * descriptor()
FieldRestriction * New() const
inline ::bgs::protocol::MessageFieldRestriction * mutable_message()
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto()
inline ::bgs::protocol::FloatFieldRestriction * release_float_()
void Swap(FieldRestriction *other)
inline ::bgs::protocol::StringFieldRestriction * release_bytes()
inline ::bgs::protocol::MessageFieldRestriction * release_message()
union bgs::protocol::FieldRestriction::TypeUnion type_
const ::bgs::protocol::StringFieldRestriction & string() const
friend void protobuf_AssignDesc_global_5fextensions_2ffield_5foptions_2eproto()
inline ::bgs::protocol::FloatFieldRestriction * mutable_float_()
void set_allocated_float_(::bgs::protocol::FloatFieldRestriction *float_)
::google::protobuf::uint32 _oneof_case_[1]
const ::bgs::protocol::SignedFieldRestriction & signed_() const
inline ::bgs::protocol::UnsignedFieldRestriction * release_unsigned_()
inline ::bgs::protocol::StringFieldRestriction * mutable_string()
FieldRestriction(const FieldRestriction &from)
inline ::bgs::protocol::RepeatedFieldRestriction * release_repeated()
const ::bgs::protocol::UnsignedFieldRestriction & unsigned_() const
inline ::bgs::protocol::StringFieldRestriction * mutable_bytes()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void SetCachedSize(int size) const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_allocated_entity_id(::bgs::protocol::EntityIdRestriction *entity_id)
inline ::bgs::protocol::SignedFieldRestriction * release_signed_()
inline ::bgs::protocol::EntityIdRestriction * mutable_entity_id()
friend void protobuf_ShutdownFile_global_5fextensions_2ffield_5foptions_2eproto()
inline ::bgs::protocol::EntityIdRestriction * release_entity_id()
inline ::bgs::protocol::RepeatedFieldRestriction * mutable_repeated()
void set_allocated_bytes(::bgs::protocol::StringFieldRestriction *bytes)
FieldRestriction & operator=(const FieldRestriction &from)
inline ::bgs::protocol::UnsignedFieldRestriction * mutable_unsigned_()
const ::bgs::protocol::EntityIdRestriction & entity_id() const
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::bgs::protocol::MessageFieldRestriction & message() const
void set_allocated_signed_(::bgs::protocol::SignedFieldRestriction *signed_)
const ::bgs::protocol::StringFieldRestriction & bytes() const
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_allocated_limits(::bgs::protocol::FloatRange *limits)
void Swap(FloatFieldRestriction *other)
::bgs::protocol::FloatRange * limits_
FloatFieldRestriction * New() const
FloatFieldRestriction & operator=(const FloatFieldRestriction &from)
const ::bgs::protocol::FloatRange & limits() const
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::google::protobuf::RepeatedField< float > & exclude() const
::google::protobuf::uint32 _has_bits_[1]
friend void protobuf_AssignDesc_global_5fextensions_2ffield_5foptions_2eproto()
::google::protobuf::RepeatedField< float > exclude_
inline ::bgs::protocol::FloatRange * mutable_limits()
inline ::bgs::protocol::FloatRange * release_limits()
void SetCachedSize(int size) const
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const FloatFieldRestriction & default_instance()
::google::protobuf::Metadata GetMetadata() const
friend void protobuf_ShutdownFile_global_5fextensions_2ffield_5foptions_2eproto()
static FloatFieldRestriction * default_instance_
inline ::google::protobuf::RepeatedField< float > * mutable_exclude()
FloatFieldRestriction(const FloatFieldRestriction &from)
void set_exclude(int index, float value)
MessageFieldRestriction & operator=(const MessageFieldRestriction &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const MessageFieldRestriction & default_instance()
::google::protobuf::uint32 _has_bits_[1]
MessageFieldRestriction * New() const
MessageFieldRestriction(const MessageFieldRestriction &from)
static MessageFieldRestriction * default_instance_
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto()
friend void protobuf_AssignDesc_global_5fextensions_2ffield_5foptions_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_ShutdownFile_global_5fextensions_2ffield_5foptions_2eproto()
void Swap(MessageFieldRestriction *other)
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::StringFieldRestriction * mutable_bytes()
RepeatedFieldRestriction * New() const
const ::bgs::protocol::StringFieldRestriction & string() const
const ::bgs::protocol::SignedFieldRestriction & signed_() const
::bgs::protocol::UnsignedIntRange * size_
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto()
void set_allocated_bytes(::bgs::protocol::StringFieldRestriction *bytes)
const ::bgs::protocol::UnsignedIntRange & size() const
inline ::bgs::protocol::UnsignedFieldRestriction * mutable_unsigned_()
void set_allocated_float_(::bgs::protocol::FloatFieldRestriction *float_)
union bgs::protocol::RepeatedFieldRestriction::TypeUnion type_
inline ::bgs::protocol::FloatFieldRestriction * mutable_float_()
::google::protobuf::uint32 _oneof_case_[1]
::google::protobuf::Metadata GetMetadata() const
friend void protobuf_AssignDesc_global_5fextensions_2ffield_5foptions_2eproto()
void set_allocated_unsigned_(::bgs::protocol::UnsignedFieldRestriction *unsigned_)
inline ::bgs::protocol::StringFieldRestriction * release_bytes()
RepeatedFieldRestriction & operator=(const RepeatedFieldRestriction &from)
const ::bgs::protocol::UnsignedFieldRestriction & unsigned_() const
::google::protobuf::UnknownFieldSet _unknown_fields_
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::StringFieldRestriction * mutable_string()
inline ::bgs::protocol::SignedFieldRestriction * mutable_signed_()
inline ::bgs::protocol::UnsignedIntRange * mutable_size()
inline ::bgs::protocol::UnsignedIntRange * release_size()
inline ::bgs::protocol::FloatFieldRestriction * release_float_()
inline ::bgs::protocol::SignedFieldRestriction * release_signed_()
const ::bgs::protocol::StringFieldRestriction & bytes() const
const ::bgs::protocol::EntityIdRestriction & entity_id() const
friend void protobuf_ShutdownFile_global_5fextensions_2ffield_5foptions_2eproto()
inline ::bgs::protocol::EntityIdRestriction * release_entity_id()
void Swap(RepeatedFieldRestriction *other)
void set_allocated_string(::bgs::protocol::StringFieldRestriction *string)
void set_allocated_signed_(::bgs::protocol::SignedFieldRestriction *signed_)
static const RepeatedFieldRestriction & default_instance()
inline ::bgs::protocol::UnsignedFieldRestriction * release_unsigned_()
inline ::bgs::protocol::StringFieldRestriction * release_string()
RepeatedFieldRestriction(const RepeatedFieldRestriction &from)
::google::protobuf::uint32 _has_bits_[1]
inline ::bgs::protocol::EntityIdRestriction * mutable_entity_id()
const ::bgs::protocol::FloatFieldRestriction & float_() const
void set_allocated_entity_id(::bgs::protocol::EntityIdRestriction *entity_id)
void set_allocated_size(::bgs::protocol::UnsignedIntRange *size)
static RepeatedFieldRestriction * default_instance_
void add_exclude(::google::protobuf::int64 value)
inline ::bgs::protocol::SignedIntRange * release_limits()
const ::bgs::protocol::SignedIntRange & limits() const
SignedFieldRestriction(const SignedFieldRestriction &from)
void Swap(SignedFieldRestriction *other)
::google::protobuf::UnknownFieldSet _unknown_fields_
::bgs::protocol::SignedIntRange * limits_
SignedFieldRestriction & operator=(const SignedFieldRestriction &from)
::google::protobuf::RepeatedField< ::google::protobuf::int64 > exclude_
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto()
void set_exclude(int index, ::google::protobuf::int64 value)
inline ::bgs::protocol::SignedIntRange * mutable_limits()
inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 > * mutable_exclude()
::google::protobuf::uint32 _has_bits_[1]
friend void protobuf_AssignDesc_global_5fextensions_2ffield_5foptions_2eproto()
static const SignedFieldRestriction & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
static SignedFieldRestriction * default_instance_
const ::google::protobuf::RepeatedField< ::google::protobuf::int64 > & exclude() const
friend void protobuf_ShutdownFile_global_5fextensions_2ffield_5foptions_2eproto()
void set_allocated_limits(::bgs::protocol::SignedIntRange *limits)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
SignedFieldRestriction * New() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_exclude(int index, const ::std::string &value)
::google::protobuf::uint32 _has_bits_[1]
void Swap(StringFieldRestriction *other)
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto()
friend void protobuf_AssignDesc_global_5fextensions_2ffield_5foptions_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
StringFieldRestriction(const StringFieldRestriction &from)
StringFieldRestriction & operator=(const StringFieldRestriction &from)
::bgs::protocol::UnsignedIntRange * size_
static const StringFieldRestriction & default_instance()
inline ::bgs::protocol::UnsignedIntRange * mutable_size()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_ShutdownFile_global_5fextensions_2ffield_5foptions_2eproto()
inline ::bgs::protocol::UnsignedIntRange * release_size()
const ::bgs::protocol::UnsignedIntRange & size() const
inline ::google::protobuf::RepeatedPtrField< ::std::string > * mutable_exclude()
::google::protobuf::RepeatedPtrField< ::std::string > exclude_
void set_allocated_size(::bgs::protocol::UnsignedIntRange *size)
const ::google::protobuf::RepeatedPtrField< ::std::string > & exclude() const
static StringFieldRestriction * default_instance_
StringFieldRestriction * New() const
void add_exclude(::google::protobuf::uint64 value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
UnsignedFieldRestriction & operator=(const UnsignedFieldRestriction &from)
static UnsignedFieldRestriction * default_instance_
::bgs::protocol::UnsignedIntRange * limits_
const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > & exclude() const
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto()
inline ::bgs::protocol::UnsignedIntRange * mutable_limits()
inline ::bgs::protocol::UnsignedIntRange * release_limits()
::google::protobuf::uint32 _has_bits_[1]
friend void protobuf_AssignDesc_global_5fextensions_2ffield_5foptions_2eproto()
::google::protobuf::RepeatedField< ::google::protobuf::uint64 > exclude_
void set_exclude(int index, ::google::protobuf::uint64 value)
UnsignedFieldRestriction * New() const
void Swap(UnsignedFieldRestriction *other)
static const UnsignedFieldRestriction & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_ShutdownFile_global_5fextensions_2ffield_5foptions_2eproto()
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > * mutable_exclude()
void set_allocated_limits(::bgs::protocol::UnsignedIntRange *limits)
static const ::google::protobuf::Descriptor * descriptor()
UnsignedFieldRestriction(const UnsignedFieldRestriction &from)
::google::protobuf::Metadata GetMetadata() const
const ::bgs::protocol::UnsignedIntRange & limits() const
constexpr std::size_t size()
Definition: UpdateField.h:796
const ::std::string & EntityIdRestriction_Kind_Name(EntityIdRestriction_Kind value)
TC_PROTO_API bool LogOption_IsValid(int value)
TC_PROTO_API ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions, ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::FieldRestriction >, 11, false > valid
const EntityIdRestriction_Kind EntityIdRestriction_Kind_Kind_MAX
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * LogOption_descriptor()
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * EntityIdRestriction_Kind_descriptor()
const int EntityIdRestriction_Kind_Kind_ARRAYSIZE
const EntityIdRestriction_Kind EntityIdRestriction_Kind_Kind_MIN
bool LogOption_Parse(const ::std::string &name, LogOption *value)
void protobuf_AssignDesc_global_5fextensions_2ffield_5foptions_2eproto()
const int LogOption_ARRAYSIZE
@ EntityIdRestriction_Kind_ACCOUNT
@ EntityIdRestriction_Kind_SERVICE
@ EntityIdRestriction_Kind_GAME_ACCOUNT
@ EntityIdRestriction_Kind_ACCOUNT_OR_GAME_ACCOUNT
@ EntityIdRestriction_Kind_CHANNEL
static const int kFieldOptionsFieldNumber
void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto()
TC_PROTO_API ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions, ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::BGSFieldOptions >, 11, false > field_options
bool EntityIdRestriction_Kind_Parse(const ::std::string &name, EntityIdRestriction_Kind *value)
TC_PROTO_API bool EntityIdRestriction_Kind_IsValid(int value)
void protobuf_ShutdownFile_global_5fextensions_2ffield_5foptions_2eproto()
const LogOption LogOption_MAX
const LogOption LogOption_MIN
static const int kValidFieldNumber
const ::std::string & LogOption_Name(LogOption value)
Definition: Session.h:36
::bgs::protocol::StringFieldRestriction * bytes_
::bgs::protocol::UnsignedFieldRestriction * unsigned__
::bgs::protocol::MessageFieldRestriction * message_
::bgs::protocol::FloatFieldRestriction * float__
::bgs::protocol::EntityIdRestriction * entity_id_
::bgs::protocol::SignedFieldRestriction * signed__
::bgs::protocol::RepeatedFieldRestriction * repeated_
::bgs::protocol::StringFieldRestriction * string_
::bgs::protocol::StringFieldRestriction * string_
::bgs::protocol::SignedFieldRestriction * signed__
::bgs::protocol::EntityIdRestriction * entity_id_
::bgs::protocol::UnsignedFieldRestriction * unsigned__
::bgs::protocol::StringFieldRestriction * bytes_
::bgs::protocol::FloatFieldRestriction * float__