TrinityCore
Loading...
Searching...
No Matches
club_member_id.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: api/common/v1/club_member_id.proto
3
4#ifndef PROTOBUF_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto__INCLUDED
5#define PROTOBUF_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto__INCLUDED
6
7#include <string>
8
9#include <google/protobuf/stubs/common.h>
10
11#if GOOGLE_PROTOBUF_VERSION < 2006000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/generated_message_util.h>
23#include <google/protobuf/message.h>
24#include <google/protobuf/repeated_field.h>
25#include <google/protobuf/extension_set.h>
26#include <google/protobuf/unknown_field_set.h>
28#include "account_types.pb.h"
29#include "rpc_types.pb.h"
30#include "Define.h" // for TC_PROTO_API
31// @@protoc_insertion_point(includes)
32
33namespace bgs {
34namespace protocol {
35namespace club {
36namespace v1 {
37
38// Internal implementation detail -- do not call these.
42
43class MemberId;
44
45// ===================================================================
46
47class TC_PROTO_API MemberId : public ::google::protobuf::Message {
48 public:
50 virtual ~MemberId();
51
52 MemberId(const MemberId& from);
53
54 inline MemberId& operator=(const MemberId& from) {
55 CopyFrom(from);
56 return *this;
57 }
58
59 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
60 return _unknown_fields_;
61 }
62
63 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
64 return &_unknown_fields_;
65 }
66
67 static const ::google::protobuf::Descriptor* descriptor();
68 static const MemberId& default_instance();
69
70 void Swap(MemberId* other);
71
72 // implements Message ----------------------------------------------
73
74 MemberId* New() const;
75 int GetCachedSize() const { return _cached_size_; }
76 private:
77 void SharedCtor();
78 void SharedDtor();
79 void SetCachedSize(int size) const;
80 public:
81 ::google::protobuf::Metadata GetMetadata() const;
82
83 // nested types ----------------------------------------------------
84
85 // accessors -------------------------------------------------------
86
87 // optional .bgs.protocol.account.v1.AccountId account_id_deprecated = 1;
88 inline bool has_account_id_deprecated() const;
89 inline void clear_account_id_deprecated();
90 static const int kAccountIdDeprecatedFieldNumber = 1;
91 inline const ::bgs::protocol::account::v1::AccountId& account_id_deprecated() const;
92 inline ::bgs::protocol::account::v1::AccountId* mutable_account_id_deprecated();
93 inline ::bgs::protocol::account::v1::AccountId* release_account_id_deprecated();
94 inline void set_allocated_account_id_deprecated(::bgs::protocol::account::v1::AccountId* account_id_deprecated);
95
96 // optional uint64 unique_id = 2;
97 inline bool has_unique_id() const;
98 inline void clear_unique_id();
99 static const int kUniqueIdFieldNumber = 2;
100 inline ::google::protobuf::uint64 unique_id() const;
101 inline void set_unique_id(::google::protobuf::uint64 value);
102
103 // optional uint64 account_id = 3;
104 inline bool has_account_id() const;
105 inline void clear_account_id();
106 static const int kAccountIdFieldNumber = 3;
107 inline ::google::protobuf::uint64 account_id() const;
108 inline void set_account_id(::google::protobuf::uint64 value);
109
110 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberId)
111 private:
112 inline void set_has_account_id_deprecated();
113 inline void clear_has_account_id_deprecated();
114 inline void set_has_unique_id();
115 inline void clear_has_unique_id();
116 inline void set_has_account_id();
117 inline void clear_has_account_id();
118
119 ::google::protobuf::UnknownFieldSet _unknown_fields_;
120
121 ::google::protobuf::uint32 _has_bits_[1];
122 mutable int _cached_size_;
124 ::google::protobuf::uint64 unique_id_;
125 ::google::protobuf::uint64 account_id_;
129
132};
133// ===================================================================
134
135// ===================================================================
136
137// ===================================================================
138
139// MemberId
140
141// optional .bgs.protocol.account.v1.AccountId account_id_deprecated = 1;
143 return (_has_bits_[0] & 0x00000001u) != 0;
144}
146 _has_bits_[0] |= 0x00000001u;
147}
149 _has_bits_[0] &= ~0x00000001u;
150}
152 if (account_id_deprecated_ != NULL) account_id_deprecated_->::bgs::protocol::account::v1::AccountId::Clear();
154}
155inline const ::bgs::protocol::account::v1::AccountId& MemberId::account_id_deprecated() const {
156 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberId.account_id_deprecated)
158}
159inline ::bgs::protocol::account::v1::AccountId* MemberId::mutable_account_id_deprecated() {
161 if (account_id_deprecated_ == NULL) account_id_deprecated_ = new ::bgs::protocol::account::v1::AccountId;
162 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberId.account_id_deprecated)
164}
165inline ::bgs::protocol::account::v1::AccountId* MemberId::release_account_id_deprecated() {
169 return temp;
170}
176 } else {
178 }
179 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberId.account_id_deprecated)
180}
181
182// optional uint64 unique_id = 2;
183inline bool MemberId::has_unique_id() const {
184 return (_has_bits_[0] & 0x00000002u) != 0;
185}
187 _has_bits_[0] |= 0x00000002u;
188}
190 _has_bits_[0] &= ~0x00000002u;
191}
193 unique_id_ = GOOGLE_ULONGLONG(0);
195}
196inline ::google::protobuf::uint64 MemberId::unique_id() const {
197 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberId.unique_id)
198 return unique_id_;
199}
200inline void MemberId::set_unique_id(::google::protobuf::uint64 value) {
202 unique_id_ = value;
203 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberId.unique_id)
204}
205
206// optional uint64 account_id = 3;
207inline bool MemberId::has_account_id() const {
208 return (_has_bits_[0] & 0x00000004u) != 0;
209}
211 _has_bits_[0] |= 0x00000004u;
212}
214 _has_bits_[0] &= ~0x00000004u;
215}
217 account_id_ = GOOGLE_ULONGLONG(0);
219}
220inline ::google::protobuf::uint64 MemberId::account_id() const {
221 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberId.account_id)
222 return account_id_;
223}
224inline void MemberId::set_account_id(::google::protobuf::uint64 value) {
226 account_id_ = value;
227 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberId.account_id)
228}
229
230// @@protoc_insertion_point(namespace_scope)
231
232} // namespace v1
233} // namespace club
234} // namespace protocol
235} // namespace bgs
236
237#ifndef SWIG
238namespace google {
239namespace protobuf {
240} // namespace google
241} // namespace protobuf
242#endif // SWIG
243
244// @@protoc_insertion_point(global_scope)
245
246#endif // PROTOBUF_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto__INCLUDED
#define TC_PROTO_API
Definition Define.h:105
::google::protobuf::uint64 account_id_
inline ::google::protobuf::uint64 account_id() const
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::bgs::protocol::account::v1::AccountId & account_id_deprecated() const
::bgs::protocol::account::v1::AccountId * account_id_deprecated_
friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto()
MemberId & operator=(const MemberId &from)
friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto()
MemberId(const MemberId &from)
static const ::google::protobuf::Descriptor * descriptor()
static const MemberId & default_instance()
::google::protobuf::uint64 unique_id_
inline ::bgs::protocol::account::v1::AccountId * mutable_account_id_deprecated()
friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto()
void set_account_id(::google::protobuf::uint64 value)
void Swap(MemberId *other)
void set_unique_id(::google::protobuf::uint64 value)
::google::protobuf::uint32 _has_bits_[1]
inline ::google::protobuf::uint64 unique_id() const
void SetCachedSize(int size) const
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::account::v1::AccountId * release_account_id_deprecated()
void set_allocated_account_id_deprecated(::bgs::protocol::account::v1::AccountId *account_id_deprecated)
void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto()
void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto()
void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5fmember_5fid_2eproto()
Definition Session.h:37