4#ifndef PROTOBUF_role_5ftypes_2eproto__INCLUDED
5#define PROTOBUF_role_5ftypes_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/unknown_field_set.h>
56 return _unknown_fields_;
60 return &_unknown_fields_;
63 static const ::google::protobuf::Descriptor*
descriptor();
84 inline bool has_id()
const;
85 inline void clear_id();
86 static const int kIdFieldNumber = 1;
91 inline bool has_name()
const;
92 inline void clear_name();
93 static const int kNameFieldNumber = 2;
94 inline const ::std::string& name()
const;
95 inline void set_name(const ::std::string& value);
96 inline void set_name(
const char* value);
97 inline void set_name(
const char* value,
size_t size);
98 inline ::std::string* mutable_name();
99 inline ::std::string* release_name();
100 inline void set_allocated_name(::std::string* name);
103 inline int privilege_size()
const;
104 inline void clear_privilege();
105 static const int kPrivilegeFieldNumber = 3;
106 inline const ::std::string& privilege(
int index)
const;
107 inline ::std::string* mutable_privilege(
int index);
108 inline void set_privilege(
int index, const ::std::string& value);
109 inline void set_privilege(
int index,
const char* value);
110 inline void set_privilege(
int index,
const char* value,
size_t size);
111 inline ::std::string* add_privilege();
112 inline void add_privilege(const ::std::string& value);
113 inline void add_privilege(
const char* value);
114 inline void add_privilege(
const char* value,
size_t size);
115 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& privilege()
const;
116 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_privilege();
119 inline int assignable_role_size()
const;
120 inline void clear_assignable_role();
121 static const int kAssignableRoleFieldNumber = 4;
125 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
126 assignable_role()
const;
127 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
128 mutable_assignable_role();
131 inline bool has_required()
const;
132 inline void clear_required();
133 static const int kRequiredFieldNumber = 5;
134 inline bool required()
const;
135 inline void set_required(
bool value);
138 inline bool has_unique()
const;
139 inline void clear_unique();
140 static const int kUniqueFieldNumber = 6;
141 inline bool unique()
const;
142 inline void set_unique(
bool value);
145 inline bool has_relegation_role()
const;
146 inline void clear_relegation_role();
147 static const int kRelegationRoleFieldNumber = 7;
152 inline int kickable_role_size()
const;
153 inline void clear_kickable_role();
154 static const int kKickableRoleFieldNumber = 9;
158 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
159 kickable_role()
const;
160 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
161 mutable_kickable_role();
164 inline int removable_role_size()
const;
165 inline void clear_removable_role();
166 static const int kRemovableRoleFieldNumber = 10;
170 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
171 removable_role()
const;
172 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
173 mutable_removable_role();
177 inline void set_has_id();
178 inline void clear_has_id();
179 inline void set_has_name();
180 inline void clear_has_name();
181 inline void set_has_required();
182 inline void clear_has_required();
183 inline void set_has_unique();
184 inline void clear_has_unique();
185 inline void set_has_relegation_role();
186 inline void clear_has_relegation_role();
193 ::google::protobuf::RepeatedPtrField< ::std::string>
privilege_;
223 return _unknown_fields_;
227 return &_unknown_fields_;
251 inline bool has_name()
const;
252 inline void clear_name();
253 static const int kNameFieldNumber = 2;
254 inline const ::std::string& name()
const;
255 inline void set_name(const ::std::string& value);
256 inline void set_name(
const char* value);
257 inline void set_name(
const char* value,
size_t size);
258 inline ::std::string* mutable_name();
259 inline ::std::string* release_name();
260 inline void set_allocated_name(::std::string* name);
263 inline int assignable_role_size()
const;
264 inline void clear_assignable_role();
265 static const int kAssignableRoleFieldNumber = 4;
269 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
270 assignable_role()
const;
271 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
272 mutable_assignable_role();
275 inline bool has_required()
const;
276 inline void clear_required();
277 static const int kRequiredFieldNumber = 5;
278 inline bool required()
const;
279 inline void set_required(
bool value);
282 inline bool has_unique()
const;
283 inline void clear_unique();
284 static const int kUniqueFieldNumber = 6;
285 inline bool unique()
const;
286 inline void set_unique(
bool value);
289 inline bool has_relegation_role()
const;
290 inline void clear_relegation_role();
291 static const int kRelegationRoleFieldNumber = 7;
296 inline int kickable_role_size()
const;
297 inline void clear_kickable_role();
298 static const int kKickableRoleFieldNumber = 9;
302 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
303 kickable_role()
const;
304 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
305 mutable_kickable_role();
308 inline int removable_role_size()
const;
309 inline void clear_removable_role();
310 static const int kRemovableRoleFieldNumber = 10;
314 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
315 removable_role()
const;
316 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
317 mutable_removable_role();
320 inline int mentionable_role_size()
const;
321 inline void clear_mentionable_role();
322 static const int kMentionableRoleFieldNumber = 11;
326 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
327 mentionable_role()
const;
328 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
329 mutable_mentionable_role();
333 inline void set_has_name();
334 inline void clear_has_name();
335 inline void set_has_required();
336 inline void clear_has_required();
337 inline void set_has_unique();
338 inline void clear_has_unique();
339 inline void set_has_relegation_role();
340 inline void clear_has_relegation_role();
404 if (
name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
415 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
416 name_ = new ::std::string;
418 name_->assign(value);
423 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
424 name_ = new ::std::string;
426 name_->assign(value);
431 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
432 name_ = new ::std::string;
434 name_->assign(
reinterpret_cast<const char*
>(value),
size);
439 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
440 name_ = new ::std::string;
447 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
450 ::std::string* temp =
name_;
451 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
456 if (
name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
464 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
494 reinterpret_cast<const char*
>(value),
size);
509 privilege_.Add()->assign(
reinterpret_cast<const char*
>(value),
size);
512inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
517inline ::google::protobuf::RepeatedPtrField< ::std::string>*
542inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
547inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
644inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
649inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
674inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
679inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
700 if (
name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
711 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
712 name_ = new ::std::string;
714 name_->assign(value);
719 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
720 name_ = new ::std::string;
722 name_->assign(value);
727 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
728 name_ = new ::std::string;
730 name_->assign(
reinterpret_cast<const char*
>(value),
size);
735 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
736 name_ = new ::std::string;
743 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
746 ::std::string* temp =
name_;
747 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
752 if (
name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
760 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
784inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
789inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
886inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
891inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
916inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
921inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
946inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
951inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
int GetCachedSize() const
friend void protobuf_AssignDesc_role_5ftypes_2eproto()
bool has_required() const
::google::protobuf::uint32 _has_bits_[1]
void add_kickable_role(::google::protobuf::uint32 value)
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > removable_role_
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_kickable_role()
void set_removable_role(int index, ::google::protobuf::uint32 value)
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_removable_role()
RoleState(const RoleState &from)
void set_has_relegation_role()
::google::protobuf::uint32 relegation_role_
inline ::std::string * release_name()
void set_allocated_name(::std::string *name)
void set_kickable_role(int index, ::google::protobuf::uint32 value)
int removable_role_size() const
::google::protobuf::Metadata GetMetadata() const
static const RoleState & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void clear_relegation_role()
inline ::google::protobuf::uint32 relegation_role() const
void set_mentionable_role(int index, ::google::protobuf::uint32 value)
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & assignable_role() const
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & removable_role() const
bool has_relegation_role() const
void set_assignable_role(int index, ::google::protobuf::uint32 value)
void set_required(bool value)
void clear_kickable_role()
::google::protobuf::UnknownFieldSet _unknown_fields_
int kickable_role_size() const
int assignable_role_size() const
friend void TC_PROTO_API protobuf_AddDesc_role_5ftypes_2eproto()
const ::std::string & name() const
void clear_mentionable_role()
void SetCachedSize(int size) const
void InitAsDefaultInstance()
friend void protobuf_ShutdownFile_role_5ftypes_2eproto()
void clear_removable_role()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & kickable_role() const
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > kickable_role_
void clear_has_relegation_role()
int mentionable_role_size() const
inline ::std::string * mutable_name()
void set_unique(bool value)
void Swap(RoleState *other)
static RoleState * default_instance_
void add_assignable_role(::google::protobuf::uint32 value)
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & mentionable_role() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_assignable_role()
void clear_assignable_role()
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_mentionable_role()
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > assignable_role_
void add_mentionable_role(::google::protobuf::uint32 value)
void clear_has_required()
RoleState & operator=(const RoleState &from)
void add_removable_role(::google::protobuf::uint32 value)
void set_relegation_role(::google::protobuf::uint32 value)
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > mentionable_role_
void set_name(const ::std::string &value)
void clear_assignable_role()
friend void protobuf_AssignDesc_role_5ftypes_2eproto()
void set_id(::google::protobuf::uint32 value)
const ::google::protobuf::RepeatedPtrField< ::std::string > & privilege() const
bool has_required() const
::google::protobuf::RepeatedPtrField< ::std::string > privilege_
void clear_kickable_role()
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_kickable_role()
inline ::std::string * add_privilege()
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_removable_role()
void set_privilege(int index, const ::std::string &value)
void set_removable_role(int index, ::google::protobuf::uint32 value)
inline ::google::protobuf::uint32 relegation_role() const
void clear_has_relegation_role()
int kickable_role_size() const
void clear_relegation_role()
::google::protobuf::uint32 id_
void add_removable_role(::google::protobuf::uint32 value)
::google::protobuf::uint32 relegation_role_
bool has_relegation_role() const
void set_relegation_role(::google::protobuf::uint32 value)
int removable_role_size() const
const ::std::string & name() const
void clear_removable_role()
::google::protobuf::uint32 _has_bits_[1]
int privilege_size() const
inline ::google::protobuf::uint32 id() const
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & assignable_role() const
void SetCachedSize(int size) const
void set_assignable_role(int index, ::google::protobuf::uint32 value)
void set_has_relegation_role()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void InitAsDefaultInstance()
friend void TC_PROTO_API protobuf_AddDesc_role_5ftypes_2eproto()
static Role * default_instance_
void set_allocated_name(::std::string *name)
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > kickable_role_
friend void protobuf_ShutdownFile_role_5ftypes_2eproto()
void add_kickable_role(::google::protobuf::uint32 value)
Role & operator=(const Role &from)
void add_assignable_role(::google::protobuf::uint32 value)
void clear_has_required()
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & kickable_role() const
static const ::google::protobuf::Descriptor * descriptor()
void set_name(const ::std::string &value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & removable_role() const
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > assignable_role_
static const Role & default_instance()
inline ::google::protobuf::RepeatedPtrField< ::std::string > * mutable_privilege()
int GetCachedSize() const
void set_unique(bool value)
inline ::std::string * mutable_name()
void set_required(bool value)
int assignable_role_size() const
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_assignable_role()
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_kickable_role(int index, ::google::protobuf::uint32 value)
inline ::std::string * release_name()
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > removable_role_
constexpr std::size_t size()
void protobuf_AssignDesc_role_5ftypes_2eproto()
void TC_PROTO_API protobuf_AddDesc_role_5ftypes_2eproto()
void protobuf_ShutdownFile_role_5ftypes_2eproto()