TrinityCore
club_member_id.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: club_member_id.proto
3
4#ifndef PROTOBUF_club_5fmember_5fid_2eproto__INCLUDED
5#define PROTOBUF_club_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 = 1;
88 inline bool has_account_id() const;
89 inline void clear_account_id();
90 static const int kAccountIdFieldNumber = 1;
91 inline const ::bgs::protocol::account::v1::AccountId& account_id() const;
92 inline ::bgs::protocol::account::v1::AccountId* mutable_account_id();
93 inline ::bgs::protocol::account::v1::AccountId* release_account_id();
94 inline void set_allocated_account_id(::bgs::protocol::account::v1::AccountId* account_id);
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 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MemberId)
104 private:
105 inline void set_has_account_id();
106 inline void clear_has_account_id();
107 inline void set_has_unique_id();
108 inline void clear_has_unique_id();
109
110 ::google::protobuf::UnknownFieldSet _unknown_fields_;
111
113 mutable int _cached_size_;
119
122};
123// ===================================================================
124
125// ===================================================================
126
127// ===================================================================
128
129// MemberId
130
131// optional .bgs.protocol.account.v1.AccountId account_id = 1;
132inline bool MemberId::has_account_id() const {
133 return (_has_bits_[0] & 0x00000001u) != 0;
134}
136 _has_bits_[0] |= 0x00000001u;
137}
139 _has_bits_[0] &= ~0x00000001u;
140}
142 if (account_id_ != NULL) account_id_->::bgs::protocol::account::v1::AccountId::Clear();
144}
145inline const ::bgs::protocol::account::v1::AccountId& MemberId::account_id() const {
146 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberId.account_id)
148}
149inline ::bgs::protocol::account::v1::AccountId* MemberId::mutable_account_id() {
151 if (account_id_ == NULL) account_id_ = new ::bgs::protocol::account::v1::AccountId;
152 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MemberId.account_id)
153 return account_id_;
154}
155inline ::bgs::protocol::account::v1::AccountId* MemberId::release_account_id() {
158 account_id_ = NULL;
159 return temp;
160}
162 delete account_id_;
164 if (account_id) {
166 } else {
168 }
169 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.MemberId.account_id)
170}
171
172// optional uint64 unique_id = 2;
173inline bool MemberId::has_unique_id() const {
174 return (_has_bits_[0] & 0x00000002u) != 0;
175}
177 _has_bits_[0] |= 0x00000002u;
178}
180 _has_bits_[0] &= ~0x00000002u;
181}
183 unique_id_ = GOOGLE_ULONGLONG(0);
185}
187 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MemberId.unique_id)
188 return unique_id_;
189}
192 unique_id_ = value;
193 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MemberId.unique_id)
194}
195
196// @@protoc_insertion_point(namespace_scope)
197
198} // namespace v1
199} // namespace club
200} // namespace protocol
201} // namespace bgs
202
203#ifndef SWIG
204namespace google {
205namespace protobuf {
206} // namespace google
207} // namespace protobuf
208#endif // SWIG
209
210// @@protoc_insertion_point(global_scope)
211
212#endif // PROTOBUF_club_5fmember_5fid_2eproto__INCLUDED
#define TC_PROTO_API
Definition: Define.h:105
uint64_t uint64
Definition: Define.h:141
uint32_t uint32
Definition: Define.h:142
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_allocated_account_id(::bgs::protocol::account::v1::AccountId *account_id)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void protobuf_AssignDesc_club_5fmember_5fid_2eproto()
MemberId & operator=(const MemberId &from)
inline ::bgs::protocol::account::v1::AccountId * release_account_id()
MemberId(const MemberId &from)
static const ::google::protobuf::Descriptor * descriptor()
static const MemberId & default_instance()
::google::protobuf::uint64 unique_id_
void Swap(MemberId *other)
const ::bgs::protocol::account::v1::AccountId & account_id() const
inline ::bgs::protocol::account::v1::AccountId * mutable_account_id()
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
friend void protobuf_ShutdownFile_club_5fmember_5fid_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void TC_PROTO_API protobuf_AddDesc_club_5fmember_5fid_2eproto()
::bgs::protocol::account::v1::AccountId * account_id_
constexpr std::size_t size()
Definition: UpdateField.h:796
void protobuf_ShutdownFile_club_5fmember_5fid_2eproto()
void protobuf_AssignDesc_club_5fmember_5fid_2eproto()
void TC_PROTO_API protobuf_AddDesc_club_5fmember_5fid_2eproto()
Definition: Session.h:36