4#ifndef PROTOBUF_profanity_5ffilter_5fconfig_2eproto__INCLUDED
5#define PROTOBUF_profanity_5ffilter_5fconfig_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>
58 return _unknown_fields_;
62 return &_unknown_fields_;
65 static const ::google::protobuf::Descriptor*
descriptor();
86 inline bool has_type()
const;
87 inline void clear_type();
88 static const int kTypeFieldNumber = 1;
89 inline const ::std::string& type()
const;
90 inline void set_type(const ::std::string& value);
91 inline void set_type(
const char* value);
92 inline void set_type(
const char* value,
size_t size);
93 inline ::std::string* mutable_type();
94 inline ::std::string* release_type();
95 inline void set_allocated_type(::std::string* type);
98 inline bool has_regex()
const;
99 inline void clear_regex();
100 static const int kRegexFieldNumber = 2;
101 inline const ::std::string&
regex()
const;
102 inline void set_regex(const ::std::string& value);
103 inline void set_regex(
const char* value);
104 inline void set_regex(
const char* value,
size_t size);
105 inline ::std::string* mutable_regex();
106 inline ::std::string* release_regex();
107 inline void set_allocated_regex(::std::string*
regex);
111 inline void set_has_type();
112 inline void clear_has_type();
113 inline void set_has_regex();
114 inline void clear_has_regex();
144 return _unknown_fields_;
148 return &_unknown_fields_;
172 inline int filters_size()
const;
173 inline void clear_filters();
174 static const int kFiltersFieldNumber = 1;
175 inline const ::bgs::protocol::profanity::v1::WordFilter& filters(
int index)
const;
176 inline ::bgs::protocol::profanity::v1::WordFilter* mutable_filters(
int index);
177 inline ::bgs::protocol::profanity::v1::WordFilter* add_filters();
178 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::profanity::v1::WordFilter >&
180 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::profanity::v1::WordFilter >*
190 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::profanity::v1::WordFilter >
filters_;
217 if (
type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
228 if (
type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
229 type_ = new ::std::string;
231 type_->assign(value);
236 if (
type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
237 type_ = new ::std::string;
239 type_->assign(value);
244 if (
type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
245 type_ = new ::std::string;
247 type_->assign(
reinterpret_cast<const char*
>(value),
size);
252 if (
type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
253 type_ = new ::std::string;
260 if (
type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
263 ::std::string* temp =
type_;
264 type_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
269 if (
type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
277 type_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
293 if (
regex_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
304 if (
regex_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
305 regex_ = new ::std::string;
312 if (
regex_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
313 regex_ = new ::std::string;
320 if (
regex_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
321 regex_ = new ::std::string;
323 regex_->assign(
reinterpret_cast<const char*
>(value),
size);
328 if (
regex_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
329 regex_ = new ::std::string;
336 if (
regex_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
339 ::std::string* temp =
regex_;
340 regex_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
345 if (
regex_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
353 regex_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
381inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::profanity::v1::WordFilter >&
386inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::profanity::v1::WordFilter >*
inline ::std::string * release_regex()
const ::std::string & regex() const
void SetCachedSize(int size) const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void InitAsDefaultInstance()
const ::std::string & type() const
void set_regex(const ::std::string &value)
inline ::std::string * mutable_regex()
inline ::std::string * release_type()
void set_allocated_regex(::std::string *regex)
friend void protobuf_AssignDesc_profanity_5ffilter_5fconfig_2eproto()
static WordFilter * default_instance_
::google::protobuf::Metadata GetMetadata() const
void set_allocated_type(::std::string *type)
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::uint32 _has_bits_[1]
int GetCachedSize() const
WordFilter & operator=(const WordFilter &from)
inline ::std::string * mutable_type()
static const WordFilter & default_instance()
WordFilter(const WordFilter &from)
void set_type(const ::std::string &value)
friend void TC_PROTO_API protobuf_AddDesc_profanity_5ffilter_5fconfig_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void protobuf_ShutdownFile_profanity_5ffilter_5fconfig_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
void Swap(WordFilter *other)
::google::protobuf::Metadata GetMetadata() const
WordFilters & operator=(const WordFilters &from)
void InitAsDefaultInstance()
inline ::bgs::protocol::profanity::v1::WordFilter * add_filters()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::profanity::v1::WordFilter > filters_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void protobuf_AssignDesc_profanity_5ffilter_5fconfig_2eproto()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::profanity::v1::WordFilter > * mutable_filters()
WordFilters(const WordFilters &from)
int GetCachedSize() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::profanity::v1::WordFilter > & filters() const
static const ::google::protobuf::Descriptor * descriptor()
static const WordFilters & default_instance()
static WordFilters * default_instance_
::google::protobuf::UnknownFieldSet _unknown_fields_
void SetCachedSize(int size) const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void Swap(WordFilters *other)
WordFilters * New() const
friend void TC_PROTO_API protobuf_AddDesc_profanity_5ffilter_5fconfig_2eproto()
friend void protobuf_ShutdownFile_profanity_5ffilter_5fconfig_2eproto()
TC_REGEX_NAMESPACE ::regex regex
constexpr std::size_t size()
void protobuf_AssignDesc_profanity_5ffilter_5fconfig_2eproto()
void TC_PROTO_API protobuf_AddDesc_profanity_5ffilter_5fconfig_2eproto()
void protobuf_ShutdownFile_profanity_5ffilter_5fconfig_2eproto()