4#ifndef PROTOBUF_api_2fcommon_2fv1_2fclub_5ftag_2eproto__INCLUDED
5#define PROTOBUF_api_2fcommon_2fv1_2fclub_5ftag_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>
58 return ::google::protobuf::internal::NameOfEnum(
62 const ::std::string& name,
TagAction* value) {
63 return ::google::protobuf::internal::ParseNamedEnum<TagAction>(
78 return ::google::protobuf::internal::NameOfEnum(
82 const ::std::string& name,
TagType* value) {
83 return ::google::protobuf::internal::ParseNamedEnum<TagType>(
101 return _unknown_fields_;
105 return &_unknown_fields_;
129 inline bool has_action()
const;
130 inline void clear_action();
131 static const int kActionFieldNumber = 1;
132 inline ::google::protobuf::uint32 action()
const;
133 inline void set_action(::google::protobuf::uint32 value);
136 inline int tag_size()
const;
137 inline void clear_tag();
138 static const int kTagFieldNumber = 2;
139 inline const ::bgs::protocol::club::v1::TagIdentifier& tag(
int index)
const;
140 inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(
int index);
141 inline ::bgs::protocol::club::v1::TagIdentifier* add_tag();
142 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
144 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
149 inline void set_has_action();
150 inline void clear_has_action();
154 ::google::protobuf::uint32 _has_bits_[1];
156 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >
tag_;
180 return _unknown_fields_;
184 return &_unknown_fields_;
208 inline bool has_id()
const;
209 inline void clear_id();
210 static const int kIdFieldNumber = 1;
211 inline ::google::protobuf::uint32 id()
const;
212 inline void set_id(::google::protobuf::uint32 value);
215 inline bool has_type()
const;
216 inline void clear_type();
217 static const int kTypeFieldNumber = 2;
218 inline ::google::protobuf::uint32 type()
const;
219 inline void set_type(::google::protobuf::uint32 value);
223 inline void set_has_id();
224 inline void clear_has_id();
225 inline void set_has_type();
226 inline void clear_has_type();
230 ::google::protobuf::uint32 _has_bits_[1];
232 ::google::protobuf::uint32
id_;
256 return _unknown_fields_;
260 return &_unknown_fields_;
284 inline bool has_tag_id()
const;
285 inline void clear_tag_id();
286 static const int kTagIdFieldNumber = 1;
287 inline const ::bgs::protocol::club::v1::TagIdentifier& tag_id()
const;
288 inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag_id();
289 inline ::bgs::protocol::club::v1::TagIdentifier* release_tag_id();
293 inline bool has_name()
const;
294 inline void clear_name();
295 static const int kNameFieldNumber = 2;
296 inline const ::std::string& name()
const;
297 inline void set_name(const ::std::string& value);
298 inline void set_name(
const char* value);
299 inline void set_name(
const char* value,
size_t size);
300 inline ::std::string* mutable_name();
301 inline ::std::string* release_name();
302 inline void set_allocated_name(::std::string* name);
305 inline bool has_description()
const;
306 inline void clear_description();
307 static const int kDescriptionFieldNumber = 3;
308 inline const ::std::string& description()
const;
309 inline void set_description(const ::std::string& value);
310 inline void set_description(
const char* value);
311 inline void set_description(
const char* value,
size_t size);
312 inline ::std::string* mutable_description();
313 inline ::std::string* release_description();
314 inline void set_allocated_description(::std::string* description);
318 inline void set_has_tag_id();
319 inline void clear_has_tag_id();
320 inline void set_has_name();
321 inline void clear_has_name();
322 inline void set_has_description();
323 inline void clear_has_description();
327 ::google::protobuf::uint32 _has_bits_[1];
378inline const ::bgs::protocol::club::v1::TagIdentifier&
TagOptions::tag(
int index)
const {
380 return tag_.Get(index);
384 return tag_.Mutable(index);
390inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
395inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
468 if (
tag_id_ != NULL)
tag_id_->::bgs::protocol::club::v1::TagIdentifier::Clear();
477 if (
tag_id_ == NULL)
tag_id_ = new ::bgs::protocol::club::v1::TagIdentifier;
509 if (
name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
520 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
521 name_ = new ::std::string;
523 name_->assign(value);
528 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
529 name_ = new ::std::string;
531 name_->assign(value);
536 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
537 name_ = new ::std::string;
539 name_->assign(
reinterpret_cast<const char*
>(value), size);
544 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
545 name_ = new ::std::string;
552 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
555 ::std::string* temp =
name_;
556 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
561 if (
name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
569 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
585 if (
description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
596 if (
description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
604 if (
description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
612 if (
description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
615 description_->assign(
reinterpret_cast<const char*
>(value), size);
620 if (
description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
628 if (
description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
632 description_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
637 if (
description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
645 description_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
663 return ::bgs::protocol::club::v1::TagAction_descriptor();
668 return ::bgs::protocol::club::v1::TagType_descriptor();
static LocalizedTag * default_instance_
void set_allocated_name(::std::string *name)
const ::std::string & name() const
inline ::std::string * mutable_name()
inline ::std::string * release_name()
::bgs::protocol::club::v1::TagIdentifier * tag_id_
void set_name(const ::std::string &value)
inline ::bgs::protocol::club::v1::TagIdentifier * mutable_tag_id()
const ::std::string & description() const
inline ::std::string * mutable_description()
void SetCachedSize(int size) const
void set_allocated_tag_id(::bgs::protocol::club::v1::TagIdentifier *tag_id)
inline ::std::string * release_description()
friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftag_2eproto()
LocalizedTag & operator=(const LocalizedTag &from)
inline ::bgs::protocol::club::v1::TagIdentifier * release_tag_id()
void clear_has_description()
const ::bgs::protocol::club::v1::TagIdentifier & tag_id() const
friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
void set_description(const ::std::string &value)
bool has_description() const
void InitAsDefaultInstance()
LocalizedTag(const LocalizedTag &from)
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_has_description()
friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
int GetCachedSize() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::uint32 _has_bits_[1]
static const LocalizedTag & default_instance()
void set_allocated_description(::std::string *description)
void Swap(LocalizedTag *other)
LocalizedTag * New() const
::std::string * description_
void set_id(::google::protobuf::uint32 value)
::google::protobuf::uint32 _has_bits_[1]
inline ::google::protobuf::uint32 id() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
TagIdentifier * New() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static TagIdentifier * default_instance_
void SetCachedSize(int size) const
void set_type(::google::protobuf::uint32 value)
::google::protobuf::uint32 type_
friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftag_2eproto()
::google::protobuf::uint32 id_
TagIdentifier & operator=(const TagIdentifier &from)
void Swap(TagIdentifier *other)
friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto()
int GetCachedSize() const
void InitAsDefaultInstance()
static const TagIdentifier & default_instance()
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto()
TagIdentifier(const TagIdentifier &from)
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::uint32 type() const
TagOptions & operator=(const TagOptions &from)
inline ::google::protobuf::uint32 action() const
void SetCachedSize(int size) const
TagOptions(const TagOptions &from)
static const TagOptions & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > & tag() const
friend void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftag_2eproto()
static TagOptions * default_instance_
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > * mutable_tag()
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto()
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
int GetCachedSize() const
void set_action(::google::protobuf::uint32 value)
::google::protobuf::uint32 _has_bits_[1]
friend void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto()
::google::protobuf::uint32 action_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_
void InitAsDefaultInstance()
void Swap(TagOptions *other)
inline ::bgs::protocol::club::v1::TagIdentifier * add_tag()
::google::protobuf::UnknownFieldSet _unknown_fields_
void protobuf_ShutdownFile_api_2fcommon_2fv1_2fclub_5ftag_2eproto()
void TC_PROTO_API protobuf_AddDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto()
const ::std::string & TagAction_Name(TagAction value)
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * TagType_descriptor()
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * TagAction_descriptor()
const int TagType_ARRAYSIZE
const TagAction TagAction_MAX
const TagType TagType_MAX
const TagAction TagAction_MIN
const TagType TagType_MIN
TC_PROTO_API bool TagType_IsValid(int value)
TC_PROTO_API bool TagAction_IsValid(int value)
bool TagType_Parse(const ::std::string &name, TagType *value)
const ::std::string & TagType_Name(TagType value)
bool TagAction_Parse(const ::std::string &name, TagAction *value)
const int TagAction_ARRAYSIZE
void protobuf_AssignDesc_api_2fcommon_2fv1_2fclub_5ftag_2eproto()
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::club::v1::TagAction >()
const EnumDescriptor * GetEnumDescriptor< ::bgs::protocol::club::v1::TagType >()