TrinityCore
Loading...
Searching...
No Matches
service_options.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: global_extensions/service_options.proto
3
4#ifndef PROTOBUF_global_5fextensions_2fservice_5foptions_2eproto__INCLUDED
5#define PROTOBUF_global_5fextensions_2fservice_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"
29#include "Define.h" // for TC_PROTO_API
30// @@protoc_insertion_point(includes)
31
32namespace bgs {
33namespace protocol {
34
35// Internal implementation detail -- do not call these.
39
42
53
54TC_PROTO_API const ::google::protobuf::EnumDescriptor* BGSServiceOptions_ServiceType_descriptor();
56 return ::google::protobuf::internal::NameOfEnum(
58}
60 const ::std::string& name, BGSServiceOptions_ServiceType* value) {
61 return ::google::protobuf::internal::ParseNamedEnum<BGSServiceOptions_ServiceType>(
63}
64// ===================================================================
65
66class TC_PROTO_API BGSServiceOptions : public ::google::protobuf::Message {
67 public:
70
72
74 CopyFrom(from);
75 return *this;
76 }
77
78 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
79 return _unknown_fields_;
80 }
81
82 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
83 return &_unknown_fields_;
84 }
85
86 static const ::google::protobuf::Descriptor* descriptor();
88
89 void Swap(BGSServiceOptions* other);
90
91 // implements Message ----------------------------------------------
92
94 int GetCachedSize() const { return _cached_size_; }
95 private:
96 void SharedCtor();
97 void SharedDtor();
98 void SetCachedSize(int size) const;
99 public:
100 ::google::protobuf::Metadata GetMetadata() const;
101
102 // nested types ----------------------------------------------------
103
109 static inline bool ServiceType_IsValid(int value) {
111 }
112 static const ServiceType ServiceType_MIN =
114 static const ServiceType ServiceType_MAX =
116 static const int ServiceType_ARRAYSIZE =
118 static inline const ::google::protobuf::EnumDescriptor*
122 static inline const ::std::string& ServiceType_Name(ServiceType value) {
124 }
125 static inline bool ServiceType_Parse(const ::std::string& name,
126 ServiceType* value) {
127 return BGSServiceOptions_ServiceType_Parse(name, value);
128 }
129
130 // accessors -------------------------------------------------------
131
132 // optional string descriptor_name = 1;
133 inline bool has_descriptor_name() const;
134 inline void clear_descriptor_name();
135 static const int kDescriptorNameFieldNumber = 1;
136 inline const ::std::string& descriptor_name() const;
137 inline void set_descriptor_name(const ::std::string& value);
138 inline void set_descriptor_name(const char* value);
139 inline void set_descriptor_name(const char* value, size_t size);
140 inline ::std::string* mutable_descriptor_name();
141 inline ::std::string* release_descriptor_name();
142 inline void set_allocated_descriptor_name(::std::string* descriptor_name);
143
144 // optional uint32 version = 4;
145 inline bool has_version() const;
146 inline void clear_version();
147 static const int kVersionFieldNumber = 4;
148 inline ::google::protobuf::uint32 version() const;
149 inline void set_version(::google::protobuf::uint32 value);
150
151 // optional string shard_name = 5;
152 inline bool has_shard_name() const;
153 inline void clear_shard_name();
154 static const int kShardNameFieldNumber = 5;
155 inline const ::std::string& shard_name() const;
156 inline void set_shard_name(const ::std::string& value);
157 inline void set_shard_name(const char* value);
158 inline void set_shard_name(const char* value, size_t size);
159 inline ::std::string* mutable_shard_name();
160 inline ::std::string* release_shard_name();
161 inline void set_allocated_shard_name(::std::string* shard_name);
162
163 // optional bool resolve_client_instance = 6;
164 inline bool has_resolve_client_instance() const;
165 inline void clear_resolve_client_instance();
166 static const int kResolveClientInstanceFieldNumber = 6;
167 inline bool resolve_client_instance() const;
168 inline void set_resolve_client_instance(bool value);
169
170 // optional .bgs.protocol.BGSServiceOptions.ServiceType type = 7;
171 inline bool has_type() const;
172 inline void clear_type();
173 static const int kTypeFieldNumber = 7;
174 inline ::bgs::protocol::BGSServiceOptions_ServiceType type() const;
175 inline void set_type(::bgs::protocol::BGSServiceOptions_ServiceType value);
176
177 // optional string api_type = 8;
178 inline bool has_api_type() const;
179 inline void clear_api_type();
180 static const int kApiTypeFieldNumber = 8;
181 inline const ::std::string& api_type() const;
182 inline void set_api_type(const ::std::string& value);
183 inline void set_api_type(const char* value);
184 inline void set_api_type(const char* value, size_t size);
185 inline ::std::string* mutable_api_type();
186 inline ::std::string* release_api_type();
187 inline void set_allocated_api_type(::std::string* api_type);
188
189 // optional bool is_global = 9;
190 inline bool has_is_global() const;
191 inline void clear_is_global();
192 static const int kIsGlobalFieldNumber = 9;
193 inline bool is_global() const;
194 inline void set_is_global(bool value);
195
196 // @@protoc_insertion_point(class_scope:bgs.protocol.BGSServiceOptions)
197 private:
198 inline void set_has_descriptor_name();
199 inline void clear_has_descriptor_name();
200 inline void set_has_version();
201 inline void clear_has_version();
202 inline void set_has_shard_name();
203 inline void clear_has_shard_name();
204 inline void set_has_resolve_client_instance();
205 inline void clear_has_resolve_client_instance();
206 inline void set_has_type();
207 inline void clear_has_type();
208 inline void set_has_api_type();
209 inline void clear_has_api_type();
210 inline void set_has_is_global();
211 inline void clear_has_is_global();
212
213 ::google::protobuf::UnknownFieldSet _unknown_fields_;
214
215 ::google::protobuf::uint32 _has_bits_[1];
216 mutable int _cached_size_;
217 ::std::string* descriptor_name_;
218 ::std::string* shard_name_;
219 ::google::protobuf::uint32 version_;
220 int type_;
221 ::std::string* api_type_;
227
230};
231// -------------------------------------------------------------------
232
233class TC_PROTO_API SDKServiceOptions : public ::google::protobuf::Message {
234 public:
237
239
241 CopyFrom(from);
242 return *this;
243 }
244
245 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
246 return _unknown_fields_;
247 }
248
249 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
250 return &_unknown_fields_;
251 }
252
253 static const ::google::protobuf::Descriptor* descriptor();
255
257
258 // implements Message ----------------------------------------------
259
261 int GetCachedSize() const { return _cached_size_; }
262 private:
265 void SetCachedSize(int size) const;
266 public:
267 ::google::protobuf::Metadata GetMetadata() const;
268
269 // nested types ----------------------------------------------------
270
271 // accessors -------------------------------------------------------
272
273 // optional bool inbound = 1;
274 inline bool has_inbound() const;
275 inline void clear_inbound();
276 static const int kInboundFieldNumber = 1;
277 inline bool inbound() const;
278 inline void set_inbound(bool value);
279
280 // optional bool outbound = 2;
281 inline bool has_outbound() const;
282 inline void clear_outbound();
283 static const int kOutboundFieldNumber = 2;
284 inline bool outbound() const;
285 inline void set_outbound(bool value);
286
287 // optional bool use_client_id = 3;
288 inline bool has_use_client_id() const;
289 inline void clear_use_client_id();
290 static const int kUseClientIdFieldNumber = 3;
291 inline bool use_client_id() const;
292 inline void set_use_client_id(bool value);
293
294 // optional bool deprecated_32_bit = 4;
295 inline bool has_deprecated_32_bit() const;
296 inline void clear_deprecated_32_bit();
297 static const int kDeprecated32BitFieldNumber = 4;
298 inline bool deprecated_32_bit() const;
299 inline void set_deprecated_32_bit(bool value);
300
301 // optional bool obsolete = 5;
302 inline bool has_obsolete() const;
303 inline void clear_obsolete();
304 static const int kObsoleteFieldNumber = 5;
305 inline bool obsolete() const;
306 inline void set_obsolete(bool value);
307
308 // @@protoc_insertion_point(class_scope:bgs.protocol.SDKServiceOptions)
309 private:
310 inline void set_has_inbound();
311 inline void clear_has_inbound();
312 inline void set_has_outbound();
313 inline void clear_has_outbound();
314 inline void set_has_use_client_id();
315 inline void clear_has_use_client_id();
316 inline void set_has_deprecated_32_bit();
317 inline void clear_has_deprecated_32_bit();
318 inline void set_has_obsolete();
319 inline void clear_has_obsolete();
320
321 ::google::protobuf::UnknownFieldSet _unknown_fields_;
322
323 ::google::protobuf::uint32 _has_bits_[1];
324 mutable int _cached_size_;
333
336};
337// ===================================================================
338
339// ===================================================================
340
341static const int kServiceOptionsFieldNumber = 90000;
342TC_PROTO_API extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::ServiceOptions,
343 ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::BGSServiceOptions >, 11, false >
345static const int kSdkServiceOptionsFieldNumber = 90001;
346TC_PROTO_API extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::ServiceOptions,
347 ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::SDKServiceOptions >, 11, false >
349
350// ===================================================================
351
352// BGSServiceOptions
353
354// optional string descriptor_name = 1;
356 return (_has_bits_[0] & 0x00000001u) != 0;
357}
359 _has_bits_[0] |= 0x00000001u;
360}
362 _has_bits_[0] &= ~0x00000001u;
363}
365 if (descriptor_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
366 descriptor_name_->clear();
367 }
369}
370inline const ::std::string& BGSServiceOptions::descriptor_name() const {
371 // @@protoc_insertion_point(field_get:bgs.protocol.BGSServiceOptions.descriptor_name)
372 return *descriptor_name_;
373}
374inline void BGSServiceOptions::set_descriptor_name(const ::std::string& value) {
376 if (descriptor_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
377 descriptor_name_ = new ::std::string;
378 }
379 descriptor_name_->assign(value);
380 // @@protoc_insertion_point(field_set:bgs.protocol.BGSServiceOptions.descriptor_name)
381}
382inline void BGSServiceOptions::set_descriptor_name(const char* value) {
384 if (descriptor_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
385 descriptor_name_ = new ::std::string;
386 }
387 descriptor_name_->assign(value);
388 // @@protoc_insertion_point(field_set_char:bgs.protocol.BGSServiceOptions.descriptor_name)
389}
390inline void BGSServiceOptions::set_descriptor_name(const char* value, size_t size) {
392 if (descriptor_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
393 descriptor_name_ = new ::std::string;
394 }
395 descriptor_name_->assign(reinterpret_cast<const char*>(value), size);
396 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.BGSServiceOptions.descriptor_name)
397}
400 if (descriptor_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
401 descriptor_name_ = new ::std::string;
402 }
403 // @@protoc_insertion_point(field_mutable:bgs.protocol.BGSServiceOptions.descriptor_name)
404 return descriptor_name_;
405}
408 if (descriptor_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
409 return NULL;
410 } else {
411 ::std::string* temp = descriptor_name_;
412 descriptor_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
413 return temp;
414 }
415}
416inline void BGSServiceOptions::set_allocated_descriptor_name(::std::string* descriptor_name) {
417 if (descriptor_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
418 delete descriptor_name_;
419 }
420 if (descriptor_name) {
423 } else {
425 descriptor_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
426 }
427 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.BGSServiceOptions.descriptor_name)
428}
429
430// optional uint32 version = 4;
432 return (_has_bits_[0] & 0x00000002u) != 0;
433}
435 _has_bits_[0] |= 0x00000002u;
436}
438 _has_bits_[0] &= ~0x00000002u;
439}
441 version_ = 0u;
443}
444inline ::google::protobuf::uint32 BGSServiceOptions::version() const {
445 // @@protoc_insertion_point(field_get:bgs.protocol.BGSServiceOptions.version)
446 return version_;
447}
448inline void BGSServiceOptions::set_version(::google::protobuf::uint32 value) {
450 version_ = value;
451 // @@protoc_insertion_point(field_set:bgs.protocol.BGSServiceOptions.version)
452}
453
454// optional string shard_name = 5;
456 return (_has_bits_[0] & 0x00000004u) != 0;
457}
459 _has_bits_[0] |= 0x00000004u;
460}
462 _has_bits_[0] &= ~0x00000004u;
463}
465 if (shard_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
466 shard_name_->clear();
467 }
469}
470inline const ::std::string& BGSServiceOptions::shard_name() const {
471 // @@protoc_insertion_point(field_get:bgs.protocol.BGSServiceOptions.shard_name)
472 return *shard_name_;
473}
474inline void BGSServiceOptions::set_shard_name(const ::std::string& value) {
476 if (shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
477 shard_name_ = new ::std::string;
478 }
479 shard_name_->assign(value);
480 // @@protoc_insertion_point(field_set:bgs.protocol.BGSServiceOptions.shard_name)
481}
482inline void BGSServiceOptions::set_shard_name(const char* value) {
484 if (shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
485 shard_name_ = new ::std::string;
486 }
487 shard_name_->assign(value);
488 // @@protoc_insertion_point(field_set_char:bgs.protocol.BGSServiceOptions.shard_name)
489}
490inline void BGSServiceOptions::set_shard_name(const char* value, size_t size) {
492 if (shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
493 shard_name_ = new ::std::string;
494 }
495 shard_name_->assign(reinterpret_cast<const char*>(value), size);
496 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.BGSServiceOptions.shard_name)
497}
500 if (shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
501 shard_name_ = new ::std::string;
502 }
503 // @@protoc_insertion_point(field_mutable:bgs.protocol.BGSServiceOptions.shard_name)
504 return shard_name_;
505}
508 if (shard_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
509 return NULL;
510 } else {
511 ::std::string* temp = shard_name_;
512 shard_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
513 return temp;
514 }
515}
516inline void BGSServiceOptions::set_allocated_shard_name(::std::string* shard_name) {
517 if (shard_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
518 delete shard_name_;
519 }
520 if (shard_name) {
523 } else {
525 shard_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
526 }
527 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.BGSServiceOptions.shard_name)
528}
529
530// optional bool resolve_client_instance = 6;
532 return (_has_bits_[0] & 0x00000008u) != 0;
533}
535 _has_bits_[0] |= 0x00000008u;
536}
538 _has_bits_[0] &= ~0x00000008u;
539}
545 // @@protoc_insertion_point(field_get:bgs.protocol.BGSServiceOptions.resolve_client_instance)
547}
551 // @@protoc_insertion_point(field_set:bgs.protocol.BGSServiceOptions.resolve_client_instance)
552}
553
554// optional .bgs.protocol.BGSServiceOptions.ServiceType type = 7;
555inline bool BGSServiceOptions::has_type() const {
556 return (_has_bits_[0] & 0x00000010u) != 0;
557}
559 _has_bits_[0] |= 0x00000010u;
560}
562 _has_bits_[0] &= ~0x00000010u;
563}
565 type_ = 0;
567}
568inline ::bgs::protocol::BGSServiceOptions_ServiceType BGSServiceOptions::type() const {
569 // @@protoc_insertion_point(field_get:bgs.protocol.BGSServiceOptions.type)
571}
574 set_has_type();
575 type_ = value;
576 // @@protoc_insertion_point(field_set:bgs.protocol.BGSServiceOptions.type)
577}
578
579// optional string api_type = 8;
581 return (_has_bits_[0] & 0x00000020u) != 0;
582}
584 _has_bits_[0] |= 0x00000020u;
585}
587 _has_bits_[0] &= ~0x00000020u;
588}
590 if (api_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
591 api_type_->clear();
592 }
594}
595inline const ::std::string& BGSServiceOptions::api_type() const {
596 // @@protoc_insertion_point(field_get:bgs.protocol.BGSServiceOptions.api_type)
597 return *api_type_;
598}
599inline void BGSServiceOptions::set_api_type(const ::std::string& value) {
601 if (api_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
602 api_type_ = new ::std::string;
603 }
604 api_type_->assign(value);
605 // @@protoc_insertion_point(field_set:bgs.protocol.BGSServiceOptions.api_type)
606}
607inline void BGSServiceOptions::set_api_type(const char* value) {
609 if (api_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
610 api_type_ = new ::std::string;
611 }
612 api_type_->assign(value);
613 // @@protoc_insertion_point(field_set_char:bgs.protocol.BGSServiceOptions.api_type)
614}
615inline void BGSServiceOptions::set_api_type(const char* value, size_t size) {
617 if (api_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
618 api_type_ = new ::std::string;
619 }
620 api_type_->assign(reinterpret_cast<const char*>(value), size);
621 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.BGSServiceOptions.api_type)
622}
623inline ::std::string* BGSServiceOptions::mutable_api_type() {
625 if (api_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
626 api_type_ = new ::std::string;
627 }
628 // @@protoc_insertion_point(field_mutable:bgs.protocol.BGSServiceOptions.api_type)
629 return api_type_;
630}
631inline ::std::string* BGSServiceOptions::release_api_type() {
633 if (api_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
634 return NULL;
635 } else {
636 ::std::string* temp = api_type_;
637 api_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
638 return temp;
639 }
640}
641inline void BGSServiceOptions::set_allocated_api_type(::std::string* api_type) {
642 if (api_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
643 delete api_type_;
644 }
645 if (api_type) {
648 } else {
650 api_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
651 }
652 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.BGSServiceOptions.api_type)
653}
654
655// optional bool is_global = 9;
657 return (_has_bits_[0] & 0x00000040u) != 0;
658}
660 _has_bits_[0] |= 0x00000040u;
661}
663 _has_bits_[0] &= ~0x00000040u;
664}
669inline bool BGSServiceOptions::is_global() const {
670 // @@protoc_insertion_point(field_get:bgs.protocol.BGSServiceOptions.is_global)
671 return is_global_;
672}
673inline void BGSServiceOptions::set_is_global(bool value) {
675 is_global_ = value;
676 // @@protoc_insertion_point(field_set:bgs.protocol.BGSServiceOptions.is_global)
677}
678
679// -------------------------------------------------------------------
680
681// SDKServiceOptions
682
683// optional bool inbound = 1;
685 return (_has_bits_[0] & 0x00000001u) != 0;
686}
688 _has_bits_[0] |= 0x00000001u;
689}
691 _has_bits_[0] &= ~0x00000001u;
692}
694 inbound_ = false;
696}
697inline bool SDKServiceOptions::inbound() const {
698 // @@protoc_insertion_point(field_get:bgs.protocol.SDKServiceOptions.inbound)
699 return inbound_;
700}
701inline void SDKServiceOptions::set_inbound(bool value) {
703 inbound_ = value;
704 // @@protoc_insertion_point(field_set:bgs.protocol.SDKServiceOptions.inbound)
705}
706
707// optional bool outbound = 2;
709 return (_has_bits_[0] & 0x00000002u) != 0;
710}
712 _has_bits_[0] |= 0x00000002u;
713}
715 _has_bits_[0] &= ~0x00000002u;
716}
718 outbound_ = false;
720}
721inline bool SDKServiceOptions::outbound() const {
722 // @@protoc_insertion_point(field_get:bgs.protocol.SDKServiceOptions.outbound)
723 return outbound_;
724}
725inline void SDKServiceOptions::set_outbound(bool value) {
727 outbound_ = value;
728 // @@protoc_insertion_point(field_set:bgs.protocol.SDKServiceOptions.outbound)
729}
730
731// optional bool use_client_id = 3;
733 return (_has_bits_[0] & 0x00000004u) != 0;
734}
736 _has_bits_[0] |= 0x00000004u;
737}
739 _has_bits_[0] &= ~0x00000004u;
740}
746 // @@protoc_insertion_point(field_get:bgs.protocol.SDKServiceOptions.use_client_id)
747 return use_client_id_;
748}
751 use_client_id_ = value;
752 // @@protoc_insertion_point(field_set:bgs.protocol.SDKServiceOptions.use_client_id)
753}
754
755// optional bool deprecated_32_bit = 4;
757 return (_has_bits_[0] & 0x00000008u) != 0;
758}
760 _has_bits_[0] |= 0x00000008u;
761}
763 _has_bits_[0] &= ~0x00000008u;
764}
770 // @@protoc_insertion_point(field_get:bgs.protocol.SDKServiceOptions.deprecated_32_bit)
771 return deprecated_32_bit_;
772}
775 deprecated_32_bit_ = value;
776 // @@protoc_insertion_point(field_set:bgs.protocol.SDKServiceOptions.deprecated_32_bit)
777}
778
779// optional bool obsolete = 5;
781 return (_has_bits_[0] & 0x00000010u) != 0;
782}
784 _has_bits_[0] |= 0x00000010u;
785}
787 _has_bits_[0] &= ~0x00000010u;
788}
790 obsolete_ = false;
792}
793inline bool SDKServiceOptions::obsolete() const {
794 // @@protoc_insertion_point(field_get:bgs.protocol.SDKServiceOptions.obsolete)
795 return obsolete_;
796}
797inline void SDKServiceOptions::set_obsolete(bool value) {
799 obsolete_ = value;
800 // @@protoc_insertion_point(field_set:bgs.protocol.SDKServiceOptions.obsolete)
801}
802
803// @@protoc_insertion_point(namespace_scope)
804
805} // namespace protocol
806} // namespace bgs
807
808#ifndef SWIG
809namespace google {
810namespace protobuf {
811template <> struct is_proto_enum< ::bgs::protocol::BGSServiceOptions_ServiceType> : ::google::protobuf::internal::true_type {};
812template <>
814 return ::bgs::protocol::BGSServiceOptions_ServiceType_descriptor();
815}
816} // namespace google
817} // namespace protobuf
818#endif // SWIG
819
820// @@protoc_insertion_point(global_scope)
821
822#endif // PROTOBUF_global_5fextensions_2fservice_5foptions_2eproto__INCLUDED
#define TC_PROTO_API
Definition Define.h:105
void SetCachedSize(int size) const
void set_api_type(const ::std::string &value)
BGSServiceOptions_ServiceType ServiceType
void set_type(::bgs::protocol::BGSServiceOptions_ServiceType value)
::google::protobuf::UnknownFieldSet _unknown_fields_
BGSServiceOptions(const BGSServiceOptions &from)
friend void protobuf_ShutdownFile_global_5fextensions_2fservice_5foptions_2eproto()
inline ::std::string * release_descriptor_name()
inline ::std::string * release_shard_name()
::google::protobuf::uint32 version_
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2fservice_5foptions_2eproto()
inline ::std::string * mutable_api_type()
BGSServiceOptions & operator=(const BGSServiceOptions &from)
const ::std::string & shard_name() const
static BGSServiceOptions * default_instance_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_shard_name(const ::std::string &value)
inline ::google::protobuf::uint32 version() const
static const ::google::protobuf::Descriptor * descriptor()
const ::std::string & descriptor_name() const
static const ::std::string & ServiceType_Name(ServiceType value)
static bool ServiceType_Parse(const ::std::string &name, ServiceType *value)
void set_allocated_api_type(::std::string *api_type)
const ::std::string & api_type() const
inline ::std::string * mutable_descriptor_name()
static bool ServiceType_IsValid(int value)
inline ::std::string * mutable_shard_name()
::google::protobuf::uint32 _has_bits_[1]
friend void protobuf_AssignDesc_global_5fextensions_2fservice_5foptions_2eproto()
void set_allocated_shard_name(::std::string *shard_name)
void set_descriptor_name(const ::std::string &value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_version(::google::protobuf::uint32 value)
static const ::google::protobuf::EnumDescriptor * ServiceType_descriptor()
inline ::bgs::protocol::BGSServiceOptions_ServiceType type() const
BGSServiceOptions * New() const
static const BGSServiceOptions & default_instance()
::google::protobuf::Metadata GetMetadata() const
inline ::std::string * release_api_type()
void set_allocated_descriptor_name(::std::string *descriptor_name)
void Swap(BGSServiceOptions *other)
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
static SDKServiceOptions * default_instance_
friend void protobuf_ShutdownFile_global_5fextensions_2fservice_5foptions_2eproto()
SDKServiceOptions & operator=(const SDKServiceOptions &from)
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2fservice_5foptions_2eproto()
SDKServiceOptions(const SDKServiceOptions &from)
void Swap(SDKServiceOptions *other)
SDKServiceOptions * New() const
::google::protobuf::UnknownFieldSet _unknown_fields_
void SetCachedSize(int size) const
::google::protobuf::uint32 _has_bits_[1]
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const SDKServiceOptions & default_instance()
friend void protobuf_AssignDesc_global_5fextensions_2fservice_5foptions_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
TC_PROTO_API ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::ServiceOptions, ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::BGSServiceOptions >, 11, false > service_options
@ BGSServiceOptions_ServiceType_SERVICE_TYPE_RPC_DIRECT
@ BGSServiceOptions_ServiceType_SERVICE_TYPE_RPC
@ BGSServiceOptions_ServiceType_SERVICE_TYPE_EVENT
@ BGSServiceOptions_ServiceType_SERVICE_TYPE_EVENT_BROADCAST
static const int kSdkServiceOptionsFieldNumber
void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2fservice_5foptions_2eproto()
const BGSServiceOptions_ServiceType BGSServiceOptions_ServiceType_ServiceType_MIN
const int BGSServiceOptions_ServiceType_ServiceType_ARRAYSIZE
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * BGSServiceOptions_ServiceType_descriptor()
const BGSServiceOptions_ServiceType BGSServiceOptions_ServiceType_ServiceType_MAX
const ::std::string & BGSServiceOptions_ServiceType_Name(BGSServiceOptions_ServiceType value)
TC_PROTO_API ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::ServiceOptions, ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::SDKServiceOptions >, 11, false > sdk_service_options
TC_PROTO_API bool BGSServiceOptions_ServiceType_IsValid(int value)
void protobuf_AssignDesc_global_5fextensions_2fservice_5foptions_2eproto()
void protobuf_ShutdownFile_global_5fextensions_2fservice_5foptions_2eproto()
static const int kServiceOptionsFieldNumber
bool BGSServiceOptions_ServiceType_Parse(const ::std::string &name, BGSServiceOptions_ServiceType *value)
Definition Session.h:37
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::BGSServiceOptions_ServiceType >()