TrinityCore
rpc_types.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: rpc_types.proto
3
4#ifndef PROTOBUF_rpc_5ftypes_2eproto__INCLUDED
5#define PROTOBUF_rpc_5ftypes_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 "global_extensions/field_options.pb.h" // IWYU pragma: export
28#include "global_extensions/method_options.pb.h" // IWYU pragma: export
29#include "global_extensions/message_options.pb.h" // IWYU pragma: export
30#include "global_extensions/service_options.pb.h" // IWYU pragma: export
31#include "Define.h" // for TC_PROTO_API
32// @@protoc_insertion_point(includes)
33
34namespace bgs {
35namespace protocol {
36
37// Internal implementation detail -- do not call these.
41
42class NO_RESPONSE;
43class Address;
44class ProcessId;
45class ObjectAddress;
46class NoData;
47class ErrorInfo;
48class FanoutTarget;
49class Header;
50
51// ===================================================================
52
53class TC_PROTO_API NO_RESPONSE : public ::google::protobuf::Message {
54 public:
56 virtual ~NO_RESPONSE();
57
59
60 inline NO_RESPONSE& operator=(const NO_RESPONSE& from) {
61 CopyFrom(from);
62 return *this;
63 }
64
65 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
66 return _unknown_fields_;
67 }
68
69 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
70 return &_unknown_fields_;
71 }
72
73 static const ::google::protobuf::Descriptor* descriptor();
75
76 void Swap(NO_RESPONSE* other);
77
78 // implements Message ----------------------------------------------
79
80 NO_RESPONSE* New() const;
81 int GetCachedSize() const { return _cached_size_; }
82 private:
83 void SharedCtor();
84 void SharedDtor();
85 void SetCachedSize(int size) const;
86 public:
87 ::google::protobuf::Metadata GetMetadata() const;
88
89 // nested types ----------------------------------------------------
90
91 // accessors -------------------------------------------------------
92
93 // @@protoc_insertion_point(class_scope:bgs.protocol.NO_RESPONSE)
94 private:
95
96 ::google::protobuf::UnknownFieldSet _unknown_fields_;
97
99 mutable int _cached_size_;
103
106};
107// -------------------------------------------------------------------
108
109class TC_PROTO_API Address : public ::google::protobuf::Message {
110 public:
112 virtual ~Address();
113
114 Address(const Address& from);
115
116 inline Address& operator=(const Address& from) {
117 CopyFrom(from);
118 return *this;
119 }
120
121 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
122 return _unknown_fields_;
123 }
124
125 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
126 return &_unknown_fields_;
127 }
128
129 static const ::google::protobuf::Descriptor* descriptor();
130 static const Address& default_instance();
131
132 void Swap(Address* other);
133
134 // implements Message ----------------------------------------------
135
136 Address* New() const;
137 int GetCachedSize() const { return _cached_size_; }
138 private:
141 void SetCachedSize(int size) const;
142 public:
143 ::google::protobuf::Metadata GetMetadata() const;
144
145 // nested types ----------------------------------------------------
146
147 // accessors -------------------------------------------------------
148
149 // required string address = 1;
150 inline bool has_address() const;
151 inline void clear_address();
152 static const int kAddressFieldNumber = 1;
153 inline const ::std::string& address() const;
154 inline void set_address(const ::std::string& value);
155 inline void set_address(const char* value);
156 inline void set_address(const char* value, size_t size);
157 inline ::std::string* mutable_address();
158 inline ::std::string* release_address();
159 inline void set_allocated_address(::std::string* address);
160
161 // optional uint32 port = 2;
162 inline bool has_port() const;
163 inline void clear_port();
164 static const int kPortFieldNumber = 2;
166 inline void set_port(::google::protobuf::uint32 value);
167
168 // @@protoc_insertion_point(class_scope:bgs.protocol.Address)
169 private:
170 inline void set_has_address();
171 inline void clear_has_address();
172 inline void set_has_port();
173 inline void clear_has_port();
174
175 ::google::protobuf::UnknownFieldSet _unknown_fields_;
176
178 mutable int _cached_size_;
179 ::std::string* address_;
184
187};
188// -------------------------------------------------------------------
189
190class TC_PROTO_API ProcessId : public ::google::protobuf::Message {
191 public:
193 virtual ~ProcessId();
194
195 ProcessId(const ProcessId& from);
196
197 inline ProcessId& operator=(const ProcessId& from) {
198 CopyFrom(from);
199 return *this;
200 }
201
202 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
203 return _unknown_fields_;
204 }
205
206 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
207 return &_unknown_fields_;
208 }
209
210 static const ::google::protobuf::Descriptor* descriptor();
212
213 void Swap(ProcessId* other);
214
215 // implements Message ----------------------------------------------
216
217 ProcessId* New() const;
218 int GetCachedSize() const { return _cached_size_; }
219 private:
222 void SetCachedSize(int size) const;
223 public:
224 ::google::protobuf::Metadata GetMetadata() const;
225
226 // nested types ----------------------------------------------------
227
228 // accessors -------------------------------------------------------
229
230 // required uint32 label = 1;
231 inline bool has_label() const;
232 inline void clear_label();
233 static const int kLabelFieldNumber = 1;
235 inline void set_label(::google::protobuf::uint32 value);
236
237 // required uint32 epoch = 2;
238 inline bool has_epoch() const;
239 inline void clear_epoch();
240 static const int kEpochFieldNumber = 2;
242 inline void set_epoch(::google::protobuf::uint32 value);
243
244 // @@protoc_insertion_point(class_scope:bgs.protocol.ProcessId)
245 private:
246 inline void set_has_label();
247 inline void clear_has_label();
248 inline void set_has_epoch();
249 inline void clear_has_epoch();
250
251 ::google::protobuf::UnknownFieldSet _unknown_fields_;
252
254 mutable int _cached_size_;
260
263};
264// -------------------------------------------------------------------
265
266class TC_PROTO_API ObjectAddress : public ::google::protobuf::Message {
267 public:
269 virtual ~ObjectAddress();
270
272
273 inline ObjectAddress& operator=(const ObjectAddress& from) {
274 CopyFrom(from);
275 return *this;
276 }
277
278 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
279 return _unknown_fields_;
280 }
281
282 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
283 return &_unknown_fields_;
284 }
285
286 static const ::google::protobuf::Descriptor* descriptor();
288
289 void Swap(ObjectAddress* other);
290
291 // implements Message ----------------------------------------------
292
294 int GetCachedSize() const { return _cached_size_; }
295 private:
298 void SetCachedSize(int size) const;
299 public:
300 ::google::protobuf::Metadata GetMetadata() const;
301
302 // nested types ----------------------------------------------------
303
304 // accessors -------------------------------------------------------
305
306 // required .bgs.protocol.ProcessId host = 1;
307 inline bool has_host() const;
308 inline void clear_host();
309 static const int kHostFieldNumber = 1;
310 inline const ::bgs::protocol::ProcessId& host() const;
311 inline ::bgs::protocol::ProcessId* mutable_host();
312 inline ::bgs::protocol::ProcessId* release_host();
313 inline void set_allocated_host(::bgs::protocol::ProcessId* host);
314
315 // optional uint64 object_id = 2 [default = 0];
316 inline bool has_object_id() const;
317 inline void clear_object_id();
318 static const int kObjectIdFieldNumber = 2;
319 inline ::google::protobuf::uint64 object_id() const;
320 inline void set_object_id(::google::protobuf::uint64 value);
321
322 // @@protoc_insertion_point(class_scope:bgs.protocol.ObjectAddress)
323 private:
324 inline void set_has_host();
325 inline void clear_has_host();
326 inline void set_has_object_id();
327 inline void clear_has_object_id();
328
329 ::google::protobuf::UnknownFieldSet _unknown_fields_;
330
332 mutable int _cached_size_;
338
341};
342// -------------------------------------------------------------------
343
344class TC_PROTO_API NoData : public ::google::protobuf::Message {
345 public:
347 virtual ~NoData();
348
349 NoData(const NoData& from);
350
351 inline NoData& operator=(const NoData& from) {
352 CopyFrom(from);
353 return *this;
354 }
355
356 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
357 return _unknown_fields_;
358 }
359
360 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
361 return &_unknown_fields_;
362 }
363
364 static const ::google::protobuf::Descriptor* descriptor();
365 static const NoData& default_instance();
366
367 void Swap(NoData* other);
368
369 // implements Message ----------------------------------------------
370
371 NoData* New() const;
372 int GetCachedSize() const { return _cached_size_; }
373 private:
376 void SetCachedSize(int size) const;
377 public:
378 ::google::protobuf::Metadata GetMetadata() const;
379
380 // nested types ----------------------------------------------------
381
382 // accessors -------------------------------------------------------
383
384 // @@protoc_insertion_point(class_scope:bgs.protocol.NoData)
385 private:
386
387 ::google::protobuf::UnknownFieldSet _unknown_fields_;
388
390 mutable int _cached_size_;
394
397};
398// -------------------------------------------------------------------
399
400class TC_PROTO_API ErrorInfo : public ::google::protobuf::Message {
401 public:
403 virtual ~ErrorInfo();
404
405 ErrorInfo(const ErrorInfo& from);
406
407 inline ErrorInfo& operator=(const ErrorInfo& from) {
408 CopyFrom(from);
409 return *this;
410 }
411
412 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
413 return _unknown_fields_;
414 }
415
416 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
417 return &_unknown_fields_;
418 }
419
420 static const ::google::protobuf::Descriptor* descriptor();
422
423 void Swap(ErrorInfo* other);
424
425 // implements Message ----------------------------------------------
426
427 ErrorInfo* New() const;
428 int GetCachedSize() const { return _cached_size_; }
429 private:
432 void SetCachedSize(int size) const;
433 public:
434 ::google::protobuf::Metadata GetMetadata() const;
435
436 // nested types ----------------------------------------------------
437
438 // accessors -------------------------------------------------------
439
440 // required .bgs.protocol.ObjectAddress object_address = 1;
441 inline bool has_object_address() const;
442 inline void clear_object_address();
443 static const int kObjectAddressFieldNumber = 1;
444 inline const ::bgs::protocol::ObjectAddress& object_address() const;
445 inline ::bgs::protocol::ObjectAddress* mutable_object_address();
446 inline ::bgs::protocol::ObjectAddress* release_object_address();
447 inline void set_allocated_object_address(::bgs::protocol::ObjectAddress* object_address);
448
449 // required uint32 status = 2;
450 inline bool has_status() const;
451 inline void clear_status();
452 static const int kStatusFieldNumber = 2;
454 inline void set_status(::google::protobuf::uint32 value);
455
456 // required uint32 service_hash = 3;
457 inline bool has_service_hash() const;
458 inline void clear_service_hash();
459 static const int kServiceHashFieldNumber = 3;
460 inline ::google::protobuf::uint32 service_hash() const;
461 inline void set_service_hash(::google::protobuf::uint32 value);
462
463 // required uint32 method_id = 4;
464 inline bool has_method_id() const;
465 inline void clear_method_id();
466 static const int kMethodIdFieldNumber = 4;
467 inline ::google::protobuf::uint32 method_id() const;
468 inline void set_method_id(::google::protobuf::uint32 value);
469
470 // @@protoc_insertion_point(class_scope:bgs.protocol.ErrorInfo)
471 private:
472 inline void set_has_object_address();
473 inline void clear_has_object_address();
474 inline void set_has_status();
475 inline void clear_has_status();
476 inline void set_has_service_hash();
477 inline void clear_has_service_hash();
478 inline void set_has_method_id();
479 inline void clear_has_method_id();
480
481 ::google::protobuf::UnknownFieldSet _unknown_fields_;
482
484 mutable int _cached_size_;
492
495};
496// -------------------------------------------------------------------
497
498class TC_PROTO_API FanoutTarget : public ::google::protobuf::Message {
499 public:
501 virtual ~FanoutTarget();
502
504
505 inline FanoutTarget& operator=(const FanoutTarget& from) {
506 CopyFrom(from);
507 return *this;
508 }
509
510 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
511 return _unknown_fields_;
512 }
513
514 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
515 return &_unknown_fields_;
516 }
517
518 static const ::google::protobuf::Descriptor* descriptor();
520
521 void Swap(FanoutTarget* other);
522
523 // implements Message ----------------------------------------------
524
526 int GetCachedSize() const { return _cached_size_; }
527 private:
530 void SetCachedSize(int size) const;
531 public:
532 ::google::protobuf::Metadata GetMetadata() const;
533
534 // nested types ----------------------------------------------------
535
536 // accessors -------------------------------------------------------
537
538 // optional string client_id = 1;
539 inline bool has_client_id() const;
540 inline void clear_client_id();
541 static const int kClientIdFieldNumber = 1;
542 inline const ::std::string& client_id() const;
543 inline void set_client_id(const ::std::string& value);
544 inline void set_client_id(const char* value);
545 inline void set_client_id(const char* value, size_t size);
546 inline ::std::string* mutable_client_id();
547 inline ::std::string* release_client_id();
548 inline void set_allocated_client_id(::std::string* client_id);
549
550 // optional bytes key = 2;
551 inline bool has_key() const;
552 inline void clear_key();
553 static const int kKeyFieldNumber = 2;
554 inline const ::std::string& key() const;
555 inline void set_key(const ::std::string& value);
556 inline void set_key(const char* value);
557 inline void set_key(const void* value, size_t size);
558 inline ::std::string* mutable_key();
559 inline ::std::string* release_key();
560 inline void set_allocated_key(::std::string* key);
561
562 // optional uint64 object_id = 3;
563 inline bool has_object_id() const;
564 inline void clear_object_id();
565 static const int kObjectIdFieldNumber = 3;
566 inline ::google::protobuf::uint64 object_id() const;
567 inline void set_object_id(::google::protobuf::uint64 value);
568
569 // @@protoc_insertion_point(class_scope:bgs.protocol.FanoutTarget)
570 private:
571 inline void set_has_client_id();
572 inline void clear_has_client_id();
573 inline void set_has_key();
574 inline void clear_has_key();
575 inline void set_has_object_id();
576 inline void clear_has_object_id();
577
578 ::google::protobuf::UnknownFieldSet _unknown_fields_;
579
581 mutable int _cached_size_;
582 ::std::string* client_id_;
583 ::std::string* key_;
588
591};
592// -------------------------------------------------------------------
593
594class TC_PROTO_API Header : public ::google::protobuf::Message {
595 public:
597 virtual ~Header();
598
599 Header(const Header& from);
600
601 inline Header& operator=(const Header& from) {
602 CopyFrom(from);
603 return *this;
604 }
605
606 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
607 return _unknown_fields_;
608 }
609
610 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
611 return &_unknown_fields_;
612 }
613
614 static const ::google::protobuf::Descriptor* descriptor();
615 static const Header& default_instance();
616
617 void Swap(Header* other);
618
619 // implements Message ----------------------------------------------
620
621 Header* New() const;
622 int GetCachedSize() const { return _cached_size_; }
623 private:
626 void SetCachedSize(int size) const;
627 public:
628 ::google::protobuf::Metadata GetMetadata() const;
629
630 // nested types ----------------------------------------------------
631
632 // accessors -------------------------------------------------------
633
634 // required uint32 service_id = 1;
635 inline bool has_service_id() const;
636 inline void clear_service_id();
637 static const int kServiceIdFieldNumber = 1;
638 inline ::google::protobuf::uint32 service_id() const;
639 inline void set_service_id(::google::protobuf::uint32 value);
640
641 // optional uint32 method_id = 2;
642 inline bool has_method_id() const;
643 inline void clear_method_id();
644 static const int kMethodIdFieldNumber = 2;
645 inline ::google::protobuf::uint32 method_id() const;
646 inline void set_method_id(::google::protobuf::uint32 value);
647
648 // required uint32 token = 3;
649 inline bool has_token() const;
650 inline void clear_token();
651 static const int kTokenFieldNumber = 3;
653 inline void set_token(::google::protobuf::uint32 value);
654
655 // optional uint64 object_id = 4 [default = 0];
656 inline bool has_object_id() const;
657 inline void clear_object_id();
658 static const int kObjectIdFieldNumber = 4;
659 inline ::google::protobuf::uint64 object_id() const;
660 inline void set_object_id(::google::protobuf::uint64 value);
661
662 // optional uint32 size = 5 [default = 0];
663 inline bool has_size() const;
664 inline void clear_size();
665 static const int kSizeFieldNumber = 5;
667 inline void set_size(::google::protobuf::uint32 value);
668
669 // optional uint32 status = 6 [default = 0];
670 inline bool has_status() const;
671 inline void clear_status();
672 static const int kStatusFieldNumber = 6;
674 inline void set_status(::google::protobuf::uint32 value);
675
676 // repeated .bgs.protocol.ErrorInfo error = 7;
677 inline int error_size() const;
678 inline void clear_error();
679 static const int kErrorFieldNumber = 7;
680 inline const ::bgs::protocol::ErrorInfo& error(int index) const;
681 inline ::bgs::protocol::ErrorInfo* mutable_error(int index);
682 inline ::bgs::protocol::ErrorInfo* add_error();
683 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ErrorInfo >&
684 error() const;
685 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ErrorInfo >*
686 mutable_error();
687
688 // optional uint64 timeout = 8;
689 inline bool has_timeout() const;
690 inline void clear_timeout();
691 static const int kTimeoutFieldNumber = 8;
692 inline ::google::protobuf::uint64 timeout() const;
693 inline void set_timeout(::google::protobuf::uint64 value);
694
695 // optional bool is_response = 9;
696 inline bool has_is_response() const;
697 inline void clear_is_response();
698 static const int kIsResponseFieldNumber = 9;
699 inline bool is_response() const;
700 inline void set_is_response(bool value);
701
702 // repeated .bgs.protocol.ProcessId forward_targets = 10;
703 inline int forward_targets_size() const;
704 inline void clear_forward_targets();
705 static const int kForwardTargetsFieldNumber = 10;
706 inline const ::bgs::protocol::ProcessId& forward_targets(int index) const;
707 inline ::bgs::protocol::ProcessId* mutable_forward_targets(int index);
708 inline ::bgs::protocol::ProcessId* add_forward_targets();
709 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ProcessId >&
710 forward_targets() const;
711 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ProcessId >*
712 mutable_forward_targets();
713
714 // optional fixed32 service_hash = 11;
715 inline bool has_service_hash() const;
716 inline void clear_service_hash();
717 static const int kServiceHashFieldNumber = 11;
718 inline ::google::protobuf::uint32 service_hash() const;
719 inline void set_service_hash(::google::protobuf::uint32 value);
720
721 // optional string client_id = 13;
722 inline bool has_client_id() const;
723 inline void clear_client_id();
724 static const int kClientIdFieldNumber = 13;
725 inline const ::std::string& client_id() const;
726 inline void set_client_id(const ::std::string& value);
727 inline void set_client_id(const char* value);
728 inline void set_client_id(const char* value, size_t size);
729 inline ::std::string* mutable_client_id();
730 inline ::std::string* release_client_id();
731 inline void set_allocated_client_id(::std::string* client_id);
732
733 // repeated .bgs.protocol.FanoutTarget fanout_target = 14;
734 inline int fanout_target_size() const;
735 inline void clear_fanout_target();
736 static const int kFanoutTargetFieldNumber = 14;
737 inline const ::bgs::protocol::FanoutTarget& fanout_target(int index) const;
738 inline ::bgs::protocol::FanoutTarget* mutable_fanout_target(int index);
739 inline ::bgs::protocol::FanoutTarget* add_fanout_target();
740 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::FanoutTarget >&
741 fanout_target() const;
742 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::FanoutTarget >*
743 mutable_fanout_target();
744
745 // repeated string client_id_fanout_target = 15;
746 inline int client_id_fanout_target_size() const;
747 inline void clear_client_id_fanout_target();
748 static const int kClientIdFanoutTargetFieldNumber = 15;
749 inline const ::std::string& client_id_fanout_target(int index) const;
750 inline ::std::string* mutable_client_id_fanout_target(int index);
751 inline void set_client_id_fanout_target(int index, const ::std::string& value);
752 inline void set_client_id_fanout_target(int index, const char* value);
753 inline void set_client_id_fanout_target(int index, const char* value, size_t size);
754 inline ::std::string* add_client_id_fanout_target();
755 inline void add_client_id_fanout_target(const ::std::string& value);
756 inline void add_client_id_fanout_target(const char* value);
757 inline void add_client_id_fanout_target(const char* value, size_t size);
758 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& client_id_fanout_target() const;
759 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_client_id_fanout_target();
760
761 // optional bytes client_record = 16;
762 inline bool has_client_record() const;
763 inline void clear_client_record();
764 static const int kClientRecordFieldNumber = 16;
765 inline const ::std::string& client_record() const;
766 inline void set_client_record(const ::std::string& value);
767 inline void set_client_record(const char* value);
768 inline void set_client_record(const void* value, size_t size);
769 inline ::std::string* mutable_client_record();
770 inline ::std::string* release_client_record();
771 inline void set_allocated_client_record(::std::string* client_record);
772
773 // optional bytes original_sender = 17;
774 inline bool has_original_sender() const;
775 inline void clear_original_sender();
776 static const int kOriginalSenderFieldNumber = 17;
777 inline const ::std::string& original_sender() const;
778 inline void set_original_sender(const ::std::string& value);
779 inline void set_original_sender(const char* value);
780 inline void set_original_sender(const void* value, size_t size);
781 inline ::std::string* mutable_original_sender();
782 inline ::std::string* release_original_sender();
783 inline void set_allocated_original_sender(::std::string* original_sender);
784
785 // optional uint32 sender_token = 18;
786 inline bool has_sender_token() const;
787 inline void clear_sender_token();
788 static const int kSenderTokenFieldNumber = 18;
789 inline ::google::protobuf::uint32 sender_token() const;
790 inline void set_sender_token(::google::protobuf::uint32 value);
791
792 // optional uint32 router_label = 19;
793 inline bool has_router_label() const;
794 inline void clear_router_label();
795 static const int kRouterLabelFieldNumber = 19;
796 inline ::google::protobuf::uint32 router_label() const;
797 inline void set_router_label(::google::protobuf::uint32 value);
798
799 // optional string error_reason = 20;
800 inline bool has_error_reason() const;
801 inline void clear_error_reason();
802 static const int kErrorReasonFieldNumber = 20;
803 inline const ::std::string& error_reason() const;
804 inline void set_error_reason(const ::std::string& value);
805 inline void set_error_reason(const char* value);
806 inline void set_error_reason(const char* value, size_t size);
807 inline ::std::string* mutable_error_reason();
808 inline ::std::string* release_error_reason();
809 inline void set_allocated_error_reason(::std::string* error_reason);
810
811 // @@protoc_insertion_point(class_scope:bgs.protocol.Header)
812 private:
813 inline void set_has_service_id();
814 inline void clear_has_service_id();
815 inline void set_has_method_id();
816 inline void clear_has_method_id();
817 inline void set_has_token();
818 inline void clear_has_token();
819 inline void set_has_object_id();
820 inline void clear_has_object_id();
821 inline void set_has_size();
822 inline void clear_has_size();
823 inline void set_has_status();
824 inline void clear_has_status();
825 inline void set_has_timeout();
826 inline void clear_has_timeout();
827 inline void set_has_is_response();
828 inline void clear_has_is_response();
829 inline void set_has_service_hash();
830 inline void clear_has_service_hash();
831 inline void set_has_client_id();
832 inline void clear_has_client_id();
833 inline void set_has_client_record();
834 inline void clear_has_client_record();
835 inline void set_has_original_sender();
836 inline void clear_has_original_sender();
837 inline void set_has_sender_token();
838 inline void clear_has_sender_token();
839 inline void set_has_router_label();
840 inline void clear_has_router_label();
841 inline void set_has_error_reason();
842 inline void clear_has_error_reason();
843
844 ::google::protobuf::UnknownFieldSet _unknown_fields_;
845
847 mutable int _cached_size_;
853 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ErrorInfo > error_;
857 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ProcessId > forward_targets_;
858 ::std::string* client_id_;
859 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::FanoutTarget > fanout_target_;
860 ::google::protobuf::RepeatedPtrField< ::std::string> client_id_fanout_target_;
863 ::std::string* client_record_;
864 ::std::string* original_sender_;
865 ::std::string* error_reason_;
870
873};
874// ===================================================================
875
876// ===================================================================
877
878// ===================================================================
879
880// NO_RESPONSE
881
882// -------------------------------------------------------------------
883
884// Address
885
886// required string address = 1;
887inline bool Address::has_address() const {
888 return (_has_bits_[0] & 0x00000001u) != 0;
889}
891 _has_bits_[0] |= 0x00000001u;
892}
894 _has_bits_[0] &= ~0x00000001u;
895}
897 if (address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
898 address_->clear();
899 }
901}
902inline const ::std::string& Address::address() const {
903 // @@protoc_insertion_point(field_get:bgs.protocol.Address.address)
904 return *address_;
905}
906inline void Address::set_address(const ::std::string& value) {
908 if (address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
909 address_ = new ::std::string;
910 }
911 address_->assign(value);
912 // @@protoc_insertion_point(field_set:bgs.protocol.Address.address)
913}
914inline void Address::set_address(const char* value) {
916 if (address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
917 address_ = new ::std::string;
918 }
919 address_->assign(value);
920 // @@protoc_insertion_point(field_set_char:bgs.protocol.Address.address)
921}
922inline void Address::set_address(const char* value, size_t size) {
924 if (address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
925 address_ = new ::std::string;
926 }
927 address_->assign(reinterpret_cast<const char*>(value), size);
928 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Address.address)
929}
930inline ::std::string* Address::mutable_address() {
932 if (address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
933 address_ = new ::std::string;
934 }
935 // @@protoc_insertion_point(field_mutable:bgs.protocol.Address.address)
936 return address_;
937}
938inline ::std::string* Address::release_address() {
940 if (address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
941 return NULL;
942 } else {
943 ::std::string* temp = address_;
944 address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
945 return temp;
946 }
947}
948inline void Address::set_allocated_address(::std::string* address) {
949 if (address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
950 delete address_;
951 }
952 if (address) {
955 } else {
957 address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
958 }
959 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Address.address)
960}
961
962// optional uint32 port = 2;
963inline bool Address::has_port() const {
964 return (_has_bits_[0] & 0x00000002u) != 0;
965}
967 _has_bits_[0] |= 0x00000002u;
968}
970 _has_bits_[0] &= ~0x00000002u;
971}
972inline void Address::clear_port() {
973 port_ = 0u;
975}
977 // @@protoc_insertion_point(field_get:bgs.protocol.Address.port)
978 return port_;
979}
981 set_has_port();
982 port_ = value;
983 // @@protoc_insertion_point(field_set:bgs.protocol.Address.port)
984}
985
986// -------------------------------------------------------------------
987
988// ProcessId
989
990// required uint32 label = 1;
991inline bool ProcessId::has_label() const {
992 return (_has_bits_[0] & 0x00000001u) != 0;
993}
995 _has_bits_[0] |= 0x00000001u;
996}
998 _has_bits_[0] &= ~0x00000001u;
999}
1001 label_ = 0u;
1003}
1005 // @@protoc_insertion_point(field_get:bgs.protocol.ProcessId.label)
1006 return label_;
1007}
1009 set_has_label();
1010 label_ = value;
1011 // @@protoc_insertion_point(field_set:bgs.protocol.ProcessId.label)
1012}
1013
1014// required uint32 epoch = 2;
1015inline bool ProcessId::has_epoch() const {
1016 return (_has_bits_[0] & 0x00000002u) != 0;
1017}
1019 _has_bits_[0] |= 0x00000002u;
1020}
1022 _has_bits_[0] &= ~0x00000002u;
1023}
1025 epoch_ = 0u;
1027}
1029 // @@protoc_insertion_point(field_get:bgs.protocol.ProcessId.epoch)
1030 return epoch_;
1031}
1033 set_has_epoch();
1034 epoch_ = value;
1035 // @@protoc_insertion_point(field_set:bgs.protocol.ProcessId.epoch)
1036}
1037
1038// -------------------------------------------------------------------
1039
1040// ObjectAddress
1041
1042// required .bgs.protocol.ProcessId host = 1;
1043inline bool ObjectAddress::has_host() const {
1044 return (_has_bits_[0] & 0x00000001u) != 0;
1045}
1047 _has_bits_[0] |= 0x00000001u;
1048}
1050 _has_bits_[0] &= ~0x00000001u;
1051}
1053 if (host_ != NULL) host_->::bgs::protocol::ProcessId::Clear();
1055}
1056inline const ::bgs::protocol::ProcessId& ObjectAddress::host() const {
1057 // @@protoc_insertion_point(field_get:bgs.protocol.ObjectAddress.host)
1058 return host_ != NULL ? *host_ : *default_instance_->host_;
1059}
1060inline ::bgs::protocol::ProcessId* ObjectAddress::mutable_host() {
1061 set_has_host();
1062 if (host_ == NULL) host_ = new ::bgs::protocol::ProcessId;
1063 // @@protoc_insertion_point(field_mutable:bgs.protocol.ObjectAddress.host)
1064 return host_;
1065}
1066inline ::bgs::protocol::ProcessId* ObjectAddress::release_host() {
1069 host_ = NULL;
1070 return temp;
1071}
1073 delete host_;
1074 host_ = host;
1075 if (host) {
1076 set_has_host();
1077 } else {
1079 }
1080 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.ObjectAddress.host)
1081}
1082
1083// optional uint64 object_id = 2 [default = 0];
1084inline bool ObjectAddress::has_object_id() const {
1085 return (_has_bits_[0] & 0x00000002u) != 0;
1086}
1088 _has_bits_[0] |= 0x00000002u;
1089}
1091 _has_bits_[0] &= ~0x00000002u;
1092}
1094 object_id_ = GOOGLE_ULONGLONG(0);
1096}
1098 // @@protoc_insertion_point(field_get:bgs.protocol.ObjectAddress.object_id)
1099 return object_id_;
1100}
1103 object_id_ = value;
1104 // @@protoc_insertion_point(field_set:bgs.protocol.ObjectAddress.object_id)
1105}
1106
1107// -------------------------------------------------------------------
1108
1109// NoData
1110
1111// -------------------------------------------------------------------
1112
1113// ErrorInfo
1114
1115// required .bgs.protocol.ObjectAddress object_address = 1;
1117 return (_has_bits_[0] & 0x00000001u) != 0;
1118}
1120 _has_bits_[0] |= 0x00000001u;
1121}
1123 _has_bits_[0] &= ~0x00000001u;
1124}
1126 if (object_address_ != NULL) object_address_->::bgs::protocol::ObjectAddress::Clear();
1128}
1129inline const ::bgs::protocol::ObjectAddress& ErrorInfo::object_address() const {
1130 // @@protoc_insertion_point(field_get:bgs.protocol.ErrorInfo.object_address)
1132}
1133inline ::bgs::protocol::ObjectAddress* ErrorInfo::mutable_object_address() {
1135 if (object_address_ == NULL) object_address_ = new ::bgs::protocol::ObjectAddress;
1136 // @@protoc_insertion_point(field_mutable:bgs.protocol.ErrorInfo.object_address)
1137 return object_address_;
1138}
1139inline ::bgs::protocol::ObjectAddress* ErrorInfo::release_object_address() {
1142 object_address_ = NULL;
1143 return temp;
1144}
1146 delete object_address_;
1148 if (object_address) {
1150 } else {
1152 }
1153 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.ErrorInfo.object_address)
1154}
1155
1156// required uint32 status = 2;
1157inline bool ErrorInfo::has_status() const {
1158 return (_has_bits_[0] & 0x00000002u) != 0;
1159}
1161 _has_bits_[0] |= 0x00000002u;
1162}
1164 _has_bits_[0] &= ~0x00000002u;
1165}
1167 status_ = 0u;
1169}
1171 // @@protoc_insertion_point(field_get:bgs.protocol.ErrorInfo.status)
1172 return status_;
1173}
1176 status_ = value;
1177 // @@protoc_insertion_point(field_set:bgs.protocol.ErrorInfo.status)
1178}
1179
1180// required uint32 service_hash = 3;
1181inline bool ErrorInfo::has_service_hash() const {
1182 return (_has_bits_[0] & 0x00000004u) != 0;
1183}
1185 _has_bits_[0] |= 0x00000004u;
1186}
1188 _has_bits_[0] &= ~0x00000004u;
1189}
1191 service_hash_ = 0u;
1193}
1195 // @@protoc_insertion_point(field_get:bgs.protocol.ErrorInfo.service_hash)
1196 return service_hash_;
1197}
1200 service_hash_ = value;
1201 // @@protoc_insertion_point(field_set:bgs.protocol.ErrorInfo.service_hash)
1202}
1203
1204// required uint32 method_id = 4;
1205inline bool ErrorInfo::has_method_id() const {
1206 return (_has_bits_[0] & 0x00000008u) != 0;
1207}
1209 _has_bits_[0] |= 0x00000008u;
1210}
1212 _has_bits_[0] &= ~0x00000008u;
1213}
1215 method_id_ = 0u;
1217}
1219 // @@protoc_insertion_point(field_get:bgs.protocol.ErrorInfo.method_id)
1220 return method_id_;
1221}
1224 method_id_ = value;
1225 // @@protoc_insertion_point(field_set:bgs.protocol.ErrorInfo.method_id)
1226}
1227
1228// -------------------------------------------------------------------
1229
1230// FanoutTarget
1231
1232// optional string client_id = 1;
1233inline bool FanoutTarget::has_client_id() const {
1234 return (_has_bits_[0] & 0x00000001u) != 0;
1235}
1237 _has_bits_[0] |= 0x00000001u;
1238}
1240 _has_bits_[0] &= ~0x00000001u;
1241}
1243 if (client_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1244 client_id_->clear();
1245 }
1247}
1248inline const ::std::string& FanoutTarget::client_id() const {
1249 // @@protoc_insertion_point(field_get:bgs.protocol.FanoutTarget.client_id)
1250 return *client_id_;
1251}
1252inline void FanoutTarget::set_client_id(const ::std::string& value) {
1254 if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1255 client_id_ = new ::std::string;
1256 }
1257 client_id_->assign(value);
1258 // @@protoc_insertion_point(field_set:bgs.protocol.FanoutTarget.client_id)
1259}
1260inline void FanoutTarget::set_client_id(const char* value) {
1262 if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1263 client_id_ = new ::std::string;
1264 }
1265 client_id_->assign(value);
1266 // @@protoc_insertion_point(field_set_char:bgs.protocol.FanoutTarget.client_id)
1267}
1268inline void FanoutTarget::set_client_id(const char* value, size_t size) {
1270 if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1271 client_id_ = new ::std::string;
1272 }
1273 client_id_->assign(reinterpret_cast<const char*>(value), size);
1274 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.FanoutTarget.client_id)
1275}
1276inline ::std::string* FanoutTarget::mutable_client_id() {
1278 if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1279 client_id_ = new ::std::string;
1280 }
1281 // @@protoc_insertion_point(field_mutable:bgs.protocol.FanoutTarget.client_id)
1282 return client_id_;
1283}
1284inline ::std::string* FanoutTarget::release_client_id() {
1286 if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1287 return NULL;
1288 } else {
1289 ::std::string* temp = client_id_;
1290 client_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1291 return temp;
1292 }
1293}
1294inline void FanoutTarget::set_allocated_client_id(::std::string* client_id) {
1295 if (client_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1296 delete client_id_;
1297 }
1298 if (client_id) {
1301 } else {
1303 client_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1304 }
1305 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.FanoutTarget.client_id)
1306}
1307
1308// optional bytes key = 2;
1309inline bool FanoutTarget::has_key() const {
1310 return (_has_bits_[0] & 0x00000002u) != 0;
1311}
1313 _has_bits_[0] |= 0x00000002u;
1314}
1316 _has_bits_[0] &= ~0x00000002u;
1317}
1319 if (key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1320 key_->clear();
1321 }
1322 clear_has_key();
1323}
1324inline const ::std::string& FanoutTarget::key() const {
1325 // @@protoc_insertion_point(field_get:bgs.protocol.FanoutTarget.key)
1326 return *key_;
1327}
1328inline void FanoutTarget::set_key(const ::std::string& value) {
1329 set_has_key();
1330 if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1331 key_ = new ::std::string;
1332 }
1333 key_->assign(value);
1334 // @@protoc_insertion_point(field_set:bgs.protocol.FanoutTarget.key)
1335}
1336inline void FanoutTarget::set_key(const char* value) {
1337 set_has_key();
1338 if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1339 key_ = new ::std::string;
1340 }
1341 key_->assign(value);
1342 // @@protoc_insertion_point(field_set_char:bgs.protocol.FanoutTarget.key)
1343}
1344inline void FanoutTarget::set_key(const void* value, size_t size) {
1345 set_has_key();
1346 if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1347 key_ = new ::std::string;
1348 }
1349 key_->assign(reinterpret_cast<const char*>(value), size);
1350 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.FanoutTarget.key)
1351}
1352inline ::std::string* FanoutTarget::mutable_key() {
1353 set_has_key();
1354 if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1355 key_ = new ::std::string;
1356 }
1357 // @@protoc_insertion_point(field_mutable:bgs.protocol.FanoutTarget.key)
1358 return key_;
1359}
1360inline ::std::string* FanoutTarget::release_key() {
1361 clear_has_key();
1362 if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1363 return NULL;
1364 } else {
1365 ::std::string* temp = key_;
1366 key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1367 return temp;
1368 }
1369}
1370inline void FanoutTarget::set_allocated_key(::std::string* key) {
1371 if (key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1372 delete key_;
1373 }
1374 if (key) {
1375 set_has_key();
1376 key_ = key;
1377 } else {
1378 clear_has_key();
1379 key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1380 }
1381 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.FanoutTarget.key)
1382}
1383
1384// optional uint64 object_id = 3;
1385inline bool FanoutTarget::has_object_id() const {
1386 return (_has_bits_[0] & 0x00000004u) != 0;
1387}
1389 _has_bits_[0] |= 0x00000004u;
1390}
1392 _has_bits_[0] &= ~0x00000004u;
1393}
1395 object_id_ = GOOGLE_ULONGLONG(0);
1397}
1399 // @@protoc_insertion_point(field_get:bgs.protocol.FanoutTarget.object_id)
1400 return object_id_;
1401}
1404 object_id_ = value;
1405 // @@protoc_insertion_point(field_set:bgs.protocol.FanoutTarget.object_id)
1406}
1407
1408// -------------------------------------------------------------------
1409
1410// Header
1411
1412// required uint32 service_id = 1;
1413inline bool Header::has_service_id() const {
1414 return (_has_bits_[0] & 0x00000001u) != 0;
1415}
1417 _has_bits_[0] |= 0x00000001u;
1418}
1420 _has_bits_[0] &= ~0x00000001u;
1421}
1423 service_id_ = 0u;
1425}
1427 // @@protoc_insertion_point(field_get:bgs.protocol.Header.service_id)
1428 return service_id_;
1429}
1432 service_id_ = value;
1433 // @@protoc_insertion_point(field_set:bgs.protocol.Header.service_id)
1434}
1435
1436// optional uint32 method_id = 2;
1437inline bool Header::has_method_id() const {
1438 return (_has_bits_[0] & 0x00000002u) != 0;
1439}
1441 _has_bits_[0] |= 0x00000002u;
1442}
1444 _has_bits_[0] &= ~0x00000002u;
1445}
1447 method_id_ = 0u;
1449}
1451 // @@protoc_insertion_point(field_get:bgs.protocol.Header.method_id)
1452 return method_id_;
1453}
1456 method_id_ = value;
1457 // @@protoc_insertion_point(field_set:bgs.protocol.Header.method_id)
1458}
1459
1460// required uint32 token = 3;
1461inline bool Header::has_token() const {
1462 return (_has_bits_[0] & 0x00000004u) != 0;
1463}
1465 _has_bits_[0] |= 0x00000004u;
1466}
1468 _has_bits_[0] &= ~0x00000004u;
1469}
1470inline void Header::clear_token() {
1471 token_ = 0u;
1473}
1475 // @@protoc_insertion_point(field_get:bgs.protocol.Header.token)
1476 return token_;
1477}
1479 set_has_token();
1480 token_ = value;
1481 // @@protoc_insertion_point(field_set:bgs.protocol.Header.token)
1482}
1483
1484// optional uint64 object_id = 4 [default = 0];
1485inline bool Header::has_object_id() const {
1486 return (_has_bits_[0] & 0x00000008u) != 0;
1487}
1489 _has_bits_[0] |= 0x00000008u;
1490}
1492 _has_bits_[0] &= ~0x00000008u;
1493}
1495 object_id_ = GOOGLE_ULONGLONG(0);
1497}
1499 // @@protoc_insertion_point(field_get:bgs.protocol.Header.object_id)
1500 return object_id_;
1501}
1504 object_id_ = value;
1505 // @@protoc_insertion_point(field_set:bgs.protocol.Header.object_id)
1506}
1507
1508// optional uint32 size = 5 [default = 0];
1509inline bool Header::has_size() const {
1510 return (_has_bits_[0] & 0x00000010u) != 0;
1511}
1513 _has_bits_[0] |= 0x00000010u;
1514}
1516 _has_bits_[0] &= ~0x00000010u;
1517}
1518inline void Header::clear_size() {
1519 size_ = 0u;
1521}
1523 // @@protoc_insertion_point(field_get:bgs.protocol.Header.size)
1524 return size_;
1525}
1527 set_has_size();
1528 size_ = value;
1529 // @@protoc_insertion_point(field_set:bgs.protocol.Header.size)
1530}
1531
1532// optional uint32 status = 6 [default = 0];
1533inline bool Header::has_status() const {
1534 return (_has_bits_[0] & 0x00000020u) != 0;
1535}
1537 _has_bits_[0] |= 0x00000020u;
1538}
1540 _has_bits_[0] &= ~0x00000020u;
1541}
1543 status_ = 0u;
1545}
1547 // @@protoc_insertion_point(field_get:bgs.protocol.Header.status)
1548 return status_;
1549}
1552 status_ = value;
1553 // @@protoc_insertion_point(field_set:bgs.protocol.Header.status)
1554}
1555
1556// repeated .bgs.protocol.ErrorInfo error = 7;
1557inline int Header::error_size() const {
1558 return error_.size();
1559}
1560inline void Header::clear_error() {
1561 error_.Clear();
1562}
1563inline const ::bgs::protocol::ErrorInfo& Header::error(int index) const {
1564 // @@protoc_insertion_point(field_get:bgs.protocol.Header.error)
1565 return error_.Get(index);
1566}
1567inline ::bgs::protocol::ErrorInfo* Header::mutable_error(int index) {
1568 // @@protoc_insertion_point(field_mutable:bgs.protocol.Header.error)
1569 return error_.Mutable(index);
1570}
1571inline ::bgs::protocol::ErrorInfo* Header::add_error() {
1572 // @@protoc_insertion_point(field_add:bgs.protocol.Header.error)
1573 return error_.Add();
1574}
1575inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ErrorInfo >&
1577 // @@protoc_insertion_point(field_list:bgs.protocol.Header.error)
1578 return error_;
1579}
1580inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ErrorInfo >*
1582 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.Header.error)
1583 return &error_;
1584}
1585
1586// optional uint64 timeout = 8;
1587inline bool Header::has_timeout() const {
1588 return (_has_bits_[0] & 0x00000080u) != 0;
1589}
1591 _has_bits_[0] |= 0x00000080u;
1592}
1594 _has_bits_[0] &= ~0x00000080u;
1595}
1597 timeout_ = GOOGLE_ULONGLONG(0);
1599}
1601 // @@protoc_insertion_point(field_get:bgs.protocol.Header.timeout)
1602 return timeout_;
1603}
1606 timeout_ = value;
1607 // @@protoc_insertion_point(field_set:bgs.protocol.Header.timeout)
1608}
1609
1610// optional bool is_response = 9;
1611inline bool Header::has_is_response() const {
1612 return (_has_bits_[0] & 0x00000100u) != 0;
1613}
1615 _has_bits_[0] |= 0x00000100u;
1616}
1618 _has_bits_[0] &= ~0x00000100u;
1619}
1621 is_response_ = false;
1623}
1624inline bool Header::is_response() const {
1625 // @@protoc_insertion_point(field_get:bgs.protocol.Header.is_response)
1626 return is_response_;
1627}
1628inline void Header::set_is_response(bool value) {
1630 is_response_ = value;
1631 // @@protoc_insertion_point(field_set:bgs.protocol.Header.is_response)
1632}
1633
1634// repeated .bgs.protocol.ProcessId forward_targets = 10;
1636 return forward_targets_.size();
1637}
1639 forward_targets_.Clear();
1640}
1641inline const ::bgs::protocol::ProcessId& Header::forward_targets(int index) const {
1642 // @@protoc_insertion_point(field_get:bgs.protocol.Header.forward_targets)
1643 return forward_targets_.Get(index);
1644}
1645inline ::bgs::protocol::ProcessId* Header::mutable_forward_targets(int index) {
1646 // @@protoc_insertion_point(field_mutable:bgs.protocol.Header.forward_targets)
1647 return forward_targets_.Mutable(index);
1648}
1649inline ::bgs::protocol::ProcessId* Header::add_forward_targets() {
1650 // @@protoc_insertion_point(field_add:bgs.protocol.Header.forward_targets)
1651 return forward_targets_.Add();
1652}
1653inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ProcessId >&
1655 // @@protoc_insertion_point(field_list:bgs.protocol.Header.forward_targets)
1656 return forward_targets_;
1657}
1658inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ProcessId >*
1660 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.Header.forward_targets)
1661 return &forward_targets_;
1662}
1663
1664// optional fixed32 service_hash = 11;
1665inline bool Header::has_service_hash() const {
1666 return (_has_bits_[0] & 0x00000400u) != 0;
1667}
1669 _has_bits_[0] |= 0x00000400u;
1670}
1672 _has_bits_[0] &= ~0x00000400u;
1673}
1675 service_hash_ = 0u;
1677}
1679 // @@protoc_insertion_point(field_get:bgs.protocol.Header.service_hash)
1680 return service_hash_;
1681}
1684 service_hash_ = value;
1685 // @@protoc_insertion_point(field_set:bgs.protocol.Header.service_hash)
1686}
1687
1688// optional string client_id = 13;
1689inline bool Header::has_client_id() const {
1690 return (_has_bits_[0] & 0x00000800u) != 0;
1691}
1693 _has_bits_[0] |= 0x00000800u;
1694}
1696 _has_bits_[0] &= ~0x00000800u;
1697}
1699 if (client_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1700 client_id_->clear();
1701 }
1703}
1704inline const ::std::string& Header::client_id() const {
1705 // @@protoc_insertion_point(field_get:bgs.protocol.Header.client_id)
1706 return *client_id_;
1707}
1708inline void Header::set_client_id(const ::std::string& value) {
1710 if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1711 client_id_ = new ::std::string;
1712 }
1713 client_id_->assign(value);
1714 // @@protoc_insertion_point(field_set:bgs.protocol.Header.client_id)
1715}
1716inline void Header::set_client_id(const char* value) {
1718 if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1719 client_id_ = new ::std::string;
1720 }
1721 client_id_->assign(value);
1722 // @@protoc_insertion_point(field_set_char:bgs.protocol.Header.client_id)
1723}
1724inline void Header::set_client_id(const char* value, size_t size) {
1726 if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1727 client_id_ = new ::std::string;
1728 }
1729 client_id_->assign(reinterpret_cast<const char*>(value), size);
1730 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Header.client_id)
1731}
1732inline ::std::string* Header::mutable_client_id() {
1734 if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1735 client_id_ = new ::std::string;
1736 }
1737 // @@protoc_insertion_point(field_mutable:bgs.protocol.Header.client_id)
1738 return client_id_;
1739}
1740inline ::std::string* Header::release_client_id() {
1742 if (client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1743 return NULL;
1744 } else {
1745 ::std::string* temp = client_id_;
1746 client_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1747 return temp;
1748 }
1749}
1750inline void Header::set_allocated_client_id(::std::string* client_id) {
1751 if (client_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1752 delete client_id_;
1753 }
1754 if (client_id) {
1757 } else {
1759 client_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1760 }
1761 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Header.client_id)
1762}
1763
1764// repeated .bgs.protocol.FanoutTarget fanout_target = 14;
1765inline int Header::fanout_target_size() const {
1766 return fanout_target_.size();
1767}
1769 fanout_target_.Clear();
1770}
1771inline const ::bgs::protocol::FanoutTarget& Header::fanout_target(int index) const {
1772 // @@protoc_insertion_point(field_get:bgs.protocol.Header.fanout_target)
1773 return fanout_target_.Get(index);
1774}
1775inline ::bgs::protocol::FanoutTarget* Header::mutable_fanout_target(int index) {
1776 // @@protoc_insertion_point(field_mutable:bgs.protocol.Header.fanout_target)
1777 return fanout_target_.Mutable(index);
1778}
1779inline ::bgs::protocol::FanoutTarget* Header::add_fanout_target() {
1780 // @@protoc_insertion_point(field_add:bgs.protocol.Header.fanout_target)
1781 return fanout_target_.Add();
1782}
1783inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::FanoutTarget >&
1785 // @@protoc_insertion_point(field_list:bgs.protocol.Header.fanout_target)
1786 return fanout_target_;
1787}
1788inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::FanoutTarget >*
1790 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.Header.fanout_target)
1791 return &fanout_target_;
1792}
1793
1794// repeated string client_id_fanout_target = 15;
1796 return client_id_fanout_target_.size();
1797}
1800}
1801inline const ::std::string& Header::client_id_fanout_target(int index) const {
1802 // @@protoc_insertion_point(field_get:bgs.protocol.Header.client_id_fanout_target)
1803 return client_id_fanout_target_.Get(index);
1804}
1805inline ::std::string* Header::mutable_client_id_fanout_target(int index) {
1806 // @@protoc_insertion_point(field_mutable:bgs.protocol.Header.client_id_fanout_target)
1807 return client_id_fanout_target_.Mutable(index);
1808}
1809inline void Header::set_client_id_fanout_target(int index, const ::std::string& value) {
1810 // @@protoc_insertion_point(field_set:bgs.protocol.Header.client_id_fanout_target)
1811 client_id_fanout_target_.Mutable(index)->assign(value);
1812}
1813inline void Header::set_client_id_fanout_target(int index, const char* value) {
1814 client_id_fanout_target_.Mutable(index)->assign(value);
1815 // @@protoc_insertion_point(field_set_char:bgs.protocol.Header.client_id_fanout_target)
1816}
1817inline void Header::set_client_id_fanout_target(int index, const char* value, size_t size) {
1818 client_id_fanout_target_.Mutable(index)->assign(
1819 reinterpret_cast<const char*>(value), size);
1820 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Header.client_id_fanout_target)
1821}
1823 return client_id_fanout_target_.Add();
1824}
1825inline void Header::add_client_id_fanout_target(const ::std::string& value) {
1826 client_id_fanout_target_.Add()->assign(value);
1827 // @@protoc_insertion_point(field_add:bgs.protocol.Header.client_id_fanout_target)
1828}
1829inline void Header::add_client_id_fanout_target(const char* value) {
1830 client_id_fanout_target_.Add()->assign(value);
1831 // @@protoc_insertion_point(field_add_char:bgs.protocol.Header.client_id_fanout_target)
1832}
1833inline void Header::add_client_id_fanout_target(const char* value, size_t size) {
1834 client_id_fanout_target_.Add()->assign(reinterpret_cast<const char*>(value), size);
1835 // @@protoc_insertion_point(field_add_pointer:bgs.protocol.Header.client_id_fanout_target)
1836}
1837inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1839 // @@protoc_insertion_point(field_list:bgs.protocol.Header.client_id_fanout_target)
1841}
1842inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1844 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.Header.client_id_fanout_target)
1846}
1847
1848// optional bytes client_record = 16;
1849inline bool Header::has_client_record() const {
1850 return (_has_bits_[0] & 0x00004000u) != 0;
1851}
1853 _has_bits_[0] |= 0x00004000u;
1854}
1856 _has_bits_[0] &= ~0x00004000u;
1857}
1859 if (client_record_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1860 client_record_->clear();
1861 }
1863}
1864inline const ::std::string& Header::client_record() const {
1865 // @@protoc_insertion_point(field_get:bgs.protocol.Header.client_record)
1866 return *client_record_;
1867}
1868inline void Header::set_client_record(const ::std::string& value) {
1870 if (client_record_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1871 client_record_ = new ::std::string;
1872 }
1873 client_record_->assign(value);
1874 // @@protoc_insertion_point(field_set:bgs.protocol.Header.client_record)
1875}
1876inline void Header::set_client_record(const char* value) {
1878 if (client_record_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1879 client_record_ = new ::std::string;
1880 }
1881 client_record_->assign(value);
1882 // @@protoc_insertion_point(field_set_char:bgs.protocol.Header.client_record)
1883}
1884inline void Header::set_client_record(const void* value, size_t size) {
1886 if (client_record_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1887 client_record_ = new ::std::string;
1888 }
1889 client_record_->assign(reinterpret_cast<const char*>(value), size);
1890 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Header.client_record)
1891}
1892inline ::std::string* Header::mutable_client_record() {
1894 if (client_record_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1895 client_record_ = new ::std::string;
1896 }
1897 // @@protoc_insertion_point(field_mutable:bgs.protocol.Header.client_record)
1898 return client_record_;
1899}
1900inline ::std::string* Header::release_client_record() {
1902 if (client_record_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1903 return NULL;
1904 } else {
1905 ::std::string* temp = client_record_;
1906 client_record_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1907 return temp;
1908 }
1909}
1910inline void Header::set_allocated_client_record(::std::string* client_record) {
1911 if (client_record_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1912 delete client_record_;
1913 }
1914 if (client_record) {
1917 } else {
1919 client_record_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1920 }
1921 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Header.client_record)
1922}
1923
1924// optional bytes original_sender = 17;
1925inline bool Header::has_original_sender() const {
1926 return (_has_bits_[0] & 0x00008000u) != 0;
1927}
1929 _has_bits_[0] |= 0x00008000u;
1930}
1932 _has_bits_[0] &= ~0x00008000u;
1933}
1935 if (original_sender_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1936 original_sender_->clear();
1937 }
1939}
1940inline const ::std::string& Header::original_sender() const {
1941 // @@protoc_insertion_point(field_get:bgs.protocol.Header.original_sender)
1942 return *original_sender_;
1943}
1944inline void Header::set_original_sender(const ::std::string& value) {
1946 if (original_sender_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1947 original_sender_ = new ::std::string;
1948 }
1949 original_sender_->assign(value);
1950 // @@protoc_insertion_point(field_set:bgs.protocol.Header.original_sender)
1951}
1952inline void Header::set_original_sender(const char* value) {
1954 if (original_sender_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1955 original_sender_ = new ::std::string;
1956 }
1957 original_sender_->assign(value);
1958 // @@protoc_insertion_point(field_set_char:bgs.protocol.Header.original_sender)
1959}
1960inline void Header::set_original_sender(const void* value, size_t size) {
1962 if (original_sender_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1963 original_sender_ = new ::std::string;
1964 }
1965 original_sender_->assign(reinterpret_cast<const char*>(value), size);
1966 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Header.original_sender)
1967}
1968inline ::std::string* Header::mutable_original_sender() {
1970 if (original_sender_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1971 original_sender_ = new ::std::string;
1972 }
1973 // @@protoc_insertion_point(field_mutable:bgs.protocol.Header.original_sender)
1974 return original_sender_;
1975}
1976inline ::std::string* Header::release_original_sender() {
1978 if (original_sender_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1979 return NULL;
1980 } else {
1981 ::std::string* temp = original_sender_;
1982 original_sender_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1983 return temp;
1984 }
1985}
1986inline void Header::set_allocated_original_sender(::std::string* original_sender) {
1987 if (original_sender_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1988 delete original_sender_;
1989 }
1990 if (original_sender) {
1993 } else {
1995 original_sender_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1996 }
1997 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Header.original_sender)
1998}
1999
2000// optional uint32 sender_token = 18;
2001inline bool Header::has_sender_token() const {
2002 return (_has_bits_[0] & 0x00010000u) != 0;
2003}
2005 _has_bits_[0] |= 0x00010000u;
2006}
2008 _has_bits_[0] &= ~0x00010000u;
2009}
2011 sender_token_ = 0u;
2013}
2015 // @@protoc_insertion_point(field_get:bgs.protocol.Header.sender_token)
2016 return sender_token_;
2017}
2020 sender_token_ = value;
2021 // @@protoc_insertion_point(field_set:bgs.protocol.Header.sender_token)
2022}
2023
2024// optional uint32 router_label = 19;
2025inline bool Header::has_router_label() const {
2026 return (_has_bits_[0] & 0x00020000u) != 0;
2027}
2029 _has_bits_[0] |= 0x00020000u;
2030}
2032 _has_bits_[0] &= ~0x00020000u;
2033}
2035 router_label_ = 0u;
2037}
2039 // @@protoc_insertion_point(field_get:bgs.protocol.Header.router_label)
2040 return router_label_;
2041}
2044 router_label_ = value;
2045 // @@protoc_insertion_point(field_set:bgs.protocol.Header.router_label)
2046}
2047
2048// optional string error_reason = 20;
2049inline bool Header::has_error_reason() const {
2050 return (_has_bits_[0] & 0x00040000u) != 0;
2051}
2053 _has_bits_[0] |= 0x00040000u;
2054}
2056 _has_bits_[0] &= ~0x00040000u;
2057}
2059 if (error_reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2060 error_reason_->clear();
2061 }
2063}
2064inline const ::std::string& Header::error_reason() const {
2065 // @@protoc_insertion_point(field_get:bgs.protocol.Header.error_reason)
2066 return *error_reason_;
2067}
2068inline void Header::set_error_reason(const ::std::string& value) {
2070 if (error_reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2071 error_reason_ = new ::std::string;
2072 }
2073 error_reason_->assign(value);
2074 // @@protoc_insertion_point(field_set:bgs.protocol.Header.error_reason)
2075}
2076inline void Header::set_error_reason(const char* value) {
2078 if (error_reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2079 error_reason_ = new ::std::string;
2080 }
2081 error_reason_->assign(value);
2082 // @@protoc_insertion_point(field_set_char:bgs.protocol.Header.error_reason)
2083}
2084inline void Header::set_error_reason(const char* value, size_t size) {
2086 if (error_reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2087 error_reason_ = new ::std::string;
2088 }
2089 error_reason_->assign(reinterpret_cast<const char*>(value), size);
2090 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.Header.error_reason)
2091}
2092inline ::std::string* Header::mutable_error_reason() {
2094 if (error_reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2095 error_reason_ = new ::std::string;
2096 }
2097 // @@protoc_insertion_point(field_mutable:bgs.protocol.Header.error_reason)
2098 return error_reason_;
2099}
2100inline ::std::string* Header::release_error_reason() {
2102 if (error_reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2103 return NULL;
2104 } else {
2105 ::std::string* temp = error_reason_;
2106 error_reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2107 return temp;
2108 }
2109}
2110inline void Header::set_allocated_error_reason(::std::string* error_reason) {
2111 if (error_reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2112 delete error_reason_;
2113 }
2114 if (error_reason) {
2117 } else {
2119 error_reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2120 }
2121 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.Header.error_reason)
2122}
2123
2124// @@protoc_insertion_point(namespace_scope)
2125
2126} // namespace protocol
2127} // namespace bgs
2128
2129#ifndef SWIG
2130namespace google {
2131namespace protobuf {
2132} // namespace google
2133} // namespace protobuf
2134#endif // SWIG
2135
2136// @@protoc_insertion_point(global_scope)
2137
2138#endif // PROTOBUF_rpc_5ftypes_2eproto__INCLUDED
#define TC_PROTO_API
Definition: Define.h:105
uint64_t uint64
Definition: Define.h:141
uint32_t uint32
Definition: Define.h:142
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: rpc_types.pb.h:175
static Address * default_instance_
Definition: rpc_types.pb.h:186
const ::std::string & address() const
Definition: rpc_types.pb.h:902
inline ::google::protobuf::uint32 port() const
Definition: rpc_types.pb.h:976
void set_address(const ::std::string &value)
Definition: rpc_types.pb.h:906
Address(const Address &from)
int GetCachedSize() const
Definition: rpc_types.pb.h:137
::google::protobuf::uint32 port_
Definition: rpc_types.pb.h:180
static const Address & default_instance()
Address & operator=(const Address &from)
Definition: rpc_types.pb.h:116
void Swap(Address *other)
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_rpc_5ftypes_2eproto()
void set_allocated_address(::std::string *address)
Definition: rpc_types.pb.h:948
inline ::std::string * release_address()
Definition: rpc_types.pb.h:938
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: rpc_types.pb.h:125
friend void protobuf_ShutdownFile_rpc_5ftypes_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: rpc_types.pb.h:121
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_types.pb.h:177
::std::string * address_
Definition: rpc_types.pb.h:179
friend void protobuf_AssignDesc_rpc_5ftypes_2eproto()
bool has_address() const
Definition: rpc_types.pb.h:887
inline ::std::string * mutable_address()
Definition: rpc_types.pb.h:930
void SetCachedSize(int size) const
void set_port(::google::protobuf::uint32 value)
Definition: rpc_types.pb.h:980
Address * New() const
inline ::google::protobuf::uint32 service_hash() const
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_types.pb.h:483
void set_status(::google::protobuf::uint32 value)
bool has_object_address() const
inline ::google::protobuf::uint32 status() const
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: rpc_types.pb.h:481
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::uint32 method_id_
Definition: rpc_types.pb.h:488
ErrorInfo(const ErrorInfo &from)
::google::protobuf::uint32 status_
Definition: rpc_types.pb.h:486
void SetCachedSize(int size) const
::bgs::protocol::ObjectAddress * object_address_
Definition: rpc_types.pb.h:485
inline ::bgs::protocol::ObjectAddress * mutable_object_address()
inline ::google::protobuf::uint32 method_id() const
friend void TC_PROTO_API protobuf_AddDesc_rpc_5ftypes_2eproto()
void set_allocated_object_address(::bgs::protocol::ObjectAddress *object_address)
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: rpc_types.pb.h:416
ErrorInfo & operator=(const ErrorInfo &from)
Definition: rpc_types.pb.h:407
inline ::bgs::protocol::ObjectAddress * release_object_address()
static const ErrorInfo & default_instance()
::google::protobuf::uint32 service_hash_
Definition: rpc_types.pb.h:487
ErrorInfo * New() const
friend void protobuf_ShutdownFile_rpc_5ftypes_2eproto()
void set_service_hash(::google::protobuf::uint32 value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: rpc_types.pb.h:412
void set_method_id(::google::protobuf::uint32 value)
bool has_service_hash() const
friend void protobuf_AssignDesc_rpc_5ftypes_2eproto()
void Swap(ErrorInfo *other)
static ErrorInfo * default_instance_
Definition: rpc_types.pb.h:494
const ::bgs::protocol::ObjectAddress & object_address() const
void SetCachedSize(int size) const
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_types.pb.h:580
void set_client_id(const ::std::string &value)
void set_allocated_client_id(::std::string *client_id)
static const FanoutTarget & default_instance()
FanoutTarget * New() const
const ::std::string & key() const
::google::protobuf::uint64 object_id_
Definition: rpc_types.pb.h:584
inline ::google::protobuf::uint64 object_id() const
void set_key(const ::std::string &value)
static const ::google::protobuf::Descriptor * descriptor()
void set_object_id(::google::protobuf::uint64 value)
FanoutTarget(const FanoutTarget &from)
inline ::std::string * mutable_client_id()
void Swap(FanoutTarget *other)
::std::string * client_id_
Definition: rpc_types.pb.h:582
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: rpc_types.pb.h:578
friend void TC_PROTO_API protobuf_AddDesc_rpc_5ftypes_2eproto()
inline ::std::string * mutable_key()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: rpc_types.pb.h:510
::google::protobuf::Metadata GetMetadata() const
void set_allocated_key(::std::string *key)
friend void protobuf_ShutdownFile_rpc_5ftypes_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: rpc_types.pb.h:514
FanoutTarget & operator=(const FanoutTarget &from)
Definition: rpc_types.pb.h:505
inline ::std::string * release_client_id()
const ::std::string & client_id() const
friend void protobuf_AssignDesc_rpc_5ftypes_2eproto()
inline ::std::string * release_key()
static FanoutTarget * default_instance_
Definition: rpc_types.pb.h:590
const ::std::string & error_reason() const
Header * New() const
inline ::google::protobuf::uint32 method_id() const
::google::protobuf::uint64 timeout_
Definition: rpc_types.pb.h:856
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: rpc_types.pb.h:844
inline ::bgs::protocol::ProcessId * add_forward_targets()
::google::protobuf::uint32 method_id_
Definition: rpc_types.pb.h:849
void set_is_response(bool value)
void set_client_id_fanout_target(int index, const ::std::string &value)
bool has_token() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::FanoutTarget > fanout_target_
Definition: rpc_types.pb.h:859
void clear_client_id_fanout_target()
bool has_error_reason() const
int client_id_fanout_target_size() const
const ::std::string & client_record() const
inline ::std::string * release_client_record()
static const Header & default_instance()
const ::std::string & client_id() const
inline ::std::string * mutable_client_record()
Header(const Header &from)
inline ::std::string * mutable_error_reason()
static Header * default_instance_
Definition: rpc_types.pb.h:872
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ProcessId > * mutable_forward_targets()
void set_method_id(::google::protobuf::uint32 value)
::google::protobuf::uint32 sender_token_
Definition: rpc_types.pb.h:862
const ::std::string & original_sender() const
int GetCachedSize() const
Definition: rpc_types.pb.h:622
void set_timeout(::google::protobuf::uint64 value)
bool is_response() const
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_types.pb.h:846
::google::protobuf::RepeatedPtrField< ::bgs::protocol::ProcessId > forward_targets_
Definition: rpc_types.pb.h:857
inline ::google::protobuf::uint32 service_id() const
void set_allocated_error_reason(::std::string *error_reason)
::google::protobuf::uint32 service_id_
Definition: rpc_types.pb.h:848
inline ::google::protobuf::uint32 status() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ErrorInfo > & error() const
::std::string * client_id_
Definition: rpc_types.pb.h:858
bool has_object_id() const
void set_allocated_client_record(::std::string *client_record)
::google::protobuf::uint64 object_id_
Definition: rpc_types.pb.h:850
inline ::std::string * add_client_id_fanout_target()
const ::google::protobuf::RepeatedPtrField< ::std::string > & client_id_fanout_target() const
::std::string * client_record_
Definition: rpc_types.pb.h:863
void set_token(::google::protobuf::uint32 value)
void set_error_reason(const ::std::string &value)
bool has_service_hash() const
bool has_service_id() const
void set_client_id(const ::std::string &value)
int forward_targets_size() const
inline ::bgs::protocol::ErrorInfo * add_error()
inline ::google::protobuf::uint32 sender_token() const
bool has_timeout() const
bool has_sender_token() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ProcessId > & forward_targets() const
bool has_method_id() const
bool has_status() const
inline ::google::protobuf::uint32 router_label() const
::google::protobuf::uint32 size_
Definition: rpc_types.pb.h:852
inline ::google::protobuf::uint64 object_id() const
::google::protobuf::RepeatedPtrField< ::std::string > client_id_fanout_target_
Definition: rpc_types.pb.h:860
inline ::std::string * release_original_sender()
friend void TC_PROTO_API protobuf_AddDesc_rpc_5ftypes_2eproto()
void set_service_id(::google::protobuf::uint32 value)
void set_allocated_original_sender(::std::string *original_sender)
::google::protobuf::uint32 token_
Definition: rpc_types.pb.h:851
void set_allocated_client_id(::std::string *client_id)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: rpc_types.pb.h:610
void set_status(::google::protobuf::uint32 value)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ErrorInfo > * mutable_error()
void set_original_sender(const ::std::string &value)
::google::protobuf::Metadata GetMetadata() const
bool has_is_response() const
Header & operator=(const Header &from)
Definition: rpc_types.pb.h:601
::google::protobuf::uint32 service_hash_
Definition: rpc_types.pb.h:861
inline ::google::protobuf::uint64 timeout() const
inline ::bgs::protocol::FanoutTarget * add_fanout_target()
::std::string * error_reason_
Definition: rpc_types.pb.h:865
inline ::google::protobuf::uint32 size() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::uint32 service_hash() const
::google::protobuf::uint32 router_label_
Definition: rpc_types.pb.h:866
void set_service_hash(::google::protobuf::uint32 value)
inline ::std::string * release_client_id()
bool has_router_label() const
friend void protobuf_ShutdownFile_rpc_5ftypes_2eproto()
inline ::google::protobuf::uint32 token() const
int fanout_target_size() const
inline ::google::protobuf::RepeatedPtrField< ::std::string > * mutable_client_id_fanout_target()
inline ::std::string * mutable_original_sender()
bool has_client_id() const
bool has_client_record() const
void set_object_id(::google::protobuf::uint64 value)
void set_client_record(const ::std::string &value)
inline ::std::string * mutable_client_id()
void set_sender_token(::google::protobuf::uint32 value)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::FanoutTarget > * mutable_fanout_target()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::ErrorInfo > error_
Definition: rpc_types.pb.h:853
::google::protobuf::uint32 status_
Definition: rpc_types.pb.h:854
friend void protobuf_AssignDesc_rpc_5ftypes_2eproto()
bool has_original_sender() const
void SetCachedSize(int size) const
void set_size(::google::protobuf::uint32 value)
void Swap(Header *other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: rpc_types.pb.h:606
inline ::std::string * release_error_reason()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::FanoutTarget > & fanout_target() const
::std::string * original_sender_
Definition: rpc_types.pb.h:864
void set_router_label(::google::protobuf::uint32 value)
NO_RESPONSE(const NO_RESPONSE &from)
NO_RESPONSE * New() const
static NO_RESPONSE * default_instance_
Definition: rpc_types.pb.h:105
static const NO_RESPONSE & default_instance()
void Swap(NO_RESPONSE *other)
NO_RESPONSE & operator=(const NO_RESPONSE &from)
Definition: rpc_types.pb.h:60
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_rpc_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: rpc_types.pb.h:65
friend void protobuf_ShutdownFile_rpc_5ftypes_2eproto()
void SetCachedSize(int size) const
friend void protobuf_AssignDesc_rpc_5ftypes_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: rpc_types.pb.h:69
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: rpc_types.pb.h:96
static const NoData & default_instance()
void SetCachedSize(int size) const
int GetCachedSize() const
Definition: rpc_types.pb.h:372
NoData & operator=(const NoData &from)
Definition: rpc_types.pb.h:351
NoData * New() const
friend void TC_PROTO_API protobuf_AddDesc_rpc_5ftypes_2eproto()
static NoData * default_instance_
Definition: rpc_types.pb.h:396
friend void protobuf_ShutdownFile_rpc_5ftypes_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: rpc_types.pb.h:360
void Swap(NoData *other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: rpc_types.pb.h:356
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: rpc_types.pb.h:387
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_AssignDesc_rpc_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() const
NoData(const NoData &from)
void set_allocated_host(::bgs::protocol::ProcessId *host)
::google::protobuf::uint64 object_id_
Definition: rpc_types.pb.h:334
inline ::bgs::protocol::ProcessId * mutable_host()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: rpc_types.pb.h:282
ObjectAddress & operator=(const ObjectAddress &from)
Definition: rpc_types.pb.h:273
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: rpc_types.pb.h:329
inline ::google::protobuf::uint64 object_id() const
::bgs::protocol::ProcessId * host_
Definition: rpc_types.pb.h:333
static const ObjectAddress & default_instance()
ObjectAddress * New() const
friend void TC_PROTO_API protobuf_AddDesc_rpc_5ftypes_2eproto()
inline ::bgs::protocol::ProcessId * release_host()
static const ::google::protobuf::Descriptor * descriptor()
void SetCachedSize(int size) const
const ::bgs::protocol::ProcessId & host() const
friend void protobuf_ShutdownFile_rpc_5ftypes_2eproto()
ObjectAddress(const ObjectAddress &from)
::google::protobuf::Metadata GetMetadata() const
void Swap(ObjectAddress *other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: rpc_types.pb.h:278
void set_object_id(::google::protobuf::uint64 value)
static ObjectAddress * default_instance_
Definition: rpc_types.pb.h:340
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_types.pb.h:331
friend void protobuf_AssignDesc_rpc_5ftypes_2eproto()
inline ::google::protobuf::uint32 label() const
::google::protobuf::Metadata GetMetadata() const
void set_label(::google::protobuf::uint32 value)
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_types.pb.h:253
ProcessId(const ProcessId &from)
void Swap(ProcessId *other)
ProcessId * New() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: rpc_types.pb.h:202
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: rpc_types.pb.h:206
friend void TC_PROTO_API protobuf_AddDesc_rpc_5ftypes_2eproto()
void SetCachedSize(int size) const
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::uint32 epoch_
Definition: rpc_types.pb.h:256
friend void protobuf_ShutdownFile_rpc_5ftypes_2eproto()
::google::protobuf::uint32 label_
Definition: rpc_types.pb.h:255
static const ProcessId & default_instance()
static ProcessId * default_instance_
Definition: rpc_types.pb.h:262
friend void protobuf_AssignDesc_rpc_5ftypes_2eproto()
ProcessId & operator=(const ProcessId &from)
Definition: rpc_types.pb.h:197
void set_epoch(::google::protobuf::uint32 value)
inline ::google::protobuf::uint32 epoch() const
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: rpc_types.pb.h:251
constexpr std::size_t size()
Definition: UpdateField.h:796
void protobuf_ShutdownFile_rpc_5ftypes_2eproto()
void protobuf_AssignDesc_rpc_5ftypes_2eproto()
void TC_PROTO_API protobuf_AddDesc_rpc_5ftypes_2eproto()
Definition: Session.h:36