TrinityCore
method_options.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: global_extensions/method_options.proto
3
4#ifndef PROTOBUF_global_5fextensions_2fmethod_5foptions_2eproto__INCLUDED
5#define PROTOBUF_global_5fextensions_2fmethod_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/unknown_field_set.h>
27#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
42
43// ===================================================================
44
45class TC_PROTO_API BGSMethodOptions : public ::google::protobuf::Message {
46 public:
49
51
53 CopyFrom(from);
54 return *this;
55 }
56
57 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
58 return _unknown_fields_;
59 }
60
61 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
62 return &_unknown_fields_;
63 }
64
65 static const ::google::protobuf::Descriptor* descriptor();
67
68 void Swap(BGSMethodOptions* other);
69
70 // implements Message ----------------------------------------------
71
73 int GetCachedSize() const { return _cached_size_; }
74 private:
75 void SharedCtor();
76 void SharedDtor();
77 void SetCachedSize(int size) const;
78 public:
79 ::google::protobuf::Metadata GetMetadata() const;
80
81 // nested types ----------------------------------------------------
82
83 // accessors -------------------------------------------------------
84
85 // optional uint32 id = 1;
86 inline bool has_id() const;
87 inline void clear_id();
88 static const int kIdFieldNumber = 1;
90 inline void set_id(::google::protobuf::uint32 value);
91
92 // optional .bgs.protocol.ClientIdentityRoutingType client_identity_routing = 2;
93 inline bool has_client_identity_routing() const;
94 inline void clear_client_identity_routing();
95 static const int kClientIdentityRoutingFieldNumber = 2;
96 inline ::bgs::protocol::ClientIdentityRoutingType client_identity_routing() const;
97 inline void set_client_identity_routing(::bgs::protocol::ClientIdentityRoutingType value);
98
99 // optional bool enable_fanout = 3;
100 inline bool has_enable_fanout() const;
101 inline void clear_enable_fanout();
102 static const int kEnableFanoutFieldNumber = 3;
103 inline bool enable_fanout() const;
104 inline void set_enable_fanout(bool value);
105
106 // optional string legacy_fanout_replacement = 4;
107 inline bool has_legacy_fanout_replacement() const;
108 inline void clear_legacy_fanout_replacement();
109 static const int kLegacyFanoutReplacementFieldNumber = 4;
110 inline const ::std::string& legacy_fanout_replacement() const;
111 inline void set_legacy_fanout_replacement(const ::std::string& value);
112 inline void set_legacy_fanout_replacement(const char* value);
113 inline void set_legacy_fanout_replacement(const char* value, size_t size);
114 inline ::std::string* mutable_legacy_fanout_replacement();
115 inline ::std::string* release_legacy_fanout_replacement();
116 inline void set_allocated_legacy_fanout_replacement(::std::string* legacy_fanout_replacement);
117
118 // optional string forward_key = 5;
119 inline bool has_forward_key() const;
120 inline void clear_forward_key();
121 static const int kForwardKeyFieldNumber = 5;
122 inline const ::std::string& forward_key() const;
123 inline void set_forward_key(const ::std::string& value);
124 inline void set_forward_key(const char* value);
125 inline void set_forward_key(const char* value, size_t size);
126 inline ::std::string* mutable_forward_key();
127 inline ::std::string* release_forward_key();
128 inline void set_allocated_forward_key(::std::string* forward_key);
129
130 // optional bool idempotent = 6;
131 inline bool has_idempotent() const;
132 inline void clear_idempotent();
133 static const int kIdempotentFieldNumber = 6;
134 inline bool idempotent() const;
135 inline void set_idempotent(bool value);
136
137 // optional bool handle_destination_unreachable = 7;
138 inline bool has_handle_destination_unreachable() const;
139 inline void clear_handle_destination_unreachable();
140 static const int kHandleDestinationUnreachableFieldNumber = 7;
141 inline bool handle_destination_unreachable() const;
142 inline void set_handle_destination_unreachable(bool value);
143
144 // optional string custom_region_resolver = 8;
145 inline bool has_custom_region_resolver() const;
146 inline void clear_custom_region_resolver();
147 static const int kCustomRegionResolverFieldNumber = 8;
148 inline const ::std::string& custom_region_resolver() const;
149 inline void set_custom_region_resolver(const ::std::string& value);
150 inline void set_custom_region_resolver(const char* value);
151 inline void set_custom_region_resolver(const char* value, size_t size);
152 inline ::std::string* mutable_custom_region_resolver();
153 inline ::std::string* release_custom_region_resolver();
154 inline void set_allocated_custom_region_resolver(::std::string* custom_region_resolver);
155
156 // optional bool explicit_region_routing = 9;
157 inline bool has_explicit_region_routing() const;
158 inline void clear_explicit_region_routing();
159 static const int kExplicitRegionRoutingFieldNumber = 9;
160 inline bool explicit_region_routing() const;
161 inline void set_explicit_region_routing(bool value);
162
163 // optional bool obsolete = 10;
164 inline bool has_obsolete() const;
165 inline void clear_obsolete();
166 static const int kObsoleteFieldNumber = 10;
167 inline bool obsolete() const;
168 inline void set_obsolete(bool value);
169
170 // optional .bgs.protocol.ClientRegisterMethodType client_register_type = 11;
171 inline bool has_client_register_type() const;
172 inline void clear_client_register_type();
173 static const int kClientRegisterTypeFieldNumber = 11;
174 inline ::bgs::protocol::ClientRegisterMethodType client_register_type() const;
175 inline void set_client_register_type(::bgs::protocol::ClientRegisterMethodType value);
176
177 // optional string forward_key_proto_file = 12;
178 inline bool has_forward_key_proto_file() const;
179 inline void clear_forward_key_proto_file();
180 static const int kForwardKeyProtoFileFieldNumber = 12;
181 inline const ::std::string& forward_key_proto_file() const;
182 inline void set_forward_key_proto_file(const ::std::string& value);
183 inline void set_forward_key_proto_file(const char* value);
184 inline void set_forward_key_proto_file(const char* value, size_t size);
185 inline ::std::string* mutable_forward_key_proto_file();
186 inline ::std::string* release_forward_key_proto_file();
187 inline void set_allocated_forward_key_proto_file(::std::string* forward_key_proto_file);
188
189 // @@protoc_insertion_point(class_scope:bgs.protocol.BGSMethodOptions)
190 private:
191 inline void set_has_id();
192 inline void clear_has_id();
193 inline void set_has_client_identity_routing();
194 inline void clear_has_client_identity_routing();
195 inline void set_has_enable_fanout();
196 inline void clear_has_enable_fanout();
197 inline void set_has_legacy_fanout_replacement();
198 inline void clear_has_legacy_fanout_replacement();
199 inline void set_has_forward_key();
200 inline void clear_has_forward_key();
201 inline void set_has_idempotent();
202 inline void clear_has_idempotent();
203 inline void set_has_handle_destination_unreachable();
204 inline void clear_has_handle_destination_unreachable();
205 inline void set_has_custom_region_resolver();
206 inline void clear_has_custom_region_resolver();
207 inline void set_has_explicit_region_routing();
208 inline void clear_has_explicit_region_routing();
209 inline void set_has_obsolete();
210 inline void clear_has_obsolete();
211 inline void set_has_client_register_type();
212 inline void clear_has_client_register_type();
213 inline void set_has_forward_key_proto_file();
214 inline void clear_has_forward_key_proto_file();
215
216 ::google::protobuf::UnknownFieldSet _unknown_fields_;
217
219 mutable int _cached_size_;
223 ::std::string* forward_key_;
235
238};
239// ===================================================================
240
241// ===================================================================
242
243static const int kMethodOptionsFieldNumber = 90000;
244TC_PROTO_API extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::MethodOptions,
245 ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::BGSMethodOptions >, 11, false >
247
248// ===================================================================
249
250// BGSMethodOptions
251
252// optional uint32 id = 1;
253inline bool BGSMethodOptions::has_id() const {
254 return (_has_bits_[0] & 0x00000001u) != 0;
255}
257 _has_bits_[0] |= 0x00000001u;
258}
260 _has_bits_[0] &= ~0x00000001u;
261}
263 id_ = 0u;
264 clear_has_id();
265}
267 // @@protoc_insertion_point(field_get:bgs.protocol.BGSMethodOptions.id)
268 return id_;
269}
271 set_has_id();
272 id_ = value;
273 // @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.id)
274}
275
276// optional .bgs.protocol.ClientIdentityRoutingType client_identity_routing = 2;
278 return (_has_bits_[0] & 0x00000002u) != 0;
279}
281 _has_bits_[0] |= 0x00000002u;
282}
284 _has_bits_[0] &= ~0x00000002u;
285}
289}
291 // @@protoc_insertion_point(field_get:bgs.protocol.BGSMethodOptions.client_identity_routing)
293}
298 // @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.client_identity_routing)
299}
300
301// optional bool enable_fanout = 3;
303 return (_has_bits_[0] & 0x00000004u) != 0;
304}
306 _has_bits_[0] |= 0x00000004u;
307}
309 _has_bits_[0] &= ~0x00000004u;
310}
312 enable_fanout_ = false;
314}
316 // @@protoc_insertion_point(field_get:bgs.protocol.BGSMethodOptions.enable_fanout)
317 return enable_fanout_;
318}
319inline void BGSMethodOptions::set_enable_fanout(bool value) {
321 enable_fanout_ = value;
322 // @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.enable_fanout)
323}
324
325// optional string legacy_fanout_replacement = 4;
327 return (_has_bits_[0] & 0x00000008u) != 0;
328}
330 _has_bits_[0] |= 0x00000008u;
331}
333 _has_bits_[0] &= ~0x00000008u;
334}
336 if (legacy_fanout_replacement_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
338 }
340}
341inline const ::std::string& BGSMethodOptions::legacy_fanout_replacement() const {
342 // @@protoc_insertion_point(field_get:bgs.protocol.BGSMethodOptions.legacy_fanout_replacement)
344}
345inline void BGSMethodOptions::set_legacy_fanout_replacement(const ::std::string& value) {
347 if (legacy_fanout_replacement_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
348 legacy_fanout_replacement_ = new ::std::string;
349 }
350 legacy_fanout_replacement_->assign(value);
351 // @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.legacy_fanout_replacement)
352}
355 if (legacy_fanout_replacement_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
356 legacy_fanout_replacement_ = new ::std::string;
357 }
358 legacy_fanout_replacement_->assign(value);
359 // @@protoc_insertion_point(field_set_char:bgs.protocol.BGSMethodOptions.legacy_fanout_replacement)
360}
361inline void BGSMethodOptions::set_legacy_fanout_replacement(const char* value, size_t size) {
363 if (legacy_fanout_replacement_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
364 legacy_fanout_replacement_ = new ::std::string;
365 }
366 legacy_fanout_replacement_->assign(reinterpret_cast<const char*>(value), size);
367 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.BGSMethodOptions.legacy_fanout_replacement)
368}
371 if (legacy_fanout_replacement_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
372 legacy_fanout_replacement_ = new ::std::string;
373 }
374 // @@protoc_insertion_point(field_mutable:bgs.protocol.BGSMethodOptions.legacy_fanout_replacement)
376}
379 if (legacy_fanout_replacement_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
380 return NULL;
381 } else {
382 ::std::string* temp = legacy_fanout_replacement_;
383 legacy_fanout_replacement_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
384 return temp;
385 }
386}
387inline void BGSMethodOptions::set_allocated_legacy_fanout_replacement(::std::string* legacy_fanout_replacement) {
388 if (legacy_fanout_replacement_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
390 }
394 } else {
396 legacy_fanout_replacement_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
397 }
398 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.BGSMethodOptions.legacy_fanout_replacement)
399}
400
401// optional string forward_key = 5;
403 return (_has_bits_[0] & 0x00000010u) != 0;
404}
406 _has_bits_[0] |= 0x00000010u;
407}
409 _has_bits_[0] &= ~0x00000010u;
410}
412 if (forward_key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
413 forward_key_->clear();
414 }
416}
417inline const ::std::string& BGSMethodOptions::forward_key() const {
418 // @@protoc_insertion_point(field_get:bgs.protocol.BGSMethodOptions.forward_key)
419 return *forward_key_;
420}
421inline void BGSMethodOptions::set_forward_key(const ::std::string& value) {
423 if (forward_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
424 forward_key_ = new ::std::string;
425 }
426 forward_key_->assign(value);
427 // @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.forward_key)
428}
429inline void BGSMethodOptions::set_forward_key(const char* value) {
431 if (forward_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
432 forward_key_ = new ::std::string;
433 }
434 forward_key_->assign(value);
435 // @@protoc_insertion_point(field_set_char:bgs.protocol.BGSMethodOptions.forward_key)
436}
437inline void BGSMethodOptions::set_forward_key(const char* value, size_t size) {
439 if (forward_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
440 forward_key_ = new ::std::string;
441 }
442 forward_key_->assign(reinterpret_cast<const char*>(value), size);
443 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.BGSMethodOptions.forward_key)
444}
447 if (forward_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
448 forward_key_ = new ::std::string;
449 }
450 // @@protoc_insertion_point(field_mutable:bgs.protocol.BGSMethodOptions.forward_key)
451 return forward_key_;
452}
455 if (forward_key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
456 return NULL;
457 } else {
458 ::std::string* temp = forward_key_;
459 forward_key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
460 return temp;
461 }
462}
463inline void BGSMethodOptions::set_allocated_forward_key(::std::string* forward_key) {
464 if (forward_key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
465 delete forward_key_;
466 }
467 if (forward_key) {
470 } else {
472 forward_key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
473 }
474 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.BGSMethodOptions.forward_key)
475}
476
477// optional bool idempotent = 6;
479 return (_has_bits_[0] & 0x00000020u) != 0;
480}
482 _has_bits_[0] |= 0x00000020u;
483}
485 _has_bits_[0] &= ~0x00000020u;
486}
488 idempotent_ = false;
490}
491inline bool BGSMethodOptions::idempotent() const {
492 // @@protoc_insertion_point(field_get:bgs.protocol.BGSMethodOptions.idempotent)
493 return idempotent_;
494}
495inline void BGSMethodOptions::set_idempotent(bool value) {
497 idempotent_ = value;
498 // @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.idempotent)
499}
500
501// optional bool handle_destination_unreachable = 7;
503 return (_has_bits_[0] & 0x00000040u) != 0;
504}
506 _has_bits_[0] |= 0x00000040u;
507}
509 _has_bits_[0] &= ~0x00000040u;
510}
514}
516 // @@protoc_insertion_point(field_get:bgs.protocol.BGSMethodOptions.handle_destination_unreachable)
518}
522 // @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.handle_destination_unreachable)
523}
524
525// optional string custom_region_resolver = 8;
527 return (_has_bits_[0] & 0x00000080u) != 0;
528}
530 _has_bits_[0] |= 0x00000080u;
531}
533 _has_bits_[0] &= ~0x00000080u;
534}
536 if (custom_region_resolver_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
538 }
540}
541inline const ::std::string& BGSMethodOptions::custom_region_resolver() const {
542 // @@protoc_insertion_point(field_get:bgs.protocol.BGSMethodOptions.custom_region_resolver)
544}
545inline void BGSMethodOptions::set_custom_region_resolver(const ::std::string& value) {
547 if (custom_region_resolver_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
548 custom_region_resolver_ = new ::std::string;
549 }
550 custom_region_resolver_->assign(value);
551 // @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.custom_region_resolver)
552}
553inline void BGSMethodOptions::set_custom_region_resolver(const char* value) {
555 if (custom_region_resolver_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
556 custom_region_resolver_ = new ::std::string;
557 }
558 custom_region_resolver_->assign(value);
559 // @@protoc_insertion_point(field_set_char:bgs.protocol.BGSMethodOptions.custom_region_resolver)
560}
561inline void BGSMethodOptions::set_custom_region_resolver(const char* value, size_t size) {
563 if (custom_region_resolver_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
564 custom_region_resolver_ = new ::std::string;
565 }
566 custom_region_resolver_->assign(reinterpret_cast<const char*>(value), size);
567 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.BGSMethodOptions.custom_region_resolver)
568}
571 if (custom_region_resolver_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
572 custom_region_resolver_ = new ::std::string;
573 }
574 // @@protoc_insertion_point(field_mutable:bgs.protocol.BGSMethodOptions.custom_region_resolver)
576}
579 if (custom_region_resolver_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
580 return NULL;
581 } else {
582 ::std::string* temp = custom_region_resolver_;
583 custom_region_resolver_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
584 return temp;
585 }
586}
587inline void BGSMethodOptions::set_allocated_custom_region_resolver(::std::string* custom_region_resolver) {
588 if (custom_region_resolver_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
590 }
594 } else {
596 custom_region_resolver_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
597 }
598 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.BGSMethodOptions.custom_region_resolver)
599}
600
601// optional bool explicit_region_routing = 9;
603 return (_has_bits_[0] & 0x00000100u) != 0;
604}
606 _has_bits_[0] |= 0x00000100u;
607}
609 _has_bits_[0] &= ~0x00000100u;
610}
614}
616 // @@protoc_insertion_point(field_get:bgs.protocol.BGSMethodOptions.explicit_region_routing)
618}
622 // @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.explicit_region_routing)
623}
624
625// optional bool obsolete = 10;
627 return (_has_bits_[0] & 0x00000200u) != 0;
628}
630 _has_bits_[0] |= 0x00000200u;
631}
633 _has_bits_[0] &= ~0x00000200u;
634}
636 obsolete_ = false;
638}
639inline bool BGSMethodOptions::obsolete() const {
640 // @@protoc_insertion_point(field_get:bgs.protocol.BGSMethodOptions.obsolete)
641 return obsolete_;
642}
643inline void BGSMethodOptions::set_obsolete(bool value) {
645 obsolete_ = value;
646 // @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.obsolete)
647}
648
649// optional .bgs.protocol.ClientRegisterMethodType client_register_type = 11;
651 return (_has_bits_[0] & 0x00000400u) != 0;
652}
654 _has_bits_[0] |= 0x00000400u;
655}
657 _has_bits_[0] &= ~0x00000400u;
658}
662}
664 // @@protoc_insertion_point(field_get:bgs.protocol.BGSMethodOptions.client_register_type)
666}
670 client_register_type_ = value;
671 // @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.client_register_type)
672}
673
674// optional string forward_key_proto_file = 12;
676 return (_has_bits_[0] & 0x00000800u) != 0;
677}
679 _has_bits_[0] |= 0x00000800u;
680}
682 _has_bits_[0] &= ~0x00000800u;
683}
685 if (forward_key_proto_file_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
687 }
689}
690inline const ::std::string& BGSMethodOptions::forward_key_proto_file() const {
691 // @@protoc_insertion_point(field_get:bgs.protocol.BGSMethodOptions.forward_key_proto_file)
693}
694inline void BGSMethodOptions::set_forward_key_proto_file(const ::std::string& value) {
696 if (forward_key_proto_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
697 forward_key_proto_file_ = new ::std::string;
698 }
699 forward_key_proto_file_->assign(value);
700 // @@protoc_insertion_point(field_set:bgs.protocol.BGSMethodOptions.forward_key_proto_file)
701}
702inline void BGSMethodOptions::set_forward_key_proto_file(const char* value) {
704 if (forward_key_proto_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
705 forward_key_proto_file_ = new ::std::string;
706 }
707 forward_key_proto_file_->assign(value);
708 // @@protoc_insertion_point(field_set_char:bgs.protocol.BGSMethodOptions.forward_key_proto_file)
709}
710inline void BGSMethodOptions::set_forward_key_proto_file(const char* value, size_t size) {
712 if (forward_key_proto_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
713 forward_key_proto_file_ = new ::std::string;
714 }
715 forward_key_proto_file_->assign(reinterpret_cast<const char*>(value), size);
716 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.BGSMethodOptions.forward_key_proto_file)
717}
720 if (forward_key_proto_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
721 forward_key_proto_file_ = new ::std::string;
722 }
723 // @@protoc_insertion_point(field_mutable:bgs.protocol.BGSMethodOptions.forward_key_proto_file)
725}
728 if (forward_key_proto_file_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
729 return NULL;
730 } else {
731 ::std::string* temp = forward_key_proto_file_;
732 forward_key_proto_file_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
733 return temp;
734 }
735}
736inline void BGSMethodOptions::set_allocated_forward_key_proto_file(::std::string* forward_key_proto_file) {
737 if (forward_key_proto_file_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
739 }
743 } else {
745 forward_key_proto_file_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
746 }
747 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.BGSMethodOptions.forward_key_proto_file)
748}
749
750// @@protoc_insertion_point(namespace_scope)
751
752} // namespace protocol
753} // namespace bgs
754
755#ifndef SWIG
756namespace google {
757namespace protobuf {
758} // namespace google
759} // namespace protobuf
760#endif // SWIG
761
762// @@protoc_insertion_point(global_scope)
763
764#endif // PROTOBUF_global_5fextensions_2fmethod_5foptions_2eproto__INCLUDED
#define TC_PROTO_API
Definition: Define.h:105
uint32_t uint32
Definition: Define.h:142
inline ::std::string * release_forward_key_proto_file()
BGSMethodOptions & operator=(const BGSMethodOptions &from)
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2fmethod_5foptions_2eproto()
void set_forward_key(const ::std::string &value)
static BGSMethodOptions * default_instance_
const ::std::string & legacy_fanout_replacement() const
void Swap(BGSMethodOptions *other)
void set_allocated_custom_region_resolver(::std::string *custom_region_resolver)
friend void protobuf_ShutdownFile_global_5fextensions_2fmethod_5foptions_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::std::string * mutable_custom_region_resolver()
void set_id(::google::protobuf::uint32 value)
BGSMethodOptions * New() const
inline ::std::string * release_custom_region_resolver()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::std::string * release_legacy_fanout_replacement()
void set_custom_region_resolver(const ::std::string &value)
inline ::std::string * release_forward_key()
void set_legacy_fanout_replacement(const ::std::string &value)
::google::protobuf::uint32 _has_bits_[1]
void SetCachedSize(int size) const
inline ::google::protobuf::uint32 id() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_forward_key(::std::string *forward_key)
BGSMethodOptions(const BGSMethodOptions &from)
static const ::google::protobuf::Descriptor * descriptor()
inline ::std::string * mutable_forward_key_proto_file()
void set_handle_destination_unreachable(bool value)
static const BGSMethodOptions & default_instance()
const ::std::string & forward_key_proto_file() const
void set_client_identity_routing(::bgs::protocol::ClientIdentityRoutingType value)
void set_explicit_region_routing(bool value)
friend void protobuf_AssignDesc_global_5fextensions_2fmethod_5foptions_2eproto()
inline ::std::string * mutable_forward_key()
void set_client_register_type(::bgs::protocol::ClientRegisterMethodType value)
::google::protobuf::uint32 id_
const ::std::string & custom_region_resolver() const
void set_allocated_legacy_fanout_replacement(::std::string *legacy_fanout_replacement)
inline ::std::string * mutable_legacy_fanout_replacement()
inline ::bgs::protocol::ClientRegisterMethodType client_register_type() const
void set_allocated_forward_key_proto_file(::std::string *forward_key_proto_file)
const ::std::string & forward_key() const
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::ClientIdentityRoutingType client_identity_routing() const
void set_forward_key_proto_file(const ::std::string &value)
constexpr std::size_t size()
Definition: UpdateField.h:796
TC_PROTO_API bool ClientIdentityRoutingType_IsValid(int value)
ClientIdentityRoutingType
Definition: routing.pb.h:37
void protobuf_ShutdownFile_global_5fextensions_2fmethod_5foptions_2eproto()
TC_PROTO_API ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::MethodOptions, ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::BGSMethodOptions >, 11, false > method_options
void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2fmethod_5foptions_2eproto()
static const int kMethodOptionsFieldNumber
void protobuf_AssignDesc_global_5fextensions_2fmethod_5foptions_2eproto()
TC_PROTO_API bool ClientRegisterMethodType_IsValid(int value)
Definition: Session.h:36