TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
connection_service.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: connection_service.proto
3 
4 #ifndef PROTOBUF_connection_5fservice_2eproto__INCLUDED
5 #define PROTOBUF_connection_5fservice_2eproto__INCLUDED
6 
7 #include <string>
8 
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 
28 #include "rpc_types.pb.h"
29 #include "ServiceBase.h"
30 #include "MessageBuffer.h"
31 #include <functional>
32 #include <type_traits>
33 // @@protoc_insertion_point(includes)
34 
35 namespace bgs {
36 namespace protocol {
37 namespace connection {
38 namespace v1 {
39 
40 // Internal implementation detail -- do not call these.
44 
45 class ConnectRequest;
47 class ConnectResponse;
48 class BoundService;
49 class BindRequest;
50 class BindResponse;
51 class EchoRequest;
52 class EchoResponse;
53 class DisconnectRequest;
55 class EncryptRequest;
56 
57 // ===================================================================
58 
60  public:
62  virtual ~ConnectRequest();
63 
64  ConnectRequest(const ConnectRequest& from);
65 
66  inline ConnectRequest& operator=(const ConnectRequest& from) {
67  CopyFrom(from);
68  return *this;
69  }
70 
71  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
72  return _unknown_fields_;
73  }
74 
75  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
76  return &_unknown_fields_;
77  }
78 
79  static const ::google::protobuf::Descriptor* descriptor();
80  static const ConnectRequest& default_instance();
81 
82  void Swap(ConnectRequest* other);
83 
84  // implements Message ----------------------------------------------
85 
86  ConnectRequest* New() const;
87  void CopyFrom(const ::google::protobuf::Message& from);
88  void MergeFrom(const ::google::protobuf::Message& from);
89  void CopyFrom(const ConnectRequest& from);
90  void MergeFrom(const ConnectRequest& from);
91  void Clear();
92  bool IsInitialized() const;
93 
94  int ByteSize() const;
95  bool MergePartialFromCodedStream(
97  void SerializeWithCachedSizes(
99  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
100  int GetCachedSize() const { return _cached_size_; }
101  private:
102  void SharedCtor();
103  void SharedDtor();
104  void SetCachedSize(int size) const;
105  public:
106  ::google::protobuf::Metadata GetMetadata() const;
107 
108  // nested types ----------------------------------------------------
109 
110  // accessors -------------------------------------------------------
111 
112  // optional .bgs.protocol.ProcessId client_id = 1;
113  inline bool has_client_id() const;
114  inline void clear_client_id();
115  static const int kClientIdFieldNumber = 1;
116  inline const ::bgs::protocol::ProcessId& client_id() const;
117  inline ::bgs::protocol::ProcessId* mutable_client_id();
118  inline ::bgs::protocol::ProcessId* release_client_id();
119  inline void set_allocated_client_id(::bgs::protocol::ProcessId* client_id);
120 
121  // optional .bgs.protocol.connection.v1.BindRequest bind_request = 2;
122  inline bool has_bind_request() const;
123  inline void clear_bind_request();
124  static const int kBindRequestFieldNumber = 2;
125  inline const ::bgs::protocol::connection::v1::BindRequest& bind_request() const;
126  inline ::bgs::protocol::connection::v1::BindRequest* mutable_bind_request();
127  inline ::bgs::protocol::connection::v1::BindRequest* release_bind_request();
128  inline void set_allocated_bind_request(::bgs::protocol::connection::v1::BindRequest* bind_request);
129 
130  // optional bool use_bindless_rpc = 3 [default = true];
131  inline bool has_use_bindless_rpc() const;
132  inline void clear_use_bindless_rpc();
133  static const int kUseBindlessRpcFieldNumber = 3;
134  inline bool use_bindless_rpc() const;
135  inline void set_use_bindless_rpc(bool value);
136 
137  // @@protoc_insertion_point(class_scope:bgs.protocol.connection.v1.ConnectRequest)
138  private:
139  inline void set_has_client_id();
140  inline void clear_has_client_id();
141  inline void set_has_bind_request();
142  inline void clear_has_bind_request();
143  inline void set_has_use_bindless_rpc();
144  inline void clear_has_use_bindless_rpc();
145 
147 
149  mutable int _cached_size_;
156 
157  void InitAsDefaultInstance();
159 };
160 // -------------------------------------------------------------------
161 
163  public:
166 
168 
170  CopyFrom(from);
171  return *this;
172  }
173 
174  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
175  return _unknown_fields_;
176  }
177 
178  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
179  return &_unknown_fields_;
180  }
181 
182  static const ::google::protobuf::Descriptor* descriptor();
183  static const ConnectionMeteringContentHandles& default_instance();
184 
185  void Swap(ConnectionMeteringContentHandles* other);
186 
187  // implements Message ----------------------------------------------
188 
190  void CopyFrom(const ::google::protobuf::Message& from);
191  void MergeFrom(const ::google::protobuf::Message& from);
192  void CopyFrom(const ConnectionMeteringContentHandles& from);
193  void MergeFrom(const ConnectionMeteringContentHandles& from);
194  void Clear();
195  bool IsInitialized() const;
196 
197  int ByteSize() const;
198  bool MergePartialFromCodedStream(
200  void SerializeWithCachedSizes(
202  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
203  int GetCachedSize() const { return _cached_size_; }
204  private:
205  void SharedCtor();
206  void SharedDtor();
207  void SetCachedSize(int size) const;
208  public:
209  ::google::protobuf::Metadata GetMetadata() const;
210 
211  // nested types ----------------------------------------------------
212 
213  // accessors -------------------------------------------------------
214 
215  // repeated .bgs.protocol.ContentHandle content_handle = 1;
216  inline int content_handle_size() const;
217  inline void clear_content_handle();
218  static const int kContentHandleFieldNumber = 1;
219  inline const ::bgs::protocol::ContentHandle& content_handle(int index) const;
220  inline ::bgs::protocol::ContentHandle* mutable_content_handle(int index);
221  inline ::bgs::protocol::ContentHandle* add_content_handle();
222  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ContentHandle >&
223  content_handle() const;
224  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ContentHandle >*
225  mutable_content_handle();
226 
227  // @@protoc_insertion_point(class_scope:bgs.protocol.connection.v1.ConnectionMeteringContentHandles)
228  private:
229 
231 
233  mutable int _cached_size_;
238 
239  void InitAsDefaultInstance();
241 };
242 // -------------------------------------------------------------------
243 
245  public:
246  ConnectResponse();
247  virtual ~ConnectResponse();
248 
249  ConnectResponse(const ConnectResponse& from);
250 
252  CopyFrom(from);
253  return *this;
254  }
255 
256  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
257  return _unknown_fields_;
258  }
259 
260  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
261  return &_unknown_fields_;
262  }
263 
264  static const ::google::protobuf::Descriptor* descriptor();
265  static const ConnectResponse& default_instance();
266 
267  void Swap(ConnectResponse* other);
268 
269  // implements Message ----------------------------------------------
270 
271  ConnectResponse* New() const;
272  void CopyFrom(const ::google::protobuf::Message& from);
273  void MergeFrom(const ::google::protobuf::Message& from);
274  void CopyFrom(const ConnectResponse& from);
275  void MergeFrom(const ConnectResponse& from);
276  void Clear();
277  bool IsInitialized() const;
278 
279  int ByteSize() const;
280  bool MergePartialFromCodedStream(
282  void SerializeWithCachedSizes(
284  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
285  int GetCachedSize() const { return _cached_size_; }
286  private:
287  void SharedCtor();
288  void SharedDtor();
289  void SetCachedSize(int size) const;
290  public:
291  ::google::protobuf::Metadata GetMetadata() const;
292 
293  // nested types ----------------------------------------------------
294 
295  // accessors -------------------------------------------------------
296 
297  // required .bgs.protocol.ProcessId server_id = 1;
298  inline bool has_server_id() const;
299  inline void clear_server_id();
300  static const int kServerIdFieldNumber = 1;
301  inline const ::bgs::protocol::ProcessId& server_id() const;
302  inline ::bgs::protocol::ProcessId* mutable_server_id();
303  inline ::bgs::protocol::ProcessId* release_server_id();
304  inline void set_allocated_server_id(::bgs::protocol::ProcessId* server_id);
305 
306  // optional .bgs.protocol.ProcessId client_id = 2;
307  inline bool has_client_id() const;
308  inline void clear_client_id();
309  static const int kClientIdFieldNumber = 2;
310  inline const ::bgs::protocol::ProcessId& client_id() const;
311  inline ::bgs::protocol::ProcessId* mutable_client_id();
312  inline ::bgs::protocol::ProcessId* release_client_id();
313  inline void set_allocated_client_id(::bgs::protocol::ProcessId* client_id);
314 
315  // optional uint32 bind_result = 3;
316  inline bool has_bind_result() const;
317  inline void clear_bind_result();
318  static const int kBindResultFieldNumber = 3;
319  inline ::google::protobuf::uint32 bind_result() const;
320  inline void set_bind_result(::google::protobuf::uint32 value);
321 
322  // optional .bgs.protocol.connection.v1.BindResponse bind_response = 4;
323  inline bool has_bind_response() const;
324  inline void clear_bind_response();
325  static const int kBindResponseFieldNumber = 4;
326  inline const ::bgs::protocol::connection::v1::BindResponse& bind_response() const;
327  inline ::bgs::protocol::connection::v1::BindResponse* mutable_bind_response();
328  inline ::bgs::protocol::connection::v1::BindResponse* release_bind_response();
329  inline void set_allocated_bind_response(::bgs::protocol::connection::v1::BindResponse* bind_response);
330 
331  // optional .bgs.protocol.connection.v1.ConnectionMeteringContentHandles content_handle_array = 5;
332  inline bool has_content_handle_array() const;
333  inline void clear_content_handle_array();
334  static const int kContentHandleArrayFieldNumber = 5;
335  inline const ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles& content_handle_array() const;
336  inline ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* mutable_content_handle_array();
337  inline ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* release_content_handle_array();
338  inline void set_allocated_content_handle_array(::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* content_handle_array);
339 
340  // optional uint64 server_time = 6;
341  inline bool has_server_time() const;
342  inline void clear_server_time();
343  static const int kServerTimeFieldNumber = 6;
344  inline ::google::protobuf::uint64 server_time() const;
345  inline void set_server_time(::google::protobuf::uint64 value);
346 
347  // optional bool use_bindless_rpc = 7 [default = false];
348  inline bool has_use_bindless_rpc() const;
349  inline void clear_use_bindless_rpc();
350  static const int kUseBindlessRpcFieldNumber = 7;
351  inline bool use_bindless_rpc() const;
352  inline void set_use_bindless_rpc(bool value);
353 
354  // optional .bgs.protocol.connection.v1.ConnectionMeteringContentHandles binary_content_handle_array = 8;
355  inline bool has_binary_content_handle_array() const;
356  inline void clear_binary_content_handle_array();
357  static const int kBinaryContentHandleArrayFieldNumber = 8;
358  inline const ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles& binary_content_handle_array() const;
359  inline ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* mutable_binary_content_handle_array();
360  inline ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* release_binary_content_handle_array();
361  inline void set_allocated_binary_content_handle_array(::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* binary_content_handle_array);
362 
363  // @@protoc_insertion_point(class_scope:bgs.protocol.connection.v1.ConnectResponse)
364  private:
365  inline void set_has_server_id();
366  inline void clear_has_server_id();
367  inline void set_has_client_id();
368  inline void clear_has_client_id();
369  inline void set_has_bind_result();
370  inline void clear_has_bind_result();
371  inline void set_has_bind_response();
372  inline void clear_has_bind_response();
373  inline void set_has_content_handle_array();
374  inline void clear_has_content_handle_array();
375  inline void set_has_server_time();
376  inline void clear_has_server_time();
377  inline void set_has_use_bindless_rpc();
378  inline void clear_has_use_bindless_rpc();
379  inline void set_has_binary_content_handle_array();
380  inline void clear_has_binary_content_handle_array();
381 
383 
385  mutable int _cached_size_;
397 
398  void InitAsDefaultInstance();
400 };
401 // -------------------------------------------------------------------
402 
404  public:
405  BoundService();
406  virtual ~BoundService();
407 
408  BoundService(const BoundService& from);
409 
410  inline BoundService& operator=(const BoundService& from) {
411  CopyFrom(from);
412  return *this;
413  }
414 
415  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
416  return _unknown_fields_;
417  }
418 
419  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
420  return &_unknown_fields_;
421  }
422 
423  static const ::google::protobuf::Descriptor* descriptor();
424  static const BoundService& default_instance();
425 
426  void Swap(BoundService* other);
427 
428  // implements Message ----------------------------------------------
429 
430  BoundService* New() const;
431  void CopyFrom(const ::google::protobuf::Message& from);
432  void MergeFrom(const ::google::protobuf::Message& from);
433  void CopyFrom(const BoundService& from);
434  void MergeFrom(const BoundService& from);
435  void Clear();
436  bool IsInitialized() const;
437 
438  int ByteSize() const;
439  bool MergePartialFromCodedStream(
441  void SerializeWithCachedSizes(
443  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
444  int GetCachedSize() const { return _cached_size_; }
445  private:
446  void SharedCtor();
447  void SharedDtor();
448  void SetCachedSize(int size) const;
449  public:
450  ::google::protobuf::Metadata GetMetadata() const;
451 
452  // nested types ----------------------------------------------------
453 
454  // accessors -------------------------------------------------------
455 
456  // required fixed32 hash = 1;
457  inline bool has_hash() const;
458  inline void clear_hash();
459  static const int kHashFieldNumber = 1;
461  inline void set_hash(::google::protobuf::uint32 value);
462 
463  // required uint32 id = 2;
464  inline bool has_id() const;
465  inline void clear_id();
466  static const int kIdFieldNumber = 2;
468  inline void set_id(::google::protobuf::uint32 value);
469 
470  // @@protoc_insertion_point(class_scope:bgs.protocol.connection.v1.BoundService)
471  private:
472  inline void set_has_hash();
473  inline void clear_has_hash();
474  inline void set_has_id();
475  inline void clear_has_id();
476 
478 
480  mutable int _cached_size_;
486 
487  void InitAsDefaultInstance();
489 };
490 // -------------------------------------------------------------------
491 
493  public:
494  BindRequest();
495  virtual ~BindRequest();
496 
497  BindRequest(const BindRequest& from);
498 
499  inline BindRequest& operator=(const BindRequest& from) {
500  CopyFrom(from);
501  return *this;
502  }
503 
504  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
505  return _unknown_fields_;
506  }
507 
508  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
509  return &_unknown_fields_;
510  }
511 
512  static const ::google::protobuf::Descriptor* descriptor();
513  static const BindRequest& default_instance();
514 
515  void Swap(BindRequest* other);
516 
517  // implements Message ----------------------------------------------
518 
519  BindRequest* New() const;
520  void CopyFrom(const ::google::protobuf::Message& from);
521  void MergeFrom(const ::google::protobuf::Message& from);
522  void CopyFrom(const BindRequest& from);
523  void MergeFrom(const BindRequest& from);
524  void Clear();
525  bool IsInitialized() const;
526 
527  int ByteSize() const;
528  bool MergePartialFromCodedStream(
530  void SerializeWithCachedSizes(
532  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
533  int GetCachedSize() const { return _cached_size_; }
534  private:
535  void SharedCtor();
536  void SharedDtor();
537  void SetCachedSize(int size) const;
538  public:
539  ::google::protobuf::Metadata GetMetadata() const;
540 
541  // nested types ----------------------------------------------------
542 
543  // accessors -------------------------------------------------------
544 
545  // repeated fixed32 deprecated_imported_service_hash = 1 [packed = true, deprecated = true];
546  inline int deprecated_imported_service_hash_size() const PROTOBUF_DEPRECATED;
547  inline void clear_deprecated_imported_service_hash() PROTOBUF_DEPRECATED;
548  static const int kDeprecatedImportedServiceHashFieldNumber = 1;
549  inline ::google::protobuf::uint32 deprecated_imported_service_hash(int index) const PROTOBUF_DEPRECATED;
550  inline void set_deprecated_imported_service_hash(int index, ::google::protobuf::uint32 value) PROTOBUF_DEPRECATED;
551  inline void add_deprecated_imported_service_hash(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED;
552  inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
553  deprecated_imported_service_hash() const PROTOBUF_DEPRECATED;
554  inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
555  mutable_deprecated_imported_service_hash() PROTOBUF_DEPRECATED;
556 
557  // repeated .bgs.protocol.connection.v1.BoundService deprecated_exported_service = 2 [deprecated = true];
558  inline int deprecated_exported_service_size() const PROTOBUF_DEPRECATED;
559  inline void clear_deprecated_exported_service() PROTOBUF_DEPRECATED;
560  static const int kDeprecatedExportedServiceFieldNumber = 2;
561  inline const ::bgs::protocol::connection::v1::BoundService& deprecated_exported_service(int index) const PROTOBUF_DEPRECATED;
562  inline ::bgs::protocol::connection::v1::BoundService* mutable_deprecated_exported_service(int index) PROTOBUF_DEPRECATED;
563  inline ::bgs::protocol::connection::v1::BoundService* add_deprecated_exported_service() PROTOBUF_DEPRECATED;
564  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService >&
565  deprecated_exported_service() const PROTOBUF_DEPRECATED;
566  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService >*
567  mutable_deprecated_exported_service() PROTOBUF_DEPRECATED;
568 
569  // repeated .bgs.protocol.connection.v1.BoundService exported_service = 3;
570  inline int exported_service_size() const;
571  inline void clear_exported_service();
572  static const int kExportedServiceFieldNumber = 3;
573  inline const ::bgs::protocol::connection::v1::BoundService& exported_service(int index) const;
574  inline ::bgs::protocol::connection::v1::BoundService* mutable_exported_service(int index);
575  inline ::bgs::protocol::connection::v1::BoundService* add_exported_service();
576  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService >&
577  exported_service() const;
578  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService >*
579  mutable_exported_service();
580 
581  // repeated .bgs.protocol.connection.v1.BoundService imported_service = 4;
582  inline int imported_service_size() const;
583  inline void clear_imported_service();
584  static const int kImportedServiceFieldNumber = 4;
585  inline const ::bgs::protocol::connection::v1::BoundService& imported_service(int index) const;
586  inline ::bgs::protocol::connection::v1::BoundService* mutable_imported_service(int index);
587  inline ::bgs::protocol::connection::v1::BoundService* add_imported_service();
588  inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService >&
589  imported_service() const;
590  inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService >*
591  mutable_imported_service();
592 
593  // @@protoc_insertion_point(class_scope:bgs.protocol.connection.v1.BindRequest)
594  private:
595 
596  ::google::protobuf::UnknownFieldSet _unknown_fields_;
597 
598  ::google::protobuf::uint32 _has_bits_[1];
599  mutable int _cached_size_;
600  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > deprecated_imported_service_hash_;
601  mutable int _deprecated_imported_service_hash_cached_byte_size_;
602  ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService > deprecated_exported_service_;
603  ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService > exported_service_;
604  ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService > imported_service_;
605  friend void TC_SHARED_API protobuf_AddDesc_connection_5fservice_2eproto();
606  friend void protobuf_AssignDesc_connection_5fservice_2eproto();
607  friend void protobuf_ShutdownFile_connection_5fservice_2eproto();
608 
609  void InitAsDefaultInstance();
610  static BindRequest* default_instance_;
611 };
612 // -------------------------------------------------------------------
613 
614 class TC_SHARED_API BindResponse : public ::google::protobuf::Message {
615  public:
616  BindResponse();
617  virtual ~BindResponse();
618 
619  BindResponse(const BindResponse& from);
620 
621  inline BindResponse& operator=(const BindResponse& from) {
622  CopyFrom(from);
623  return *this;
624  }
625 
626  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
627  return _unknown_fields_;
628  }
629 
630  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
631  return &_unknown_fields_;
632  }
633 
634  static const ::google::protobuf::Descriptor* descriptor();
635  static const BindResponse& default_instance();
636 
637  void Swap(BindResponse* other);
638 
639  // implements Message ----------------------------------------------
640 
641  BindResponse* New() const;
642  void CopyFrom(const ::google::protobuf::Message& from);
643  void MergeFrom(const ::google::protobuf::Message& from);
644  void CopyFrom(const BindResponse& from);
645  void MergeFrom(const BindResponse& from);
646  void Clear();
647  bool IsInitialized() const;
648 
649  int ByteSize() const;
650  bool MergePartialFromCodedStream(
652  void SerializeWithCachedSizes(
654  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
655  int GetCachedSize() const { return _cached_size_; }
656  private:
657  void SharedCtor();
658  void SharedDtor();
659  void SetCachedSize(int size) const;
660  public:
661  ::google::protobuf::Metadata GetMetadata() const;
662 
663  // nested types ----------------------------------------------------
664 
665  // accessors -------------------------------------------------------
666 
667  // repeated uint32 imported_service_id = 1 [packed = true, deprecated = true];
668  inline int imported_service_id_size() const PROTOBUF_DEPRECATED;
669  inline void clear_imported_service_id() PROTOBUF_DEPRECATED;
670  static const int kImportedServiceIdFieldNumber = 1;
671  inline ::google::protobuf::uint32 imported_service_id(int index) const PROTOBUF_DEPRECATED;
672  inline void set_imported_service_id(int index, ::google::protobuf::uint32 value) PROTOBUF_DEPRECATED;
673  inline void add_imported_service_id(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED;
674  inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
675  imported_service_id() const PROTOBUF_DEPRECATED;
676  inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
677  mutable_imported_service_id() PROTOBUF_DEPRECATED;
678 
679  // @@protoc_insertion_point(class_scope:bgs.protocol.connection.v1.BindResponse)
680  private:
681 
682  ::google::protobuf::UnknownFieldSet _unknown_fields_;
683 
684  ::google::protobuf::uint32 _has_bits_[1];
685  mutable int _cached_size_;
686  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > imported_service_id_;
687  mutable int _imported_service_id_cached_byte_size_;
688  friend void TC_SHARED_API protobuf_AddDesc_connection_5fservice_2eproto();
689  friend void protobuf_AssignDesc_connection_5fservice_2eproto();
690  friend void protobuf_ShutdownFile_connection_5fservice_2eproto();
691 
692  void InitAsDefaultInstance();
693  static BindResponse* default_instance_;
694 };
695 // -------------------------------------------------------------------
696 
697 class TC_SHARED_API EchoRequest : public ::google::protobuf::Message {
698  public:
699  EchoRequest();
700  virtual ~EchoRequest();
701 
702  EchoRequest(const EchoRequest& from);
703 
704  inline EchoRequest& operator=(const EchoRequest& from) {
705  CopyFrom(from);
706  return *this;
707  }
708 
709  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
710  return _unknown_fields_;
711  }
712 
713  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
714  return &_unknown_fields_;
715  }
716 
717  static const ::google::protobuf::Descriptor* descriptor();
718  static const EchoRequest& default_instance();
719 
720  void Swap(EchoRequest* other);
721 
722  // implements Message ----------------------------------------------
723 
724  EchoRequest* New() const;
725  void CopyFrom(const ::google::protobuf::Message& from);
726  void MergeFrom(const ::google::protobuf::Message& from);
727  void CopyFrom(const EchoRequest& from);
728  void MergeFrom(const EchoRequest& from);
729  void Clear();
730  bool IsInitialized() const;
731 
732  int ByteSize() const;
733  bool MergePartialFromCodedStream(
735  void SerializeWithCachedSizes(
737  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
738  int GetCachedSize() const { return _cached_size_; }
739  private:
740  void SharedCtor();
741  void SharedDtor();
742  void SetCachedSize(int size) const;
743  public:
744  ::google::protobuf::Metadata GetMetadata() const;
745 
746  // nested types ----------------------------------------------------
747 
748  // accessors -------------------------------------------------------
749 
750  // optional fixed64 time = 1;
751  inline bool has_time() const;
752  inline void clear_time();
753  static const int kTimeFieldNumber = 1;
755  inline void set_time(::google::protobuf::uint64 value);
756 
757  // optional bool network_only = 2 [default = false];
758  inline bool has_network_only() const;
759  inline void clear_network_only();
760  static const int kNetworkOnlyFieldNumber = 2;
761  inline bool network_only() const;
762  inline void set_network_only(bool value);
763 
764  // optional bytes payload = 3;
765  inline bool has_payload() const;
766  inline void clear_payload();
767  static const int kPayloadFieldNumber = 3;
768  inline const ::std::string& payload() const;
769  inline void set_payload(const ::std::string& value);
770  inline void set_payload(const char* value);
771  inline void set_payload(const void* value, size_t size);
772  inline ::std::string* mutable_payload();
773  inline ::std::string* release_payload();
774  inline void set_allocated_payload(::std::string* payload);
775 
776  // @@protoc_insertion_point(class_scope:bgs.protocol.connection.v1.EchoRequest)
777  private:
778  inline void set_has_time();
779  inline void clear_has_time();
780  inline void set_has_network_only();
781  inline void clear_has_network_only();
782  inline void set_has_payload();
783  inline void clear_has_payload();
784 
786 
788  mutable int _cached_size_;
790  ::std::string* payload_;
795 
796  void InitAsDefaultInstance();
798 };
799 // -------------------------------------------------------------------
800 
802  public:
803  EchoResponse();
804  virtual ~EchoResponse();
805 
806  EchoResponse(const EchoResponse& from);
807 
808  inline EchoResponse& operator=(const EchoResponse& from) {
809  CopyFrom(from);
810  return *this;
811  }
812 
813  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
814  return _unknown_fields_;
815  }
816 
817  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
818  return &_unknown_fields_;
819  }
820 
821  static const ::google::protobuf::Descriptor* descriptor();
822  static const EchoResponse& default_instance();
823 
824  void Swap(EchoResponse* other);
825 
826  // implements Message ----------------------------------------------
827 
828  EchoResponse* New() const;
829  void CopyFrom(const ::google::protobuf::Message& from);
830  void MergeFrom(const ::google::protobuf::Message& from);
831  void CopyFrom(const EchoResponse& from);
832  void MergeFrom(const EchoResponse& from);
833  void Clear();
834  bool IsInitialized() const;
835 
836  int ByteSize() const;
837  bool MergePartialFromCodedStream(
839  void SerializeWithCachedSizes(
841  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
842  int GetCachedSize() const { return _cached_size_; }
843  private:
844  void SharedCtor();
845  void SharedDtor();
846  void SetCachedSize(int size) const;
847  public:
848  ::google::protobuf::Metadata GetMetadata() const;
849 
850  // nested types ----------------------------------------------------
851 
852  // accessors -------------------------------------------------------
853 
854  // optional fixed64 time = 1;
855  inline bool has_time() const;
856  inline void clear_time();
857  static const int kTimeFieldNumber = 1;
859  inline void set_time(::google::protobuf::uint64 value);
860 
861  // optional bytes payload = 2;
862  inline bool has_payload() const;
863  inline void clear_payload();
864  static const int kPayloadFieldNumber = 2;
865  inline const ::std::string& payload() const;
866  inline void set_payload(const ::std::string& value);
867  inline void set_payload(const char* value);
868  inline void set_payload(const void* value, size_t size);
869  inline ::std::string* mutable_payload();
870  inline ::std::string* release_payload();
871  inline void set_allocated_payload(::std::string* payload);
872 
873  // @@protoc_insertion_point(class_scope:bgs.protocol.connection.v1.EchoResponse)
874  private:
875  inline void set_has_time();
876  inline void clear_has_time();
877  inline void set_has_payload();
878  inline void clear_has_payload();
879 
881 
883  mutable int _cached_size_;
885  ::std::string* payload_;
889 
890  void InitAsDefaultInstance();
892 };
893 // -------------------------------------------------------------------
894 
896  public:
898  virtual ~DisconnectRequest();
899 
901 
903  CopyFrom(from);
904  return *this;
905  }
906 
907  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
908  return _unknown_fields_;
909  }
910 
911  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
912  return &_unknown_fields_;
913  }
914 
915  static const ::google::protobuf::Descriptor* descriptor();
916  static const DisconnectRequest& default_instance();
917 
918  void Swap(DisconnectRequest* other);
919 
920  // implements Message ----------------------------------------------
921 
922  DisconnectRequest* New() const;
923  void CopyFrom(const ::google::protobuf::Message& from);
924  void MergeFrom(const ::google::protobuf::Message& from);
925  void CopyFrom(const DisconnectRequest& from);
926  void MergeFrom(const DisconnectRequest& from);
927  void Clear();
928  bool IsInitialized() const;
929 
930  int ByteSize() const;
931  bool MergePartialFromCodedStream(
933  void SerializeWithCachedSizes(
935  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
936  int GetCachedSize() const { return _cached_size_; }
937  private:
938  void SharedCtor();
939  void SharedDtor();
940  void SetCachedSize(int size) const;
941  public:
942  ::google::protobuf::Metadata GetMetadata() const;
943 
944  // nested types ----------------------------------------------------
945 
946  // accessors -------------------------------------------------------
947 
948  // required uint32 error_code = 1;
949  inline bool has_error_code() const;
950  inline void clear_error_code();
951  static const int kErrorCodeFieldNumber = 1;
952  inline ::google::protobuf::uint32 error_code() const;
953  inline void set_error_code(::google::protobuf::uint32 value);
954 
955  // @@protoc_insertion_point(class_scope:bgs.protocol.connection.v1.DisconnectRequest)
956  private:
957  inline void set_has_error_code();
958  inline void clear_has_error_code();
959 
961 
963  mutable int _cached_size_;
968 
969  void InitAsDefaultInstance();
971 };
972 // -------------------------------------------------------------------
973 
975  public:
977  virtual ~DisconnectNotification();
978 
980 
982  CopyFrom(from);
983  return *this;
984  }
985 
986  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
987  return _unknown_fields_;
988  }
989 
990  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
991  return &_unknown_fields_;
992  }
993 
994  static const ::google::protobuf::Descriptor* descriptor();
995  static const DisconnectNotification& default_instance();
996 
997  void Swap(DisconnectNotification* other);
998 
999  // implements Message ----------------------------------------------
1000 
1001  DisconnectNotification* New() const;
1002  void CopyFrom(const ::google::protobuf::Message& from);
1003  void MergeFrom(const ::google::protobuf::Message& from);
1004  void CopyFrom(const DisconnectNotification& from);
1005  void MergeFrom(const DisconnectNotification& from);
1006  void Clear();
1007  bool IsInitialized() const;
1008 
1009  int ByteSize() const;
1010  bool MergePartialFromCodedStream(
1012  void SerializeWithCachedSizes(
1014  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1015  int GetCachedSize() const { return _cached_size_; }
1016  private:
1017  void SharedCtor();
1018  void SharedDtor();
1019  void SetCachedSize(int size) const;
1020  public:
1021  ::google::protobuf::Metadata GetMetadata() const;
1022 
1023  // nested types ----------------------------------------------------
1024 
1025  // accessors -------------------------------------------------------
1026 
1027  // required uint32 error_code = 1;
1028  inline bool has_error_code() const;
1029  inline void clear_error_code();
1030  static const int kErrorCodeFieldNumber = 1;
1031  inline ::google::protobuf::uint32 error_code() const;
1032  inline void set_error_code(::google::protobuf::uint32 value);
1033 
1034  // optional string reason = 2;
1035  inline bool has_reason() const;
1036  inline void clear_reason();
1037  static const int kReasonFieldNumber = 2;
1038  inline const ::std::string& reason() const;
1039  inline void set_reason(const ::std::string& value);
1040  inline void set_reason(const char* value);
1041  inline void set_reason(const char* value, size_t size);
1042  inline ::std::string* mutable_reason();
1043  inline ::std::string* release_reason();
1044  inline void set_allocated_reason(::std::string* reason);
1045 
1046  // @@protoc_insertion_point(class_scope:bgs.protocol.connection.v1.DisconnectNotification)
1047  private:
1048  inline void set_has_error_code();
1049  inline void clear_has_error_code();
1050  inline void set_has_reason();
1051  inline void clear_has_reason();
1052 
1054 
1056  mutable int _cached_size_;
1057  ::std::string* reason_;
1062 
1063  void InitAsDefaultInstance();
1065 };
1066 // -------------------------------------------------------------------
1067 
1069  public:
1070  EncryptRequest();
1071  virtual ~EncryptRequest();
1072 
1073  EncryptRequest(const EncryptRequest& from);
1074 
1075  inline EncryptRequest& operator=(const EncryptRequest& from) {
1076  CopyFrom(from);
1077  return *this;
1078  }
1079 
1080  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1081  return _unknown_fields_;
1082  }
1083 
1084  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1085  return &_unknown_fields_;
1086  }
1087 
1088  static const ::google::protobuf::Descriptor* descriptor();
1089  static const EncryptRequest& default_instance();
1090 
1091  void Swap(EncryptRequest* other);
1092 
1093  // implements Message ----------------------------------------------
1094 
1095  EncryptRequest* New() const;
1096  void CopyFrom(const ::google::protobuf::Message& from);
1097  void MergeFrom(const ::google::protobuf::Message& from);
1098  void CopyFrom(const EncryptRequest& from);
1099  void MergeFrom(const EncryptRequest& from);
1100  void Clear();
1101  bool IsInitialized() const;
1102 
1103  int ByteSize() const;
1104  bool MergePartialFromCodedStream(
1106  void SerializeWithCachedSizes(
1108  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1109  int GetCachedSize() const { return _cached_size_; }
1110  private:
1111  void SharedCtor();
1112  void SharedDtor();
1113  void SetCachedSize(int size) const;
1114  public:
1115  ::google::protobuf::Metadata GetMetadata() const;
1116 
1117  // nested types ----------------------------------------------------
1118 
1119  // accessors -------------------------------------------------------
1120 
1121  // @@protoc_insertion_point(class_scope:bgs.protocol.connection.v1.EncryptRequest)
1122  private:
1123 
1125 
1127  mutable int _cached_size_;
1131 
1132  void InitAsDefaultInstance();
1134 };
1135 // ===================================================================
1136 
1138 {
1139  public:
1140 
1141  explicit ConnectionService(bool use_original_hash);
1142  virtual ~ConnectionService();
1143 
1144  typedef std::integral_constant<uint32, 0x65446991u> OriginalHash;
1145  typedef std::integral_constant<uint32, 0x2782094Bu> NameHash;
1146 
1147  static google::protobuf::ServiceDescriptor const* descriptor();
1148 
1149  // client methods --------------------------------------------------
1150 
1151  void Connect(::bgs::protocol::connection::v1::ConnectRequest const* request, std::function<void(::bgs::protocol::connection::v1::ConnectResponse const*)> responseCallback);
1152  void Bind(::bgs::protocol::connection::v1::BindRequest const* request, std::function<void(::bgs::protocol::connection::v1::BindResponse const*)> responseCallback);
1153  void Echo(::bgs::protocol::connection::v1::EchoRequest const* request, std::function<void(::bgs::protocol::connection::v1::EchoResponse const*)> responseCallback);
1154  void ForceDisconnect(::bgs::protocol::connection::v1::DisconnectNotification const* request);
1155  void KeepAlive(::bgs::protocol::NoData const* request);
1156  void Encrypt(::bgs::protocol::connection::v1::EncryptRequest const* request, std::function<void(::bgs::protocol::NoData const*)> responseCallback);
1157  void RequestDisconnect(::bgs::protocol::connection::v1::DisconnectRequest const* request);
1158  // server methods --------------------------------------------------
1159 
1160  void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) override final;
1161 
1162  protected:
1164  virtual uint32 HandleBind(::bgs::protocol::connection::v1::BindRequest const* request, ::bgs::protocol::connection::v1::BindResponse* response);
1165  virtual uint32 HandleEcho(::bgs::protocol::connection::v1::EchoRequest const* request, ::bgs::protocol::connection::v1::EchoResponse* response);
1166  virtual uint32 HandleForceDisconnect(::bgs::protocol::connection::v1::DisconnectNotification const* request);
1167  virtual uint32 HandleKeepAlive(::bgs::protocol::NoData const* request);
1168  virtual uint32 HandleEncrypt(::bgs::protocol::connection::v1::EncryptRequest const* request, ::bgs::protocol::NoData* response);
1169  virtual uint32 HandleRequestDisconnect(::bgs::protocol::connection::v1::DisconnectRequest const* request);
1170 
1171  private:
1173 
1175 };
1176 
1177 // ===================================================================
1178 
1179 
1180 // ===================================================================
1181 
1182 // ConnectRequest
1183 
1184 // optional .bgs.protocol.ProcessId client_id = 1;
1185 inline bool ConnectRequest::has_client_id() const {
1186  return (_has_bits_[0] & 0x00000001u) != 0;
1187 }
1189  _has_bits_[0] |= 0x00000001u;
1190 }
1192  _has_bits_[0] &= ~0x00000001u;
1193 }
1195  if (client_id_ != NULL) client_id_->::bgs::protocol::ProcessId::Clear();
1196  clear_has_client_id();
1197 }
1198 inline const ::bgs::protocol::ProcessId& ConnectRequest::client_id() const {
1199  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ConnectRequest.client_id)
1200  return client_id_ != NULL ? *client_id_ : *default_instance_->client_id_;
1201 }
1202 inline ::bgs::protocol::ProcessId* ConnectRequest::mutable_client_id() {
1203  set_has_client_id();
1204  if (client_id_ == NULL) client_id_ = new ::bgs::protocol::ProcessId;
1205  // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.ConnectRequest.client_id)
1206  return client_id_;
1207 }
1208 inline ::bgs::protocol::ProcessId* ConnectRequest::release_client_id() {
1209  clear_has_client_id();
1210  ::bgs::protocol::ProcessId* temp = client_id_;
1211  client_id_ = NULL;
1212  return temp;
1213 }
1215  delete client_id_;
1216  client_id_ = client_id;
1217  if (client_id) {
1218  set_has_client_id();
1219  } else {
1220  clear_has_client_id();
1221  }
1222  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.ConnectRequest.client_id)
1223 }
1224 
1225 // optional .bgs.protocol.connection.v1.BindRequest bind_request = 2;
1227  return (_has_bits_[0] & 0x00000002u) != 0;
1228 }
1230  _has_bits_[0] |= 0x00000002u;
1231 }
1233  _has_bits_[0] &= ~0x00000002u;
1234 }
1236  if (bind_request_ != NULL) bind_request_->::bgs::protocol::connection::v1::BindRequest::Clear();
1237  clear_has_bind_request();
1238 }
1239 inline const ::bgs::protocol::connection::v1::BindRequest& ConnectRequest::bind_request() const {
1240  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ConnectRequest.bind_request)
1241  return bind_request_ != NULL ? *bind_request_ : *default_instance_->bind_request_;
1242 }
1243 inline ::bgs::protocol::connection::v1::BindRequest* ConnectRequest::mutable_bind_request() {
1244  set_has_bind_request();
1245  if (bind_request_ == NULL) bind_request_ = new ::bgs::protocol::connection::v1::BindRequest;
1246  // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.ConnectRequest.bind_request)
1247  return bind_request_;
1248 }
1249 inline ::bgs::protocol::connection::v1::BindRequest* ConnectRequest::release_bind_request() {
1250  clear_has_bind_request();
1251  ::bgs::protocol::connection::v1::BindRequest* temp = bind_request_;
1252  bind_request_ = NULL;
1253  return temp;
1254 }
1256  delete bind_request_;
1257  bind_request_ = bind_request;
1258  if (bind_request) {
1259  set_has_bind_request();
1260  } else {
1261  clear_has_bind_request();
1262  }
1263  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.ConnectRequest.bind_request)
1264 }
1265 
1266 // optional bool use_bindless_rpc = 3 [default = true];
1268  return (_has_bits_[0] & 0x00000004u) != 0;
1269 }
1271  _has_bits_[0] |= 0x00000004u;
1272 }
1274  _has_bits_[0] &= ~0x00000004u;
1275 }
1277  use_bindless_rpc_ = true;
1278  clear_has_use_bindless_rpc();
1279 }
1281  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ConnectRequest.use_bindless_rpc)
1282  return use_bindless_rpc_;
1283 }
1285  set_has_use_bindless_rpc();
1286  use_bindless_rpc_ = value;
1287  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.ConnectRequest.use_bindless_rpc)
1288 }
1289 
1290 // -------------------------------------------------------------------
1291 
1292 // ConnectionMeteringContentHandles
1293 
1294 // repeated .bgs.protocol.ContentHandle content_handle = 1;
1296  return content_handle_.size();
1297 }
1299  content_handle_.Clear();
1300 }
1301 inline const ::bgs::protocol::ContentHandle& ConnectionMeteringContentHandles::content_handle(int index) const {
1302  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ConnectionMeteringContentHandles.content_handle)
1303  return content_handle_.Get(index);
1304 }
1305 inline ::bgs::protocol::ContentHandle* ConnectionMeteringContentHandles::mutable_content_handle(int index) {
1306  // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.ConnectionMeteringContentHandles.content_handle)
1307  return content_handle_.Mutable(index);
1308 }
1309 inline ::bgs::protocol::ContentHandle* ConnectionMeteringContentHandles::add_content_handle() {
1310  // @@protoc_insertion_point(field_add:bgs.protocol.connection.v1.ConnectionMeteringContentHandles.content_handle)
1311  return content_handle_.Add();
1312 }
1313 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ContentHandle >&
1315  // @@protoc_insertion_point(field_list:bgs.protocol.connection.v1.ConnectionMeteringContentHandles.content_handle)
1316  return content_handle_;
1317 }
1318 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ContentHandle >*
1320  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.connection.v1.ConnectionMeteringContentHandles.content_handle)
1321  return &content_handle_;
1322 }
1323 
1324 // -------------------------------------------------------------------
1325 
1326 // ConnectResponse
1327 
1328 // required .bgs.protocol.ProcessId server_id = 1;
1329 inline bool ConnectResponse::has_server_id() const {
1330  return (_has_bits_[0] & 0x00000001u) != 0;
1331 }
1333  _has_bits_[0] |= 0x00000001u;
1334 }
1336  _has_bits_[0] &= ~0x00000001u;
1337 }
1339  if (server_id_ != NULL) server_id_->::bgs::protocol::ProcessId::Clear();
1340  clear_has_server_id();
1341 }
1342 inline const ::bgs::protocol::ProcessId& ConnectResponse::server_id() const {
1343  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ConnectResponse.server_id)
1344  return server_id_ != NULL ? *server_id_ : *default_instance_->server_id_;
1345 }
1346 inline ::bgs::protocol::ProcessId* ConnectResponse::mutable_server_id() {
1347  set_has_server_id();
1348  if (server_id_ == NULL) server_id_ = new ::bgs::protocol::ProcessId;
1349  // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.ConnectResponse.server_id)
1350  return server_id_;
1351 }
1352 inline ::bgs::protocol::ProcessId* ConnectResponse::release_server_id() {
1353  clear_has_server_id();
1354  ::bgs::protocol::ProcessId* temp = server_id_;
1355  server_id_ = NULL;
1356  return temp;
1357 }
1359  delete server_id_;
1360  server_id_ = server_id;
1361  if (server_id) {
1362  set_has_server_id();
1363  } else {
1364  clear_has_server_id();
1365  }
1366  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.ConnectResponse.server_id)
1367 }
1368 
1369 // optional .bgs.protocol.ProcessId client_id = 2;
1370 inline bool ConnectResponse::has_client_id() const {
1371  return (_has_bits_[0] & 0x00000002u) != 0;
1372 }
1374  _has_bits_[0] |= 0x00000002u;
1375 }
1377  _has_bits_[0] &= ~0x00000002u;
1378 }
1380  if (client_id_ != NULL) client_id_->::bgs::protocol::ProcessId::Clear();
1381  clear_has_client_id();
1382 }
1383 inline const ::bgs::protocol::ProcessId& ConnectResponse::client_id() const {
1384  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ConnectResponse.client_id)
1385  return client_id_ != NULL ? *client_id_ : *default_instance_->client_id_;
1386 }
1387 inline ::bgs::protocol::ProcessId* ConnectResponse::mutable_client_id() {
1388  set_has_client_id();
1389  if (client_id_ == NULL) client_id_ = new ::bgs::protocol::ProcessId;
1390  // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.ConnectResponse.client_id)
1391  return client_id_;
1392 }
1393 inline ::bgs::protocol::ProcessId* ConnectResponse::release_client_id() {
1394  clear_has_client_id();
1395  ::bgs::protocol::ProcessId* temp = client_id_;
1396  client_id_ = NULL;
1397  return temp;
1398 }
1400  delete client_id_;
1401  client_id_ = client_id;
1402  if (client_id) {
1403  set_has_client_id();
1404  } else {
1405  clear_has_client_id();
1406  }
1407  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.ConnectResponse.client_id)
1408 }
1409 
1410 // optional uint32 bind_result = 3;
1412  return (_has_bits_[0] & 0x00000004u) != 0;
1413 }
1415  _has_bits_[0] |= 0x00000004u;
1416 }
1418  _has_bits_[0] &= ~0x00000004u;
1419 }
1421  bind_result_ = 0u;
1422  clear_has_bind_result();
1423 }
1425  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ConnectResponse.bind_result)
1426  return bind_result_;
1427 }
1429  set_has_bind_result();
1430  bind_result_ = value;
1431  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.ConnectResponse.bind_result)
1432 }
1433 
1434 // optional .bgs.protocol.connection.v1.BindResponse bind_response = 4;
1436  return (_has_bits_[0] & 0x00000008u) != 0;
1437 }
1439  _has_bits_[0] |= 0x00000008u;
1440 }
1442  _has_bits_[0] &= ~0x00000008u;
1443 }
1445  if (bind_response_ != NULL) bind_response_->::bgs::protocol::connection::v1::BindResponse::Clear();
1446  clear_has_bind_response();
1447 }
1448 inline const ::bgs::protocol::connection::v1::BindResponse& ConnectResponse::bind_response() const {
1449  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ConnectResponse.bind_response)
1450  return bind_response_ != NULL ? *bind_response_ : *default_instance_->bind_response_;
1451 }
1452 inline ::bgs::protocol::connection::v1::BindResponse* ConnectResponse::mutable_bind_response() {
1453  set_has_bind_response();
1454  if (bind_response_ == NULL) bind_response_ = new ::bgs::protocol::connection::v1::BindResponse;
1455  // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.ConnectResponse.bind_response)
1456  return bind_response_;
1457 }
1458 inline ::bgs::protocol::connection::v1::BindResponse* ConnectResponse::release_bind_response() {
1459  clear_has_bind_response();
1460  ::bgs::protocol::connection::v1::BindResponse* temp = bind_response_;
1461  bind_response_ = NULL;
1462  return temp;
1463 }
1465  delete bind_response_;
1466  bind_response_ = bind_response;
1467  if (bind_response) {
1468  set_has_bind_response();
1469  } else {
1470  clear_has_bind_response();
1471  }
1472  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.ConnectResponse.bind_response)
1473 }
1474 
1475 // optional .bgs.protocol.connection.v1.ConnectionMeteringContentHandles content_handle_array = 5;
1477  return (_has_bits_[0] & 0x00000010u) != 0;
1478 }
1480  _has_bits_[0] |= 0x00000010u;
1481 }
1483  _has_bits_[0] &= ~0x00000010u;
1484 }
1486  if (content_handle_array_ != NULL) content_handle_array_->::bgs::protocol::connection::v1::ConnectionMeteringContentHandles::Clear();
1487  clear_has_content_handle_array();
1488 }
1489 inline const ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles& ConnectResponse::content_handle_array() const {
1490  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ConnectResponse.content_handle_array)
1491  return content_handle_array_ != NULL ? *content_handle_array_ : *default_instance_->content_handle_array_;
1492 }
1493 inline ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* ConnectResponse::mutable_content_handle_array() {
1494  set_has_content_handle_array();
1495  if (content_handle_array_ == NULL) content_handle_array_ = new ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles;
1496  // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.ConnectResponse.content_handle_array)
1497  return content_handle_array_;
1498 }
1499 inline ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* ConnectResponse::release_content_handle_array() {
1500  clear_has_content_handle_array();
1502  content_handle_array_ = NULL;
1503  return temp;
1504 }
1506  delete content_handle_array_;
1507  content_handle_array_ = content_handle_array;
1508  if (content_handle_array) {
1509  set_has_content_handle_array();
1510  } else {
1511  clear_has_content_handle_array();
1512  }
1513  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.ConnectResponse.content_handle_array)
1514 }
1515 
1516 // optional uint64 server_time = 6;
1518  return (_has_bits_[0] & 0x00000020u) != 0;
1519 }
1521  _has_bits_[0] |= 0x00000020u;
1522 }
1524  _has_bits_[0] &= ~0x00000020u;
1525 }
1527  server_time_ = GOOGLE_ULONGLONG(0);
1528  clear_has_server_time();
1529 }
1531  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ConnectResponse.server_time)
1532  return server_time_;
1533 }
1535  set_has_server_time();
1536  server_time_ = value;
1537  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.ConnectResponse.server_time)
1538 }
1539 
1540 // optional bool use_bindless_rpc = 7 [default = false];
1542  return (_has_bits_[0] & 0x00000040u) != 0;
1543 }
1545  _has_bits_[0] |= 0x00000040u;
1546 }
1548  _has_bits_[0] &= ~0x00000040u;
1549 }
1551  use_bindless_rpc_ = false;
1552  clear_has_use_bindless_rpc();
1553 }
1555  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ConnectResponse.use_bindless_rpc)
1556  return use_bindless_rpc_;
1557 }
1559  set_has_use_bindless_rpc();
1560  use_bindless_rpc_ = value;
1561  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.ConnectResponse.use_bindless_rpc)
1562 }
1563 
1564 // optional .bgs.protocol.connection.v1.ConnectionMeteringContentHandles binary_content_handle_array = 8;
1566  return (_has_bits_[0] & 0x00000080u) != 0;
1567 }
1569  _has_bits_[0] |= 0x00000080u;
1570 }
1572  _has_bits_[0] &= ~0x00000080u;
1573 }
1575  if (binary_content_handle_array_ != NULL) binary_content_handle_array_->::bgs::protocol::connection::v1::ConnectionMeteringContentHandles::Clear();
1576  clear_has_binary_content_handle_array();
1577 }
1578 inline const ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles& ConnectResponse::binary_content_handle_array() const {
1579  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.ConnectResponse.binary_content_handle_array)
1580  return binary_content_handle_array_ != NULL ? *binary_content_handle_array_ : *default_instance_->binary_content_handle_array_;
1581 }
1582 inline ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* ConnectResponse::mutable_binary_content_handle_array() {
1583  set_has_binary_content_handle_array();
1584  if (binary_content_handle_array_ == NULL) binary_content_handle_array_ = new ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles;
1585  // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.ConnectResponse.binary_content_handle_array)
1586  return binary_content_handle_array_;
1587 }
1588 inline ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* ConnectResponse::release_binary_content_handle_array() {
1589  clear_has_binary_content_handle_array();
1590  ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* temp = binary_content_handle_array_;
1591  binary_content_handle_array_ = NULL;
1592  return temp;
1593 }
1595  delete binary_content_handle_array_;
1596  binary_content_handle_array_ = binary_content_handle_array;
1597  if (binary_content_handle_array) {
1598  set_has_binary_content_handle_array();
1599  } else {
1600  clear_has_binary_content_handle_array();
1601  }
1602  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.ConnectResponse.binary_content_handle_array)
1603 }
1604 
1605 // -------------------------------------------------------------------
1606 
1607 // BoundService
1608 
1609 // required fixed32 hash = 1;
1610 inline bool BoundService::has_hash() const {
1611  return (_has_bits_[0] & 0x00000001u) != 0;
1612 }
1614  _has_bits_[0] |= 0x00000001u;
1615 }
1617  _has_bits_[0] &= ~0x00000001u;
1618 }
1620  hash_ = 0u;
1621  clear_has_hash();
1622 }
1624  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.BoundService.hash)
1625  return hash_;
1626 }
1628  set_has_hash();
1629  hash_ = value;
1630  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.BoundService.hash)
1631 }
1632 
1633 // required uint32 id = 2;
1634 inline bool BoundService::has_id() const {
1635  return (_has_bits_[0] & 0x00000002u) != 0;
1636 }
1638  _has_bits_[0] |= 0x00000002u;
1639 }
1641  _has_bits_[0] &= ~0x00000002u;
1642 }
1643 inline void BoundService::clear_id() {
1644  id_ = 0u;
1645  clear_has_id();
1646 }
1648  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.BoundService.id)
1649  return id_;
1650 }
1652  set_has_id();
1653  id_ = value;
1654  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.BoundService.id)
1655 }
1656 
1657 // -------------------------------------------------------------------
1658 
1659 // BindRequest
1660 
1661 // repeated fixed32 deprecated_imported_service_hash = 1 [packed = true, deprecated = true];
1663  return deprecated_imported_service_hash_.size();
1664 }
1666  deprecated_imported_service_hash_.Clear();
1667 }
1669  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.BindRequest.deprecated_imported_service_hash)
1670  return deprecated_imported_service_hash_.Get(index);
1671 }
1673  deprecated_imported_service_hash_.Set(index, value);
1674  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.BindRequest.deprecated_imported_service_hash)
1675 }
1677  deprecated_imported_service_hash_.Add(value);
1678  // @@protoc_insertion_point(field_add:bgs.protocol.connection.v1.BindRequest.deprecated_imported_service_hash)
1679 }
1680 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1682  // @@protoc_insertion_point(field_list:bgs.protocol.connection.v1.BindRequest.deprecated_imported_service_hash)
1683  return deprecated_imported_service_hash_;
1684 }
1685 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1687  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.connection.v1.BindRequest.deprecated_imported_service_hash)
1688  return &deprecated_imported_service_hash_;
1689 }
1690 
1691 // repeated .bgs.protocol.connection.v1.BoundService deprecated_exported_service = 2 [deprecated = true];
1693  return deprecated_exported_service_.size();
1694 }
1696  deprecated_exported_service_.Clear();
1697 }
1698 inline const ::bgs::protocol::connection::v1::BoundService& BindRequest::deprecated_exported_service(int index) const {
1699  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.BindRequest.deprecated_exported_service)
1700  return deprecated_exported_service_.Get(index);
1701 }
1702 inline ::bgs::protocol::connection::v1::BoundService* BindRequest::mutable_deprecated_exported_service(int index) {
1703  // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.BindRequest.deprecated_exported_service)
1704  return deprecated_exported_service_.Mutable(index);
1705 }
1706 inline ::bgs::protocol::connection::v1::BoundService* BindRequest::add_deprecated_exported_service() {
1707  // @@protoc_insertion_point(field_add:bgs.protocol.connection.v1.BindRequest.deprecated_exported_service)
1708  return deprecated_exported_service_.Add();
1709 }
1710 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService >&
1712  // @@protoc_insertion_point(field_list:bgs.protocol.connection.v1.BindRequest.deprecated_exported_service)
1713  return deprecated_exported_service_;
1714 }
1715 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService >*
1717  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.connection.v1.BindRequest.deprecated_exported_service)
1718  return &deprecated_exported_service_;
1719 }
1720 
1721 // repeated .bgs.protocol.connection.v1.BoundService exported_service = 3;
1723  return exported_service_.size();
1724 }
1726  exported_service_.Clear();
1727 }
1728 inline const ::bgs::protocol::connection::v1::BoundService& BindRequest::exported_service(int index) const {
1729  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.BindRequest.exported_service)
1730  return exported_service_.Get(index);
1731 }
1732 inline ::bgs::protocol::connection::v1::BoundService* BindRequest::mutable_exported_service(int index) {
1733  // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.BindRequest.exported_service)
1734  return exported_service_.Mutable(index);
1735 }
1736 inline ::bgs::protocol::connection::v1::BoundService* BindRequest::add_exported_service() {
1737  // @@protoc_insertion_point(field_add:bgs.protocol.connection.v1.BindRequest.exported_service)
1738  return exported_service_.Add();
1739 }
1740 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService >&
1742  // @@protoc_insertion_point(field_list:bgs.protocol.connection.v1.BindRequest.exported_service)
1743  return exported_service_;
1744 }
1745 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService >*
1747  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.connection.v1.BindRequest.exported_service)
1748  return &exported_service_;
1749 }
1750 
1751 // repeated .bgs.protocol.connection.v1.BoundService imported_service = 4;
1753  return imported_service_.size();
1754 }
1756  imported_service_.Clear();
1757 }
1758 inline const ::bgs::protocol::connection::v1::BoundService& BindRequest::imported_service(int index) const {
1759  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.BindRequest.imported_service)
1760  return imported_service_.Get(index);
1761 }
1762 inline ::bgs::protocol::connection::v1::BoundService* BindRequest::mutable_imported_service(int index) {
1763  // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.BindRequest.imported_service)
1764  return imported_service_.Mutable(index);
1765 }
1766 inline ::bgs::protocol::connection::v1::BoundService* BindRequest::add_imported_service() {
1767  // @@protoc_insertion_point(field_add:bgs.protocol.connection.v1.BindRequest.imported_service)
1768  return imported_service_.Add();
1769 }
1770 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService >&
1772  // @@protoc_insertion_point(field_list:bgs.protocol.connection.v1.BindRequest.imported_service)
1773  return imported_service_;
1774 }
1775 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService >*
1777  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.connection.v1.BindRequest.imported_service)
1778  return &imported_service_;
1779 }
1780 
1781 // -------------------------------------------------------------------
1782 
1783 // BindResponse
1784 
1785 // repeated uint32 imported_service_id = 1 [packed = true, deprecated = true];
1787  return imported_service_id_.size();
1788 }
1790  imported_service_id_.Clear();
1791 }
1793  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.BindResponse.imported_service_id)
1794  return imported_service_id_.Get(index);
1795 }
1797  imported_service_id_.Set(index, value);
1798  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.BindResponse.imported_service_id)
1799 }
1801  imported_service_id_.Add(value);
1802  // @@protoc_insertion_point(field_add:bgs.protocol.connection.v1.BindResponse.imported_service_id)
1803 }
1804 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1806  // @@protoc_insertion_point(field_list:bgs.protocol.connection.v1.BindResponse.imported_service_id)
1807  return imported_service_id_;
1808 }
1809 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1811  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.connection.v1.BindResponse.imported_service_id)
1812  return &imported_service_id_;
1813 }
1814 
1815 // -------------------------------------------------------------------
1816 
1817 // EchoRequest
1818 
1819 // optional fixed64 time = 1;
1820 inline bool EchoRequest::has_time() const {
1821  return (_has_bits_[0] & 0x00000001u) != 0;
1822 }
1824  _has_bits_[0] |= 0x00000001u;
1825 }
1827  _has_bits_[0] &= ~0x00000001u;
1828 }
1830  time_ = GOOGLE_ULONGLONG(0);
1831  clear_has_time();
1832 }
1834  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.EchoRequest.time)
1835  return time_;
1836 }
1838  set_has_time();
1839  time_ = value;
1840  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.EchoRequest.time)
1841 }
1842 
1843 // optional bool network_only = 2 [default = false];
1844 inline bool EchoRequest::has_network_only() const {
1845  return (_has_bits_[0] & 0x00000002u) != 0;
1846 }
1848  _has_bits_[0] |= 0x00000002u;
1849 }
1851  _has_bits_[0] &= ~0x00000002u;
1852 }
1854  network_only_ = false;
1855  clear_has_network_only();
1856 }
1857 inline bool EchoRequest::network_only() const {
1858  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.EchoRequest.network_only)
1859  return network_only_;
1860 }
1862  set_has_network_only();
1863  network_only_ = value;
1864  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.EchoRequest.network_only)
1865 }
1866 
1867 // optional bytes payload = 3;
1868 inline bool EchoRequest::has_payload() const {
1869  return (_has_bits_[0] & 0x00000004u) != 0;
1870 }
1872  _has_bits_[0] |= 0x00000004u;
1873 }
1875  _has_bits_[0] &= ~0x00000004u;
1876 }
1879  payload_->clear();
1880  }
1881  clear_has_payload();
1882 }
1883 inline const ::std::string& EchoRequest::payload() const {
1884  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.EchoRequest.payload)
1885  return *payload_;
1886 }
1887 inline void EchoRequest::set_payload(const ::std::string& value) {
1888  set_has_payload();
1890  payload_ = new ::std::string;
1891  }
1892  payload_->assign(value);
1893  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.EchoRequest.payload)
1894 }
1895 inline void EchoRequest::set_payload(const char* value) {
1896  set_has_payload();
1898  payload_ = new ::std::string;
1899  }
1900  payload_->assign(value);
1901  // @@protoc_insertion_point(field_set_char:bgs.protocol.connection.v1.EchoRequest.payload)
1902 }
1903 inline void EchoRequest::set_payload(const void* value, size_t size) {
1904  set_has_payload();
1906  payload_ = new ::std::string;
1907  }
1908  payload_->assign(reinterpret_cast<const char*>(value), size);
1909  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.connection.v1.EchoRequest.payload)
1910 }
1911 inline ::std::string* EchoRequest::mutable_payload() {
1912  set_has_payload();
1914  payload_ = new ::std::string;
1915  }
1916  // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.EchoRequest.payload)
1917  return payload_;
1918 }
1919 inline ::std::string* EchoRequest::release_payload() {
1920  clear_has_payload();
1922  return NULL;
1923  } else {
1924  ::std::string* temp = payload_;
1925  payload_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1926  return temp;
1927  }
1928 }
1929 inline void EchoRequest::set_allocated_payload(::std::string* payload) {
1931  delete payload_;
1932  }
1933  if (payload) {
1934  set_has_payload();
1935  payload_ = payload;
1936  } else {
1937  clear_has_payload();
1938  payload_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1939  }
1940  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.EchoRequest.payload)
1941 }
1942 
1943 // -------------------------------------------------------------------
1944 
1945 // EchoResponse
1946 
1947 // optional fixed64 time = 1;
1948 inline bool EchoResponse::has_time() const {
1949  return (_has_bits_[0] & 0x00000001u) != 0;
1950 }
1952  _has_bits_[0] |= 0x00000001u;
1953 }
1955  _has_bits_[0] &= ~0x00000001u;
1956 }
1958  time_ = GOOGLE_ULONGLONG(0);
1959  clear_has_time();
1960 }
1962  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.EchoResponse.time)
1963  return time_;
1964 }
1966  set_has_time();
1967  time_ = value;
1968  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.EchoResponse.time)
1969 }
1970 
1971 // optional bytes payload = 2;
1972 inline bool EchoResponse::has_payload() const {
1973  return (_has_bits_[0] & 0x00000002u) != 0;
1974 }
1976  _has_bits_[0] |= 0x00000002u;
1977 }
1979  _has_bits_[0] &= ~0x00000002u;
1980 }
1983  payload_->clear();
1984  }
1985  clear_has_payload();
1986 }
1987 inline const ::std::string& EchoResponse::payload() const {
1988  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.EchoResponse.payload)
1989  return *payload_;
1990 }
1991 inline void EchoResponse::set_payload(const ::std::string& value) {
1992  set_has_payload();
1994  payload_ = new ::std::string;
1995  }
1996  payload_->assign(value);
1997  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.EchoResponse.payload)
1998 }
1999 inline void EchoResponse::set_payload(const char* value) {
2000  set_has_payload();
2002  payload_ = new ::std::string;
2003  }
2004  payload_->assign(value);
2005  // @@protoc_insertion_point(field_set_char:bgs.protocol.connection.v1.EchoResponse.payload)
2006 }
2007 inline void EchoResponse::set_payload(const void* value, size_t size) {
2008  set_has_payload();
2010  payload_ = new ::std::string;
2011  }
2012  payload_->assign(reinterpret_cast<const char*>(value), size);
2013  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.connection.v1.EchoResponse.payload)
2014 }
2015 inline ::std::string* EchoResponse::mutable_payload() {
2016  set_has_payload();
2018  payload_ = new ::std::string;
2019  }
2020  // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.EchoResponse.payload)
2021  return payload_;
2022 }
2023 inline ::std::string* EchoResponse::release_payload() {
2024  clear_has_payload();
2026  return NULL;
2027  } else {
2028  ::std::string* temp = payload_;
2029  payload_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2030  return temp;
2031  }
2032 }
2033 inline void EchoResponse::set_allocated_payload(::std::string* payload) {
2035  delete payload_;
2036  }
2037  if (payload) {
2038  set_has_payload();
2039  payload_ = payload;
2040  } else {
2041  clear_has_payload();
2042  payload_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2043  }
2044  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.EchoResponse.payload)
2045 }
2046 
2047 // -------------------------------------------------------------------
2048 
2049 // DisconnectRequest
2050 
2051 // required uint32 error_code = 1;
2053  return (_has_bits_[0] & 0x00000001u) != 0;
2054 }
2056  _has_bits_[0] |= 0x00000001u;
2057 }
2059  _has_bits_[0] &= ~0x00000001u;
2060 }
2062  error_code_ = 0u;
2063  clear_has_error_code();
2064 }
2066  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.DisconnectRequest.error_code)
2067  return error_code_;
2068 }
2070  set_has_error_code();
2071  error_code_ = value;
2072  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.DisconnectRequest.error_code)
2073 }
2074 
2075 // -------------------------------------------------------------------
2076 
2077 // DisconnectNotification
2078 
2079 // required uint32 error_code = 1;
2081  return (_has_bits_[0] & 0x00000001u) != 0;
2082 }
2084  _has_bits_[0] |= 0x00000001u;
2085 }
2087  _has_bits_[0] &= ~0x00000001u;
2088 }
2090  error_code_ = 0u;
2091  clear_has_error_code();
2092 }
2094  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.DisconnectNotification.error_code)
2095  return error_code_;
2096 }
2098  set_has_error_code();
2099  error_code_ = value;
2100  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.DisconnectNotification.error_code)
2101 }
2102 
2103 // optional string reason = 2;
2105  return (_has_bits_[0] & 0x00000002u) != 0;
2106 }
2108  _has_bits_[0] |= 0x00000002u;
2109 }
2111  _has_bits_[0] &= ~0x00000002u;
2112 }
2115  reason_->clear();
2116  }
2117  clear_has_reason();
2118 }
2119 inline const ::std::string& DisconnectNotification::reason() const {
2120  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.DisconnectNotification.reason)
2121  return *reason_;
2122 }
2123 inline void DisconnectNotification::set_reason(const ::std::string& value) {
2124  set_has_reason();
2126  reason_ = new ::std::string;
2127  }
2128  reason_->assign(value);
2129  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.DisconnectNotification.reason)
2130 }
2131 inline void DisconnectNotification::set_reason(const char* value) {
2132  set_has_reason();
2134  reason_ = new ::std::string;
2135  }
2136  reason_->assign(value);
2137  // @@protoc_insertion_point(field_set_char:bgs.protocol.connection.v1.DisconnectNotification.reason)
2138 }
2139 inline void DisconnectNotification::set_reason(const char* value, size_t size) {
2140  set_has_reason();
2142  reason_ = new ::std::string;
2143  }
2144  reason_->assign(reinterpret_cast<const char*>(value), size);
2145  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.connection.v1.DisconnectNotification.reason)
2146 }
2148  set_has_reason();
2150  reason_ = new ::std::string;
2151  }
2152  // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.DisconnectNotification.reason)
2153  return reason_;
2154 }
2156  clear_has_reason();
2158  return NULL;
2159  } else {
2160  ::std::string* temp = reason_;
2161  reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2162  return temp;
2163  }
2164 }
2165 inline void DisconnectNotification::set_allocated_reason(::std::string* reason) {
2167  delete reason_;
2168  }
2169  if (reason) {
2170  set_has_reason();
2171  reason_ = reason;
2172  } else {
2173  clear_has_reason();
2174  reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2175  }
2176  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.DisconnectNotification.reason)
2177 }
2178 
2179 // -------------------------------------------------------------------
2180 
2181 // EncryptRequest
2182 
2183 
2184 // @@protoc_insertion_point(namespace_scope)
2185 
2186 } // namespace v1
2187 } // namespace connection
2188 } // namespace protocol
2189 } // namespace bgs
2190 
2191 #ifndef SWIG
2192 namespace google {
2193 namespace protobuf {
2194 
2195 
2196 } // namespace google
2197 } // namespace protobuf
2198 #endif // SWIG
2199 
2200 // @@protoc_insertion_point(global_scope)
2201 
2202 #endif // PROTOBUF_connection_5fservice_2eproto__INCLUDED
int _cached_size_
Definition: connection_service.pb.h:233
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: connection_service.pb.h:504
bool has_reason() const
Definition: connection_service.pb.h:2104
const ::bgs::protocol::connection::v1::BindResponse & bind_response() const
Definition: connection_service.pb.h:1448
void clear_content_handle()
Definition: connection_service.pb.h:1298
Definition: connection_service.pb.h:59
void set_allocated_client_id(::bgs::protocol::ProcessId *client_id)
Definition: connection_service.pb.h:1214
void clear_client_id()
Definition: connection_service.pb.h:1379
inline::std::string * release_reason()
Definition: connection_service.pb.h:2155
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: connection_service.pb.h:477
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: connection_service.pb.h:174
inline::google::protobuf::uint32 id() const
Definition: connection_service.pb.h:1647
::google::protobuf::uint64 time_
Definition: connection_service.pb.h:789
::google::protobuf::uint32 id_
Definition: connection_service.pb.h:482
int GetCachedSize() const
Definition: connection_service.pb.h:100
inline::google::protobuf::uint64 time() const
Definition: connection_service.pb.h:1961
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: connection_service.pb.h:911
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: connection_service.pb.h:626
int deprecated_imported_service_hash_size() const PROTOBUF_DEPRECATED
Definition: connection_service.pb.h:1662
void clear_imported_service_id() PROTOBUF_DEPRECATED
Definition: connection_service.pb.h:1789
const ::std::string & payload() const
Definition: connection_service.pb.h:1987
const ::bgs::protocol::ProcessId & server_id() const
Definition: connection_service.pb.h:1342
void set_has_time()
Definition: connection_service.pb.h:1951
bool has_error_code() const
Definition: connection_service.pb.h:2052
void set_bind_result(::google::protobuf::uint32 value)
Definition: connection_service.pb.h:1428
inline::bgs::protocol::connection::v1::ConnectionMeteringContentHandles * release_content_handle_array()
Definition: connection_service.pb.h:1499
void set_allocated_bind_response(::bgs::protocol::connection::v1::BindResponse *bind_response)
Definition: connection_service.pb.h:1464
void clear_has_server_id()
Definition: connection_service.pb.h:1335
void set_has_bind_request()
Definition: connection_service.pb.h:1229
inline::google::protobuf::uint32 bind_result() const
Definition: connection_service.pb.h:1424
void set_has_use_bindless_rpc()
Definition: connection_service.pb.h:1270
int GetCachedSize() const
Definition: connection_service.pb.h:936
void clear_deprecated_imported_service_hash() PROTOBUF_DEPRECATED
Definition: connection_service.pb.h:1665
bool has_network_only() const
Definition: connection_service.pb.h:1844
void set_has_id()
Definition: connection_service.pb.h:1637
inline::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService > * mutable_exported_service()
Definition: connection_service.pb.h:1746
#define hash
Definition: private_namespace.h:186
inline::google::protobuf::uint32 error_code() const
Definition: connection_service.pb.h:2065
void protobuf_AssignDesc_connection_5fservice_2eproto()
Definition: Session.h:36
inline::google::protobuf::uint64 time() const
Definition: connection_service.pb.h:1833
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: connection_service.pb.h:960
Definition: connection_service.pb.h:244
void set_error_code(::google::protobuf::uint32 value)
Definition: connection_service.pb.h:2069
void set_has_client_id()
Definition: connection_service.pb.h:1188
EncryptRequest & operator=(const EncryptRequest &from)
Definition: connection_service.pb.h:1075
static EchoRequest * default_instance_
Definition: connection_service.pb.h:797
bool has_id() const
Definition: connection_service.pb.h:1634
static BoundService * default_instance_
Definition: connection_service.pb.h:488
void set_hash(::google::protobuf::uint32 value)
Definition: connection_service.pb.h:1627
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: connection_service.pb.h:508
void clear_exported_service()
Definition: connection_service.pb.h:1725
void clear_has_error_code()
Definition: connection_service.pb.h:2058
void clear_has_id()
Definition: connection_service.pb.h:1640
inline::bgs::protocol::connection::v1::BindResponse * release_bind_response()
Definition: connection_service.pb.h:1458
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService > & exported_service() const
Definition: connection_service.pb.h:1741
void set_allocated_payload(::std::string *payload)
Definition: connection_service.pb.h:2033
void clear_has_reason()
Definition: connection_service.pb.h:2110
Definition: unknown_field_set.h:74
EchoResponse & operator=(const EchoResponse &from)
Definition: connection_service.pb.h:808
void set_has_use_bindless_rpc()
Definition: connection_service.pb.h:1544
void clear_has_use_bindless_rpc()
Definition: connection_service.pb.h:1273
void clear_has_binary_content_handle_array()
Definition: connection_service.pb.h:1571
int _cached_size_
Definition: connection_service.pb.h:963
void set_has_binary_content_handle_array()
Definition: connection_service.pb.h:1568
uint8_t uint8
Definition: common.h:175
void clear_payload()
Definition: connection_service.pb.h:1877
inline::bgs::protocol::ProcessId * mutable_client_id()
Definition: connection_service.pb.h:1202
bool has_time() const
Definition: connection_service.pb.h:1820
uint32 service_hash_
Definition: connection_service.pb.h:1172
void clear_binary_content_handle_array()
Definition: connection_service.pb.h:1574
void clear_has_hash()
Definition: connection_service.pb.h:1616
::bgs::protocol::connection::v1::BindResponse * bind_response_
Definition: connection_service.pb.h:388
static ConnectRequest * default_instance_
Definition: connection_service.pb.h:158
::bgs::protocol::ProcessId * server_id_
Definition: connection_service.pb.h:386
void set_id(::google::protobuf::uint32 value)
Definition: connection_service.pb.h:1651
int GetCachedSize() const
Definition: connection_service.pb.h:1015
arena_t NULL
Definition: jemalloc_internal.h:624
bool network_only() const
Definition: connection_service.pb.h:1857
Definition: message.h:147
DisconnectRequest & operator=(const DisconnectRequest &from)
Definition: connection_service.pb.h:902
#define GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TypeName)
Definition: common.h:89
void clear_hash()
Definition: connection_service.pb.h:1619
inline::bgs::protocol::ProcessId * release_server_id()
Definition: connection_service.pb.h:1352
void set_has_payload()
Definition: connection_service.pb.h:1975
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: connection_service.pb.h:419
inline::bgs::protocol::connection::v1::ConnectionMeteringContentHandles * mutable_binary_content_handle_array()
Definition: connection_service.pb.h:1582
inline::std::string * mutable_payload()
Definition: connection_service.pb.h:2015
void clear_imported_service()
Definition: connection_service.pb.h:1755
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
Definition: connection_service.pb.h:492
::bgs::protocol::ProcessId * client_id_
Definition: connection_service.pb.h:387
void clear_use_bindless_rpc()
Definition: connection_service.pb.h:1550
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: connection_service.pb.h:880
bool has_client_id() const
Definition: connection_service.pb.h:1185
uint64_t uint64
Definition: g3dmath.h:170
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & deprecated_imported_service_hash() const PROTOBUF_DEPRECATED
Definition: connection_service.pb.h:1681
void clear_time()
Definition: connection_service.pb.h:1829
void set_has_hash()
Definition: connection_service.pb.h:1613
void set_has_client_id()
Definition: connection_service.pb.h:1373
int _cached_size_
Definition: connection_service.pb.h:1127
Definition: descriptor.h:846
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & imported_service_id() const PROTOBUF_DEPRECATED
Definition: connection_service.pb.h:1805
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: connection_service.pb.h:785
Definition: connection_service.pb.h:974
void set_has_reason()
Definition: connection_service.pb.h:2107
void set_payload(const ::std::string &value)
Definition: connection_service.pb.h:1991
bool has_content_handle_array() const
Definition: connection_service.pb.h:1476
static DisconnectNotification * default_instance_
Definition: connection_service.pb.h:1064
void clear_reason()
Definition: connection_service.pb.h:2113
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ContentHandle > & content_handle() const
Definition: connection_service.pb.h:1314
bool use_bindless_rpc() const
Definition: connection_service.pb.h:1280
void clear_error_code()
Definition: connection_service.pb.h:2061
int GetCachedSize() const
Definition: connection_service.pb.h:1109
Definition: message.h:165
inline::bgs::protocol::connection::v1::ConnectionMeteringContentHandles * mutable_content_handle_array()
Definition: connection_service.pb.h:1493
void set_time(::google::protobuf::uint64 value)
Definition: connection_service.pb.h:1837
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: connection_service.pb.h:630
void set_allocated_reason(::std::string *reason)
Definition: connection_service.pb.h:2165
void clear_bind_response()
Definition: connection_service.pb.h:1444
#define output
Definition: wire_format_lite.h:381
inline::google::protobuf::RepeatedPtrField< ::bgs::protocol::ContentHandle > * mutable_content_handle()
Definition: connection_service.pb.h:1319
bool has_use_bindless_rpc() const
Definition: connection_service.pb.h:1541
int _cached_size_
Definition: connection_service.pb.h:883
bool has_binary_content_handle_array() const
Definition: connection_service.pb.h:1565
void clear_bind_request()
Definition: connection_service.pb.h:1235
void clear_bind_result()
Definition: connection_service.pb.h:1420
Definition: connection_service.pb.h:1137
void set_has_error_code()
Definition: connection_service.pb.h:2055
void clear_server_time()
Definition: connection_service.pb.h:1526
bool has_bind_result() const
Definition: connection_service.pb.h:1411
BindResponse & operator=(const BindResponse &from)
Definition: connection_service.pb.h:621
Definition: coded_stream.h:156
::google::protobuf::uint64 server_time_
Definition: connection_service.pb.h:392
bool has_client_id() const
Definition: connection_service.pb.h:1370
inline::google::protobuf::uint64 server_time() const
Definition: connection_service.pb.h:1530
int GetCachedSize() const
Definition: connection_service.pb.h:444
const ::bgs::protocol::ProcessId & client_id() const
Definition: connection_service.pb.h:1198
::google::protobuf::uint32 bind_result_
Definition: connection_service.pb.h:390
int GetCachedSize() const
Definition: connection_service.pb.h:738
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: connection_service.pb.h:709
const ::bgs::protocol::ProcessId & client_id() const
Definition: connection_service.pb.h:1383
void set_has_bind_result()
Definition: connection_service.pb.h:1414
void clear_has_client_id()
Definition: connection_service.pb.h:1191
const ::bgs::protocol::connection::v1::BindRequest & bind_request() const
Definition: connection_service.pb.h:1239
int deprecated_exported_service_size() const PROTOBUF_DEPRECATED
Definition: connection_service.pb.h:1692
int content_handle_size() const
Definition: connection_service.pb.h:1295
void set_allocated_client_id(::bgs::protocol::ProcessId *client_id)
Definition: connection_service.pb.h:1399
int GetCachedSize() const
Definition: connection_service.pb.h:655
bool has_bind_response() const
Definition: connection_service.pb.h:1435
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: connection_service.pb.h:817
Definition: coded_stream.h:621
void clear_has_error_code()
Definition: connection_service.pb.h:2086
void set_time(::google::protobuf::uint64 value)
Definition: connection_service.pb.h:1965
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: connection_service.pb.h:990
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService > & deprecated_exported_service() const PROTOBUF_DEPRECATED
Definition: connection_service.pb.h:1711
Definition: connection_service.pb.h:403
void set_has_content_handle_array()
Definition: connection_service.pb.h:1479
EchoRequest & operator=(const EchoRequest &from)
Definition: connection_service.pb.h:704
void clear_has_server_time()
Definition: connection_service.pb.h:1523
#define PROTOBUF_DEPRECATED
Definition: generated_message_util.h:60
Definition: message.h:150
inline::std::string * release_payload()
Definition: connection_service.pb.h:1919
void clear_network_only()
Definition: connection_service.pb.h:1853
static ConnectionMeteringContentHandles * default_instance_
Definition: connection_service.pb.h:240
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: connection_service.pb.h:1084
void clear_id()
Definition: connection_service.pb.h:1643
void protobuf_ShutdownFile_connection_5fservice_2eproto()
bool has_payload() const
Definition: connection_service.pb.h:1972
int GetCachedSize() const
Definition: connection_service.pb.h:203
int _cached_size_
Definition: connection_service.pb.h:788
void set_has_bind_response()
Definition: connection_service.pb.h:1438
void set_allocated_server_id(::bgs::protocol::ProcessId *server_id)
Definition: connection_service.pb.h:1358
inline::bgs::protocol::connection::v1::BoundService * add_exported_service()
Definition: connection_service.pb.h:1736
void clear_has_bind_result()
Definition: connection_service.pb.h:1417
#define input
Definition: wire_format_lite.h:242
int GetCachedSize() const
Definition: connection_service.pb.h:842
bool use_bindless_rpc_
Definition: connection_service.pb.h:391
int _cached_size_
Definition: connection_service.pb.h:1056
void set_has_server_id()
Definition: connection_service.pb.h:1332
int _cached_size_
Definition: connection_service.pb.h:149
uint32_t uint32
Definition: common.h:177
void set_allocated_payload(::std::string *payload)
Definition: connection_service.pb.h:1929
uint32_t uint32
Definition: Define.h:150
std::integral_constant< uint32, 0x2782094Bu > NameHash
Definition: connection_service.pb.h:1145
void clear_has_bind_response()
Definition: connection_service.pb.h:1441
::google::protobuf::uint32 hash_
Definition: connection_service.pb.h:481
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: connection_service.pb.h:178
int GetCachedSize() const
Definition: connection_service.pb.h:533
bool network_only_
Definition: connection_service.pb.h:791
#define TC_SHARED_API
Definition: Define.h:128
inline::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_deprecated_imported_service_hash() PROTOBUF_DEPRECATED
Definition: connection_service.pb.h:1686
int imported_service_size() const
Definition: connection_service.pb.h:1752
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: connection_service.pb.h:382
uint64_t uint64
Definition: common.h:178
inline::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_imported_service_id() PROTOBUF_DEPRECATED
Definition: connection_service.pb.h:1810
void clear_has_content_handle_array()
Definition: connection_service.pb.h:1482
static DisconnectRequest * default_instance_
Definition: connection_service.pb.h:970
void set_has_error_code()
Definition: connection_service.pb.h:2083
::bgs::protocol::connection::v1::ConnectionMeteringContentHandles * binary_content_handle_array_
Definition: connection_service.pb.h:393
void set_has_server_time()
Definition: connection_service.pb.h:1520
ConnectionMeteringContentHandles & operator=(const ConnectionMeteringContentHandles &from)
Definition: connection_service.pb.h:169
void set_deprecated_imported_service_hash(int index,::google::protobuf::uint32 value) PROTOBUF_DEPRECATED
Definition: connection_service.pb.h:1672
void clear_has_client_id()
Definition: connection_service.pb.h:1376
void clear_payload()
Definition: connection_service.pb.h:1981
Definition: connection_service.pb.h:895
int _cached_size_
Definition: connection_service.pb.h:480
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService > & imported_service() const
Definition: connection_service.pb.h:1771
inline::google::protobuf::uint32 error_code() const
Definition: connection_service.pb.h:2093
ConnectResponse & operator=(const ConnectResponse &from)
Definition: connection_service.pb.h:251
bool has_hash() const
Definition: connection_service.pb.h:1610
bool has_bind_request() const
Definition: connection_service.pb.h:1226
Definition: rpc_types.pb.h:394
void clear_content_handle_array()
Definition: connection_service.pb.h:1485
void set_error_code(::google::protobuf::uint32 value)
Definition: connection_service.pb.h:2097
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: connection_service.pb.h:71
void clear_has_use_bindless_rpc()
Definition: connection_service.pb.h:1547
void set_has_network_only()
Definition: connection_service.pb.h:1847
BindRequest & operator=(const BindRequest &from)
Definition: connection_service.pb.h:499
::std::string * payload_
Definition: connection_service.pb.h:790
void add_deprecated_imported_service_hash(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED
Definition: connection_service.pb.h:1676
int GetCachedSize() const
Definition: connection_service.pb.h:285
bool has_server_id() const
Definition: connection_service.pb.h:1329
Definition: ServiceBase.h:34
::bgs::protocol::connection::v1::BindRequest * bind_request_
Definition: connection_service.pb.h:151
void set_use_bindless_rpc(bool value)
Definition: connection_service.pb.h:1558
void set_has_payload()
Definition: connection_service.pb.h:1871
static EncryptRequest * default_instance_
Definition: connection_service.pb.h:1133
::google::protobuf::uint32 error_code_
Definition: connection_service.pb.h:964
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: connection_service.pb.h:415
std::integral_constant< uint32, 0x65446991u > OriginalHash
Definition: connection_service.pb.h:1144
void set_use_bindless_rpc(bool value)
Definition: connection_service.pb.h:1284
ConnectRequest & operator=(const ConnectRequest &from)
Definition: connection_service.pb.h:66
::google::protobuf::uint32 error_code_
Definition: connection_service.pb.h:1058
bool has_use_bindless_rpc() const
Definition: connection_service.pb.h:1267
int _cached_size_
Definition: connection_service.pb.h:385
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: connection_service.pb.h:260
bool use_bindless_rpc_
Definition: connection_service.pb.h:152
Definition: connection_service.pb.h:614
void set_reason(const ::std::string &value)
Definition: connection_service.pb.h:2123
static EchoResponse * default_instance_
Definition: connection_service.pb.h:891
inline::bgs::protocol::ProcessId * release_client_id()
Definition: connection_service.pb.h:1393
::google::protobuf::uint64 time_
Definition: connection_service.pb.h:884
bool has_payload() const
Definition: connection_service.pb.h:1868
const ::std::string & reason() const
Definition: connection_service.pb.h:2119
inline::std::string * release_payload()
Definition: connection_service.pb.h:2023
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: connection_service.pb.h:230
DisconnectNotification & operator=(const DisconnectNotification &from)
Definition: connection_service.pb.h:981
::std::string * reason_
Definition: connection_service.pb.h:1057
int imported_service_id_size() const PROTOBUF_DEPRECATED
Definition: connection_service.pb.h:1786
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: connection_service.pb.h:986
inline::bgs::protocol::connection::v1::ConnectionMeteringContentHandles * release_binary_content_handle_array()
Definition: connection_service.pb.h:1588
void set_network_only(bool value)
Definition: connection_service.pb.h:1861
Definition: connection_service.pb.h:697
bool has_time() const
Definition: connection_service.pb.h:1948
void add_imported_service_id(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED
Definition: connection_service.pb.h:1800
void set_payload(const ::std::string &value)
Definition: connection_service.pb.h:1887
BoundService & operator=(const BoundService &from)
Definition: connection_service.pb.h:410
void clear_server_id()
Definition: connection_service.pb.h:1338
const ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles & binary_content_handle_array() const
Definition: connection_service.pb.h:1578
const ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles & content_handle_array() const
Definition: connection_service.pb.h:1489
inline::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService > * mutable_imported_service()
Definition: connection_service.pb.h:1776
void clear_has_time()
Definition: connection_service.pb.h:1826
void clear_use_bindless_rpc()
Definition: connection_service.pb.h:1276
Definition: BnetFileGenerator.h:47
void clear_error_code()
Definition: connection_service.pb.h:2089
const FieldDescriptor value
Definition: descriptor.h:1522
#define GOOGLE_ULONGLONG(x)
Definition: common.h:193
inline::bgs::protocol::ProcessId * mutable_client_id()
Definition: connection_service.pb.h:1387
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: connection_service.pb.h:1053
void clear_deprecated_exported_service() PROTOBUF_DEPRECATED
Definition: connection_service.pb.h:1695
::bgs::protocol::ProcessId * client_id_
Definition: connection_service.pb.h:150
bool has_error_code() const
Definition: connection_service.pb.h:2080
uint32_t uint32
Definition: g3dmath.h:168
void clear_client_id()
Definition: connection_service.pb.h:1194
#define const
Definition: zconf.h:217
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: connection_service.pb.h:813
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: connection_service.pb.h:1124
void TC_SHARED_API protobuf_AddDesc_connection_5fservice_2eproto()
void set_has_time()
Definition: connection_service.pb.h:1823
bool use_bindless_rpc() const
Definition: connection_service.pb.h:1554
::google::protobuf::RepeatedPtrField< ::bgs::protocol::ContentHandle > content_handle_
Definition: connection_service.pb.h:234
void clear_has_payload()
Definition: connection_service.pb.h:1978
void clear_has_bind_request()
Definition: connection_service.pb.h:1232
void set_imported_service_id(int index,::google::protobuf::uint32 value) PROTOBUF_DEPRECATED
Definition: connection_service.pb.h:1796
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: connection_service.pb.h:1080
::bgs::protocol::connection::v1::ConnectionMeteringContentHandles * content_handle_array_
Definition: connection_service.pb.h:389
inline::std::string * mutable_payload()
Definition: connection_service.pb.h:1911
inline::bgs::protocol::ProcessId * release_client_id()
Definition: connection_service.pb.h:1208
Definition: connection_service.pb.h:1068
const Element & Get(int index) const
Definition: repeated_field.h:663
inline::bgs::protocol::connection::v1::BindRequest * mutable_bind_request()
Definition: connection_service.pb.h:1243
inline::std::string * mutable_reason()
Definition: connection_service.pb.h:2147
inline::bgs::protocol::ContentHandle * add_content_handle()
Definition: connection_service.pb.h:1309
Definition: rpc_types.pb.h:214
inline::bgs::protocol::connection::v1::BoundService * add_imported_service()
Definition: connection_service.pb.h:1766
void set_allocated_bind_request(::bgs::protocol::connection::v1::BindRequest *bind_request)
Definition: connection_service.pb.h:1255
Definition: connection_service.pb.h:801
void clear_has_network_only()
Definition: connection_service.pb.h:1850
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: connection_service.pb.h:256
void clear_has_time()
Definition: connection_service.pb.h:1954
inline::google::protobuf::uint32 hash() const
Definition: connection_service.pb.h:1623
inline::bgs::protocol::connection::v1::BoundService * add_deprecated_exported_service() PROTOBUF_DEPRECATED
Definition: connection_service.pb.h:1706
inline::bgs::protocol::ProcessId * mutable_server_id()
Definition: connection_service.pb.h:1346
void set_allocated_binary_content_handle_array(::bgs::protocol::connection::v1::ConnectionMeteringContentHandles *binary_content_handle_array)
Definition: connection_service.pb.h:1594
Definition: MessageBuffer.h:24
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: connection_service.pb.h:907
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: connection_service.pb.h:713
bool has_server_time() const
Definition: connection_service.pb.h:1517
void clear_has_payload()
Definition: connection_service.pb.h:1874
void clear_time()
Definition: connection_service.pb.h:1957
inline::bgs::protocol::connection::v1::BindResponse * mutable_bind_response()
Definition: connection_service.pb.h:1452
void set_server_time(::google::protobuf::uint64 value)
Definition: connection_service.pb.h:1534
::std::string * payload_
Definition: connection_service.pb.h:885
const ::std::string & payload() const
Definition: connection_service.pb.h:1883
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: connection_service.pb.h:75
static ConnectResponse * default_instance_
Definition: connection_service.pb.h:399
inline::bgs::protocol::connection::v1::BindRequest * release_bind_request()
Definition: connection_service.pb.h:1249
void set_allocated_content_handle_array(::bgs::protocol::connection::v1::ConnectionMeteringContentHandles *content_handle_array)
Definition: connection_service.pb.h:1505
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: connection_service.pb.h:146
int exported_service_size() const
Definition: connection_service.pb.h:1722
inline::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService > * mutable_deprecated_exported_service() PROTOBUF_DEPRECATED
Definition: connection_service.pb.h:1716