4 #ifndef PROTOBUF_attribute_5ftypes_2eproto__INCLUDED
5 #define PROTOBUF_attribute_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.
42 class AttributeFilter;
62 return ::google::protobuf::internal::ParseNamedEnum<AttributeFilter_Operation>(
80 return _unknown_fields_;
84 return &_unknown_fields_;
87 static const ::google::protobuf::Descriptor* descriptor();
88 static const Variant& default_instance();
95 void CopyFrom(const ::google::protobuf::Message& from);
96 void MergeFrom(const ::google::protobuf::Message& from);
97 void CopyFrom(
const Variant& from);
98 void MergeFrom(
const Variant& from);
100 bool IsInitialized()
const;
102 int ByteSize()
const;
103 bool MergePartialFromCodedStream(
105 void SerializeWithCachedSizes(
112 void SetCachedSize(
int size)
const;
121 inline bool has_bool_value()
const;
122 inline void clear_bool_value();
123 static const int kBoolValueFieldNumber = 2;
124 inline bool bool_value()
const;
125 inline void set_bool_value(
bool value);
128 inline bool has_int_value()
const;
129 inline void clear_int_value();
130 static const int kIntValueFieldNumber = 3;
135 inline bool has_float_value()
const;
136 inline void clear_float_value();
137 static const int kFloatValueFieldNumber = 4;
138 inline double float_value()
const;
139 inline void set_float_value(
double value);
142 inline bool has_string_value()
const;
143 inline void clear_string_value();
144 static const int kStringValueFieldNumber = 5;
145 inline const ::std::string& string_value()
const;
146 inline void set_string_value(const ::std::string&
value);
147 inline void set_string_value(
const char*
value);
148 inline void set_string_value(
const char*
value,
size_t size);
149 inline ::std::string* mutable_string_value();
150 inline ::std::string* release_string_value();
151 inline void set_allocated_string_value(::std::string* string_value);
154 inline bool has_blob_value()
const;
155 inline void clear_blob_value();
156 static const int kBlobValueFieldNumber = 6;
157 inline const ::std::string& blob_value()
const;
158 inline void set_blob_value(const ::std::string&
value);
159 inline void set_blob_value(
const char*
value);
160 inline void set_blob_value(
const void*
value,
size_t size);
161 inline ::std::string* mutable_blob_value();
162 inline ::std::string* release_blob_value();
163 inline void set_allocated_blob_value(::std::string* blob_value);
166 inline bool has_message_value()
const;
167 inline void clear_message_value();
168 static const int kMessageValueFieldNumber = 7;
169 inline const ::std::string& message_value()
const;
170 inline void set_message_value(const ::std::string&
value);
171 inline void set_message_value(
const char*
value);
172 inline void set_message_value(
const void*
value,
size_t size);
173 inline ::std::string* mutable_message_value();
174 inline ::std::string* release_message_value();
175 inline void set_allocated_message_value(::std::string* message_value);
178 inline bool has_fourcc_value()
const;
179 inline void clear_fourcc_value();
180 static const int kFourccValueFieldNumber = 8;
181 inline const ::std::string& fourcc_value()
const;
182 inline void set_fourcc_value(const ::std::string&
value);
183 inline void set_fourcc_value(
const char*
value);
184 inline void set_fourcc_value(
const char*
value,
size_t size);
185 inline ::std::string* mutable_fourcc_value();
186 inline ::std::string* release_fourcc_value();
187 inline void set_allocated_fourcc_value(::std::string* fourcc_value);
190 inline bool has_uint_value()
const;
191 inline void clear_uint_value();
192 static const int kUintValueFieldNumber = 9;
197 inline bool has_entity_id_value()
const;
198 inline void clear_entity_id_value();
199 static const int kEntityIdValueFieldNumber = 10;
200 inline const ::bgs::protocol::EntityId& entity_id_value()
const;
201 inline ::bgs::protocol::EntityId* mutable_entity_id_value();
202 inline ::bgs::protocol::EntityId* release_entity_id_value();
207 inline void set_has_bool_value();
208 inline void clear_has_bool_value();
209 inline void set_has_int_value();
210 inline void clear_has_int_value();
211 inline void set_has_float_value();
212 inline void clear_has_float_value();
213 inline void set_has_string_value();
214 inline void clear_has_string_value();
215 inline void set_has_blob_value();
216 inline void clear_has_blob_value();
217 inline void set_has_message_value();
218 inline void clear_has_message_value();
219 inline void set_has_fourcc_value();
220 inline void clear_has_fourcc_value();
221 inline void set_has_uint_value();
222 inline void clear_has_uint_value();
223 inline void set_has_entity_id_value();
224 inline void clear_has_entity_id_value();
243 void InitAsDefaultInstance();
261 return _unknown_fields_;
265 return &_unknown_fields_;
268 static const ::google::protobuf::Descriptor* descriptor();
269 static const Attribute& default_instance();
276 void CopyFrom(const ::google::protobuf::Message& from);
277 void MergeFrom(const ::google::protobuf::Message& from);
281 bool IsInitialized()
const;
283 int ByteSize()
const;
284 bool MergePartialFromCodedStream(
286 void SerializeWithCachedSizes(
293 void SetCachedSize(
int size)
const;
302 inline bool has_name()
const;
303 inline void clear_name();
304 static const int kNameFieldNumber = 1;
305 inline const ::std::string& name()
const;
306 inline void set_name(const ::std::string&
value);
307 inline void set_name(
const char*
value);
308 inline void set_name(
const char*
value,
size_t size);
309 inline ::std::string* mutable_name();
310 inline ::std::string* release_name();
311 inline void set_allocated_name(::std::string* name);
314 inline bool has_value()
const;
315 inline void clear_value();
316 static const int kValueFieldNumber = 2;
317 inline const ::bgs::protocol::Variant&
value()
const;
318 inline ::bgs::protocol::Variant* mutable_value();
319 inline ::bgs::protocol::Variant* release_value();
324 inline void set_has_name();
325 inline void clear_has_name();
326 inline void set_has_value();
327 inline void clear_has_value();
339 void InitAsDefaultInstance();
357 return _unknown_fields_;
361 return &_unknown_fields_;
364 static const ::google::protobuf::Descriptor* descriptor();
372 void CopyFrom(const ::google::protobuf::Message& from);
373 void MergeFrom(const ::google::protobuf::Message& from);
377 bool IsInitialized()
const;
379 int ByteSize()
const;
380 bool MergePartialFromCodedStream(
382 void SerializeWithCachedSizes(
389 void SetCachedSize(
int size)
const;
403 static const Operation Operation_MIN =
405 static const Operation Operation_MAX =
407 static const int Operation_ARRAYSIZE =
409 static inline const ::google::protobuf::EnumDescriptor*
424 inline bool has_op()
const;
425 inline void clear_op();
426 static const int kOpFieldNumber = 1;
431 inline int attribute_size()
const;
432 inline void clear_attribute();
433 static const int kAttributeFieldNumber = 2;
434 inline const ::bgs::protocol::Attribute& attribute(
int index)
const;
435 inline ::bgs::protocol::Attribute* mutable_attribute(
int index);
436 inline ::bgs::protocol::Attribute* add_attribute();
437 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
439 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
444 inline void set_has_op();
445 inline void clear_has_op();
457 void InitAsDefaultInstance();
583 string_value_->assign(reinterpret_cast<const char*>(value), size);
659 blob_value_->assign(reinterpret_cast<const char*>(value), size);
735 message_value_->assign(reinterpret_cast<const char*>(value), size);
811 fourcc_value_->assign(reinterpret_cast<const char*>(value), size);
903 if (entity_id_value) {
938 name_ = new ::std::string;
940 name_->assign(value);
946 name_ = new ::std::string;
948 name_->assign(value);
954 name_ = new ::std::string;
956 name_->assign(reinterpret_cast<const char*>(value), size);
962 name_ = new ::std::string;
972 ::std::string* temp =
name_;
1080 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
1085 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
1099 namespace protobuf {
1103 inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::AttributeFilter_Operation>() {
1113 #endif // PROTOBUF_attribute_5ftypes_2eproto__INCLUDED
inline::std::string * mutable_fourcc_value()
Definition: attribute_types.pb.h:814
inline::bgs::protocol::EntityId * mutable_entity_id_value()
Definition: attribute_types.pb.h:888
void TC_SHARED_API protobuf_AddDesc_attribute_5ftypes_2eproto()
Definition: attribute_types.pb.h:67
void set_has_int_value()
Definition: attribute_types.pb.h:498
const AttributeFilter_Operation AttributeFilter_Operation_Operation_MAX
Definition: attribute_types.pb.h:52
TC_SHARED_API bool AttributeFilter_Operation_IsValid(int value)
bool has_bool_value() const
Definition: attribute_types.pb.h:471
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: attribute_types.pb.h:79
void clear_has_string_value()
Definition: attribute_types.pb.h:549
bool bool_value() const
Definition: attribute_types.pb.h:484
Definition: entity_types.pb.h:45
inline::bgs::protocol::Attribute * add_attribute()
Definition: attribute_types.pb.h:1076
void clear_name()
Definition: attribute_types.pb.h:925
void clear_float_value()
Definition: attribute_types.pb.h:528
bool has_int_value() const
Definition: attribute_types.pb.h:495
int GetCachedSize() const
Definition: attribute_types.pb.h:289
const ::bgs::protocol::EntityId & entity_id_value() const
Definition: attribute_types.pb.h:884
void clear_attribute()
Definition: attribute_types.pb.h:1065
Variant & operator=(const Variant &from)
Definition: attribute_types.pb.h:74
void set_uint_value(::google::protobuf::uint64 value)
Definition: attribute_types.pb.h:864
::google::protobuf::uint64 uint_value_
Definition: attribute_types.pb.h:236
::google::protobuf::uint32 _has_bits_[1]
Definition: attribute_types.pb.h:449
int _cached_size_
Definition: attribute_types.pb.h:332
void set_name(const ::std::string &value)
Definition: attribute_types.pb.h:935
inline::std::string * mutable_name()
Definition: attribute_types.pb.h:959
const ::std::string & blob_value() const
Definition: attribute_types.pb.h:634
bool has_message_value() const
Definition: attribute_types.pb.h:695
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: attribute_types.pb.h:447
bool has_uint_value() const
Definition: attribute_types.pb.h:847
const ::std::string & name() const
Definition: attribute_types.pb.h:931
inline::std::string * mutable_blob_value()
Definition: attribute_types.pb.h:662
void set_op(::bgs::protocol::AttributeFilter_Operation value)
Definition: attribute_types.pb.h:1054
void set_has_message_value()
Definition: attribute_types.pb.h:698
LIBPROTOBUF_EXPORT const string & NameOfEnum(const EnumDescriptor *descriptor, int value)
double float_value_
Definition: attribute_types.pb.h:231
void set_string_value(const ::std::string &value)
Definition: attribute_types.pb.h:562
Definition: unknown_field_set.h:74
void set_allocated_entity_id_value(::bgs::protocol::EntityId *entity_id_value)
Definition: attribute_types.pb.h:900
void clear_has_int_value()
Definition: attribute_types.pb.h:501
void set_has_fourcc_value()
Definition: attribute_types.pb.h:774
uint8_t uint8
Definition: common.h:175
void set_has_op()
Definition: attribute_types.pb.h:1040
void set_float_value(double value)
Definition: attribute_types.pb.h:536
bool has_op() const
Definition: attribute_types.pb.h:1037
const ::std::string & message_value() const
Definition: attribute_types.pb.h:710
static bool Operation_IsValid(int value)
Definition: attribute_types.pb.h:400
arena_t NULL
Definition: jemalloc_internal.h:624
Definition: descriptor.h:683
Definition: message.h:147
void set_blob_value(const ::std::string &value)
Definition: attribute_types.pb.h:638
void clear_entity_id_value()
Definition: attribute_types.pb.h:880
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Definition: attribute_types.pb.h:451
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * message_value_
Definition: attribute_types.pb.h:234
void set_fourcc_value(const ::std::string &value)
Definition: attribute_types.pb.h:790
uint64_t uint64
Definition: g3dmath.h:170
static Variant * default_instance_
Definition: attribute_types.pb.h:244
int _cached_size_
Definition: attribute_types.pb.h:229
void set_has_value()
Definition: attribute_types.pb.h:995
inline::bgs::protocol::EntityId * release_entity_id_value()
Definition: attribute_types.pb.h:894
static const ::std::string & Operation_Name(Operation value)
Definition: attribute_types.pb.h:413
void clear_op()
Definition: attribute_types.pb.h:1046
inline::google::protobuf::int64 int_value() const
Definition: attribute_types.pb.h:508
AttributeFilter_Operation
Definition: attribute_types.pb.h:44
inline::bgs::protocol::Variant * mutable_value()
Definition: attribute_types.pb.h:1009
void clear_has_fourcc_value()
Definition: attribute_types.pb.h:777
void set_allocated_fourcc_value(::std::string *fourcc_value)
Definition: attribute_types.pb.h:832
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: attribute_types.pb.h:226
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: attribute_types.pb.h:329
bool has_value() const
Definition: attribute_types.pb.h:992
void clear_blob_value()
Definition: attribute_types.pb.h:628
inline::std::string * release_name()
Definition: attribute_types.pb.h:967
void clear_has_name()
Definition: attribute_types.pb.h:922
void clear_has_blob_value()
Definition: attribute_types.pb.h:625
Definition: message.h:165
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: attribute_types.pb.h:360
const ::std::string & fourcc_value() const
Definition: attribute_types.pb.h:786
static Attribute * default_instance_
Definition: attribute_types.pb.h:340
const ::bgs::protocol::Variant & value() const
Definition: attribute_types.pb.h:1005
void clear_value()
Definition: attribute_types.pb.h:1001
Definition: template_util.h:77
static AttributeFilter * default_instance_
Definition: attribute_types.pb.h:458
bool has_entity_id_value() const
Definition: attribute_types.pb.h:871
void clear_bool_value()
Definition: attribute_types.pb.h:480
void set_allocated_name(::std::string *name)
Definition: attribute_types.pb.h:977
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: attribute_types.pb.h:260
Definition: attribute_types.pb.h:47
void clear_uint_value()
Definition: attribute_types.pb.h:856
inline::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > * mutable_attribute()
Definition: attribute_types.pb.h:1086
Definition: coded_stream.h:621
void set_bool_value(bool value)
Definition: attribute_types.pb.h:488
void set_has_entity_id_value()
Definition: attribute_types.pb.h:874
#define GOOGLE_LONGLONG(x)
Definition: common.h:192
Definition: attribute_types.pb.h:48
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: attribute_types.pb.h:264
bool has_fourcc_value() const
Definition: attribute_types.pb.h:771
int attribute_size() const
Definition: attribute_types.pb.h:1062
void set_has_name()
Definition: attribute_types.pb.h:919
void clear_message_value()
Definition: attribute_types.pb.h:704
Definition: attribute_types.pb.h:45
Definition: generated_enum_reflection.h:55
void set_has_blob_value()
Definition: attribute_types.pb.h:622
uint32_t uint32
Definition: common.h:177
void clear_has_float_value()
Definition: attribute_types.pb.h:525
AttributeFilter_Operation Operation
Definition: attribute_types.pb.h:395
#define TC_SHARED_API
Definition: Define.h:128
inline::bgs::protocol::Variant * release_value()
Definition: attribute_types.pb.h:1015
inline::std::string * release_fourcc_value()
Definition: attribute_types.pb.h:822
TC_SHARED_APIconst::google::protobuf::EnumDescriptor * AttributeFilter_Operation_descriptor()
void clear_has_message_value()
Definition: attribute_types.pb.h:701
uint64_t uint64
Definition: common.h:178
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: attribute_types.pb.h:356
bool AttributeFilter_Operation_Parse(const ::std::string &name, AttributeFilter_Operation *value)
Definition: attribute_types.pb.h:60
::google::protobuf::int64 int_value_
Definition: attribute_types.pb.h:230
void clear_int_value()
Definition: attribute_types.pb.h:504
void clear_has_uint_value()
Definition: attribute_types.pb.h:853
bool has_float_value() const
Definition: attribute_types.pb.h:519
inline::std::string * release_message_value()
Definition: attribute_types.pb.h:746
::google::protobuf::uint32 _has_bits_[1]
Definition: attribute_types.pb.h:228
inline::google::protobuf::uint64 uint_value() const
Definition: attribute_types.pb.h:860
bool has_name() const
Definition: attribute_types.pb.h:916
::std::string * name_
Definition: attribute_types.pb.h:333
Attribute & operator=(const Attribute &from)
Definition: attribute_types.pb.h:255
::std::string * string_value_
Definition: attribute_types.pb.h:232
::bgs::protocol::Variant * value_
Definition: attribute_types.pb.h:334
int64_t int64
Definition: g3dmath.h:169
void protobuf_ShutdownFile_attribute_5ftypes_2eproto()
void set_allocated_blob_value(::std::string *blob_value)
Definition: attribute_types.pb.h:680
void set_has_string_value()
Definition: attribute_types.pb.h:546
inline::std::string * mutable_message_value()
Definition: attribute_types.pb.h:738
Definition: attribute_types.pb.h:344
::google::protobuf::uint32 _has_bits_[1]
Definition: attribute_types.pb.h:331
int GetCachedSize() const
Definition: attribute_types.pb.h:385
static const ::google::protobuf::EnumDescriptor * Operation_descriptor()
Definition: attribute_types.pb.h:410
void clear_has_value()
Definition: attribute_types.pb.h:998
int64_t int64
Definition: common.h:173
Definition: attribute_types.pb.h:46
void set_has_float_value()
Definition: attribute_types.pb.h:522
bool has_string_value() const
Definition: attribute_types.pb.h:543
void set_allocated_message_value(::std::string *message_value)
Definition: attribute_types.pb.h:756
void protobuf_AssignDesc_attribute_5ftypes_2eproto()
int _cached_size_
Definition: attribute_types.pb.h:450
static bool Operation_Parse(const ::std::string &name, Operation *value)
Definition: attribute_types.pb.h:416
inline::bgs::protocol::AttributeFilter_Operation op() const
Definition: attribute_types.pb.h:1050
void set_has_bool_value()
Definition: attribute_types.pb.h:474
void set_message_value(const ::std::string &value)
Definition: attribute_types.pb.h:714
int op_
Definition: attribute_types.pb.h:452
int GetCachedSize() const
Definition: attribute_types.pb.h:108
::bgs::protocol::EntityId * entity_id_value_
Definition: attribute_types.pb.h:237
void set_allocated_string_value(::std::string *string_value)
Definition: attribute_types.pb.h:604
Definition: BnetFileGenerator.h:47
void clear_has_entity_id_value()
Definition: attribute_types.pb.h:877
const FieldDescriptor value
Definition: descriptor.h:1522
#define GOOGLE_ULONGLONG(x)
Definition: common.h:193
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > & attribute() const
Definition: attribute_types.pb.h:1081
void clear_fourcc_value()
Definition: attribute_types.pb.h:780
void clear_string_value()
Definition: attribute_types.pb.h:552
const AttributeFilter_Operation AttributeFilter_Operation_Operation_MIN
Definition: attribute_types.pb.h:51
bool has_blob_value() const
Definition: attribute_types.pb.h:619
AttributeFilter & operator=(const AttributeFilter &from)
Definition: attribute_types.pb.h:351
void clear_has_bool_value()
Definition: attribute_types.pb.h:477
::std::string * blob_value_
Definition: attribute_types.pb.h:233
void clear_has_op()
Definition: attribute_types.pb.h:1043
const ::std::string & string_value() const
Definition: attribute_types.pb.h:558
::std::string * fourcc_value_
Definition: attribute_types.pb.h:235
inline::std::string * mutable_string_value()
Definition: attribute_types.pb.h:586
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: attribute_types.pb.h:83
const ::std::string & AttributeFilter_Operation_Name(AttributeFilter_Operation value)
Definition: attribute_types.pb.h:56
inline::std::string * release_blob_value()
Definition: attribute_types.pb.h:670
inline::std::string * release_string_value()
Definition: attribute_types.pb.h:594
bool bool_value_
Definition: attribute_types.pb.h:238
const int AttributeFilter_Operation_Operation_ARRAYSIZE
Definition: attribute_types.pb.h:53
void set_has_uint_value()
Definition: attribute_types.pb.h:850
void set_int_value(::google::protobuf::int64 value)
Definition: attribute_types.pb.h:512
void set_allocated_value(::bgs::protocol::Variant *value)
Definition: attribute_types.pb.h:1021
Definition: attribute_types.pb.h:248
double float_value() const
Definition: attribute_types.pb.h:532