TrinityCore
Loading...
Searching...
No Matches
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;
50class SDKFieldOptions;
51
64
65TC_PROTO_API const ::google::protobuf::EnumDescriptor* EntityIdRestriction_Kind_descriptor();
66inline const ::std::string& EntityIdRestriction_Kind_Name(EntityIdRestriction_Kind value) {
67 return ::google::protobuf::internal::NameOfEnum(
69}
71 const ::std::string& name, EntityIdRestriction_Kind* value) {
72 return ::google::protobuf::internal::ParseNamedEnum<EntityIdRestriction_Kind>(
74}
76 HIDDEN = 1,
77 HEX = 2
78};
83
84TC_PROTO_API const ::google::protobuf::EnumDescriptor* LogOption_descriptor();
85inline const ::std::string& LogOption_Name(LogOption value) {
86 return ::google::protobuf::internal::NameOfEnum(
87 LogOption_descriptor(), value);
88}
89inline bool LogOption_Parse(
90 const ::std::string& name, LogOption* value) {
91 return ::google::protobuf::internal::ParseNamedEnum<LogOption>(
92 LogOption_descriptor(), name, value);
93}
94// ===================================================================
95
96class TC_PROTO_API BGSFieldOptions : public ::google::protobuf::Message {
97 public:
100
102
104 CopyFrom(from);
105 return *this;
106 }
107
108 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
109 return _unknown_fields_;
110 }
111
112 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
113 return &_unknown_fields_;
114 }
115
116 static const ::google::protobuf::Descriptor* descriptor();
118
119 void Swap(BGSFieldOptions* other);
120
121 // implements Message ----------------------------------------------
122
124 int GetCachedSize() const { return _cached_size_; }
125 private:
128 void SetCachedSize(int size) const;
129 public:
130 ::google::protobuf::Metadata GetMetadata() const;
131
132 // nested types ----------------------------------------------------
133
134 // accessors -------------------------------------------------------
135
136 // optional .bgs.protocol.LogOption log = 1;
137 inline bool has_log() const;
138 inline void clear_log();
139 static const int kLogFieldNumber = 1;
140 inline ::bgs::protocol::LogOption log() const;
141 inline void set_log(::bgs::protocol::LogOption value);
142
143 // optional bool shard_key = 2;
144 inline bool has_shard_key() const;
145 inline void clear_shard_key();
146 static const int kShardKeyFieldNumber = 2;
147 inline bool shard_key() const;
148 inline void set_shard_key(bool value);
149
150 // optional bool fanout_key = 3;
151 inline bool has_fanout_key() const;
152 inline void clear_fanout_key();
153 static const int kFanoutKeyFieldNumber = 3;
154 inline bool fanout_key() const;
155 inline void set_fanout_key(bool value);
156
157 // optional bool client_instance_key = 4;
158 inline bool has_client_instance_key() const;
159 inline void clear_client_instance_key();
160 static const int kClientInstanceKeyFieldNumber = 4;
161 inline bool client_instance_key() const;
162 inline void set_client_instance_key(bool value);
163
164 // optional string realized_enum = 5;
165 inline bool has_realized_enum() const;
166 inline void clear_realized_enum();
167 static const int kRealizedEnumFieldNumber = 5;
168 inline const ::std::string& realized_enum() const;
169 inline void set_realized_enum(const ::std::string& value);
170 inline void set_realized_enum(const char* value);
171 inline void set_realized_enum(const char* value, size_t size);
172 inline ::std::string* mutable_realized_enum();
173 inline ::std::string* release_realized_enum();
174 inline void set_allocated_realized_enum(::std::string* realized_enum);
175
176 // @@protoc_insertion_point(class_scope:bgs.protocol.BGSFieldOptions)
177 private:
178 inline void set_has_log();
179 inline void clear_has_log();
180 inline void set_has_shard_key();
181 inline void clear_has_shard_key();
182 inline void set_has_fanout_key();
183 inline void clear_has_fanout_key();
184 inline void set_has_client_instance_key();
185 inline void clear_has_client_instance_key();
186 inline void set_has_realized_enum();
187 inline void clear_has_realized_enum();
188
189 ::google::protobuf::UnknownFieldSet _unknown_fields_;
190
191 ::google::protobuf::uint32 _has_bits_[1];
192 mutable int _cached_size_;
193 int log_;
197 ::std::string* realized_enum_;
201
204};
205// -------------------------------------------------------------------
206
207class TC_PROTO_API FieldRestriction : public ::google::protobuf::Message {
208 public:
211
213
215 CopyFrom(from);
216 return *this;
217 }
218
219 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
220 return _unknown_fields_;
221 }
222
223 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
224 return &_unknown_fields_;
225 }
226
227 static const ::google::protobuf::Descriptor* descriptor();
229
230 enum TypeCase {
231 kSigned = 1,
232 kUnsigned = 2,
233 kFloat = 3,
234 kString = 4,
235 kRepeated = 5,
236 kMessage = 6,
237 kEntityId = 7,
238 kBytes = 8,
239 TYPE_NOT_SET = 0,
240 };
241
242 void Swap(FieldRestriction* other);
243
244 // implements Message ----------------------------------------------
245
247 int GetCachedSize() const { return _cached_size_; }
248 private:
251 void SetCachedSize(int size) const;
252 public:
253 ::google::protobuf::Metadata GetMetadata() const;
254
255 // nested types ----------------------------------------------------
256
257 // accessors -------------------------------------------------------
258
259 // optional .bgs.protocol.SignedFieldRestriction signed = 1;
260 inline bool has_signed_() const;
261 inline void clear_signed_();
262 static const int kSignedFieldNumber = 1;
263 inline const ::bgs::protocol::SignedFieldRestriction& signed_() const;
264 inline ::bgs::protocol::SignedFieldRestriction* mutable_signed_();
265 inline ::bgs::protocol::SignedFieldRestriction* release_signed_();
266 inline void set_allocated_signed_(::bgs::protocol::SignedFieldRestriction* signed_);
267
268 // optional .bgs.protocol.UnsignedFieldRestriction unsigned = 2;
269 inline bool has_unsigned_() const;
270 inline void clear_unsigned_();
271 static const int kUnsignedFieldNumber = 2;
272 inline const ::bgs::protocol::UnsignedFieldRestriction& unsigned_() const;
273 inline ::bgs::protocol::UnsignedFieldRestriction* mutable_unsigned_();
274 inline ::bgs::protocol::UnsignedFieldRestriction* release_unsigned_();
275 inline void set_allocated_unsigned_(::bgs::protocol::UnsignedFieldRestriction* unsigned_);
276
277 // optional .bgs.protocol.FloatFieldRestriction float = 3;
278 inline bool has_float_() const;
279 inline void clear_float_();
280 static const int kFloatFieldNumber = 3;
281 inline const ::bgs::protocol::FloatFieldRestriction& float_() const;
282 inline ::bgs::protocol::FloatFieldRestriction* mutable_float_();
283 inline ::bgs::protocol::FloatFieldRestriction* release_float_();
284 inline void set_allocated_float_(::bgs::protocol::FloatFieldRestriction* float_);
285
286 // optional .bgs.protocol.StringFieldRestriction string = 4;
287 inline bool has_string() const;
288 inline void clear_string();
289 static const int kStringFieldNumber = 4;
290 inline const ::bgs::protocol::StringFieldRestriction& string() const;
291 inline ::bgs::protocol::StringFieldRestriction* mutable_string();
292 inline ::bgs::protocol::StringFieldRestriction* release_string();
293 inline void set_allocated_string(::bgs::protocol::StringFieldRestriction* string);
294
295 // optional .bgs.protocol.RepeatedFieldRestriction repeated = 5;
296 inline bool has_repeated() const;
297 inline void clear_repeated();
298 static const int kRepeatedFieldNumber = 5;
299 inline const ::bgs::protocol::RepeatedFieldRestriction& repeated() const;
300 inline ::bgs::protocol::RepeatedFieldRestriction* mutable_repeated();
301 inline ::bgs::protocol::RepeatedFieldRestriction* release_repeated();
302 inline void set_allocated_repeated(::bgs::protocol::RepeatedFieldRestriction* repeated);
303
304 // optional .bgs.protocol.MessageFieldRestriction message = 6;
305 inline bool has_message() const;
306 inline void clear_message();
307 static const int kMessageFieldNumber = 6;
308 inline const ::bgs::protocol::MessageFieldRestriction& message() const;
309 inline ::bgs::protocol::MessageFieldRestriction* mutable_message();
310 inline ::bgs::protocol::MessageFieldRestriction* release_message();
311 inline void set_allocated_message(::bgs::protocol::MessageFieldRestriction* message);
312
313 // optional .bgs.protocol.EntityIdRestriction entity_id = 7;
314 inline bool has_entity_id() const;
315 inline void clear_entity_id();
316 static const int kEntityIdFieldNumber = 7;
317 inline const ::bgs::protocol::EntityIdRestriction& entity_id() const;
318 inline ::bgs::protocol::EntityIdRestriction* mutable_entity_id();
319 inline ::bgs::protocol::EntityIdRestriction* release_entity_id();
320 inline void set_allocated_entity_id(::bgs::protocol::EntityIdRestriction* entity_id);
321
322 // optional .bgs.protocol.StringFieldRestriction bytes = 8;
323 inline bool has_bytes() const;
324 inline void clear_bytes();
325 static const int kBytesFieldNumber = 8;
326 inline const ::bgs::protocol::StringFieldRestriction& bytes() const;
327 inline ::bgs::protocol::StringFieldRestriction* mutable_bytes();
328 inline ::bgs::protocol::StringFieldRestriction* release_bytes();
329 inline void set_allocated_bytes(::bgs::protocol::StringFieldRestriction* bytes);
330
331 inline TypeCase type_case() const;
332 // @@protoc_insertion_point(class_scope:bgs.protocol.FieldRestriction)
333 private:
334 inline void set_has_signed_();
335 inline void set_has_unsigned_();
336 inline void set_has_float_();
337 inline void set_has_string();
338 inline void set_has_repeated();
339 inline void set_has_message();
340 inline void set_has_entity_id();
341 inline void set_has_bytes();
342
343 inline bool has_type();
345 inline void clear_has_type();
346
347 ::google::protobuf::UnknownFieldSet _unknown_fields_;
348
349 ::google::protobuf::uint32 _has_bits_[1];
350 mutable int _cached_size_;
361 ::google::protobuf::uint32 _oneof_case_[1];
362
366
369};
370// -------------------------------------------------------------------
371
372class TC_PROTO_API RepeatedFieldRestriction : public ::google::protobuf::Message {
373 public:
376
378
380 CopyFrom(from);
381 return *this;
382 }
383
384 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
385 return _unknown_fields_;
386 }
387
388 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
389 return &_unknown_fields_;
390 }
391
392 static const ::google::protobuf::Descriptor* descriptor();
394
395 enum TypeCase {
396 kSigned = 3,
397 kUnsigned = 4,
398 kFloat = 5,
399 kString = 6,
400 kEntityId = 7,
401 kBytes = 8,
402 TYPE_NOT_SET = 0,
403 };
404
406
407 // implements Message ----------------------------------------------
408
410 int GetCachedSize() const { return _cached_size_; }
411 private:
414 void SetCachedSize(int size) const;
415 public:
416 ::google::protobuf::Metadata GetMetadata() const;
417
418 // nested types ----------------------------------------------------
419
420 // accessors -------------------------------------------------------
421
422 // optional .bgs.protocol.UnsignedIntRange size = 1;
423 inline bool has_size() const;
424 inline void clear_size();
425 static const int kSizeFieldNumber = 1;
426 inline const ::bgs::protocol::UnsignedIntRange& size() const;
427 inline ::bgs::protocol::UnsignedIntRange* mutable_size();
428 inline ::bgs::protocol::UnsignedIntRange* release_size();
429 inline void set_allocated_size(::bgs::protocol::UnsignedIntRange* size);
430
431 // optional bool unique = 2;
432 inline bool has_unique() const;
433 inline void clear_unique();
434 static const int kUniqueFieldNumber = 2;
435 inline bool unique() const;
436 inline void set_unique(bool value);
437
438 // optional .bgs.protocol.SignedFieldRestriction signed = 3;
439 inline bool has_signed_() const;
440 inline void clear_signed_();
441 static const int kSignedFieldNumber = 3;
442 inline const ::bgs::protocol::SignedFieldRestriction& signed_() const;
443 inline ::bgs::protocol::SignedFieldRestriction* mutable_signed_();
444 inline ::bgs::protocol::SignedFieldRestriction* release_signed_();
445 inline void set_allocated_signed_(::bgs::protocol::SignedFieldRestriction* signed_);
446
447 // optional .bgs.protocol.UnsignedFieldRestriction unsigned = 4;
448 inline bool has_unsigned_() const;
449 inline void clear_unsigned_();
450 static const int kUnsignedFieldNumber = 4;
451 inline const ::bgs::protocol::UnsignedFieldRestriction& unsigned_() const;
452 inline ::bgs::protocol::UnsignedFieldRestriction* mutable_unsigned_();
453 inline ::bgs::protocol::UnsignedFieldRestriction* release_unsigned_();
454 inline void set_allocated_unsigned_(::bgs::protocol::UnsignedFieldRestriction* unsigned_);
455
456 // optional .bgs.protocol.FloatFieldRestriction float = 5;
457 inline bool has_float_() const;
458 inline void clear_float_();
459 static const int kFloatFieldNumber = 5;
460 inline const ::bgs::protocol::FloatFieldRestriction& float_() const;
461 inline ::bgs::protocol::FloatFieldRestriction* mutable_float_();
462 inline ::bgs::protocol::FloatFieldRestriction* release_float_();
463 inline void set_allocated_float_(::bgs::protocol::FloatFieldRestriction* float_);
464
465 // optional .bgs.protocol.StringFieldRestriction string = 6;
466 inline bool has_string() const;
467 inline void clear_string();
468 static const int kStringFieldNumber = 6;
469 inline const ::bgs::protocol::StringFieldRestriction& string() const;
470 inline ::bgs::protocol::StringFieldRestriction* mutable_string();
471 inline ::bgs::protocol::StringFieldRestriction* release_string();
472 inline void set_allocated_string(::bgs::protocol::StringFieldRestriction* string);
473
474 // optional .bgs.protocol.EntityIdRestriction entity_id = 7;
475 inline bool has_entity_id() const;
476 inline void clear_entity_id();
477 static const int kEntityIdFieldNumber = 7;
478 inline const ::bgs::protocol::EntityIdRestriction& entity_id() const;
479 inline ::bgs::protocol::EntityIdRestriction* mutable_entity_id();
480 inline ::bgs::protocol::EntityIdRestriction* release_entity_id();
481 inline void set_allocated_entity_id(::bgs::protocol::EntityIdRestriction* entity_id);
482
483 // optional .bgs.protocol.StringFieldRestriction bytes = 8;
484 inline bool has_bytes() const;
485 inline void clear_bytes();
486 static const int kBytesFieldNumber = 8;
487 inline const ::bgs::protocol::StringFieldRestriction& bytes() const;
488 inline ::bgs::protocol::StringFieldRestriction* mutable_bytes();
489 inline ::bgs::protocol::StringFieldRestriction* release_bytes();
490 inline void set_allocated_bytes(::bgs::protocol::StringFieldRestriction* bytes);
491
492 inline TypeCase type_case() const;
493 // @@protoc_insertion_point(class_scope:bgs.protocol.RepeatedFieldRestriction)
494 private:
495 inline void set_has_size();
496 inline void clear_has_size();
497 inline void set_has_unique();
498 inline void clear_has_unique();
499 inline void set_has_signed_();
500 inline void set_has_unsigned_();
501 inline void set_has_float_();
502 inline void set_has_string();
503 inline void set_has_entity_id();
504 inline void set_has_bytes();
505
506 inline bool has_type();
508 inline void clear_has_type();
509
510 ::google::protobuf::UnknownFieldSet _unknown_fields_;
511
512 ::google::protobuf::uint32 _has_bits_[1];
513 mutable int _cached_size_;
524 ::google::protobuf::uint32 _oneof_case_[1];
525
529
532};
533// -------------------------------------------------------------------
534
535class TC_PROTO_API SignedFieldRestriction : public ::google::protobuf::Message {
536 public:
539
541
543 CopyFrom(from);
544 return *this;
545 }
546
547 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
548 return _unknown_fields_;
549 }
550
551 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
552 return &_unknown_fields_;
553 }
554
555 static const ::google::protobuf::Descriptor* descriptor();
557
559
560 // implements Message ----------------------------------------------
561
563 int GetCachedSize() const { return _cached_size_; }
564 private:
567 void SetCachedSize(int size) const;
568 public:
569 ::google::protobuf::Metadata GetMetadata() const;
570
571 // nested types ----------------------------------------------------
572
573 // accessors -------------------------------------------------------
574
575 // optional .bgs.protocol.SignedIntRange limits = 1;
576 inline bool has_limits() const;
577 inline void clear_limits();
578 static const int kLimitsFieldNumber = 1;
579 inline const ::bgs::protocol::SignedIntRange& limits() const;
580 inline ::bgs::protocol::SignedIntRange* mutable_limits();
581 inline ::bgs::protocol::SignedIntRange* release_limits();
582 inline void set_allocated_limits(::bgs::protocol::SignedIntRange* limits);
583
584 // repeated sint64 exclude = 2;
585 inline int exclude_size() const;
586 inline void clear_exclude();
587 static const int kExcludeFieldNumber = 2;
588 inline ::google::protobuf::int64 exclude(int index) const;
589 inline void set_exclude(int index, ::google::protobuf::int64 value);
590 inline void add_exclude(::google::protobuf::int64 value);
591 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
592 exclude() const;
593 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
594 mutable_exclude();
595
596 // @@protoc_insertion_point(class_scope:bgs.protocol.SignedFieldRestriction)
597 private:
598 inline void set_has_limits();
599 inline void clear_has_limits();
600
601 ::google::protobuf::UnknownFieldSet _unknown_fields_;
602
603 ::google::protobuf::uint32 _has_bits_[1];
604 mutable int _cached_size_;
606 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > exclude_;
610
613};
614// -------------------------------------------------------------------
615
616class TC_PROTO_API UnsignedFieldRestriction : public ::google::protobuf::Message {
617 public:
620
622
624 CopyFrom(from);
625 return *this;
626 }
627
628 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
629 return _unknown_fields_;
630 }
631
632 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
633 return &_unknown_fields_;
634 }
635
636 static const ::google::protobuf::Descriptor* descriptor();
638
640
641 // implements Message ----------------------------------------------
642
644 int GetCachedSize() const { return _cached_size_; }
645 private:
648 void SetCachedSize(int size) const;
649 public:
650 ::google::protobuf::Metadata GetMetadata() const;
651
652 // nested types ----------------------------------------------------
653
654 // accessors -------------------------------------------------------
655
656 // optional .bgs.protocol.UnsignedIntRange limits = 1;
657 inline bool has_limits() const;
658 inline void clear_limits();
659 static const int kLimitsFieldNumber = 1;
660 inline const ::bgs::protocol::UnsignedIntRange& limits() const;
661 inline ::bgs::protocol::UnsignedIntRange* mutable_limits();
662 inline ::bgs::protocol::UnsignedIntRange* release_limits();
663 inline void set_allocated_limits(::bgs::protocol::UnsignedIntRange* limits);
664
665 // repeated uint64 exclude = 2;
666 inline int exclude_size() const;
667 inline void clear_exclude();
668 static const int kExcludeFieldNumber = 2;
669 inline ::google::protobuf::uint64 exclude(int index) const;
670 inline void set_exclude(int index, ::google::protobuf::uint64 value);
671 inline void add_exclude(::google::protobuf::uint64 value);
672 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
673 exclude() const;
674 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
675 mutable_exclude();
676
677 // @@protoc_insertion_point(class_scope:bgs.protocol.UnsignedFieldRestriction)
678 private:
679 inline void set_has_limits();
680 inline void clear_has_limits();
681
682 ::google::protobuf::UnknownFieldSet _unknown_fields_;
683
684 ::google::protobuf::uint32 _has_bits_[1];
685 mutable int _cached_size_;
687 ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > exclude_;
691
694};
695// -------------------------------------------------------------------
696
697class TC_PROTO_API FloatFieldRestriction : public ::google::protobuf::Message {
698 public:
701
703
705 CopyFrom(from);
706 return *this;
707 }
708
709 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
710 return _unknown_fields_;
711 }
712
713 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
714 return &_unknown_fields_;
715 }
716
717 static const ::google::protobuf::Descriptor* descriptor();
719
721
722 // implements Message ----------------------------------------------
723
725 int GetCachedSize() const { return _cached_size_; }
726 private:
729 void SetCachedSize(int size) const;
730 public:
731 ::google::protobuf::Metadata GetMetadata() const;
732
733 // nested types ----------------------------------------------------
734
735 // accessors -------------------------------------------------------
736
737 // optional .bgs.protocol.FloatRange limits = 1;
738 inline bool has_limits() const;
739 inline void clear_limits();
740 static const int kLimitsFieldNumber = 1;
741 inline const ::bgs::protocol::FloatRange& limits() const;
742 inline ::bgs::protocol::FloatRange* mutable_limits();
743 inline ::bgs::protocol::FloatRange* release_limits();
744 inline void set_allocated_limits(::bgs::protocol::FloatRange* limits);
745
746 // repeated float exclude = 2;
747 inline int exclude_size() const;
748 inline void clear_exclude();
749 static const int kExcludeFieldNumber = 2;
750 inline float exclude(int index) const;
751 inline void set_exclude(int index, float value);
752 inline void add_exclude(float value);
753 inline const ::google::protobuf::RepeatedField< float >&
754 exclude() const;
755 inline ::google::protobuf::RepeatedField< float >*
756 mutable_exclude();
757
758 // @@protoc_insertion_point(class_scope:bgs.protocol.FloatFieldRestriction)
759 private:
760 inline void set_has_limits();
761 inline void clear_has_limits();
762
763 ::google::protobuf::UnknownFieldSet _unknown_fields_;
764
765 ::google::protobuf::uint32 _has_bits_[1];
766 mutable int _cached_size_;
768 ::google::protobuf::RepeatedField< float > exclude_;
772
775};
776// -------------------------------------------------------------------
777
778class TC_PROTO_API StringFieldRestriction : public ::google::protobuf::Message {
779 public:
782
784
786 CopyFrom(from);
787 return *this;
788 }
789
790 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
791 return _unknown_fields_;
792 }
793
794 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
795 return &_unknown_fields_;
796 }
797
798 static const ::google::protobuf::Descriptor* descriptor();
800
802
803 // implements Message ----------------------------------------------
804
806 int GetCachedSize() const { return _cached_size_; }
807 private:
810 void SetCachedSize(int size) const;
811 public:
812 ::google::protobuf::Metadata GetMetadata() const;
813
814 // nested types ----------------------------------------------------
815
816 // accessors -------------------------------------------------------
817
818 // optional .bgs.protocol.UnsignedIntRange size = 1;
819 inline bool has_size() const;
820 inline void clear_size();
821 static const int kSizeFieldNumber = 1;
822 inline const ::bgs::protocol::UnsignedIntRange& size() const;
823 inline ::bgs::protocol::UnsignedIntRange* mutable_size();
824 inline ::bgs::protocol::UnsignedIntRange* release_size();
825 inline void set_allocated_size(::bgs::protocol::UnsignedIntRange* size);
826
827 // repeated string exclude = 2;
828 inline int exclude_size() const;
829 inline void clear_exclude();
830 static const int kExcludeFieldNumber = 2;
831 inline const ::std::string& exclude(int index) const;
832 inline ::std::string* mutable_exclude(int index);
833 inline void set_exclude(int index, const ::std::string& value);
834 inline void set_exclude(int index, const char* value);
835 inline void set_exclude(int index, const char* value, size_t size);
836 inline ::std::string* add_exclude();
837 inline void add_exclude(const ::std::string& value);
838 inline void add_exclude(const char* value);
839 inline void add_exclude(const char* value, size_t size);
840 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& exclude() const;
841 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_exclude();
842
843 // @@protoc_insertion_point(class_scope:bgs.protocol.StringFieldRestriction)
844 private:
845 inline void set_has_size();
846 inline void clear_has_size();
847
848 ::google::protobuf::UnknownFieldSet _unknown_fields_;
849
850 ::google::protobuf::uint32 _has_bits_[1];
851 mutable int _cached_size_;
853 ::google::protobuf::RepeatedPtrField< ::std::string> exclude_;
857
860};
861// -------------------------------------------------------------------
862
863class TC_PROTO_API EntityIdRestriction : public ::google::protobuf::Message {
864 public:
867
869
871 CopyFrom(from);
872 return *this;
873 }
874
875 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
876 return _unknown_fields_;
877 }
878
879 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
880 return &_unknown_fields_;
881 }
882
883 static const ::google::protobuf::Descriptor* descriptor();
885
887
888 // implements Message ----------------------------------------------
889
891 int GetCachedSize() const { return _cached_size_; }
892 private:
895 void SetCachedSize(int size) const;
896 public:
897 ::google::protobuf::Metadata GetMetadata() const;
898
899 // nested types ----------------------------------------------------
900
904 static const Kind GAME_ACCOUNT = EntityIdRestriction_Kind_GAME_ACCOUNT;
905 static const Kind ACCOUNT_OR_GAME_ACCOUNT = EntityIdRestriction_Kind_ACCOUNT_OR_GAME_ACCOUNT;
908 static inline bool Kind_IsValid(int value) {
910 }
911 static const Kind Kind_MIN =
913 static const Kind Kind_MAX =
915 static const int Kind_ARRAYSIZE =
917 static inline const ::google::protobuf::EnumDescriptor*
921 static inline const ::std::string& Kind_Name(Kind value) {
922 return EntityIdRestriction_Kind_Name(value);
923 }
924 static inline bool Kind_Parse(const ::std::string& name,
925 Kind* value) {
926 return EntityIdRestriction_Kind_Parse(name, value);
927 }
928
929 // accessors -------------------------------------------------------
930
931 // optional bool needed = 1;
932 inline bool has_needed() const;
933 inline void clear_needed();
934 static const int kNeededFieldNumber = 1;
935 inline bool needed() const;
936 inline void set_needed(bool value);
937
938 // optional .bgs.protocol.EntityIdRestriction.Kind kind = 2;
939 inline bool has_kind() const;
940 inline void clear_kind();
941 static const int kKindFieldNumber = 2;
942 inline ::bgs::protocol::EntityIdRestriction_Kind kind() const;
943 inline void set_kind(::bgs::protocol::EntityIdRestriction_Kind value);
944
945 // @@protoc_insertion_point(class_scope:bgs.protocol.EntityIdRestriction)
946 private:
947 inline void set_has_needed();
948 inline void clear_has_needed();
949 inline void set_has_kind();
950 inline void clear_has_kind();
951
952 ::google::protobuf::UnknownFieldSet _unknown_fields_;
953
954 ::google::protobuf::uint32 _has_bits_[1];
955 mutable int _cached_size_;
957 int kind_;
961
964};
965// -------------------------------------------------------------------
966
967class TC_PROTO_API MessageFieldRestriction : public ::google::protobuf::Message {
968 public:
971
973
975 CopyFrom(from);
976 return *this;
977 }
978
979 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
980 return _unknown_fields_;
981 }
982
983 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
984 return &_unknown_fields_;
985 }
986
987 static const ::google::protobuf::Descriptor* descriptor();
989
991
992 // implements Message ----------------------------------------------
993
995 int GetCachedSize() const { return _cached_size_; }
996 private:
999 void SetCachedSize(int size) const;
1000 public:
1001 ::google::protobuf::Metadata GetMetadata() const;
1002
1003 // nested types ----------------------------------------------------
1004
1005 // accessors -------------------------------------------------------
1006
1007 // optional bool needed = 1;
1008 inline bool has_needed() const;
1009 inline void clear_needed();
1010 static const int kNeededFieldNumber = 1;
1011 inline bool needed() const;
1012 inline void set_needed(bool value);
1013
1014 // @@protoc_insertion_point(class_scope:bgs.protocol.MessageFieldRestriction)
1015 private:
1016 inline void set_has_needed();
1017 inline void clear_has_needed();
1018
1019 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1020
1021 ::google::protobuf::uint32 _has_bits_[1];
1022 mutable int _cached_size_;
1027
1030};
1031// -------------------------------------------------------------------
1032
1033class TC_PROTO_API SDKFieldOptions : public ::google::protobuf::Message {
1034 public:
1037
1039
1041 CopyFrom(from);
1042 return *this;
1043 }
1044
1045 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1046 return _unknown_fields_;
1047 }
1048
1049 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1050 return &_unknown_fields_;
1051 }
1052
1053 static const ::google::protobuf::Descriptor* descriptor();
1055
1056 void Swap(SDKFieldOptions* other);
1057
1058 // implements Message ----------------------------------------------
1059
1061 int GetCachedSize() const { return _cached_size_; }
1062 private:
1065 void SetCachedSize(int size) const;
1066 public:
1067 ::google::protobuf::Metadata GetMetadata() const;
1068
1069 // nested types ----------------------------------------------------
1070
1071 // accessors -------------------------------------------------------
1072
1073 // optional bool deprecated_32_bit = 4;
1074 inline bool has_deprecated_32_bit() const;
1075 inline void clear_deprecated_32_bit();
1076 static const int kDeprecated32BitFieldNumber = 4;
1077 inline bool deprecated_32_bit() const;
1078 inline void set_deprecated_32_bit(bool value);
1079
1080 // @@protoc_insertion_point(class_scope:bgs.protocol.SDKFieldOptions)
1081 private:
1082 inline void set_has_deprecated_32_bit();
1083 inline void clear_has_deprecated_32_bit();
1084
1085 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1086
1087 ::google::protobuf::uint32 _has_bits_[1];
1088 mutable int _cached_size_;
1093
1096};
1097// ===================================================================
1098
1099// ===================================================================
1100
1101static const int kFieldOptionsFieldNumber = 90000;
1102TC_PROTO_API extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions,
1103 ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::BGSFieldOptions >, 11, false >
1105static const int kValidFieldNumber = 90001;
1106TC_PROTO_API extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions,
1107 ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::FieldRestriction >, 11, false >
1108 valid;
1109static const int kSdkFieldOptionsFieldNumber = 90002;
1110TC_PROTO_API extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions,
1111 ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::SDKFieldOptions >, 11, false >
1113
1114// ===================================================================
1115
1116// BGSFieldOptions
1117
1118// optional .bgs.protocol.LogOption log = 1;
1119inline bool BGSFieldOptions::has_log() const {
1120 return (_has_bits_[0] & 0x00000001u) != 0;
1121}
1123 _has_bits_[0] |= 0x00000001u;
1124}
1126 _has_bits_[0] &= ~0x00000001u;
1127}
1129 log_ = 1;
1130 clear_has_log();
1131}
1132inline ::bgs::protocol::LogOption BGSFieldOptions::log() const {
1133 // @@protoc_insertion_point(field_get:bgs.protocol.BGSFieldOptions.log)
1134 return static_cast< ::bgs::protocol::LogOption >(log_);
1135}
1138 set_has_log();
1139 log_ = value;
1140 // @@protoc_insertion_point(field_set:bgs.protocol.BGSFieldOptions.log)
1141}
1142
1143// optional bool shard_key = 2;
1145 return (_has_bits_[0] & 0x00000002u) != 0;
1146}
1148 _has_bits_[0] |= 0x00000002u;
1149}
1151 _has_bits_[0] &= ~0x00000002u;
1152}
1154 shard_key_ = false;
1156}
1157inline bool BGSFieldOptions::shard_key() const {
1158 // @@protoc_insertion_point(field_get:bgs.protocol.BGSFieldOptions.shard_key)
1159 return shard_key_;
1160}
1161inline void BGSFieldOptions::set_shard_key(bool value) {
1163 shard_key_ = value;
1164 // @@protoc_insertion_point(field_set:bgs.protocol.BGSFieldOptions.shard_key)
1165}
1166
1167// optional bool fanout_key = 3;
1169 return (_has_bits_[0] & 0x00000004u) != 0;
1170}
1172 _has_bits_[0] |= 0x00000004u;
1173}
1175 _has_bits_[0] &= ~0x00000004u;
1176}
1178 fanout_key_ = false;
1180}
1181inline bool BGSFieldOptions::fanout_key() const {
1182 // @@protoc_insertion_point(field_get:bgs.protocol.BGSFieldOptions.fanout_key)
1183 return fanout_key_;
1184}
1185inline void BGSFieldOptions::set_fanout_key(bool value) {
1187 fanout_key_ = value;
1188 // @@protoc_insertion_point(field_set:bgs.protocol.BGSFieldOptions.fanout_key)
1189}
1190
1191// optional bool client_instance_key = 4;
1193 return (_has_bits_[0] & 0x00000008u) != 0;
1194}
1196 _has_bits_[0] |= 0x00000008u;
1197}
1199 _has_bits_[0] &= ~0x00000008u;
1200}
1206 // @@protoc_insertion_point(field_get:bgs.protocol.BGSFieldOptions.client_instance_key)
1207 return client_instance_key_;
1208}
1211 client_instance_key_ = value;
1212 // @@protoc_insertion_point(field_set:bgs.protocol.BGSFieldOptions.client_instance_key)
1213}
1214
1215// optional string realized_enum = 5;
1217 return (_has_bits_[0] & 0x00000010u) != 0;
1218}
1220 _has_bits_[0] |= 0x00000010u;
1221}
1223 _has_bits_[0] &= ~0x00000010u;
1224}
1226 if (realized_enum_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1227 realized_enum_->clear();
1228 }
1230}
1231inline const ::std::string& BGSFieldOptions::realized_enum() const {
1232 // @@protoc_insertion_point(field_get:bgs.protocol.BGSFieldOptions.realized_enum)
1233 return *realized_enum_;
1234}
1235inline void BGSFieldOptions::set_realized_enum(const ::std::string& value) {
1237 if (realized_enum_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1238 realized_enum_ = new ::std::string;
1239 }
1240 realized_enum_->assign(value);
1241 // @@protoc_insertion_point(field_set:bgs.protocol.BGSFieldOptions.realized_enum)
1242}
1243inline void BGSFieldOptions::set_realized_enum(const char* value) {
1245 if (realized_enum_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1246 realized_enum_ = new ::std::string;
1247 }
1248 realized_enum_->assign(value);
1249 // @@protoc_insertion_point(field_set_char:bgs.protocol.BGSFieldOptions.realized_enum)
1250}
1251inline void BGSFieldOptions::set_realized_enum(const char* value, size_t size) {
1253 if (realized_enum_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1254 realized_enum_ = new ::std::string;
1255 }
1256 realized_enum_->assign(reinterpret_cast<const char*>(value), size);
1257 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.BGSFieldOptions.realized_enum)
1258}
1261 if (realized_enum_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1262 realized_enum_ = new ::std::string;
1263 }
1264 // @@protoc_insertion_point(field_mutable:bgs.protocol.BGSFieldOptions.realized_enum)
1265 return realized_enum_;
1266}
1269 if (realized_enum_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1270 return NULL;
1271 } else {
1272 ::std::string* temp = realized_enum_;
1273 realized_enum_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1274 return temp;
1275 }
1276}
1277inline void BGSFieldOptions::set_allocated_realized_enum(::std::string* realized_enum) {
1278 if (realized_enum_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1279 delete realized_enum_;
1280 }
1281 if (realized_enum) {
1284 } else {
1286 realized_enum_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1287 }
1288 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.BGSFieldOptions.realized_enum)
1289}
1290
1291// -------------------------------------------------------------------
1292
1293// FieldRestriction
1294
1295// optional .bgs.protocol.SignedFieldRestriction signed = 1;
1297 return type_case() == kSigned;
1298}
1303 if (has_signed_()) {
1304 delete type_.signed__;
1306 }
1307}
1308inline const ::bgs::protocol::SignedFieldRestriction& FieldRestriction::signed_() const {
1309 return has_signed_() ? *type_.signed__
1311}
1312inline ::bgs::protocol::SignedFieldRestriction* FieldRestriction::mutable_signed_() {
1313 if (!has_signed_()) {
1314 clear_type();
1316 type_.signed__ = new ::bgs::protocol::SignedFieldRestriction;
1317 }
1318 return type_.signed__;
1319}
1320inline ::bgs::protocol::SignedFieldRestriction* FieldRestriction::release_signed_() {
1321 if (has_signed_()) {
1324 type_.signed__ = NULL;
1325 return temp;
1326 } else {
1327 return NULL;
1328 }
1329}
1337
1338// optional .bgs.protocol.UnsignedFieldRestriction unsigned = 2;
1340 return type_case() == kUnsigned;
1341}
1346 if (has_unsigned_()) {
1347 delete type_.unsigned__;
1349 }
1350}
1351inline const ::bgs::protocol::UnsignedFieldRestriction& FieldRestriction::unsigned_() const {
1352 return has_unsigned_() ? *type_.unsigned__
1354}
1355inline ::bgs::protocol::UnsignedFieldRestriction* FieldRestriction::mutable_unsigned_() {
1356 if (!has_unsigned_()) {
1357 clear_type();
1359 type_.unsigned__ = new ::bgs::protocol::UnsignedFieldRestriction;
1360 }
1361 return type_.unsigned__;
1362}
1363inline ::bgs::protocol::UnsignedFieldRestriction* FieldRestriction::release_unsigned_() {
1364 if (has_unsigned_()) {
1367 type_.unsigned__ = NULL;
1368 return temp;
1369 } else {
1370 return NULL;
1371 }
1372}
1380
1381// optional .bgs.protocol.FloatFieldRestriction float = 3;
1382inline bool FieldRestriction::has_float_() const {
1383 return type_case() == kFloat;
1384}
1389 if (has_float_()) {
1390 delete type_.float__;
1392 }
1393}
1394inline const ::bgs::protocol::FloatFieldRestriction& FieldRestriction::float_() const {
1395 return has_float_() ? *type_.float__
1397}
1398inline ::bgs::protocol::FloatFieldRestriction* FieldRestriction::mutable_float_() {
1399 if (!has_float_()) {
1400 clear_type();
1402 type_.float__ = new ::bgs::protocol::FloatFieldRestriction;
1403 }
1404 return type_.float__;
1405}
1406inline ::bgs::protocol::FloatFieldRestriction* FieldRestriction::release_float_() {
1407 if (has_float_()) {
1410 type_.float__ = NULL;
1411 return temp;
1412 } else {
1413 return NULL;
1414 }
1415}
1423
1424// optional .bgs.protocol.StringFieldRestriction string = 4;
1425inline bool FieldRestriction::has_string() const {
1426 return type_case() == kString;
1427}
1432 if (has_string()) {
1433 delete type_.string_;
1435 }
1436}
1437inline const ::bgs::protocol::StringFieldRestriction& FieldRestriction::string() const {
1438 return has_string() ? *type_.string_
1440}
1441inline ::bgs::protocol::StringFieldRestriction* FieldRestriction::mutable_string() {
1442 if (!has_string()) {
1443 clear_type();
1445 type_.string_ = new ::bgs::protocol::StringFieldRestriction;
1446 }
1447 return type_.string_;
1448}
1449inline ::bgs::protocol::StringFieldRestriction* FieldRestriction::release_string() {
1450 if (has_string()) {
1453 type_.string_ = NULL;
1454 return temp;
1455 } else {
1456 return NULL;
1457 }
1458}
1460 clear_type();
1461 if (string) {
1464 }
1465}
1466
1467// optional .bgs.protocol.RepeatedFieldRestriction repeated = 5;
1469 return type_case() == kRepeated;
1470}
1475 if (has_repeated()) {
1476 delete type_.repeated_;
1478 }
1479}
1480inline const ::bgs::protocol::RepeatedFieldRestriction& FieldRestriction::repeated() const {
1481 return has_repeated() ? *type_.repeated_
1483}
1484inline ::bgs::protocol::RepeatedFieldRestriction* FieldRestriction::mutable_repeated() {
1485 if (!has_repeated()) {
1486 clear_type();
1488 type_.repeated_ = new ::bgs::protocol::RepeatedFieldRestriction;
1489 }
1490 return type_.repeated_;
1491}
1492inline ::bgs::protocol::RepeatedFieldRestriction* FieldRestriction::release_repeated() {
1493 if (has_repeated()) {
1496 type_.repeated_ = NULL;
1497 return temp;
1498 } else {
1499 return NULL;
1500 }
1501}
1509
1510// optional .bgs.protocol.MessageFieldRestriction message = 6;
1512 return type_case() == kMessage;
1513}
1518 if (has_message()) {
1519 delete type_.message_;
1521 }
1522}
1523inline const ::bgs::protocol::MessageFieldRestriction& FieldRestriction::message() const {
1524 return has_message() ? *type_.message_
1526}
1527inline ::bgs::protocol::MessageFieldRestriction* FieldRestriction::mutable_message() {
1528 if (!has_message()) {
1529 clear_type();
1531 type_.message_ = new ::bgs::protocol::MessageFieldRestriction;
1532 }
1533 return type_.message_;
1534}
1535inline ::bgs::protocol::MessageFieldRestriction* FieldRestriction::release_message() {
1536 if (has_message()) {
1539 type_.message_ = NULL;
1540 return temp;
1541 } else {
1542 return NULL;
1543 }
1544}
1552
1553// optional .bgs.protocol.EntityIdRestriction entity_id = 7;
1555 return type_case() == kEntityId;
1556}
1561 if (has_entity_id()) {
1562 delete type_.entity_id_;
1564 }
1565}
1566inline const ::bgs::protocol::EntityIdRestriction& FieldRestriction::entity_id() const {
1567 return has_entity_id() ? *type_.entity_id_
1569}
1570inline ::bgs::protocol::EntityIdRestriction* FieldRestriction::mutable_entity_id() {
1571 if (!has_entity_id()) {
1572 clear_type();
1574 type_.entity_id_ = new ::bgs::protocol::EntityIdRestriction;
1575 }
1576 return type_.entity_id_;
1577}
1578inline ::bgs::protocol::EntityIdRestriction* FieldRestriction::release_entity_id() {
1579 if (has_entity_id()) {
1582 type_.entity_id_ = NULL;
1583 return temp;
1584 } else {
1585 return NULL;
1586 }
1587}
1595
1596// optional .bgs.protocol.StringFieldRestriction bytes = 8;
1597inline bool FieldRestriction::has_bytes() const {
1598 return type_case() == kBytes;
1599}
1601 _oneof_case_[0] = kBytes;
1602}
1604 if (has_bytes()) {
1605 delete type_.bytes_;
1607 }
1608}
1609inline const ::bgs::protocol::StringFieldRestriction& FieldRestriction::bytes() const {
1610 return has_bytes() ? *type_.bytes_
1612}
1613inline ::bgs::protocol::StringFieldRestriction* FieldRestriction::mutable_bytes() {
1614 if (!has_bytes()) {
1615 clear_type();
1616 set_has_bytes();
1617 type_.bytes_ = new ::bgs::protocol::StringFieldRestriction;
1618 }
1619 return type_.bytes_;
1620}
1621inline ::bgs::protocol::StringFieldRestriction* FieldRestriction::release_bytes() {
1622 if (has_bytes()) {
1625 type_.bytes_ = NULL;
1626 return temp;
1627 } else {
1628 return NULL;
1629 }
1630}
1638
1640 return type_case() != TYPE_NOT_SET;
1641}
1648// -------------------------------------------------------------------
1649
1650// RepeatedFieldRestriction
1651
1652// optional .bgs.protocol.UnsignedIntRange size = 1;
1654 return (_has_bits_[0] & 0x00000001u) != 0;
1655}
1657 _has_bits_[0] |= 0x00000001u;
1658}
1660 _has_bits_[0] &= ~0x00000001u;
1661}
1663 if (size_ != NULL) size_->::bgs::protocol::UnsignedIntRange::Clear();
1665}
1666inline const ::bgs::protocol::UnsignedIntRange& RepeatedFieldRestriction::size() const {
1667 // @@protoc_insertion_point(field_get:bgs.protocol.RepeatedFieldRestriction.size)
1668 return size_ != NULL ? *size_ : *default_instance_->size_;
1669}
1670inline ::bgs::protocol::UnsignedIntRange* RepeatedFieldRestriction::mutable_size() {
1671 set_has_size();
1672 if (size_ == NULL) size_ = new ::bgs::protocol::UnsignedIntRange;
1673 // @@protoc_insertion_point(field_mutable:bgs.protocol.RepeatedFieldRestriction.size)
1674 return size_;
1675}
1676inline ::bgs::protocol::UnsignedIntRange* RepeatedFieldRestriction::release_size() {
1679 size_ = NULL;
1680 return temp;
1681}
1683 delete size_;
1684 size_ = size;
1685 if (size) {
1686 set_has_size();
1687 } else {
1689 }
1690 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.RepeatedFieldRestriction.size)
1691}
1692
1693// optional bool unique = 2;
1695 return (_has_bits_[0] & 0x00000002u) != 0;
1696}
1698 _has_bits_[0] |= 0x00000002u;
1699}
1701 _has_bits_[0] &= ~0x00000002u;
1702}
1704 unique_ = false;
1706}
1708 // @@protoc_insertion_point(field_get:bgs.protocol.RepeatedFieldRestriction.unique)
1709 return unique_;
1710}
1713 unique_ = value;
1714 // @@protoc_insertion_point(field_set:bgs.protocol.RepeatedFieldRestriction.unique)
1715}
1716
1717// optional .bgs.protocol.SignedFieldRestriction signed = 3;
1719 return type_case() == kSigned;
1720}
1725 if (has_signed_()) {
1726 delete type_.signed__;
1728 }
1729}
1730inline const ::bgs::protocol::SignedFieldRestriction& RepeatedFieldRestriction::signed_() const {
1731 return has_signed_() ? *type_.signed__
1733}
1734inline ::bgs::protocol::SignedFieldRestriction* RepeatedFieldRestriction::mutable_signed_() {
1735 if (!has_signed_()) {
1736 clear_type();
1738 type_.signed__ = new ::bgs::protocol::SignedFieldRestriction;
1739 }
1740 return type_.signed__;
1741}
1742inline ::bgs::protocol::SignedFieldRestriction* RepeatedFieldRestriction::release_signed_() {
1743 if (has_signed_()) {
1746 type_.signed__ = NULL;
1747 return temp;
1748 } else {
1749 return NULL;
1750 }
1751}
1759
1760// optional .bgs.protocol.UnsignedFieldRestriction unsigned = 4;
1762 return type_case() == kUnsigned;
1763}
1768 if (has_unsigned_()) {
1769 delete type_.unsigned__;
1771 }
1772}
1773inline const ::bgs::protocol::UnsignedFieldRestriction& RepeatedFieldRestriction::unsigned_() const {
1774 return has_unsigned_() ? *type_.unsigned__
1776}
1777inline ::bgs::protocol::UnsignedFieldRestriction* RepeatedFieldRestriction::mutable_unsigned_() {
1778 if (!has_unsigned_()) {
1779 clear_type();
1781 type_.unsigned__ = new ::bgs::protocol::UnsignedFieldRestriction;
1782 }
1783 return type_.unsigned__;
1784}
1785inline ::bgs::protocol::UnsignedFieldRestriction* RepeatedFieldRestriction::release_unsigned_() {
1786 if (has_unsigned_()) {
1789 type_.unsigned__ = NULL;
1790 return temp;
1791 } else {
1792 return NULL;
1793 }
1794}
1802
1803// optional .bgs.protocol.FloatFieldRestriction float = 5;
1805 return type_case() == kFloat;
1806}
1811 if (has_float_()) {
1812 delete type_.float__;
1814 }
1815}
1816inline const ::bgs::protocol::FloatFieldRestriction& RepeatedFieldRestriction::float_() const {
1817 return has_float_() ? *type_.float__
1819}
1820inline ::bgs::protocol::FloatFieldRestriction* RepeatedFieldRestriction::mutable_float_() {
1821 if (!has_float_()) {
1822 clear_type();
1824 type_.float__ = new ::bgs::protocol::FloatFieldRestriction;
1825 }
1826 return type_.float__;
1827}
1828inline ::bgs::protocol::FloatFieldRestriction* RepeatedFieldRestriction::release_float_() {
1829 if (has_float_()) {
1832 type_.float__ = NULL;
1833 return temp;
1834 } else {
1835 return NULL;
1836 }
1837}
1845
1846// optional .bgs.protocol.StringFieldRestriction string = 6;
1848 return type_case() == kString;
1849}
1854 if (has_string()) {
1855 delete type_.string_;
1857 }
1858}
1859inline const ::bgs::protocol::StringFieldRestriction& RepeatedFieldRestriction::string() const {
1860 return has_string() ? *type_.string_
1862}
1863inline ::bgs::protocol::StringFieldRestriction* RepeatedFieldRestriction::mutable_string() {
1864 if (!has_string()) {
1865 clear_type();
1867 type_.string_ = new ::bgs::protocol::StringFieldRestriction;
1868 }
1869 return type_.string_;
1870}
1871inline ::bgs::protocol::StringFieldRestriction* RepeatedFieldRestriction::release_string() {
1872 if (has_string()) {
1875 type_.string_ = NULL;
1876 return temp;
1877 } else {
1878 return NULL;
1879 }
1880}
1888
1889// optional .bgs.protocol.EntityIdRestriction entity_id = 7;
1891 return type_case() == kEntityId;
1892}
1897 if (has_entity_id()) {
1898 delete type_.entity_id_;
1900 }
1901}
1902inline const ::bgs::protocol::EntityIdRestriction& RepeatedFieldRestriction::entity_id() const {
1903 return has_entity_id() ? *type_.entity_id_
1905}
1906inline ::bgs::protocol::EntityIdRestriction* RepeatedFieldRestriction::mutable_entity_id() {
1907 if (!has_entity_id()) {
1908 clear_type();
1910 type_.entity_id_ = new ::bgs::protocol::EntityIdRestriction;
1911 }
1912 return type_.entity_id_;
1913}
1914inline ::bgs::protocol::EntityIdRestriction* RepeatedFieldRestriction::release_entity_id() {
1915 if (has_entity_id()) {
1918 type_.entity_id_ = NULL;
1919 return temp;
1920 } else {
1921 return NULL;
1922 }
1923}
1931
1932// optional .bgs.protocol.StringFieldRestriction bytes = 8;
1934 return type_case() == kBytes;
1935}
1940 if (has_bytes()) {
1941 delete type_.bytes_;
1943 }
1944}
1945inline const ::bgs::protocol::StringFieldRestriction& RepeatedFieldRestriction::bytes() const {
1946 return has_bytes() ? *type_.bytes_
1948}
1949inline ::bgs::protocol::StringFieldRestriction* RepeatedFieldRestriction::mutable_bytes() {
1950 if (!has_bytes()) {
1951 clear_type();
1952 set_has_bytes();
1953 type_.bytes_ = new ::bgs::protocol::StringFieldRestriction;
1954 }
1955 return type_.bytes_;
1956}
1957inline ::bgs::protocol::StringFieldRestriction* RepeatedFieldRestriction::release_bytes() {
1958 if (has_bytes()) {
1961 type_.bytes_ = NULL;
1962 return temp;
1963 } else {
1964 return NULL;
1965 }
1966}
1974
1976 return type_case() != TYPE_NOT_SET;
1977}
1984// -------------------------------------------------------------------
1985
1986// SignedFieldRestriction
1987
1988// optional .bgs.protocol.SignedIntRange limits = 1;
1990 return (_has_bits_[0] & 0x00000001u) != 0;
1991}
1993 _has_bits_[0] |= 0x00000001u;
1994}
1996 _has_bits_[0] &= ~0x00000001u;
1997}
1999 if (limits_ != NULL) limits_->::bgs::protocol::SignedIntRange::Clear();
2001}
2002inline const ::bgs::protocol::SignedIntRange& SignedFieldRestriction::limits() const {
2003 // @@protoc_insertion_point(field_get:bgs.protocol.SignedFieldRestriction.limits)
2004 return limits_ != NULL ? *limits_ : *default_instance_->limits_;
2005}
2006inline ::bgs::protocol::SignedIntRange* SignedFieldRestriction::mutable_limits() {
2008 if (limits_ == NULL) limits_ = new ::bgs::protocol::SignedIntRange;
2009 // @@protoc_insertion_point(field_mutable:bgs.protocol.SignedFieldRestriction.limits)
2010 return limits_;
2011}
2012inline ::bgs::protocol::SignedIntRange* SignedFieldRestriction::release_limits() {
2015 limits_ = NULL;
2016 return temp;
2017}
2019 delete limits_;
2020 limits_ = limits;
2021 if (limits) {
2023 } else {
2025 }
2026 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.SignedFieldRestriction.limits)
2027}
2028
2029// repeated sint64 exclude = 2;
2031 return exclude_.size();
2032}
2034 exclude_.Clear();
2035}
2036inline ::google::protobuf::int64 SignedFieldRestriction::exclude(int index) const {
2037 // @@protoc_insertion_point(field_get:bgs.protocol.SignedFieldRestriction.exclude)
2038 return exclude_.Get(index);
2039}
2040inline void SignedFieldRestriction::set_exclude(int index, ::google::protobuf::int64 value) {
2041 exclude_.Set(index, value);
2042 // @@protoc_insertion_point(field_set:bgs.protocol.SignedFieldRestriction.exclude)
2043}
2044inline void SignedFieldRestriction::add_exclude(::google::protobuf::int64 value) {
2045 exclude_.Add(value);
2046 // @@protoc_insertion_point(field_add:bgs.protocol.SignedFieldRestriction.exclude)
2047}
2048inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
2050 // @@protoc_insertion_point(field_list:bgs.protocol.SignedFieldRestriction.exclude)
2051 return exclude_;
2052}
2053inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
2055 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.SignedFieldRestriction.exclude)
2056 return &exclude_;
2057}
2058
2059// -------------------------------------------------------------------
2060
2061// UnsignedFieldRestriction
2062
2063// optional .bgs.protocol.UnsignedIntRange limits = 1;
2065 return (_has_bits_[0] & 0x00000001u) != 0;
2066}
2068 _has_bits_[0] |= 0x00000001u;
2069}
2071 _has_bits_[0] &= ~0x00000001u;
2072}
2074 if (limits_ != NULL) limits_->::bgs::protocol::UnsignedIntRange::Clear();
2076}
2077inline const ::bgs::protocol::UnsignedIntRange& UnsignedFieldRestriction::limits() const {
2078 // @@protoc_insertion_point(field_get:bgs.protocol.UnsignedFieldRestriction.limits)
2079 return limits_ != NULL ? *limits_ : *default_instance_->limits_;
2080}
2081inline ::bgs::protocol::UnsignedIntRange* UnsignedFieldRestriction::mutable_limits() {
2083 if (limits_ == NULL) limits_ = new ::bgs::protocol::UnsignedIntRange;
2084 // @@protoc_insertion_point(field_mutable:bgs.protocol.UnsignedFieldRestriction.limits)
2085 return limits_;
2086}
2087inline ::bgs::protocol::UnsignedIntRange* UnsignedFieldRestriction::release_limits() {
2090 limits_ = NULL;
2091 return temp;
2092}
2094 delete limits_;
2095 limits_ = limits;
2096 if (limits) {
2098 } else {
2100 }
2101 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.UnsignedFieldRestriction.limits)
2102}
2103
2104// repeated uint64 exclude = 2;
2106 return exclude_.size();
2107}
2109 exclude_.Clear();
2110}
2111inline ::google::protobuf::uint64 UnsignedFieldRestriction::exclude(int index) const {
2112 // @@protoc_insertion_point(field_get:bgs.protocol.UnsignedFieldRestriction.exclude)
2113 return exclude_.Get(index);
2114}
2115inline void UnsignedFieldRestriction::set_exclude(int index, ::google::protobuf::uint64 value) {
2116 exclude_.Set(index, value);
2117 // @@protoc_insertion_point(field_set:bgs.protocol.UnsignedFieldRestriction.exclude)
2118}
2119inline void UnsignedFieldRestriction::add_exclude(::google::protobuf::uint64 value) {
2120 exclude_.Add(value);
2121 // @@protoc_insertion_point(field_add:bgs.protocol.UnsignedFieldRestriction.exclude)
2122}
2123inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
2125 // @@protoc_insertion_point(field_list:bgs.protocol.UnsignedFieldRestriction.exclude)
2126 return exclude_;
2127}
2128inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
2130 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.UnsignedFieldRestriction.exclude)
2131 return &exclude_;
2132}
2133
2134// -------------------------------------------------------------------
2135
2136// FloatFieldRestriction
2137
2138// optional .bgs.protocol.FloatRange limits = 1;
2140 return (_has_bits_[0] & 0x00000001u) != 0;
2141}
2143 _has_bits_[0] |= 0x00000001u;
2144}
2146 _has_bits_[0] &= ~0x00000001u;
2147}
2149 if (limits_ != NULL) limits_->::bgs::protocol::FloatRange::Clear();
2151}
2152inline const ::bgs::protocol::FloatRange& FloatFieldRestriction::limits() const {
2153 // @@protoc_insertion_point(field_get:bgs.protocol.FloatFieldRestriction.limits)
2154 return limits_ != NULL ? *limits_ : *default_instance_->limits_;
2155}
2156inline ::bgs::protocol::FloatRange* FloatFieldRestriction::mutable_limits() {
2158 if (limits_ == NULL) limits_ = new ::bgs::protocol::FloatRange;
2159 // @@protoc_insertion_point(field_mutable:bgs.protocol.FloatFieldRestriction.limits)
2160 return limits_;
2161}
2162inline ::bgs::protocol::FloatRange* FloatFieldRestriction::release_limits() {
2165 limits_ = NULL;
2166 return temp;
2167}
2169 delete limits_;
2170 limits_ = limits;
2171 if (limits) {
2173 } else {
2175 }
2176 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.FloatFieldRestriction.limits)
2177}
2178
2179// repeated float exclude = 2;
2181 return exclude_.size();
2182}
2184 exclude_.Clear();
2185}
2186inline float FloatFieldRestriction::exclude(int index) const {
2187 // @@protoc_insertion_point(field_get:bgs.protocol.FloatFieldRestriction.exclude)
2188 return exclude_.Get(index);
2189}
2190inline void FloatFieldRestriction::set_exclude(int index, float value) {
2191 exclude_.Set(index, value);
2192 // @@protoc_insertion_point(field_set:bgs.protocol.FloatFieldRestriction.exclude)
2193}
2194inline void FloatFieldRestriction::add_exclude(float value) {
2195 exclude_.Add(value);
2196 // @@protoc_insertion_point(field_add:bgs.protocol.FloatFieldRestriction.exclude)
2197}
2198inline const ::google::protobuf::RepeatedField< float >&
2200 // @@protoc_insertion_point(field_list:bgs.protocol.FloatFieldRestriction.exclude)
2201 return exclude_;
2202}
2203inline ::google::protobuf::RepeatedField< float >*
2205 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.FloatFieldRestriction.exclude)
2206 return &exclude_;
2207}
2208
2209// -------------------------------------------------------------------
2210
2211// StringFieldRestriction
2212
2213// optional .bgs.protocol.UnsignedIntRange size = 1;
2215 return (_has_bits_[0] & 0x00000001u) != 0;
2216}
2218 _has_bits_[0] |= 0x00000001u;
2219}
2221 _has_bits_[0] &= ~0x00000001u;
2222}
2224 if (size_ != NULL) size_->::bgs::protocol::UnsignedIntRange::Clear();
2226}
2227inline const ::bgs::protocol::UnsignedIntRange& StringFieldRestriction::size() const {
2228 // @@protoc_insertion_point(field_get:bgs.protocol.StringFieldRestriction.size)
2229 return size_ != NULL ? *size_ : *default_instance_->size_;
2230}
2231inline ::bgs::protocol::UnsignedIntRange* StringFieldRestriction::mutable_size() {
2232 set_has_size();
2233 if (size_ == NULL) size_ = new ::bgs::protocol::UnsignedIntRange;
2234 // @@protoc_insertion_point(field_mutable:bgs.protocol.StringFieldRestriction.size)
2235 return size_;
2236}
2237inline ::bgs::protocol::UnsignedIntRange* StringFieldRestriction::release_size() {
2240 size_ = NULL;
2241 return temp;
2242}
2244 delete size_;
2245 size_ = size;
2246 if (size) {
2247 set_has_size();
2248 } else {
2250 }
2251 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.StringFieldRestriction.size)
2252}
2253
2254// repeated string exclude = 2;
2256 return exclude_.size();
2257}
2259 exclude_.Clear();
2260}
2261inline const ::std::string& StringFieldRestriction::exclude(int index) const {
2262 // @@protoc_insertion_point(field_get:bgs.protocol.StringFieldRestriction.exclude)
2263 return exclude_.Get(index);
2264}
2265inline ::std::string* StringFieldRestriction::mutable_exclude(int index) {
2266 // @@protoc_insertion_point(field_mutable:bgs.protocol.StringFieldRestriction.exclude)
2267 return exclude_.Mutable(index);
2268}
2269inline void StringFieldRestriction::set_exclude(int index, const ::std::string& value) {
2270 // @@protoc_insertion_point(field_set:bgs.protocol.StringFieldRestriction.exclude)
2271 exclude_.Mutable(index)->assign(value);
2272}
2273inline void StringFieldRestriction::set_exclude(int index, const char* value) {
2274 exclude_.Mutable(index)->assign(value);
2275 // @@protoc_insertion_point(field_set_char:bgs.protocol.StringFieldRestriction.exclude)
2276}
2277inline void StringFieldRestriction::set_exclude(int index, const char* value, size_t size) {
2278 exclude_.Mutable(index)->assign(
2279 reinterpret_cast<const char*>(value), size);
2280 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.StringFieldRestriction.exclude)
2281}
2283 return exclude_.Add();
2284}
2285inline void StringFieldRestriction::add_exclude(const ::std::string& value) {
2286 exclude_.Add()->assign(value);
2287 // @@protoc_insertion_point(field_add:bgs.protocol.StringFieldRestriction.exclude)
2288}
2289inline void StringFieldRestriction::add_exclude(const char* value) {
2290 exclude_.Add()->assign(value);
2291 // @@protoc_insertion_point(field_add_char:bgs.protocol.StringFieldRestriction.exclude)
2292}
2293inline void StringFieldRestriction::add_exclude(const char* value, size_t size) {
2294 exclude_.Add()->assign(reinterpret_cast<const char*>(value), size);
2295 // @@protoc_insertion_point(field_add_pointer:bgs.protocol.StringFieldRestriction.exclude)
2296}
2297inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
2299 // @@protoc_insertion_point(field_list:bgs.protocol.StringFieldRestriction.exclude)
2300 return exclude_;
2301}
2302inline ::google::protobuf::RepeatedPtrField< ::std::string>*
2304 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.StringFieldRestriction.exclude)
2305 return &exclude_;
2306}
2307
2308// -------------------------------------------------------------------
2309
2310// EntityIdRestriction
2311
2312// optional bool needed = 1;
2314 return (_has_bits_[0] & 0x00000001u) != 0;
2315}
2317 _has_bits_[0] |= 0x00000001u;
2318}
2320 _has_bits_[0] &= ~0x00000001u;
2321}
2323 needed_ = false;
2325}
2326inline bool EntityIdRestriction::needed() const {
2327 // @@protoc_insertion_point(field_get:bgs.protocol.EntityIdRestriction.needed)
2328 return needed_;
2329}
2330inline void EntityIdRestriction::set_needed(bool value) {
2332 needed_ = value;
2333 // @@protoc_insertion_point(field_set:bgs.protocol.EntityIdRestriction.needed)
2334}
2335
2336// optional .bgs.protocol.EntityIdRestriction.Kind kind = 2;
2338 return (_has_bits_[0] & 0x00000002u) != 0;
2339}
2341 _has_bits_[0] |= 0x00000002u;
2342}
2344 _has_bits_[0] &= ~0x00000002u;
2345}
2347 kind_ = 0;
2349}
2350inline ::bgs::protocol::EntityIdRestriction_Kind EntityIdRestriction::kind() const {
2351 // @@protoc_insertion_point(field_get:bgs.protocol.EntityIdRestriction.kind)
2352 return static_cast< ::bgs::protocol::EntityIdRestriction_Kind >(kind_);
2353}
2356 set_has_kind();
2357 kind_ = value;
2358 // @@protoc_insertion_point(field_set:bgs.protocol.EntityIdRestriction.kind)
2359}
2360
2361// -------------------------------------------------------------------
2362
2363// MessageFieldRestriction
2364
2365// optional bool needed = 1;
2367 return (_has_bits_[0] & 0x00000001u) != 0;
2368}
2370 _has_bits_[0] |= 0x00000001u;
2371}
2373 _has_bits_[0] &= ~0x00000001u;
2374}
2376 needed_ = false;
2378}
2380 // @@protoc_insertion_point(field_get:bgs.protocol.MessageFieldRestriction.needed)
2381 return needed_;
2382}
2385 needed_ = value;
2386 // @@protoc_insertion_point(field_set:bgs.protocol.MessageFieldRestriction.needed)
2387}
2388
2389// -------------------------------------------------------------------
2390
2391// SDKFieldOptions
2392
2393// optional bool deprecated_32_bit = 4;
2395 return (_has_bits_[0] & 0x00000001u) != 0;
2396}
2398 _has_bits_[0] |= 0x00000001u;
2399}
2401 _has_bits_[0] &= ~0x00000001u;
2402}
2408 // @@protoc_insertion_point(field_get:bgs.protocol.SDKFieldOptions.deprecated_32_bit)
2409 return deprecated_32_bit_;
2410}
2413 deprecated_32_bit_ = value;
2414 // @@protoc_insertion_point(field_set:bgs.protocol.SDKFieldOptions.deprecated_32_bit)
2415}
2416
2417// @@protoc_insertion_point(namespace_scope)
2418
2419} // namespace protocol
2420} // namespace bgs
2421
2422#ifndef SWIG
2423namespace google {
2424namespace protobuf {
2425template <> struct is_proto_enum< ::bgs::protocol::EntityIdRestriction_Kind> : ::google::protobuf::internal::true_type {};
2426template <>
2428 return ::bgs::protocol::EntityIdRestriction_Kind_descriptor();
2429}
2430template <> struct is_proto_enum< ::bgs::protocol::LogOption> : ::google::protobuf::internal::true_type {};
2431template <>
2433 return ::bgs::protocol::LogOption_descriptor();
2434}
2435} // namespace google
2436} // namespace protobuf
2437#endif // SWIG
2438
2439// @@protoc_insertion_point(global_scope)
2440
2441#endif // PROTOBUF_global_5fextensions_2ffield_5foptions_2eproto__INCLUDED
#define TC_PROTO_API
Definition Define.h:105
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]
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_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_
::google::protobuf::Metadata GetMetadata() const
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto()
void Swap(SDKFieldOptions *other)
static const SDKFieldOptions & default_instance()
::google::protobuf::UnknownFieldSet _unknown_fields_
void SetCachedSize(int size) const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::uint32 _has_bits_[1]
SDKFieldOptions(const SDKFieldOptions &from)
friend void protobuf_AssignDesc_global_5fextensions_2ffield_5foptions_2eproto()
SDKFieldOptions & operator=(const SDKFieldOptions &from)
SDKFieldOptions * New() const
static const ::google::protobuf::Descriptor * descriptor()
static SDKFieldOptions * default_instance_
friend void protobuf_ShutdownFile_global_5fextensions_2ffield_5foptions_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
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
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
TC_PROTO_API ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions, ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::SDKFieldOptions >, 11, false > sdk_field_options
bool LogOption_Parse(const ::std::string &name, LogOption *value)
void protobuf_AssignDesc_global_5fextensions_2ffield_5foptions_2eproto()
const int LogOption_ARRAYSIZE
@ EntityIdRestriction_Kind_GAME_ACCOUNT
@ EntityIdRestriction_Kind_ACCOUNT_OR_GAME_ACCOUNT
static const int kFieldOptionsFieldNumber
static const int kSdkFieldOptionsFieldNumber
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:37
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::EntityIdRestriction_Kind >()
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::LogOption >()
::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__