4 #ifndef PROTOBUF_role_5ftypes_2eproto__INCLUDED
5 #define PROTOBUF_role_5ftypes_2eproto__INCLUDED
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.
56 return _unknown_fields_;
60 return &_unknown_fields_;
63 static const ::google::protobuf::Descriptor* descriptor();
64 static const Role& default_instance();
66 void Swap(
Role* other);
71 void CopyFrom(const ::google::protobuf::Message& from);
72 void MergeFrom(const ::google::protobuf::Message& from);
73 void CopyFrom(
const Role& from);
74 void MergeFrom(
const Role& from);
76 bool IsInitialized()
const;
79 bool MergePartialFromCodedStream(
81 void SerializeWithCachedSizes(
88 void SetCachedSize(
int size)
const;
97 inline bool has_id()
const;
98 inline void clear_id();
99 static const int kIdFieldNumber = 1;
104 inline bool has_name()
const;
105 inline void clear_name();
106 static const int kNameFieldNumber = 2;
107 inline const ::std::string& name()
const;
108 inline void set_name(const ::std::string&
value);
109 inline void set_name(
const char*
value);
110 inline void set_name(
const char*
value,
size_t size);
111 inline ::std::string* mutable_name();
112 inline ::std::string* release_name();
113 inline void set_allocated_name(::std::string* name);
116 inline int privilege_size()
const;
117 inline void clear_privilege();
118 static const int kPrivilegeFieldNumber = 3;
119 inline const ::std::string& privilege(
int index)
const;
120 inline ::std::string* mutable_privilege(
int index);
121 inline void set_privilege(
int index, const ::std::string&
value);
122 inline void set_privilege(
int index,
const char*
value);
123 inline void set_privilege(
int index,
const char*
value,
size_t size);
124 inline ::std::string* add_privilege();
125 inline void add_privilege(const ::std::string&
value);
126 inline void add_privilege(
const char*
value);
127 inline void add_privilege(
const char*
value,
size_t size);
128 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& privilege()
const;
129 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_privilege();
132 inline int assignable_role_size()
const;
133 inline void clear_assignable_role();
134 static const int kAssignableRoleFieldNumber = 4;
138 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
139 assignable_role()
const;
140 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
141 mutable_assignable_role();
144 inline bool has_required()
const;
145 inline void clear_required();
146 static const int kRequiredFieldNumber = 5;
147 inline bool required()
const;
148 inline void set_required(
bool value);
151 inline bool has_unique()
const;
152 inline void clear_unique();
153 static const int kUniqueFieldNumber = 6;
154 inline bool unique()
const;
155 inline void set_unique(
bool value);
158 inline bool has_relegation_role()
const;
159 inline void clear_relegation_role();
160 static const int kRelegationRoleFieldNumber = 7;
165 inline int attribute_size()
const;
166 inline void clear_attribute();
167 static const int kAttributeFieldNumber = 8;
168 inline const ::bgs::protocol::Attribute& attribute(
int index)
const;
169 inline ::bgs::protocol::Attribute* mutable_attribute(
int index);
170 inline ::bgs::protocol::Attribute* add_attribute();
171 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
173 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
177 inline int kickable_role_size()
const;
178 inline void clear_kickable_role();
179 static const int kKickableRoleFieldNumber = 9;
183 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
184 kickable_role()
const;
185 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
186 mutable_kickable_role();
189 inline int removable_role_size()
const;
190 inline void clear_removable_role();
191 static const int kRemovableRoleFieldNumber = 10;
195 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
196 removable_role()
const;
197 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
198 mutable_removable_role();
202 inline void set_has_id();
203 inline void clear_has_id();
204 inline void set_has_name();
205 inline void clear_has_name();
206 inline void set_has_required();
207 inline void clear_has_required();
208 inline void set_has_unique();
209 inline void clear_has_unique();
210 inline void set_has_relegation_role();
211 inline void clear_has_relegation_role();
234 void InitAsDefaultInstance();
294 name_ = new ::std::string;
296 name_->assign(value);
302 name_ = new ::std::string;
304 name_->assign(value);
310 name_ = new ::std::string;
312 name_->assign(reinterpret_cast<const char*>(value), size);
318 name_ = new ::std::string;
328 ::std::string* temp =
name_;
372 reinterpret_cast<const char*>(value), size);
387 privilege_.
Add()->assign(reinterpret_cast<const char*>(value), size);
390 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
395 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
420 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
425 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
522 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
527 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
552 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
557 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
582 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
587 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
610 #endif // PROTOBUF_role_5ftypes_2eproto__INCLUDED
Role & operator=(const Role &from)
Definition: role_types.pb.h:50
void TC_SHARED_API protobuf_AddDesc_role_5ftypes_2eproto()
void clear_id()
Definition: role_types.pb.h:257
const Element & Get(int index) const
Definition: repeated_field.h:1112
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & assignable_role() const
Definition: role_types.pb.h:421
int attribute_size() const
Definition: role_types.pb.h:504
static Role * default_instance_
Definition: role_types.pb.h:235
bool unique_
Definition: role_types.pb.h:223
void clear_assignable_role()
Definition: role_types.pb.h:405
inline::google::protobuf::uint32 id() const
Definition: role_types.pb.h:261
void clear_relegation_role()
Definition: role_types.pb.h:489
bool unique() const
Definition: role_types.pb.h:469
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Definition: role_types.pb.h:224
void set_has_required()
Definition: role_types.pb.h:435
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: role_types.pb.h:213
inline::std::string * add_privilege()
Definition: role_types.pb.h:375
Definition: unknown_field_set.h:74
bool has_required() const
Definition: role_types.pb.h:432
::google::protobuf::uint32 relegation_role_
Definition: role_types.pb.h:229
Element * Add()
Definition: repeated_field.h:1123
void set_required(bool value)
Definition: role_types.pb.h:449
uint8_t uint8
Definition: common.h:175
void set_removable_role(int index,::google::protobuf::uint32 value)
Definition: role_types.pb.h:574
int privilege_size() const
Definition: role_types.pb.h:348
void protobuf_AssignDesc_role_5ftypes_2eproto()
Definition: role_types.pb.h:43
inline::std::string * mutable_name()
Definition: role_types.pb.h:315
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: role_types.pb.h:59
arena_t NULL
Definition: jemalloc_internal.h:624
void protobuf_ShutdownFile_role_5ftypes_2eproto()
inline::bgs::protocol::Attribute * add_attribute()
Definition: role_types.pb.h:518
void set_name(const ::std::string &value)
Definition: role_types.pb.h:291
int _kickable_role_cached_byte_size_
Definition: role_types.pb.h:226
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void add_assignable_role(::google::protobuf::uint32 value)
Definition: role_types.pb.h:416
void clear_removable_role()
Definition: role_types.pb.h:567
void add_kickable_role(::google::protobuf::uint32 value)
Definition: role_types.pb.h:548
int kickable_role_size() const
Definition: role_types.pb.h:534
int size() const
Definition: repeated_field.h:631
inline::google::protobuf::RepeatedPtrField< ::std::string > * mutable_privilege()
Definition: role_types.pb.h:396
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > assignable_role_
Definition: role_types.pb.h:219
::google::protobuf::uint32 _has_bits_[1]
Definition: role_types.pb.h:215
bool has_name() const
Definition: role_types.pb.h:272
int assignable_role_size() const
Definition: role_types.pb.h:402
void set_privilege(int index, const ::std::string &value)
Definition: role_types.pb.h:362
Definition: message.h:165
::std::string * name_
Definition: role_types.pb.h:217
void set_unique(bool value)
Definition: role_types.pb.h:473
void Clear()
Definition: repeated_field.h:1160
const ::google::protobuf::RepeatedPtrField< ::std::string > & privilege() const
Definition: role_types.pb.h:391
inline::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_assignable_role()
Definition: role_types.pb.h:426
::google::protobuf::RepeatedPtrField< ::std::string > privilege_
Definition: role_types.pb.h:218
void set_has_name()
Definition: role_types.pb.h:275
void clear_kickable_role()
Definition: role_types.pb.h:537
void set_id(::google::protobuf::uint32 value)
Definition: role_types.pb.h:265
inline::google::protobuf::uint32 relegation_role() const
Definition: role_types.pb.h:493
void set_assignable_role(int index,::google::protobuf::uint32 value)
Definition: role_types.pb.h:412
void set_kickable_role(int index,::google::protobuf::uint32 value)
Definition: role_types.pb.h:544
inline::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > * mutable_attribute()
Definition: role_types.pb.h:528
void clear_privilege()
Definition: role_types.pb.h:351
Definition: coded_stream.h:621
void clear_name()
Definition: role_types.pb.h:281
void clear_unique()
Definition: role_types.pb.h:465
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > removable_role_
Definition: role_types.pb.h:227
void add_removable_role(::google::protobuf::uint32 value)
Definition: role_types.pb.h:578
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > & attribute() const
Definition: role_types.pb.h:523
const ::std::string & name() const
Definition: role_types.pb.h:287
int _removable_role_cached_byte_size_
Definition: role_types.pb.h:228
void set_allocated_name(::std::string *name)
Definition: role_types.pb.h:333
inline::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_removable_role()
Definition: role_types.pb.h:588
uint32_t uint32
Definition: common.h:177
#define TC_SHARED_API
Definition: Define.h:128
void set_has_unique()
Definition: role_types.pb.h:459
bool required() const
Definition: role_types.pb.h:445
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: role_types.pb.h:55
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > kickable_role_
Definition: role_types.pb.h:225
void clear_has_unique()
Definition: role_types.pb.h:462
void clear_has_id()
Definition: role_types.pb.h:254
void Add(const Element &value)
Definition: repeated_field.h:684
int GetCachedSize() const
Definition: role_types.pb.h:84
bool has_relegation_role() const
Definition: role_types.pb.h:480
bool has_id() const
Definition: role_types.pb.h:248
void clear_required()
Definition: role_types.pb.h:441
int _cached_size_
Definition: role_types.pb.h:216
bool required_
Definition: role_types.pb.h:222
void clear_attribute()
Definition: role_types.pb.h:507
void Clear()
Definition: repeated_field.h:723
int size() const
Definition: repeated_field.h:1107
int removable_role_size() const
Definition: role_types.pb.h:564
::google::protobuf::uint32 id_
Definition: role_types.pb.h:221
Definition: BnetFileGenerator.h:47
int _assignable_role_cached_byte_size_
Definition: role_types.pb.h:220
const FieldDescriptor value
Definition: descriptor.h:1522
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & removable_role() const
Definition: role_types.pb.h:583
bool has_unique() const
Definition: role_types.pb.h:456
inline::std::string * release_name()
Definition: role_types.pb.h:323
uint32_t uint32
Definition: g3dmath.h:168
void set_has_id()
Definition: role_types.pb.h:251
void clear_has_required()
Definition: role_types.pb.h:438
void set_relegation_role(::google::protobuf::uint32 value)
Definition: role_types.pb.h:497
void clear_has_name()
Definition: role_types.pb.h:278
void set_has_relegation_role()
Definition: role_types.pb.h:483
const Element & Get(int index) const
Definition: repeated_field.h:663
inline::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_kickable_role()
Definition: role_types.pb.h:558
Element * Mutable(int index)
Definition: repeated_field.h:1118
void Set(int index, const Element &value)
Definition: repeated_field.h:677
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & kickable_role() const
Definition: role_types.pb.h:553
void clear_has_relegation_role()
Definition: role_types.pb.h:486