4 #ifndef PROTOBUF_profanity_5ffilter_5fconfig_2eproto__INCLUDED
5 #define PROTOBUF_profanity_5ffilter_5fconfig_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.
58 return _unknown_fields_;
62 return &_unknown_fields_;
65 static const ::google::protobuf::Descriptor* descriptor();
73 void CopyFrom(const ::google::protobuf::Message& from);
74 void MergeFrom(const ::google::protobuf::Message& from);
78 bool IsInitialized()
const;
81 bool MergePartialFromCodedStream(
83 void SerializeWithCachedSizes(
90 void SetCachedSize(
int size)
const;
99 inline bool has_type()
const;
100 inline void clear_type();
101 static const int kTypeFieldNumber = 1;
102 inline const ::std::string& type()
const;
103 inline void set_type(const ::std::string&
value);
104 inline void set_type(
const char*
value);
105 inline void set_type(
const char*
value,
size_t size);
106 inline ::std::string* mutable_type();
107 inline ::std::string* release_type();
108 inline void set_allocated_type(::std::string* type);
111 inline bool has_regex()
const;
112 inline void clear_regex();
113 static const int kRegexFieldNumber = 2;
114 inline const ::std::string& regex()
const;
115 inline void set_regex(const ::std::string&
value);
116 inline void set_regex(
const char*
value);
117 inline void set_regex(
const char*
value,
size_t size);
118 inline ::std::string* mutable_regex();
119 inline ::std::string* release_regex();
120 inline void set_allocated_regex(::std::string* regex);
124 inline void set_has_type();
125 inline void clear_has_type();
126 inline void set_has_regex();
127 inline void clear_has_regex();
139 void InitAsDefaultInstance();
157 return _unknown_fields_;
161 return &_unknown_fields_;
164 static const ::google::protobuf::Descriptor* descriptor();
172 void CopyFrom(const ::google::protobuf::Message& from);
173 void MergeFrom(const ::google::protobuf::Message& from);
177 bool IsInitialized()
const;
179 int ByteSize()
const;
180 bool MergePartialFromCodedStream(
182 void SerializeWithCachedSizes(
189 void SetCachedSize(
int size)
const;
198 inline int filters_size()
const;
199 inline void clear_filters();
200 static const int kFiltersFieldNumber = 1;
201 inline const ::bgs::protocol::profanity::v1::WordFilter& filters(
int index)
const;
202 inline ::bgs::protocol::profanity::v1::WordFilter* mutable_filters(
int index);
203 inline ::bgs::protocol::profanity::v1::WordFilter* add_filters();
204 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::profanity::v1::WordFilter >&
206 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::profanity::v1::WordFilter >*
221 void InitAsDefaultInstance();
257 type_ = new ::std::string;
259 type_->assign(value);
265 type_ = new ::std::string;
267 type_->assign(value);
273 type_ = new ::std::string;
275 type_->assign(reinterpret_cast<const char*>(value), size);
281 type_ = new ::std::string;
291 ::std::string* temp =
type_;
333 regex_ = new ::std::string;
341 regex_ = new ::std::string;
349 regex_ = new ::std::string;
351 regex_->assign(reinterpret_cast<const char*>(value), size);
357 regex_ = new ::std::string;
367 ::std::string* temp =
regex_;
409 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::profanity::v1::WordFilter >&
414 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::profanity::v1::WordFilter >*
439 #endif // PROTOBUF_profanity_5ffilter_5fconfig_2eproto__INCLUDED
WordFilter & operator=(const WordFilter &from)
Definition: profanity_filter_config.pb.h:52
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: profanity_filter_config.pb.h:129
Definition: profanity_filter_config.pb.h:45
WordFilters & operator=(const WordFilters &from)
Definition: profanity_filter_config.pb.h:151
int _cached_size_
Definition: profanity_filter_config.pb.h:215
bool has_regex() const
Definition: profanity_filter_config.pb.h:311
Definition: unknown_field_set.h:74
void set_has_regex()
Definition: profanity_filter_config.pb.h:314
uint8_t uint8
Definition: common.h:175
void set_regex(const ::std::string &value)
Definition: profanity_filter_config.pb.h:330
inline::std::string * mutable_type()
Definition: profanity_filter_config.pb.h:278
::google::protobuf::RepeatedPtrField< ::bgs::protocol::profanity::v1::WordFilter > filters_
Definition: profanity_filter_config.pb.h:216
::std::string * regex_
Definition: profanity_filter_config.pb.h:134
inline::std::string * mutable_regex()
Definition: profanity_filter_config.pb.h:354
::std::string * type_
Definition: profanity_filter_config.pb.h:133
arena_t NULL
Definition: jemalloc_internal.h:624
Definition: message.h:147
void clear_type()
Definition: profanity_filter_config.pb.h:244
int _cached_size_
Definition: profanity_filter_config.pb.h:132
const ::std::string & type() const
Definition: profanity_filter_config.pb.h:250
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: profanity_filter_config.pb.h:160
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::profanity::v1::WordFilter > & filters() const
Definition: profanity_filter_config.pb.h:410
void set_allocated_type(::std::string *type)
Definition: profanity_filter_config.pb.h:296
Definition: message.h:165
inline::std::string * release_type()
Definition: profanity_filter_config.pb.h:286
const ::std::string & regex() const
Definition: profanity_filter_config.pb.h:326
static WordFilters * default_instance_
Definition: profanity_filter_config.pb.h:222
Definition: coded_stream.h:621
void protobuf_ShutdownFile_profanity_5ffilter_5fconfig_2eproto()
uint32_t uint32
Definition: common.h:177
#define TC_SHARED_API
Definition: Define.h:128
void protobuf_AssignDesc_profanity_5ffilter_5fconfig_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: profanity_filter_config.pb.h:156
Definition: profanity_filter_config.pb.h:144
int filters_size() const
Definition: profanity_filter_config.pb.h:391
void set_type(const ::std::string &value)
Definition: profanity_filter_config.pb.h:254
static WordFilter * default_instance_
Definition: profanity_filter_config.pb.h:140
int GetCachedSize() const
Definition: profanity_filter_config.pb.h:185
void clear_has_regex()
Definition: profanity_filter_config.pb.h:317
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: profanity_filter_config.pb.h:61
void clear_has_type()
Definition: profanity_filter_config.pb.h:241
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: profanity_filter_config.pb.h:212
void TC_SHARED_API protobuf_AddDesc_profanity_5ffilter_5fconfig_2eproto()
void set_has_type()
Definition: profanity_filter_config.pb.h:238
void clear_filters()
Definition: profanity_filter_config.pb.h:394
void set_allocated_regex(::std::string *regex)
Definition: profanity_filter_config.pb.h:372
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: profanity_filter_config.pb.h:57
int GetCachedSize() const
Definition: profanity_filter_config.pb.h:86
Definition: BnetFileGenerator.h:47
const FieldDescriptor value
Definition: descriptor.h:1522
inline::std::string * release_regex()
Definition: profanity_filter_config.pb.h:362
::google::protobuf::uint32 _has_bits_[1]
Definition: profanity_filter_config.pb.h:131
void clear_regex()
Definition: profanity_filter_config.pb.h:320
inline::bgs::protocol::profanity::v1::WordFilter * add_filters()
Definition: profanity_filter_config.pb.h:405
inline::google::protobuf::RepeatedPtrField< ::bgs::protocol::profanity::v1::WordFilter > * mutable_filters()
Definition: profanity_filter_config.pb.h:415
bool has_type() const
Definition: profanity_filter_config.pb.h:235