4#ifndef PROTOBUF_api_2fclient_2fv2_2fattribute_5ftypes_2eproto__INCLUDED
5#define PROTOBUF_api_2fclient_2fv2_2fattribute_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/generated_enum_reflection.h>
27#include <google/protobuf/unknown_field_set.h>
57 return ::google::protobuf::internal::NameOfEnum(
62 return ::google::protobuf::internal::ParseNamedEnum<AttributeFilter_Operation>(
80 return _unknown_fields_;
84 return &_unknown_fields_;
87 static const ::google::protobuf::Descriptor*
descriptor();
118 inline bool has_bool_value()
const;
119 inline void clear_bool_value();
120 static const int kBoolValueFieldNumber = 1;
121 inline bool bool_value()
const;
122 inline void set_bool_value(
bool value);
125 inline bool has_int_value()
const;
126 inline void clear_int_value();
127 static const int kIntValueFieldNumber = 2;
132 inline bool has_float_value()
const;
133 inline void clear_float_value();
134 static const int kFloatValueFieldNumber = 3;
135 inline double float_value()
const;
136 inline void set_float_value(
double value);
139 inline bool has_string_value()
const;
140 inline void clear_string_value();
141 static const int kStringValueFieldNumber = 4;
142 inline const ::std::string& string_value()
const;
143 inline void set_string_value(const ::std::string& value);
144 inline void set_string_value(
const char* value);
145 inline void set_string_value(
const char* value,
size_t size);
146 inline ::std::string* mutable_string_value();
147 inline ::std::string* release_string_value();
148 inline void set_allocated_string_value(::std::string* string_value);
151 inline bool has_blob_value()
const;
152 inline void clear_blob_value();
153 static const int kBlobValueFieldNumber = 5;
154 inline const ::std::string& blob_value()
const;
155 inline void set_blob_value(const ::std::string& value);
156 inline void set_blob_value(
const char* value);
157 inline void set_blob_value(
const void* value,
size_t size);
158 inline ::std::string* mutable_blob_value();
159 inline ::std::string* release_blob_value();
160 inline void set_allocated_blob_value(::std::string* blob_value);
163 inline bool has_uint_value()
const;
164 inline void clear_uint_value();
165 static const int kUintValueFieldNumber = 6;
172 inline void set_has_bool_value();
173 inline void set_has_int_value();
174 inline void set_has_float_value();
175 inline void set_has_string_value();
176 inline void set_has_blob_value();
177 inline void set_has_uint_value();
179 inline bool has_type();
181 inline void clear_has_type();
219 return _unknown_fields_;
223 return &_unknown_fields_;
247 inline bool has_name()
const;
248 inline void clear_name();
249 static const int kNameFieldNumber = 1;
250 inline const ::std::string& name()
const;
251 inline void set_name(const ::std::string& value);
252 inline void set_name(
const char* value);
253 inline void set_name(
const char* value,
size_t size);
254 inline ::std::string* mutable_name();
255 inline ::std::string* release_name();
256 inline void set_allocated_name(::std::string* name);
259 inline bool has_value()
const;
260 inline void clear_value();
261 static const int kValueFieldNumber = 2;
262 inline const ::bgs::protocol::v2::Variant& value()
const;
263 inline ::bgs::protocol::v2::Variant* mutable_value();
264 inline ::bgs::protocol::v2::Variant* release_value();
269 inline void set_has_name();
270 inline void clear_has_name();
271 inline void set_has_value();
272 inline void clear_has_value();
302 return _unknown_fields_;
306 return &_unknown_fields_;
339 static const int Operation_ARRAYSIZE =
341 static inline const ::google::protobuf::EnumDescriptor*
356 inline bool has_op()
const;
357 inline void clear_op();
358 static const int kOpFieldNumber = 1;
363 inline int attribute_size()
const;
364 inline void clear_attribute();
365 static const int kAttributeFieldNumber = 2;
366 inline const ::bgs::protocol::v2::Attribute& attribute(
int index)
const;
367 inline ::bgs::protocol::v2::Attribute* mutable_attribute(
int index);
368 inline ::bgs::protocol::v2::Attribute* add_attribute();
369 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
371 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
376 inline void set_has_op();
377 inline void clear_has_op();
383 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >
attribute_;
444 return GOOGLE_LONGLONG(0);
498 return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
523 reinterpret_cast<const char*
>(value),
size);
568 return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
593 reinterpret_cast<const char*
>(value),
size);
638 return GOOGLE_ULONGLONG(0);
672 if (
name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
683 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
684 name_ = new ::std::string;
691 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
692 name_ = new ::std::string;
699 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
700 name_ = new ::std::string;
707 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
708 name_ = new ::std::string;
715 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
718 ::std::string* temp =
name_;
719 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
724 if (
name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
732 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
748 if (
value_ != NULL)
value_->::bgs::protocol::v2::Variant::Clear();
757 if (
value_ == NULL)
value_ = new ::bgs::protocol::v2::Variant;
826inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
831inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
848inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::v2::AttributeFilter_Operation>() {
friend void protobuf_AssignDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto()
static const ::std::string & Operation_Name(Operation value)
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
int GetCachedSize() const
void SetCachedSize(int size) const
AttributeFilter_Operation Operation
int attribute_size() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto()
inline ::bgs::protocol::v2::Attribute * add_attribute()
static const ::google::protobuf::Descriptor * descriptor()
AttributeFilter(const AttributeFilter &from)
static AttributeFilter * default_instance_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
AttributeFilter & operator=(const AttributeFilter &from)
static const AttributeFilter & default_instance()
void Swap(AttributeFilter *other)
AttributeFilter * New() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
void InitAsDefaultInstance()
static bool Operation_IsValid(int value)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::v2::AttributeFilter_Operation op() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::uint32 _has_bits_[1]
friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto()
static bool Operation_Parse(const ::std::string &name, Operation *value)
void set_op(::bgs::protocol::v2::AttributeFilter_Operation value)
static const ::google::protobuf::EnumDescriptor * Operation_descriptor()
virtual ~AttributeFilter()
::google::protobuf::UnknownFieldSet _unknown_fields_
void InitAsDefaultInstance()
friend void protobuf_AssignDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() const
::bgs::protocol::v2::Variant * value_
inline ::std::string * release_name()
void SetCachedSize(int size) const
const ::std::string & name() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto()
inline ::std::string * mutable_name()
int GetCachedSize() const
static Attribute * default_instance_
Attribute & operator=(const Attribute &from)
inline ::bgs::protocol::v2::Variant * release_value()
static const Attribute & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::bgs::protocol::v2::Variant * mutable_value()
::google::protobuf::uint32 _has_bits_[1]
void set_allocated_value(::bgs::protocol::v2::Variant *value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void Swap(Attribute *other)
Attribute(const Attribute &from)
const ::bgs::protocol::v2::Variant & value() const
static const ::google::protobuf::Descriptor * descriptor()
void set_name(const ::std::string &value)
friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto()
void set_allocated_name(::std::string *name)
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_bool_value(bool value)
friend void protobuf_AssignDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
double float_value() const
void set_has_float_value()
void set_uint_value(::google::protobuf::uint64 value)
union bgs::protocol::v2::Variant::TypeUnion type_
const ::std::string & string_value() const
static Variant * default_instance_
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto()
bool has_int_value() const
bool has_bool_value() const
void set_has_uint_value()
void clear_string_value()
inline ::google::protobuf::int64 int_value() const
Variant & operator=(const Variant &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::std::string * release_string_value()
Variant(const Variant &from)
void set_int_value(::google::protobuf::int64 value)
void set_allocated_string_value(::std::string *string_value)
::google::protobuf::uint32 _oneof_case_[1]
bool has_string_value() const
inline ::google::protobuf::uint64 uint_value() const
void set_blob_value(const ::std::string &value)
void set_has_bool_value()
void SetCachedSize(int size) const
inline ::std::string * release_blob_value()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void InitAsDefaultInstance()
::google::protobuf::Metadata GetMetadata() const
void Swap(Variant *other)
bool has_float_value() const
int GetCachedSize() const
void set_float_value(double value)
static const Variant & default_instance()
inline ::std::string * mutable_string_value()
inline ::std::string * mutable_blob_value()
TypeCase type_case() const
void set_allocated_blob_value(::std::string *blob_value)
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_string_value(const ::std::string &value)
bool has_blob_value() const
friend void protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto()
void set_has_string_value()
const ::std::string & blob_value() const
bool has_uint_value() const
void set_has_blob_value()
constexpr std::size_t size()
void protobuf_ShutdownFile_api_2fclient_2fv2_2fattribute_5ftypes_2eproto()
bool AttributeFilter_Operation_Parse(const ::std::string &name, AttributeFilter_Operation *value)
const ::std::string & AttributeFilter_Operation_Name(AttributeFilter_Operation value)
void protobuf_AssignDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto()
TC_PROTO_API bool AttributeFilter_Operation_IsValid(int value)
const int AttributeFilter_Operation_Operation_ARRAYSIZE
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * AttributeFilter_Operation_descriptor()
const AttributeFilter_Operation AttributeFilter_Operation_Operation_MIN
const AttributeFilter_Operation AttributeFilter_Operation_Operation_MAX
void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2fattribute_5ftypes_2eproto()
AttributeFilter_Operation
@ AttributeFilter_Operation_MATCH_ANY
@ AttributeFilter_Operation_MATCH_ALL
@ AttributeFilter_Operation_MATCH_ALL_MOST_SPECIFIC
@ AttributeFilter_Operation_MATCH_NONE
AttributeFilter_Operation
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * AttributeFilter_Operation_descriptor()
TC_PROTO_API bool AttributeFilter_Operation_IsValid(int value)
::google::protobuf::int64 int_value_
::std::string * string_value_
::std::string * blob_value_
::google::protobuf::uint64 uint_value_