4#ifndef PROTOBUF_connection_5fservice_2eproto__INCLUDED
5#define PROTOBUF_connection_5fservice_2eproto__INCLUDED
9#include <google/protobuf/stubs/common.h>
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
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.
22#include <google/protobuf/generated_message_util.h>
23#include <google/protobuf/message.h>
24#include <google/protobuf/repeated_field.h>
25#include <google/protobuf/extension_set.h>
26#include <google/protobuf/generated_enum_reflection.h>
27#include <google/protobuf/unknown_field_set.h>
71 return ::google::protobuf::internal::NameOfEnum(
76 return ::google::protobuf::internal::ParseNamedEnum<MeteringLevel>(
94 return _unknown_fields_;
98 return &_unknown_fields_;
122 inline bool has_sdk_name()
const;
123 inline void clear_sdk_name();
124 static const int kSdkNameFieldNumber = 1;
125 inline const ::std::string& sdk_name()
const;
126 inline void set_sdk_name(const ::std::string& value);
127 inline void set_sdk_name(
const char* value);
128 inline void set_sdk_name(
const char* value,
size_t size);
129 inline ::std::string* mutable_sdk_name();
130 inline ::std::string* release_sdk_name();
131 inline void set_allocated_sdk_name(::std::string* sdk_name);
134 inline bool has_sdk_version()
const;
135 inline void clear_sdk_version();
136 static const int kSdkVersionFieldNumber = 2;
137 inline const ::bgs::protocol::SemanticVersion& sdk_version()
const;
138 inline ::bgs::protocol::SemanticVersion* mutable_sdk_version();
139 inline ::bgs::protocol::SemanticVersion* release_sdk_version();
143 inline bool has_protocol_version()
const;
144 inline void clear_protocol_version();
145 static const int kProtocolVersionFieldNumber = 3;
146 inline const ::bgs::protocol::SemanticVersion& protocol_version()
const;
147 inline ::bgs::protocol::SemanticVersion* mutable_protocol_version();
148 inline ::bgs::protocol::SemanticVersion* release_protocol_version();
153 inline void set_has_sdk_name();
154 inline void clear_has_sdk_name();
155 inline void set_has_sdk_version();
156 inline void clear_has_sdk_version();
157 inline void set_has_protocol_version();
158 inline void clear_has_protocol_version();
189 return _unknown_fields_;
193 return &_unknown_fields_;
217 inline bool has_client_id()
const;
218 inline void clear_client_id();
219 static const int kClientIdFieldNumber = 1;
220 inline const ::bgs::protocol::ProcessId& client_id()
const;
221 inline ::bgs::protocol::ProcessId* mutable_client_id();
222 inline ::bgs::protocol::ProcessId* release_client_id();
226 inline bool has_bind_request()
const;
227 inline void clear_bind_request();
228 static const int kBindRequestFieldNumber = 2;
229 inline const ::bgs::protocol::connection::v1::BindRequest& bind_request()
const;
230 inline ::bgs::protocol::connection::v1::BindRequest* mutable_bind_request();
231 inline ::bgs::protocol::connection::v1::BindRequest* release_bind_request();
235 inline bool has_use_bindless_rpc()
const;
236 inline void clear_use_bindless_rpc();
237 static const int kUseBindlessRpcFieldNumber = 3;
238 inline bool use_bindless_rpc()
const;
239 inline void set_use_bindless_rpc(
bool value);
242 inline bool has_metering_level()
const;
243 inline void clear_metering_level();
244 static const int kMeteringLevelFieldNumber = 4;
249 inline bool has_client_sdk_info()
const;
250 inline void clear_client_sdk_info();
251 static const int kClientSdkInfoFieldNumber = 5;
252 inline const ::bgs::protocol::connection::v1::ClientSdkVersionInfo& client_sdk_info()
const;
253 inline ::bgs::protocol::connection::v1::ClientSdkVersionInfo* mutable_client_sdk_info();
254 inline ::bgs::protocol::connection::v1::ClientSdkVersionInfo* release_client_sdk_info();
259 inline void set_has_client_id();
260 inline void clear_has_client_id();
261 inline void set_has_bind_request();
262 inline void clear_has_bind_request();
263 inline void set_has_use_bindless_rpc();
264 inline void clear_has_use_bindless_rpc();
265 inline void set_has_metering_level();
266 inline void clear_has_metering_level();
267 inline void set_has_client_sdk_info();
268 inline void clear_has_client_sdk_info();
301 return _unknown_fields_;
305 return &_unknown_fields_;
329 inline int content_handle_size()
const;
330 inline void clear_content_handle();
331 static const int kContentHandleFieldNumber = 1;
332 inline const ::bgs::protocol::ContentHandle& content_handle(
int index)
const;
333 inline ::bgs::protocol::ContentHandle* mutable_content_handle(
int index);
334 inline ::bgs::protocol::ContentHandle* add_content_handle();
335 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ContentHandle >&
336 content_handle()
const;
337 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ContentHandle >*
338 mutable_content_handle();
347 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ContentHandle >
content_handle_;
370 return _unknown_fields_;
374 return &_unknown_fields_;
398 inline bool has_server_id()
const;
399 inline void clear_server_id();
400 static const int kServerIdFieldNumber = 1;
401 inline const ::bgs::protocol::ProcessId& server_id()
const;
402 inline ::bgs::protocol::ProcessId* mutable_server_id();
403 inline ::bgs::protocol::ProcessId* release_server_id();
407 inline bool has_client_id()
const;
408 inline void clear_client_id();
409 static const int kClientIdFieldNumber = 2;
410 inline const ::bgs::protocol::ProcessId& client_id()
const;
411 inline ::bgs::protocol::ProcessId* mutable_client_id();
412 inline ::bgs::protocol::ProcessId* release_client_id();
416 inline bool has_bind_result()
const;
417 inline void clear_bind_result();
418 static const int kBindResultFieldNumber = 3;
423 inline bool has_bind_response()
const;
424 inline void clear_bind_response();
425 static const int kBindResponseFieldNumber = 4;
426 inline const ::bgs::protocol::connection::v1::BindResponse& bind_response()
const;
427 inline ::bgs::protocol::connection::v1::BindResponse* mutable_bind_response();
428 inline ::bgs::protocol::connection::v1::BindResponse* release_bind_response();
432 inline bool has_content_handle_array()
const;
433 inline void clear_content_handle_array();
434 static const int kContentHandleArrayFieldNumber = 5;
435 inline const ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles& content_handle_array()
const;
436 inline ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* mutable_content_handle_array();
437 inline ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* release_content_handle_array();
441 inline bool has_server_time()
const;
442 inline void clear_server_time();
443 static const int kServerTimeFieldNumber = 6;
448 inline bool has_use_bindless_rpc()
const;
449 inline void clear_use_bindless_rpc();
450 static const int kUseBindlessRpcFieldNumber = 7;
451 inline bool use_bindless_rpc()
const;
452 inline void set_use_bindless_rpc(
bool value);
455 inline bool has_binary_content_handle_array()
const;
456 inline void clear_binary_content_handle_array();
457 static const int kBinaryContentHandleArrayFieldNumber = 8;
458 inline const ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles& binary_content_handle_array()
const;
459 inline ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* mutable_binary_content_handle_array();
460 inline ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles* release_binary_content_handle_array();
464 inline bool has_ciid()
const;
465 inline void clear_ciid();
466 static const int kCiidFieldNumber = 9;
467 inline const ::std::string& ciid()
const;
468 inline void set_ciid(const ::std::string& value);
469 inline void set_ciid(
const char* value);
470 inline void set_ciid(
const char* value,
size_t size);
471 inline ::std::string* mutable_ciid();
472 inline ::std::string* release_ciid();
473 inline void set_allocated_ciid(::std::string* ciid);
476 inline bool has_connected_region()
const;
477 inline void clear_connected_region();
478 static const int kConnectedRegionFieldNumber = 10;
484 inline void set_has_server_id();
485 inline void clear_has_server_id();
486 inline void set_has_client_id();
487 inline void clear_has_client_id();
488 inline void set_has_bind_result();
489 inline void clear_has_bind_result();
490 inline void set_has_bind_response();
491 inline void clear_has_bind_response();
492 inline void set_has_content_handle_array();
493 inline void clear_has_content_handle_array();
494 inline void set_has_server_time();
495 inline void clear_has_server_time();
496 inline void set_has_use_bindless_rpc();
497 inline void clear_has_use_bindless_rpc();
498 inline void set_has_binary_content_handle_array();
499 inline void clear_has_binary_content_handle_array();
500 inline void set_has_ciid();
501 inline void clear_has_ciid();
502 inline void set_has_connected_region();
503 inline void clear_has_connected_region();
541 return _unknown_fields_;
545 return &_unknown_fields_;
569 inline bool has_hash()
const;
570 inline void clear_hash();
571 static const int kHashFieldNumber = 1;
576 inline bool has_id()
const;
577 inline void clear_id();
578 static const int kIdFieldNumber = 2;
584 inline void set_has_hash();
585 inline void clear_has_hash();
586 inline void set_has_id();
587 inline void clear_has_id();
617 return _unknown_fields_;
621 return &_unknown_fields_;
645 inline int deprecated_imported_service_hash_size() const PROTOBUF_DEPRECATED;
646 inline
void clear_deprecated_imported_service_hash() PROTOBUF_DEPRECATED;
647 static const
int kDeprecatedImportedServiceHashFieldNumber = 1;
648 inline ::
google::protobuf::
uint32 deprecated_imported_service_hash(
int index) const PROTOBUF_DEPRECATED;
649 inline
void set_deprecated_imported_service_hash(
int index, ::
google::protobuf::
uint32 value) PROTOBUF_DEPRECATED;
650 inline
void add_deprecated_imported_service_hash(::
google::protobuf::
uint32 value) PROTOBUF_DEPRECATED;
652 deprecated_imported_service_hash() const PROTOBUF_DEPRECATED;
654 mutable_deprecated_imported_service_hash() PROTOBUF_DEPRECATED;
657 inline
int deprecated_exported_service_size() const PROTOBUF_DEPRECATED;
658 inline
void clear_deprecated_exported_service() PROTOBUF_DEPRECATED;
659 static const
int kDeprecatedExportedServiceFieldNumber = 2;
660 inline const ::
bgs::protocol::connection::v1::
BoundService& deprecated_exported_service(
int index) const PROTOBUF_DEPRECATED;
661 inline ::
bgs::protocol::connection::v1::
BoundService* mutable_deprecated_exported_service(
int index) PROTOBUF_DEPRECATED;
662 inline ::
bgs::protocol::connection::v1::
BoundService* add_deprecated_exported_service() PROTOBUF_DEPRECATED;
664 deprecated_exported_service() const PROTOBUF_DEPRECATED;
666 mutable_deprecated_exported_service() PROTOBUF_DEPRECATED;
669 inline
int exported_service_size() const;
670 inline
void clear_exported_service();
671 static const
int kExportedServiceFieldNumber = 3;
672 inline const ::
bgs::protocol::connection::v1::
BoundService& exported_service(
int index) const;
673 inline ::
bgs::protocol::connection::v1::
BoundService* mutable_exported_service(
int index);
674 inline ::
bgs::protocol::connection::v1::
BoundService* add_exported_service();
676 exported_service() const;
678 mutable_exported_service();
681 inline
int imported_service_size() const;
682 inline
void clear_imported_service();
683 static const
int kImportedServiceFieldNumber = 4;
684 inline const ::
bgs::protocol::connection::v1::
BoundService& imported_service(
int index) const;
685 inline ::
bgs::protocol::connection::v1::
BoundService* mutable_imported_service(
int index);
686 inline ::
bgs::protocol::connection::v1::
BoundService* add_imported_service();
688 imported_service() const;
690 mutable_imported_service();
695 ::
google::protobuf::UnknownFieldSet _unknown_fields_;
698 mutable
int _cached_size_;
707 void InitAsDefaultInstance();
725 return _unknown_fields_;
729 return &_unknown_fields_;
753 inline int imported_service_id_size() const PROTOBUF_DEPRECATED;
754 inline
void clear_imported_service_id() PROTOBUF_DEPRECATED;
755 static const
int kImportedServiceIdFieldNumber = 1;
756 inline ::
google::protobuf::
uint32 imported_service_id(
int index) const PROTOBUF_DEPRECATED;
757 inline
void set_imported_service_id(
int index, ::
google::protobuf::
uint32 value) PROTOBUF_DEPRECATED;
758 inline
void add_imported_service_id(::
google::protobuf::
uint32 value) PROTOBUF_DEPRECATED;
760 imported_service_id() const PROTOBUF_DEPRECATED;
762 mutable_imported_service_id() PROTOBUF_DEPRECATED;
767 ::
google::protobuf::UnknownFieldSet _unknown_fields_;
770 mutable
int _cached_size_;
776 void InitAsDefaultInstance();
794 return _unknown_fields_;
798 return &_unknown_fields_;
822 inline bool has_time()
const;
823 inline void clear_time();
824 static const int kTimeFieldNumber = 1;
829 inline bool has_network_only()
const;
830 inline void clear_network_only();
831 static const int kNetworkOnlyFieldNumber = 2;
832 inline bool network_only()
const;
833 inline void set_network_only(
bool value);
836 inline bool has_payload()
const;
837 inline void clear_payload();
838 static const int kPayloadFieldNumber = 3;
839 inline const ::std::string& payload()
const;
840 inline void set_payload(const ::std::string& value);
841 inline void set_payload(
const char* value);
842 inline void set_payload(
const void* value,
size_t size);
843 inline ::std::string* mutable_payload();
844 inline ::std::string* release_payload();
845 inline void set_allocated_payload(::std::string* payload);
848 inline bool has_forward()
const;
849 inline void clear_forward();
850 static const int kForwardFieldNumber = 4;
851 inline const ::bgs::protocol::ProcessId& forward()
const;
852 inline ::bgs::protocol::ProcessId* mutable_forward();
853 inline ::bgs::protocol::ProcessId* release_forward();
857 inline bool has_forward_client_id()
const;
858 inline void clear_forward_client_id();
859 static const int kForwardClientIdFieldNumber = 5;
860 inline const ::std::string& forward_client_id()
const;
861 inline void set_forward_client_id(const ::std::string& value);
862 inline void set_forward_client_id(
const char* value);
863 inline void set_forward_client_id(
const char* value,
size_t size);
864 inline ::std::string* mutable_forward_client_id();
865 inline ::std::string* release_forward_client_id();
866 inline void set_allocated_forward_client_id(::std::string* forward_client_id);
870 inline void set_has_time();
871 inline void clear_has_time();
872 inline void set_has_network_only();
873 inline void clear_has_network_only();
874 inline void set_has_payload();
875 inline void clear_has_payload();
876 inline void set_has_forward();
877 inline void clear_has_forward();
878 inline void set_has_forward_client_id();
879 inline void clear_has_forward_client_id();
912 return _unknown_fields_;
916 return &_unknown_fields_;
940 inline bool has_time()
const;
941 inline void clear_time();
942 static const int kTimeFieldNumber = 1;
947 inline bool has_payload()
const;
948 inline void clear_payload();
949 static const int kPayloadFieldNumber = 2;
950 inline const ::std::string& payload()
const;
951 inline void set_payload(const ::std::string& value);
952 inline void set_payload(
const char* value);
953 inline void set_payload(
const void* value,
size_t size);
954 inline ::std::string* mutable_payload();
955 inline ::std::string* release_payload();
956 inline void set_allocated_payload(::std::string* payload);
960 inline void set_has_time();
961 inline void clear_has_time();
962 inline void set_has_payload();
963 inline void clear_has_payload();
993 return _unknown_fields_;
997 return &_unknown_fields_;
1021 inline bool has_error_code()
const;
1022 inline void clear_error_code();
1023 static const int kErrorCodeFieldNumber = 1;
1029 inline void set_has_error_code();
1030 inline void clear_has_error_code();
1059 return _unknown_fields_;
1063 return &_unknown_fields_;
1087 inline bool has_error_code()
const;
1088 inline void clear_error_code();
1089 static const int kErrorCodeFieldNumber = 1;
1094 inline bool has_reason()
const;
1095 inline void clear_reason();
1096 static const int kReasonFieldNumber = 2;
1097 inline const ::std::string& reason()
const;
1098 inline void set_reason(const ::std::string& value);
1099 inline void set_reason(
const char* value);
1100 inline void set_reason(
const char* value,
size_t size);
1101 inline ::std::string* mutable_reason();
1102 inline ::std::string* release_reason();
1103 inline void set_allocated_reason(::std::string* reason);
1107 inline void set_has_error_code();
1108 inline void clear_has_error_code();
1109 inline void set_has_reason();
1110 inline void clear_has_reason();
1140 return _unknown_fields_;
1144 return &_unknown_fields_;
1195 typedef std::integral_constant<uint32, 0x2782094Bu>
NameHash;
1238 return (_has_bits_[0] & 0x00000001u) != 0;
1241 _has_bits_[0] |= 0x00000001u;
1244 _has_bits_[0] &= ~0x00000001u;
1247 if (sdk_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1250 clear_has_sdk_name();
1258 if (sdk_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1259 sdk_name_ = new ::std::string;
1261 sdk_name_->assign(value);
1266 if (sdk_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1267 sdk_name_ = new ::std::string;
1269 sdk_name_->assign(value);
1274 if (sdk_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1275 sdk_name_ = new ::std::string;
1277 sdk_name_->assign(
reinterpret_cast<const char*
>(value),
size);
1282 if (sdk_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1283 sdk_name_ = new ::std::string;
1289 clear_has_sdk_name();
1290 if (sdk_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1293 ::std::string* temp = sdk_name_;
1294 sdk_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1299 if (sdk_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1304 sdk_name_ = sdk_name;
1306 clear_has_sdk_name();
1307 sdk_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1314 return (_has_bits_[0] & 0x00000002u) != 0;
1317 _has_bits_[0] |= 0x00000002u;
1320 _has_bits_[0] &= ~0x00000002u;
1323 if (sdk_version_ != NULL) sdk_version_->::bgs::protocol::SemanticVersion::Clear();
1324 clear_has_sdk_version();
1328 return sdk_version_ != NULL ? *sdk_version_ : *default_instance_->sdk_version_;
1331 set_has_sdk_version();
1332 if (sdk_version_ == NULL) sdk_version_ = new ::bgs::protocol::SemanticVersion;
1334 return sdk_version_;
1337 clear_has_sdk_version();
1339 sdk_version_ = NULL;
1343 delete sdk_version_;
1344 sdk_version_ = sdk_version;
1346 set_has_sdk_version();
1348 clear_has_sdk_version();
1355 return (_has_bits_[0] & 0x00000004u) != 0;
1358 _has_bits_[0] |= 0x00000004u;
1361 _has_bits_[0] &= ~0x00000004u;
1364 if (protocol_version_ != NULL) protocol_version_->::bgs::protocol::SemanticVersion::Clear();
1365 clear_has_protocol_version();
1369 return protocol_version_ != NULL ? *protocol_version_ : *default_instance_->protocol_version_;
1372 set_has_protocol_version();
1373 if (protocol_version_ == NULL) protocol_version_ = new ::bgs::protocol::SemanticVersion;
1375 return protocol_version_;
1378 clear_has_protocol_version();
1380 protocol_version_ = NULL;
1384 delete protocol_version_;
1385 protocol_version_ = protocol_version;
1386 if (protocol_version) {
1387 set_has_protocol_version();
1389 clear_has_protocol_version();
1400 return (_has_bits_[0] & 0x00000001u) != 0;
1403 _has_bits_[0] |= 0x00000001u;
1406 _has_bits_[0] &= ~0x00000001u;
1409 if (client_id_ != NULL) client_id_->::bgs::protocol::ProcessId::Clear();
1410 clear_has_client_id();
1414 return client_id_ != NULL ? *client_id_ : *default_instance_->client_id_;
1417 set_has_client_id();
1418 if (client_id_ == NULL) client_id_ = new ::bgs::protocol::ProcessId;
1423 clear_has_client_id();
1430 client_id_ = client_id;
1432 set_has_client_id();
1434 clear_has_client_id();
1441 return (_has_bits_[0] & 0x00000002u) != 0;
1444 _has_bits_[0] |= 0x00000002u;
1447 _has_bits_[0] &= ~0x00000002u;
1450 if (bind_request_ != NULL) bind_request_->::bgs::protocol::connection::v1::BindRequest::Clear();
1451 clear_has_bind_request();
1455 return bind_request_ != NULL ? *bind_request_ : *default_instance_->bind_request_;
1458 set_has_bind_request();
1459 if (bind_request_ == NULL) bind_request_ = new ::bgs::protocol::connection::v1::BindRequest;
1461 return bind_request_;
1464 clear_has_bind_request();
1466 bind_request_ = NULL;
1470 delete bind_request_;
1471 bind_request_ = bind_request;
1473 set_has_bind_request();
1475 clear_has_bind_request();
1482 return (_has_bits_[0] & 0x00000004u) != 0;
1485 _has_bits_[0] |= 0x00000004u;
1488 _has_bits_[0] &= ~0x00000004u;
1491 use_bindless_rpc_ =
true;
1492 clear_has_use_bindless_rpc();
1496 return use_bindless_rpc_;
1499 set_has_use_bindless_rpc();
1500 use_bindless_rpc_ = value;
1506 return (_has_bits_[0] & 0x00000008u) != 0;
1509 _has_bits_[0] |= 0x00000008u;
1512 _has_bits_[0] &= ~0x00000008u;
1515 metering_level_ = 0;
1516 clear_has_metering_level();
1524 set_has_metering_level();
1525 metering_level_ = value;
1531 return (_has_bits_[0] & 0x00000010u) != 0;
1534 _has_bits_[0] |= 0x00000010u;
1537 _has_bits_[0] &= ~0x00000010u;
1540 if (client_sdk_info_ != NULL) client_sdk_info_->::bgs::protocol::connection::v1::ClientSdkVersionInfo::Clear();
1541 clear_has_client_sdk_info();
1545 return client_sdk_info_ != NULL ? *client_sdk_info_ : *default_instance_->client_sdk_info_;
1548 set_has_client_sdk_info();
1549 if (client_sdk_info_ == NULL) client_sdk_info_ = new ::bgs::protocol::connection::v1::ClientSdkVersionInfo;
1551 return client_sdk_info_;
1554 clear_has_client_sdk_info();
1556 client_sdk_info_ = NULL;
1560 delete client_sdk_info_;
1561 client_sdk_info_ = client_sdk_info;
1562 if (client_sdk_info) {
1563 set_has_client_sdk_info();
1565 clear_has_client_sdk_info();
1576 return content_handle_.size();
1579 content_handle_.Clear();
1583 return content_handle_.Get(index);
1587 return content_handle_.Mutable(index);
1591 return content_handle_.Add();
1593inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ContentHandle >&
1596 return content_handle_;
1598inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ContentHandle >*
1601 return &content_handle_;
1610 return (_has_bits_[0] & 0x00000001u) != 0;
1613 _has_bits_[0] |= 0x00000001u;
1616 _has_bits_[0] &= ~0x00000001u;
1619 if (server_id_ != NULL) server_id_->::bgs::protocol::ProcessId::Clear();
1620 clear_has_server_id();
1624 return server_id_ != NULL ? *server_id_ : *default_instance_->server_id_;
1627 set_has_server_id();
1628 if (server_id_ == NULL) server_id_ = new ::bgs::protocol::ProcessId;
1633 clear_has_server_id();
1640 server_id_ = server_id;
1642 set_has_server_id();
1644 clear_has_server_id();
1651 return (_has_bits_[0] & 0x00000002u) != 0;
1654 _has_bits_[0] |= 0x00000002u;
1657 _has_bits_[0] &= ~0x00000002u;
1660 if (client_id_ != NULL) client_id_->::bgs::protocol::ProcessId::Clear();
1661 clear_has_client_id();
1665 return client_id_ != NULL ? *client_id_ : *default_instance_->client_id_;
1668 set_has_client_id();
1669 if (client_id_ == NULL) client_id_ = new ::bgs::protocol::ProcessId;
1674 clear_has_client_id();
1681 client_id_ = client_id;
1683 set_has_client_id();
1685 clear_has_client_id();
1692 return (_has_bits_[0] & 0x00000004u) != 0;
1695 _has_bits_[0] |= 0x00000004u;
1698 _has_bits_[0] &= ~0x00000004u;
1702 clear_has_bind_result();
1706 return bind_result_;
1709 set_has_bind_result();
1710 bind_result_ = value;
1716 return (_has_bits_[0] & 0x00000008u) != 0;
1719 _has_bits_[0] |= 0x00000008u;
1722 _has_bits_[0] &= ~0x00000008u;
1725 if (bind_response_ != NULL) bind_response_->::bgs::protocol::connection::v1::BindResponse::Clear();
1726 clear_has_bind_response();
1730 return bind_response_ != NULL ? *bind_response_ : *default_instance_->bind_response_;
1733 set_has_bind_response();
1734 if (bind_response_ == NULL) bind_response_ = new ::bgs::protocol::connection::v1::BindResponse;
1736 return bind_response_;
1739 clear_has_bind_response();
1741 bind_response_ = NULL;
1745 delete bind_response_;
1746 bind_response_ = bind_response;
1747 if (bind_response) {
1748 set_has_bind_response();
1750 clear_has_bind_response();
1757 return (_has_bits_[0] & 0x00000010u) != 0;
1760 _has_bits_[0] |= 0x00000010u;
1763 _has_bits_[0] &= ~0x00000010u;
1766 if (content_handle_array_ != NULL) content_handle_array_->::bgs::protocol::connection::v1::ConnectionMeteringContentHandles::Clear();
1767 clear_has_content_handle_array();
1771 return content_handle_array_ != NULL ? *content_handle_array_ : *default_instance_->content_handle_array_;
1774 set_has_content_handle_array();
1775 if (content_handle_array_ == NULL) content_handle_array_ = new ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles;
1777 return content_handle_array_;
1780 clear_has_content_handle_array();
1782 content_handle_array_ = NULL;
1786 delete content_handle_array_;
1787 content_handle_array_ = content_handle_array;
1788 if (content_handle_array) {
1789 set_has_content_handle_array();
1791 clear_has_content_handle_array();
1798 return (_has_bits_[0] & 0x00000020u) != 0;
1801 _has_bits_[0] |= 0x00000020u;
1804 _has_bits_[0] &= ~0x00000020u;
1807 server_time_ = GOOGLE_ULONGLONG(0);
1808 clear_has_server_time();
1812 return server_time_;
1815 set_has_server_time();
1816 server_time_ = value;
1822 return (_has_bits_[0] & 0x00000040u) != 0;
1825 _has_bits_[0] |= 0x00000040u;
1828 _has_bits_[0] &= ~0x00000040u;
1831 use_bindless_rpc_ =
false;
1832 clear_has_use_bindless_rpc();
1836 return use_bindless_rpc_;
1839 set_has_use_bindless_rpc();
1840 use_bindless_rpc_ = value;
1846 return (_has_bits_[0] & 0x00000080u) != 0;
1849 _has_bits_[0] |= 0x00000080u;
1852 _has_bits_[0] &= ~0x00000080u;
1855 if (binary_content_handle_array_ != NULL) binary_content_handle_array_->::bgs::protocol::connection::v1::ConnectionMeteringContentHandles::Clear();
1856 clear_has_binary_content_handle_array();
1860 return binary_content_handle_array_ != NULL ? *binary_content_handle_array_ : *default_instance_->binary_content_handle_array_;
1863 set_has_binary_content_handle_array();
1864 if (binary_content_handle_array_ == NULL) binary_content_handle_array_ = new ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles;
1866 return binary_content_handle_array_;
1869 clear_has_binary_content_handle_array();
1871 binary_content_handle_array_ = NULL;
1875 delete binary_content_handle_array_;
1876 binary_content_handle_array_ = binary_content_handle_array;
1877 if (binary_content_handle_array) {
1878 set_has_binary_content_handle_array();
1880 clear_has_binary_content_handle_array();
1887 return (_has_bits_[0] & 0x00000100u) != 0;
1890 _has_bits_[0] |= 0x00000100u;
1893 _has_bits_[0] &= ~0x00000100u;
1896 if (ciid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1907 if (ciid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1908 ciid_ = new ::std::string;
1910 ciid_->assign(value);
1915 if (ciid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1916 ciid_ = new ::std::string;
1918 ciid_->assign(value);
1923 if (ciid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1924 ciid_ = new ::std::string;
1926 ciid_->assign(
reinterpret_cast<const char*
>(value),
size);
1931 if (ciid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1932 ciid_ = new ::std::string;
1939 if (ciid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1942 ::std::string* temp = ciid_;
1943 ciid_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1948 if (ciid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1956 ciid_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1963 return (_has_bits_[0] & 0x00000200u) != 0;
1966 _has_bits_[0] |= 0x00000200u;
1969 _has_bits_[0] &= ~0x00000200u;
1972 connected_region_ = 0u;
1973 clear_has_connected_region();
1977 return connected_region_;
1980 set_has_connected_region();
1981 connected_region_ = value;
1991 return (_has_bits_[0] & 0x00000001u) != 0;
1994 _has_bits_[0] |= 0x00000001u;
1997 _has_bits_[0] &= ~0x00000001u;
2015 return (_has_bits_[0] & 0x00000002u) != 0;
2018 _has_bits_[0] |= 0x00000002u;
2021 _has_bits_[0] &= ~0x00000002u;
2043 return deprecated_imported_service_hash_.size();
2046 deprecated_imported_service_hash_.Clear();
2050 return deprecated_imported_service_hash_.Get(index);
2053 deprecated_imported_service_hash_.Set(index, value);
2057 deprecated_imported_service_hash_.Add(value);
2060inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
2063 return deprecated_imported_service_hash_;
2065inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
2068 return &deprecated_imported_service_hash_;
2073 return deprecated_exported_service_.size();
2076 deprecated_exported_service_.Clear();
2080 return deprecated_exported_service_.Get(index);
2084 return deprecated_exported_service_.Mutable(index);
2088 return deprecated_exported_service_.Add();
2090inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService >&
2093 return deprecated_exported_service_;
2095inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService >*
2098 return &deprecated_exported_service_;
2103 return exported_service_.size();
2106 exported_service_.Clear();
2110 return exported_service_.Get(index);
2114 return exported_service_.Mutable(index);
2118 return exported_service_.Add();
2120inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService >&
2123 return exported_service_;
2125inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService >*
2128 return &exported_service_;
2133 return imported_service_.size();
2136 imported_service_.Clear();
2140 return imported_service_.Get(index);
2144 return imported_service_.Mutable(index);
2148 return imported_service_.Add();
2150inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService >&
2153 return imported_service_;
2155inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService >*
2158 return &imported_service_;
2167 return imported_service_id_.size();
2170 imported_service_id_.Clear();
2174 return imported_service_id_.Get(index);
2177 imported_service_id_.Set(index, value);
2181 imported_service_id_.Add(value);
2184inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
2187 return imported_service_id_;
2189inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
2192 return &imported_service_id_;
2201 return (_has_bits_[0] & 0x00000001u) != 0;
2204 _has_bits_[0] |= 0x00000001u;
2207 _has_bits_[0] &= ~0x00000001u;
2210 time_ = GOOGLE_ULONGLONG(0);
2225 return (_has_bits_[0] & 0x00000002u) != 0;
2228 _has_bits_[0] |= 0x00000002u;
2231 _has_bits_[0] &= ~0x00000002u;
2234 network_only_ =
false;
2235 clear_has_network_only();
2239 return network_only_;
2242 set_has_network_only();
2243 network_only_ = value;
2249 return (_has_bits_[0] & 0x00000004u) != 0;
2252 _has_bits_[0] |= 0x00000004u;
2255 _has_bits_[0] &= ~0x00000004u;
2258 if (payload_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2261 clear_has_payload();
2269 if (payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2270 payload_ = new ::std::string;
2272 payload_->assign(value);
2277 if (payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2278 payload_ = new ::std::string;
2280 payload_->assign(value);
2285 if (payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2286 payload_ = new ::std::string;
2288 payload_->assign(
reinterpret_cast<const char*
>(value),
size);
2293 if (payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2294 payload_ = new ::std::string;
2300 clear_has_payload();
2301 if (payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2304 ::std::string* temp = payload_;
2305 payload_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2310 if (payload_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2317 clear_has_payload();
2318 payload_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2325 return (_has_bits_[0] & 0x00000008u) != 0;
2328 _has_bits_[0] |= 0x00000008u;
2331 _has_bits_[0] &= ~0x00000008u;
2334 if (forward_ != NULL) forward_->::bgs::protocol::ProcessId::Clear();
2335 clear_has_forward();
2339 return forward_ != NULL ? *forward_ : *default_instance_->forward_;
2343 if (forward_ == NULL) forward_ = new ::bgs::protocol::ProcessId;
2348 clear_has_forward();
2359 clear_has_forward();
2366 return (_has_bits_[0] & 0x00000010u) != 0;
2369 _has_bits_[0] |= 0x00000010u;
2372 _has_bits_[0] &= ~0x00000010u;
2375 if (forward_client_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2376 forward_client_id_->clear();
2378 clear_has_forward_client_id();
2382 return *forward_client_id_;
2385 set_has_forward_client_id();
2386 if (forward_client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2387 forward_client_id_ = new ::std::string;
2389 forward_client_id_->assign(value);
2393 set_has_forward_client_id();
2394 if (forward_client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2395 forward_client_id_ = new ::std::string;
2397 forward_client_id_->assign(value);
2401 set_has_forward_client_id();
2402 if (forward_client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2403 forward_client_id_ = new ::std::string;
2405 forward_client_id_->assign(
reinterpret_cast<const char*
>(value),
size);
2409 set_has_forward_client_id();
2410 if (forward_client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2411 forward_client_id_ = new ::std::string;
2414 return forward_client_id_;
2417 clear_has_forward_client_id();
2418 if (forward_client_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2421 ::std::string* temp = forward_client_id_;
2422 forward_client_id_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2427 if (forward_client_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2428 delete forward_client_id_;
2430 if (forward_client_id) {
2431 set_has_forward_client_id();
2432 forward_client_id_ = forward_client_id;
2434 clear_has_forward_client_id();
2435 forward_client_id_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2446 return (_has_bits_[0] & 0x00000001u) != 0;
2449 _has_bits_[0] |= 0x00000001u;
2452 _has_bits_[0] &= ~0x00000001u;
2455 time_ = GOOGLE_ULONGLONG(0);
2470 return (_has_bits_[0] & 0x00000002u) != 0;
2473 _has_bits_[0] |= 0x00000002u;
2476 _has_bits_[0] &= ~0x00000002u;
2479 if (payload_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2482 clear_has_payload();
2490 if (payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2491 payload_ = new ::std::string;
2493 payload_->assign(value);
2498 if (payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2499 payload_ = new ::std::string;
2501 payload_->assign(value);
2506 if (payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2507 payload_ = new ::std::string;
2509 payload_->assign(
reinterpret_cast<const char*
>(value),
size);
2514 if (payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2515 payload_ = new ::std::string;
2521 clear_has_payload();
2522 if (payload_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2525 ::std::string* temp = payload_;
2526 payload_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2531 if (payload_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2538 clear_has_payload();
2539 payload_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2550 return (_has_bits_[0] & 0x00000001u) != 0;
2553 _has_bits_[0] |= 0x00000001u;
2556 _has_bits_[0] &= ~0x00000001u;
2560 clear_has_error_code();
2567 set_has_error_code();
2568 error_code_ = value;
2578 return (_has_bits_[0] & 0x00000001u) != 0;
2581 _has_bits_[0] |= 0x00000001u;
2584 _has_bits_[0] &= ~0x00000001u;
2588 clear_has_error_code();
2595 set_has_error_code();
2596 error_code_ = value;
2602 return (_has_bits_[0] & 0x00000002u) != 0;
2605 _has_bits_[0] |= 0x00000002u;
2608 _has_bits_[0] &= ~0x00000002u;
2611 if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2622 if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2623 reason_ = new ::std::string;
2625 reason_->assign(value);
2630 if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2631 reason_ = new ::std::string;
2633 reason_->assign(value);
2638 if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2639 reason_ = new ::std::string;
2641 reason_->assign(
reinterpret_cast<const char*
>(value),
size);
2646 if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2647 reason_ = new ::std::string;
2654 if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2657 ::std::string* temp = reason_;
2658 reason_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2663 if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2671 reason_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2692inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::connection::v1::MeteringLevel>() {
void add_deprecated_imported_service_hash(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED
int imported_service_size() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService > * mutable_imported_service()
int GetCachedSize() const
int deprecated_exported_service_size() const PROTOBUF_DEPRECATED
void set_deprecated_imported_service_hash(int index, ::google::protobuf::uint32 value) PROTOBUF_DEPRECATED
void clear_deprecated_exported_service() PROTOBUF_DEPRECATED
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService > & imported_service() const
static const BindRequest & default_instance()
BindRequest * New() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService > * mutable_exported_service()
void SetCachedSize(int size) const
int deprecated_imported_service_hash_size() const PROTOBUF_DEPRECATED
void clear_deprecated_imported_service_hash() PROTOBUF_DEPRECATED
void clear_imported_service()
BindRequest(const BindRequest &from)
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & deprecated_imported_service_hash() const PROTOBUF_DEPRECATED
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService > & exported_service() const
inline ::bgs::protocol::connection::v1::BoundService * add_imported_service()
inline ::bgs::protocol::connection::v1::BoundService * add_deprecated_exported_service() PROTOBUF_DEPRECATED
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
void clear_exported_service()
BindRequest & operator=(const BindRequest &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void Swap(BindRequest *other)
int exported_service_size() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService > & deprecated_exported_service() const PROTOBUF_DEPRECATED
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_deprecated_imported_service_hash() PROTOBUF_DEPRECATED
inline ::bgs::protocol::connection::v1::BoundService * add_exported_service()
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::connection::v1::BoundService > * mutable_deprecated_exported_service() PROTOBUF_DEPRECATED
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
int imported_service_id_size() const PROTOBUF_DEPRECATED
void SetCachedSize(int size) const
BindResponse(const BindResponse &from)
::google::protobuf::Metadata GetMetadata() const
void clear_imported_service_id() PROTOBUF_DEPRECATED
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & imported_service_id() const PROTOBUF_DEPRECATED
static const ::google::protobuf::Descriptor * descriptor()
void Swap(BindResponse *other)
int GetCachedSize() const
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_imported_service_id() PROTOBUF_DEPRECATED
static const BindResponse & default_instance()
BindResponse & operator=(const BindResponse &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
BindResponse * New() const
void add_imported_service_id(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED
void set_imported_service_id(int index, ::google::protobuf::uint32 value) PROTOBUF_DEPRECATED
BoundService * New() const
friend void protobuf_AssignDesc_connection_5fservice_2eproto()
BoundService(const BoundService &from)
void Swap(BoundService *other)
void set_id(::google::protobuf::uint32 value)
friend void protobuf_ShutdownFile_connection_5fservice_2eproto()
int GetCachedSize() const
void SetCachedSize(int size) const
static const ::google::protobuf::Descriptor * descriptor()
void set_hash(::google::protobuf::uint32 value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::uint32 hash() const
inline ::google::protobuf::uint32 id() const
static BoundService * default_instance_
void InitAsDefaultInstance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::uint32 hash_
BoundService & operator=(const BoundService &from)
friend void TC_PROTO_API protobuf_AddDesc_connection_5fservice_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
static const BoundService & default_instance()
::google::protobuf::uint32 id_
friend void protobuf_AssignDesc_connection_5fservice_2eproto()
void clear_has_sdk_version()
static ClientSdkVersionInfo * default_instance_
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::SemanticVersion * mutable_sdk_version()
::std::string * sdk_name_
inline ::std::string * mutable_sdk_name()
void InitAsDefaultInstance()
const ::bgs::protocol::SemanticVersion & sdk_version() const
int GetCachedSize() const
void Swap(ClientSdkVersionInfo *other)
bool has_sdk_name() const
virtual ~ClientSdkVersionInfo()
void set_has_sdk_version()
::bgs::protocol::SemanticVersion * protocol_version_
void SetCachedSize(int size) const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::bgs::protocol::SemanticVersion * sdk_version_
void set_allocated_protocol_version(::bgs::protocol::SemanticVersion *protocol_version)
ClientSdkVersionInfo(const ClientSdkVersionInfo &from)
void set_allocated_sdk_name(::std::string *sdk_name)
void set_sdk_name(const ::std::string &value)
bool has_protocol_version() const
void set_allocated_sdk_version(::bgs::protocol::SemanticVersion *sdk_version)
ClientSdkVersionInfo * New() const
friend void protobuf_ShutdownFile_connection_5fservice_2eproto()
ClientSdkVersionInfo & operator=(const ClientSdkVersionInfo &from)
inline ::bgs::protocol::SemanticVersion * mutable_protocol_version()
void clear_has_protocol_version()
inline ::bgs::protocol::SemanticVersion * release_sdk_version()
bool has_sdk_version() const
void set_has_protocol_version()
inline ::bgs::protocol::SemanticVersion * release_protocol_version()
inline ::std::string * release_sdk_name()
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
void clear_protocol_version()
friend void TC_PROTO_API protobuf_AddDesc_connection_5fservice_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ClientSdkVersionInfo & default_instance()
const ::bgs::protocol::SemanticVersion & protocol_version() const
void clear_has_sdk_name()
const ::std::string & sdk_name() const
void SetCachedSize(int size) const
friend void protobuf_AssignDesc_connection_5fservice_2eproto()
void clear_metering_level()
bool has_client_sdk_info() const
void clear_has_bind_request()
void set_allocated_client_id(::bgs::protocol::ProcessId *client_id)
void set_allocated_bind_request(::bgs::protocol::connection::v1::BindRequest *bind_request)
void clear_client_sdk_info()
inline ::bgs::protocol::ProcessId * release_client_id()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::connection::v1::ClientSdkVersionInfo * release_client_sdk_info()
void set_has_metering_level()
void set_use_bindless_rpc(bool value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::connection::v1::MeteringLevel metering_level() const
ConnectRequest & operator=(const ConnectRequest &from)
::google::protobuf::Metadata GetMetadata() const
void set_has_bind_request()
::bgs::protocol::ProcessId * client_id_
void clear_has_client_sdk_info()
::bgs::protocol::connection::v1::ClientSdkVersionInfo * client_sdk_info_
static ConnectRequest * default_instance_
const ::bgs::protocol::connection::v1::BindRequest & bind_request() const
void clear_bind_request()
friend void protobuf_ShutdownFile_connection_5fservice_2eproto()
void clear_has_use_bindless_rpc()
ConnectRequest * New() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::connection::v1::ClientSdkVersionInfo * mutable_client_sdk_info()
const ::bgs::protocol::connection::v1::ClientSdkVersionInfo & client_sdk_info() const
::bgs::protocol::connection::v1::BindRequest * bind_request_
bool has_client_id() const
bool has_use_bindless_rpc() const
void set_has_use_bindless_rpc()
const ::bgs::protocol::ProcessId & client_id() const
int GetCachedSize() const
bool has_bind_request() const
inline ::bgs::protocol::connection::v1::BindRequest * mutable_bind_request()
void clear_has_metering_level()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_metering_level(::bgs::protocol::connection::v1::MeteringLevel value)
ConnectRequest(const ConnectRequest &from)
void set_has_client_sdk_info()
void set_allocated_client_sdk_info(::bgs::protocol::connection::v1::ClientSdkVersionInfo *client_sdk_info)
bool has_metering_level() const
friend void TC_PROTO_API protobuf_AddDesc_connection_5fservice_2eproto()
inline ::bgs::protocol::connection::v1::BindRequest * release_bind_request()
void Swap(ConnectRequest *other)
void InitAsDefaultInstance()
void clear_has_client_id()
void clear_use_bindless_rpc()
static const ConnectRequest & default_instance()
inline ::bgs::protocol::ProcessId * mutable_client_id()
bool use_bindless_rpc() const
virtual ~ConnectRequest()
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::uint32 connected_region() const
inline ::std::string * release_ciid()
friend void protobuf_AssignDesc_connection_5fservice_2eproto()
void set_ciid(const ::std::string &value)
::google::protobuf::uint32 connected_region_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_has_connected_region()
void set_allocated_ciid(::std::string *ciid)
void set_has_use_bindless_rpc()
void clear_has_server_time()
bool has_bind_response() const
void clear_has_binary_content_handle_array()
bool has_content_handle_array() const
::google::protobuf::uint32 bind_result_
inline ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles * mutable_content_handle_array()
inline ::bgs::protocol::connection::v1::BindResponse * mutable_bind_response()
inline ::google::protobuf::uint64 server_time() const
void SetCachedSize(int size) const
void set_server_time(::google::protobuf::uint64 value)
void clear_connected_region()
const ::std::string & ciid() const
inline ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles * release_binary_content_handle_array()
void clear_has_bind_response()
ConnectResponse * New() const
inline ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles * release_content_handle_array()
bool has_connected_region() const
::bgs::protocol::ProcessId * client_id_
bool has_binary_content_handle_array() const
bool has_use_bindless_rpc() const
inline ::bgs::protocol::ProcessId * release_server_id()
void clear_has_client_id()
::google::protobuf::uint64 server_time_
void clear_has_server_id()
void Swap(ConnectResponse *other)
inline ::std::string * mutable_ciid()
inline ::bgs::protocol::ProcessId * mutable_server_id()
const ::bgs::protocol::ProcessId & client_id() const
void clear_has_bind_result()
void InitAsDefaultInstance()
bool use_bindless_rpc() const
void set_has_bind_response()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void clear_has_use_bindless_rpc()
inline ::bgs::protocol::ProcessId * release_client_id()
bool has_server_id() const
void clear_binary_content_handle_array()
void set_allocated_bind_response(::bgs::protocol::connection::v1::BindResponse *bind_response)
void set_use_bindless_rpc(bool value)
friend void protobuf_ShutdownFile_connection_5fservice_2eproto()
inline ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles * mutable_binary_content_handle_array()
void set_allocated_server_id(::bgs::protocol::ProcessId *server_id)
void set_allocated_binary_content_handle_array(::bgs::protocol::connection::v1::ConnectionMeteringContentHandles *binary_content_handle_array)
ConnectResponse & operator=(const ConnectResponse &from)
::bgs::protocol::ProcessId * server_id_
void set_bind_result(::google::protobuf::uint32 value)
const ::bgs::protocol::connection::v1::BindResponse & bind_response() const
void set_allocated_content_handle_array(::bgs::protocol::connection::v1::ConnectionMeteringContentHandles *content_handle_array)
void set_has_content_handle_array()
const ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles & binary_content_handle_array() const
void set_has_bind_result()
void clear_bind_response()
void set_has_server_time()
virtual ~ConnectResponse()
void clear_has_connected_region()
::bgs::protocol::connection::v1::BindResponse * bind_response_
bool has_bind_result() const
void clear_content_handle_array()
static const ConnectResponse & default_instance()
inline ::bgs::protocol::connection::v1::BindResponse * release_bind_response()
void set_has_binary_content_handle_array()
const ::bgs::protocol::connection::v1::ConnectionMeteringContentHandles & content_handle_array() const
inline ::bgs::protocol::ProcessId * mutable_client_id()
static ConnectResponse * default_instance_
::bgs::protocol::connection::v1::ConnectionMeteringContentHandles * content_handle_array_
friend void TC_PROTO_API protobuf_AddDesc_connection_5fservice_2eproto()
inline ::google::protobuf::uint32 bind_result() const
void clear_use_bindless_rpc()
static const ::google::protobuf::Descriptor * descriptor()
ConnectResponse(const ConnectResponse &from)
bool has_client_id() const
::bgs::protocol::connection::v1::ConnectionMeteringContentHandles * binary_content_handle_array_
bool has_server_time() const
const ::bgs::protocol::ProcessId & server_id() const
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_allocated_client_id(::bgs::protocol::ProcessId *client_id)
void clear_has_content_handle_array()
void set_connected_region(::google::protobuf::uint32 value)
int GetCachedSize() const
friend void protobuf_AssignDesc_connection_5fservice_2eproto()
ConnectionMeteringContentHandles()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ContentHandle > * mutable_content_handle()
inline ::bgs::protocol::ContentHandle * add_content_handle()
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::ContentHandle > content_handle_
static const ::google::protobuf::Descriptor * descriptor()
void Swap(ConnectionMeteringContentHandles *other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
virtual ~ConnectionMeteringContentHandles()
int GetCachedSize() const
ConnectionMeteringContentHandles(const ConnectionMeteringContentHandles &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
static ConnectionMeteringContentHandles * default_instance_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void protobuf_ShutdownFile_connection_5fservice_2eproto()
ConnectionMeteringContentHandles & operator=(const ConnectionMeteringContentHandles &from)
static const ConnectionMeteringContentHandles & default_instance()
int content_handle_size() const
void InitAsDefaultInstance()
void SetCachedSize(int size) const
ConnectionMeteringContentHandles * New() const
void clear_content_handle()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::ContentHandle > & content_handle() const
friend void TC_PROTO_API protobuf_AddDesc_connection_5fservice_2eproto()
virtual ~ConnectionService()
virtual uint32 HandleBind(::bgs::protocol::connection::v1::BindRequest const *request, ::bgs::protocol::connection::v1::BindResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
virtual uint32 HandleForceDisconnect(::bgs::protocol::connection::v1::DisconnectNotification const *request)
void KeepAlive(::bgs::protocol::NoData const *request, bool client=false, bool server=false)
ConnectionService(bool use_original_hash)
void Encrypt(::bgs::protocol::connection::v1::EncryptRequest const *request, std::function< void(::bgs::protocol::NoData const *)> responseCallback, bool client=false, bool server=false)
void CallServerMethod(uint32 token, uint32 methodId, MessageBuffer buffer) final
void ParseAndHandleForceDisconnect(uint32 token, uint32 methodId, MessageBuffer &buffer)
static google::protobuf::ServiceDescriptor const * descriptor()
void RequestDisconnect(::bgs::protocol::connection::v1::DisconnectRequest const *request, bool client=false, bool server=false)
virtual uint32 HandleEncrypt(::bgs::protocol::connection::v1::EncryptRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
std::integral_constant< uint32, 0x65446991u > OriginalHash
void Bind(::bgs::protocol::connection::v1::BindRequest const *request, std::function< void(::bgs::protocol::connection::v1::BindResponse const *)> responseCallback, bool client=false, bool server=false)
void Connect(::bgs::protocol::connection::v1::ConnectRequest const *request, std::function< void(::bgs::protocol::connection::v1::ConnectResponse const *)> responseCallback, bool client=false, bool server=false)
void ParseAndHandleEncrypt(uint32 token, uint32 methodId, MessageBuffer &buffer)
void Echo(::bgs::protocol::connection::v1::EchoRequest const *request, std::function< void(::bgs::protocol::connection::v1::EchoResponse const *)> responseCallback, bool client=false, bool server=false)
virtual uint32 HandleKeepAlive(::bgs::protocol::NoData const *request)
ConnectionService(ConnectionService const &)=delete
void ParseAndHandleRequestDisconnect(uint32 token, uint32 methodId, MessageBuffer &buffer)
void ParseAndHandleEcho(uint32 token, uint32 methodId, MessageBuffer &buffer)
void ParseAndHandleConnect(uint32 token, uint32 methodId, MessageBuffer &buffer)
ConnectionService & operator=(ConnectionService &&)=delete
void ForceDisconnect(::bgs::protocol::connection::v1::DisconnectNotification const *request, bool client=false, bool server=false)
void ParseAndHandleBind(uint32 token, uint32 methodId, MessageBuffer &buffer)
std::integral_constant< uint32, 0x2782094Bu > NameHash
virtual uint32 HandleConnect(::bgs::protocol::connection::v1::ConnectRequest const *request, ::bgs::protocol::connection::v1::ConnectResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
ConnectionService(ConnectionService &&)=delete
ConnectionService & operator=(ConnectionService const &)=delete
virtual uint32 HandleRequestDisconnect(::bgs::protocol::connection::v1::DisconnectRequest const *request)
virtual uint32 HandleEcho(::bgs::protocol::connection::v1::EchoRequest const *request, ::bgs::protocol::connection::v1::EchoResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation)
void ParseAndHandleKeepAlive(uint32 token, uint32 methodId, MessageBuffer &buffer)
const ::std::string & reason() const
bool has_error_code() const
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_AssignDesc_connection_5fservice_2eproto()
void set_allocated_reason(::std::string *reason)
::google::protobuf::Metadata GetMetadata() const
virtual ~DisconnectNotification()
void clear_has_error_code()
static const DisconnectNotification & default_instance()
inline ::google::protobuf::uint32 error_code() const
void Swap(DisconnectNotification *other)
void set_error_code(::google::protobuf::uint32 value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_reason(const ::std::string &value)
void set_has_error_code()
int GetCachedSize() const
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_ShutdownFile_connection_5fservice_2eproto()
inline ::std::string * mutable_reason()
static DisconnectNotification * default_instance_
DisconnectNotification & operator=(const DisconnectNotification &from)
DisconnectNotification * New() const
::google::protobuf::uint32 error_code_
void SetCachedSize(int size) const
friend void TC_PROTO_API protobuf_AddDesc_connection_5fservice_2eproto()
inline ::std::string * release_reason()
void InitAsDefaultInstance()
DisconnectNotification(const DisconnectNotification &from)
friend void protobuf_AssignDesc_connection_5fservice_2eproto()
::google::protobuf::Metadata GetMetadata() const
void set_error_code(::google::protobuf::uint32 value)
static const DisconnectRequest & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
void clear_has_error_code()
void Swap(DisconnectRequest *other)
DisconnectRequest & operator=(const DisconnectRequest &from)
inline ::google::protobuf::uint32 error_code() const
virtual ~DisconnectRequest()
void SetCachedSize(int size) const
DisconnectRequest(const DisconnectRequest &from)
void set_has_error_code()
void InitAsDefaultInstance()
::google::protobuf::uint32 error_code_
bool has_error_code() const
friend void protobuf_ShutdownFile_connection_5fservice_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
DisconnectRequest * New() const
int GetCachedSize() const
friend void TC_PROTO_API protobuf_AddDesc_connection_5fservice_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::UnknownFieldSet _unknown_fields_
static DisconnectRequest * default_instance_
void clear_has_network_only()
void set_time(::google::protobuf::uint64 value)
friend void protobuf_AssignDesc_connection_5fservice_2eproto()
inline ::bgs::protocol::ProcessId * mutable_forward()
::google::protobuf::Metadata GetMetadata() const
void clear_network_only()
static EchoRequest * default_instance_
EchoRequest * New() const
inline ::bgs::protocol::ProcessId * release_forward()
void InitAsDefaultInstance()
EchoRequest & operator=(const EchoRequest &from)
inline ::std::string * mutable_forward_client_id()
void set_has_network_only()
void clear_forward_client_id()
bool has_forward_client_id() const
::bgs::protocol::ProcessId * forward_
bool has_network_only() const
void clear_has_forward_client_id()
::std::string * forward_client_id_
EchoRequest(const EchoRequest &from)
void set_has_forward_client_id()
void set_network_only(bool value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_forward_client_id(const ::std::string &value)
inline ::std::string * mutable_payload()
const ::std::string & payload() const
void set_allocated_forward_client_id(::std::string *forward_client_id)
friend void protobuf_ShutdownFile_connection_5fservice_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::uint64 time() const
const ::bgs::protocol::ProcessId & forward() const
::google::protobuf::uint64 time_
inline ::std::string * release_forward_client_id()
void set_payload(const ::std::string &value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
bool network_only() const
inline ::std::string * release_payload()
friend void TC_PROTO_API protobuf_AddDesc_connection_5fservice_2eproto()
const ::std::string & forward_client_id() const
void set_allocated_payload(::std::string *payload)
void set_allocated_forward(::bgs::protocol::ProcessId *forward)
int GetCachedSize() const
void Swap(EchoRequest *other)
void SetCachedSize(int size) const
static const EchoRequest & default_instance()
friend void protobuf_AssignDesc_connection_5fservice_2eproto()
void set_allocated_payload(::std::string *payload)
void set_time(::google::protobuf::uint64 value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::uint64 time_
::google::protobuf::Metadata GetMetadata() const
static EchoResponse * default_instance_
inline ::std::string * mutable_payload()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void protobuf_ShutdownFile_connection_5fservice_2eproto()
void SetCachedSize(int size) const
inline ::std::string * release_payload()
EchoResponse * New() const
static const EchoResponse & default_instance()
const ::std::string & payload() const
inline ::google::protobuf::uint64 time() const
EchoResponse & operator=(const EchoResponse &from)
void InitAsDefaultInstance()
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void TC_PROTO_API protobuf_AddDesc_connection_5fservice_2eproto()
int GetCachedSize() const
void Swap(EchoResponse *other)
EchoResponse(const EchoResponse &from)
void set_payload(const ::std::string &value)
friend void protobuf_AssignDesc_connection_5fservice_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
void SetCachedSize(int size) const
EncryptRequest(const EncryptRequest &from)
void InitAsDefaultInstance()
static EncryptRequest * default_instance_
::google::protobuf::UnknownFieldSet _unknown_fields_
void Swap(EncryptRequest *other)
virtual ~EncryptRequest()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void protobuf_ShutdownFile_connection_5fservice_2eproto()
EncryptRequest & operator=(const EncryptRequest &from)
int GetCachedSize() const
static const EncryptRequest & default_instance()
::google::protobuf::Metadata GetMetadata() const
friend void TC_PROTO_API protobuf_AddDesc_connection_5fservice_2eproto()
EncryptRequest * New() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
constexpr std::size_t size()
const MeteringLevel MeteringLevel_MAX
void protobuf_ShutdownFile_connection_5fservice_2eproto()
const ::std::string & MeteringLevel_Name(MeteringLevel value)
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * MeteringLevel_descriptor()
const MeteringLevel MeteringLevel_MIN
TC_PROTO_API bool MeteringLevel_IsValid(int value)
void TC_PROTO_API protobuf_AddDesc_connection_5fservice_2eproto()
const int MeteringLevel_ARRAYSIZE
bool MeteringLevel_Parse(const ::std::string &name, MeteringLevel *value)
@ METERING_LEVEL_CATEGORIZED
void protobuf_AssignDesc_connection_5fservice_2eproto()