4#ifndef PROTOBUF_api_2fclient_2fv2_2freport_5ftypes_2eproto__INCLUDED
5#define PROTOBUF_api_2fclient_2fv2_2freport_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>
64 return ::google::protobuf::internal::NameOfEnum(
68 const ::std::string& name,
IssueType* value) {
69 return ::google::protobuf::internal::ParseNamedEnum<IssueType>(
88 return ::google::protobuf::internal::NameOfEnum(
92 const ::std::string& name,
UserSource* value) {
93 return ::google::protobuf::internal::ParseNamedEnum<UserSource>(
113 return ::google::protobuf::internal::NameOfEnum(
117 const ::std::string& name,
ClubSource* value) {
118 return ::google::protobuf::internal::ParseNamedEnum<ClubSource>(
136 return _unknown_fields_;
140 return &_unknown_fields_;
169 inline bool has_message_id()
const;
170 inline void clear_message_id();
171 static const int kMessageIdFieldNumber = 1;
172 inline const ::bgs::protocol::MessageId& message_id()
const;
173 inline ::bgs::protocol::MessageId* mutable_message_id();
174 inline ::bgs::protocol::MessageId* release_message_id();
180 inline void set_has_message_id();
182 inline bool has_type();
184 inline void clear_has_type();
217 return _unknown_fields_;
221 return &_unknown_fields_;
245 inline bool has_target_id()
const;
246 inline void clear_target_id();
247 static const int kTargetIdFieldNumber = 1;
248 inline const ::bgs::protocol::account::v1::AccountId& target_id()
const;
249 inline ::bgs::protocol::account::v1::AccountId* mutable_target_id();
250 inline ::bgs::protocol::account::v1::AccountId* release_target_id();
254 inline bool has_type()
const;
255 inline void clear_type();
256 static const int kTypeFieldNumber = 2;
261 inline bool has_source()
const;
262 inline void clear_source();
263 static const int kSourceFieldNumber = 3;
268 inline bool has_item()
const;
269 inline void clear_item();
270 static const int kItemFieldNumber = 4;
271 inline const ::bgs::protocol::report::v2::ReportItem& item()
const;
272 inline ::bgs::protocol::report::v2::ReportItem* mutable_item();
273 inline ::bgs::protocol::report::v2::ReportItem* release_item();
278 inline void set_has_target_id();
279 inline void clear_has_target_id();
280 inline void set_has_type();
281 inline void clear_has_type();
282 inline void set_has_source();
283 inline void clear_has_source();
284 inline void set_has_item();
285 inline void clear_has_item();
317 return _unknown_fields_;
321 return &_unknown_fields_;
345 inline bool has_club_id()
const;
346 inline void clear_club_id();
347 static const int kClubIdFieldNumber = 1;
352 inline bool has_stream_id()
const;
353 inline void clear_stream_id();
354 static const int kStreamIdFieldNumber = 2;
359 inline bool has_type()
const;
360 inline void clear_type();
361 static const int kTypeFieldNumber = 3;
366 inline bool has_source()
const;
367 inline void clear_source();
368 static const int kSourceFieldNumber = 4;
373 inline bool has_item()
const;
374 inline void clear_item();
375 static const int kItemFieldNumber = 5;
376 inline const ::bgs::protocol::report::v2::ReportItem& item()
const;
377 inline ::bgs::protocol::report::v2::ReportItem* mutable_item();
378 inline ::bgs::protocol::report::v2::ReportItem* release_item();
383 inline void set_has_club_id();
384 inline void clear_has_club_id();
385 inline void set_has_stream_id();
386 inline void clear_has_stream_id();
387 inline void set_has_type();
388 inline void clear_has_type();
389 inline void set_has_source();
390 inline void clear_has_source();
391 inline void set_has_item();
392 inline void clear_has_item();
425 return _unknown_fields_;
429 return &_unknown_fields_;
453 inline bool has_entity_id()
const;
454 inline void clear_entity_id();
455 static const int kEntityIdFieldNumber = 1;
456 inline const ::std::string& entity_id()
const;
457 inline void set_entity_id(const ::std::string& value);
458 inline void set_entity_id(
const char* value);
459 inline void set_entity_id(
const char* value,
size_t size);
460 inline ::std::string* mutable_entity_id();
461 inline ::std::string* release_entity_id();
462 inline void set_allocated_entity_id(::std::string* entity_id);
465 inline bool has_entity_type()
const;
466 inline void clear_entity_type();
467 static const int kEntityTypeFieldNumber = 2;
468 inline const ::std::string& entity_type()
const;
469 inline void set_entity_type(const ::std::string& value);
470 inline void set_entity_type(
const char* value);
471 inline void set_entity_type(
const char* value,
size_t size);
472 inline ::std::string* mutable_entity_type();
473 inline ::std::string* release_entity_type();
474 inline void set_allocated_entity_type(::std::string* entity_type);
477 inline int attribute_size()
const;
478 inline void clear_attribute();
479 static const int kAttributeFieldNumber = 5;
480 inline const ::bgs::protocol::v2::Attribute& attribute(
int index)
const;
481 inline ::bgs::protocol::v2::Attribute* mutable_attribute(
int index);
482 inline ::bgs::protocol::v2::Attribute* add_attribute();
483 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
485 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
490 inline void set_has_entity_id();
491 inline void clear_has_entity_id();
492 inline void set_has_entity_type();
493 inline void clear_has_entity_type();
501 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >
attribute_;
675 if (
item_ != NULL)
item_->::bgs::protocol::report::v2::ReportItem::Clear();
684 if (
item_ == NULL)
item_ = new ::bgs::protocol::report::v2::ReportItem;
818 if (
item_ != NULL)
item_->::bgs::protocol::report::v2::ReportItem::Clear();
827 if (
item_ == NULL)
item_ = new ::bgs::protocol::report::v2::ReportItem;
863 if (
entity_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
874 if (
entity_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
882 if (
entity_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
890 if (
entity_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
898 if (
entity_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
906 if (
entity_id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
910 entity_id_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
915 if (
entity_id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
923 entity_id_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
939 if (
entity_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
950 if (
entity_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
958 if (
entity_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
966 if (
entity_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
974 if (
entity_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
982 if (
entity_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
986 entity_type_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
991 if (
entity_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
999 entity_type_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1023inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1028inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1046inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::report::v2::IssueType>() {
1051inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::report::v2::UserSource>() {
1056inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::report::v2::ClubSource>() {
static const MessageId & default_instance()
::google::protobuf::uint64 club_id_
const ::bgs::protocol::report::v2::ReportItem & item() const
static ClubOptions * default_instance_
void set_club_id(::google::protobuf::uint64 value)
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::report::v2::IssueType type() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
int GetCachedSize() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
friend void protobuf_AssignDesc_api_2fclient_2fv2_2freport_5ftypes_2eproto()
::google::protobuf::uint32 _has_bits_[1]
inline ::google::protobuf::uint64 club_id() const
void set_allocated_item(::bgs::protocol::report::v2::ReportItem *item)
void set_type(::bgs::protocol::report::v2::IssueType value)
void set_source(::bgs::protocol::report::v2::ClubSource value)
inline ::google::protobuf::uint64 stream_id() const
void SetCachedSize(int size) const
ClubOptions * New() const
::bgs::protocol::report::v2::ReportItem * item_
inline ::bgs::protocol::report::v2::ReportItem * mutable_item()
void clear_has_stream_id()
::google::protobuf::UnknownFieldSet _unknown_fields_
ClubOptions(const ClubOptions &from)
inline ::bgs::protocol::report::v2::ReportItem * release_item()
::google::protobuf::uint64 stream_id_
void set_stream_id(::google::protobuf::uint64 value)
ClubOptions & operator=(const ClubOptions &from)
void Swap(ClubOptions *other)
static const ClubOptions & default_instance()
void InitAsDefaultInstance()
bool has_stream_id() const
inline ::bgs::protocol::report::v2::ClubSource source() const
friend void protobuf_ShutdownFile_api_2fclient_2fv2_2freport_5ftypes_2eproto()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2freport_5ftypes_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_entity_type(::std::string *entity_type)
static const ::google::protobuf::Descriptor * descriptor()
EntityOptions & operator=(const EntityOptions &from)
::google::protobuf::uint32 _has_bits_[1]
const ::std::string & entity_type() const
void set_has_entity_type()
friend void protobuf_AssignDesc_api_2fclient_2fv2_2freport_5ftypes_2eproto()
inline ::bgs::protocol::v2::Attribute * add_attribute()
void set_entity_type(const ::std::string &value)
int attribute_size() const
bool has_entity_id() const
static const EntityOptions & default_instance()
inline ::std::string * mutable_entity_id()
::std::string * entity_type_
void set_allocated_entity_id(::std::string *entity_id)
::google::protobuf::UnknownFieldSet _unknown_fields_
void clear_has_entity_id()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
void Swap(EntityOptions *other)
inline ::std::string * release_entity_type()
void InitAsDefaultInstance()
::std::string * entity_id_
void clear_has_entity_type()
int GetCachedSize() const
void SetCachedSize(int size) const
const ::std::string & entity_id() const
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static EntityOptions * default_instance_
bool has_entity_type() const
EntityOptions * New() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
inline ::std::string * mutable_entity_type()
friend void protobuf_ShutdownFile_api_2fclient_2fv2_2freport_5ftypes_2eproto()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2freport_5ftypes_2eproto()
inline ::std::string * release_entity_id()
EntityOptions(const EntityOptions &from)
void set_entity_id(const ::std::string &value)
void Swap(ReportItem *other)
TypeCase type_case() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::MessageId * release_message_id()
ReportItem & operator=(const ReportItem &from)
int GetCachedSize() const
friend void protobuf_AssignDesc_api_2fclient_2fv2_2freport_5ftypes_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_has_message_id()
::google::protobuf::uint32 _oneof_case_[1]
void SetCachedSize(int size) const
static const ReportItem & default_instance()
void InitAsDefaultInstance()
inline ::bgs::protocol::MessageId * mutable_message_id()
static ReportItem * default_instance_
void set_allocated_message_id(::bgs::protocol::MessageId *message_id)
const ::bgs::protocol::MessageId & message_id() const
union bgs::protocol::report::v2::ReportItem::TypeUnion type_
ReportItem(const ReportItem &from)
bool has_message_id() const
friend void protobuf_ShutdownFile_api_2fclient_2fv2_2freport_5ftypes_2eproto()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2freport_5ftypes_2eproto()
int GetCachedSize() const
friend void protobuf_AssignDesc_api_2fclient_2fv2_2freport_5ftypes_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
::bgs::protocol::account::v1::AccountId * target_id_
const ::bgs::protocol::account::v1::AccountId & target_id() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::bgs::protocol::account::v1::AccountId * mutable_target_id()
::google::protobuf::Metadata GetMetadata() const
void set_source(::bgs::protocol::report::v2::UserSource value)
void set_type(::bgs::protocol::report::v2::IssueType value)
UserOptions & operator=(const UserOptions &from)
static UserOptions * default_instance_
::bgs::protocol::report::v2::ReportItem * item_
inline ::bgs::protocol::report::v2::ReportItem * mutable_item()
static const UserOptions & default_instance()
inline ::bgs::protocol::report::v2::UserSource source() const
inline ::bgs::protocol::report::v2::ReportItem * release_item()
UserOptions * New() const
::google::protobuf::uint32 _has_bits_[1]
UserOptions(const UserOptions &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::bgs::protocol::report::v2::ReportItem & item() const
void set_allocated_target_id(::bgs::protocol::account::v1::AccountId *target_id)
void SetCachedSize(int size) const
bool has_target_id() const
inline ::bgs::protocol::report::v2::IssueType type() const
void InitAsDefaultInstance()
inline ::bgs::protocol::account::v1::AccountId * release_target_id()
void clear_has_target_id()
friend void protobuf_ShutdownFile_api_2fclient_2fv2_2freport_5ftypes_2eproto()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2freport_5ftypes_2eproto()
void Swap(UserOptions *other)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_item(::bgs::protocol::report::v2::ReportItem *item)
constexpr std::size_t size()
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * IssueType_descriptor()
const ::std::string & ClubSource_Name(ClubSource value)
@ USER_SOURCE_FRIEND_INVITATION
const UserSource UserSource_MAX
bool ClubSource_Parse(const ::std::string &name, ClubSource *value)
const ::std::string & UserSource_Name(UserSource value)
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * ClubSource_descriptor()
const IssueType IssueType_MAX
const ::std::string & IssueType_Name(IssueType value)
const int UserSource_ARRAYSIZE
TC_PROTO_API bool UserSource_IsValid(int value)
void protobuf_AssignDesc_api_2fclient_2fv2_2freport_5ftypes_2eproto()
const int IssueType_ARRAYSIZE
void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv2_2freport_5ftypes_2eproto()
const ClubSource ClubSource_MIN
bool IssueType_Parse(const ::std::string &name, IssueType *value)
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * UserSource_descriptor()
@ CLUB_SOURCE_STREAM_SUBJECT
@ CLUB_SOURCE_CLUB_DESCRIPTION
@ CLUB_SOURCE_STREAM_NAME
@ CLUB_SOURCE_CLUB_SHORT_NAME
void protobuf_ShutdownFile_api_2fclient_2fv2_2freport_5ftypes_2eproto()
@ ISSUE_TYPE_OFFENSIVE_CONTENT
const ClubSource ClubSource_MAX
bool UserSource_Parse(const ::std::string &name, UserSource *value)
TC_PROTO_API bool ClubSource_IsValid(int value)
const UserSource UserSource_MIN
const int ClubSource_ARRAYSIZE
TC_PROTO_API bool IssueType_IsValid(int value)
const IssueType IssueType_MIN
::bgs::protocol::MessageId * message_id_