TrinityCore
bgs::protocol::FieldRestriction Class Reference

#include <field_options.pb.h>

+ Inheritance diagram for bgs::protocol::FieldRestriction:

Classes

union  TypeUnion
 

Public Types

enum  TypeCase {
  kSigned = 1 , kUnsigned = 2 , kFloat = 3 , kString = 4 ,
  kRepeated = 5 , kMessage = 6 , kEntityId = 7 , kBytes = 8 ,
  TYPE_NOT_SET = 0
}
 

Public Member Functions

 FieldRestriction ()
 
virtual ~FieldRestriction ()
 
 FieldRestriction (const FieldRestriction &from)
 
FieldRestrictionoperator= (const FieldRestriction &from)
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (FieldRestriction *other)
 
FieldRestrictionNew () const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_signed_ () const
 
void clear_signed_ ()
 
const ::bgs::protocol::SignedFieldRestrictionsigned_ () const
 
inline ::bgs::protocol::SignedFieldRestrictionmutable_signed_ ()
 
inline ::bgs::protocol::SignedFieldRestrictionrelease_signed_ ()
 
void set_allocated_signed_ (::bgs::protocol::SignedFieldRestriction *signed_)
 
bool has_unsigned_ () const
 
void clear_unsigned_ ()
 
const ::bgs::protocol::UnsignedFieldRestrictionunsigned_ () const
 
inline ::bgs::protocol::UnsignedFieldRestrictionmutable_unsigned_ ()
 
inline ::bgs::protocol::UnsignedFieldRestrictionrelease_unsigned_ ()
 
void set_allocated_unsigned_ (::bgs::protocol::UnsignedFieldRestriction *unsigned_)
 
bool has_float_ () const
 
void clear_float_ ()
 
const ::bgs::protocol::FloatFieldRestrictionfloat_ () const
 
inline ::bgs::protocol::FloatFieldRestrictionmutable_float_ ()
 
inline ::bgs::protocol::FloatFieldRestrictionrelease_float_ ()
 
void set_allocated_float_ (::bgs::protocol::FloatFieldRestriction *float_)
 
bool has_string () const
 
void clear_string ()
 
const ::bgs::protocol::StringFieldRestrictionstring () const
 
inline ::bgs::protocol::StringFieldRestrictionmutable_string ()
 
inline ::bgs::protocol::StringFieldRestrictionrelease_string ()
 
void set_allocated_string (::bgs::protocol::StringFieldRestriction *string)
 
bool has_repeated () const
 
void clear_repeated ()
 
const ::bgs::protocol::RepeatedFieldRestrictionrepeated () const
 
inline ::bgs::protocol::RepeatedFieldRestrictionmutable_repeated ()
 
inline ::bgs::protocol::RepeatedFieldRestrictionrelease_repeated ()
 
void set_allocated_repeated (::bgs::protocol::RepeatedFieldRestriction *repeated)
 
bool has_message () const
 
void clear_message ()
 
const ::bgs::protocol::MessageFieldRestrictionmessage () const
 
inline ::bgs::protocol::MessageFieldRestrictionmutable_message ()
 
inline ::bgs::protocol::MessageFieldRestrictionrelease_message ()
 
void set_allocated_message (::bgs::protocol::MessageFieldRestriction *message)
 
bool has_entity_id () const
 
void clear_entity_id ()
 
const ::bgs::protocol::EntityIdRestrictionentity_id () const
 
inline ::bgs::protocol::EntityIdRestrictionmutable_entity_id ()
 
inline ::bgs::protocol::EntityIdRestrictionrelease_entity_id ()
 
void set_allocated_entity_id (::bgs::protocol::EntityIdRestriction *entity_id)
 
bool has_bytes () const
 
void clear_bytes ()
 
const ::bgs::protocol::StringFieldRestrictionbytes () const
 
inline ::bgs::protocol::StringFieldRestrictionmutable_bytes ()
 
inline ::bgs::protocol::StringFieldRestrictionrelease_bytes ()
 
void set_allocated_bytes (::bgs::protocol::StringFieldRestriction *bytes)
 
TypeCase type_case () const
 

Static Public Member Functions

static const ::google::protobuf::Descriptor * descriptor ()
 
static const FieldRestrictiondefault_instance ()
 

Static Public Attributes

static const int kSignedFieldNumber = 1
 
static const int kUnsignedFieldNumber = 2
 
static const int kFloatFieldNumber = 3
 
static const int kStringFieldNumber = 4
 
static const int kRepeatedFieldNumber = 5
 
static const int kMessageFieldNumber = 6
 
static const int kEntityIdFieldNumber = 7
 
static const int kBytesFieldNumber = 8
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_signed_ ()
 
void set_has_unsigned_ ()
 
void set_has_float_ ()
 
void set_has_string ()
 
void set_has_repeated ()
 
void set_has_message ()
 
void set_has_entity_id ()
 
void set_has_bytes ()
 
bool has_type ()
 
void clear_type ()
 
void clear_has_type ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
union bgs::protocol::FieldRestriction::TypeUnion type_
 
::google::protobuf::uint32 _oneof_case_ [1]
 

Static Private Attributes

static FieldRestrictiondefault_instance_
 

Friends

void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto ()
 
void protobuf_AssignDesc_global_5fextensions_2ffield_5foptions_2eproto ()
 
void protobuf_ShutdownFile_global_5fextensions_2ffield_5foptions_2eproto ()
 

Detailed Description

Definition at line 206 of file field_options.pb.h.

Member Enumeration Documentation

◆ TypeCase

Enumerator
kSigned 
kUnsigned 
kFloat 
kString 
kRepeated 
kMessage 
kEntityId 
kBytes 
TYPE_NOT_SET 

Definition at line 229 of file field_options.pb.h.

Constructor & Destructor Documentation

◆ FieldRestriction() [1/2]

bgs::protocol::FieldRestriction::FieldRestriction ( )

◆ ~FieldRestriction()

virtual bgs::protocol::FieldRestriction::~FieldRestriction ( )
virtual

◆ FieldRestriction() [2/2]

bgs::protocol::FieldRestriction::FieldRestriction ( const FieldRestriction from)

Member Function Documentation

◆ bytes()

const ::bgs::protocol::StringFieldRestriction & bgs::protocol::FieldRestriction::bytes ( ) const
inline

Definition at line 1538 of file field_options.pb.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clear_bytes()

void bgs::protocol::FieldRestriction::clear_bytes ( )
inline

Definition at line 1532 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ clear_entity_id()

void bgs::protocol::FieldRestriction::clear_entity_id ( )
inline

Definition at line 1489 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ clear_float_()

void bgs::protocol::FieldRestriction::clear_float_ ( )
inline

Definition at line 1317 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ clear_has_type()

void bgs::protocol::FieldRestriction::clear_has_type ( )
inlineprivate

Definition at line 1571 of file field_options.pb.h.

+ Here is the caller graph for this function:

◆ clear_message()

void bgs::protocol::FieldRestriction::clear_message ( )
inline

Definition at line 1446 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ clear_repeated()

void bgs::protocol::FieldRestriction::clear_repeated ( )
inline

Definition at line 1403 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ clear_signed_()

void bgs::protocol::FieldRestriction::clear_signed_ ( )
inline

Definition at line 1231 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ clear_string()

void bgs::protocol::FieldRestriction::clear_string ( )
inline

Definition at line 1360 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ clear_type()

void bgs::protocol::FieldRestriction::clear_type ( )
private
+ Here is the caller graph for this function:

◆ clear_unsigned_()

void bgs::protocol::FieldRestriction::clear_unsigned_ ( )
inline

Definition at line 1274 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ default_instance()

static const FieldRestriction & bgs::protocol::FieldRestriction::default_instance ( )
static

◆ descriptor()

static const ::google::protobuf::Descriptor * bgs::protocol::FieldRestriction::descriptor ( )
static

◆ entity_id()

const ::bgs::protocol::EntityIdRestriction & bgs::protocol::FieldRestriction::entity_id ( ) const
inline

Definition at line 1495 of file field_options.pb.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ float_()

const ::bgs::protocol::FloatFieldRestriction & bgs::protocol::FieldRestriction::float_ ( ) const
inline

Definition at line 1323 of file field_options.pb.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCachedSize()

int bgs::protocol::FieldRestriction::GetCachedSize ( ) const
inline

Definition at line 246 of file field_options.pb.h.

◆ GetMetadata()

::google::protobuf::Metadata bgs::protocol::FieldRestriction::GetMetadata ( ) const

◆ has_bytes()

bool bgs::protocol::FieldRestriction::has_bytes ( ) const
inline

Definition at line 1526 of file field_options.pb.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ has_entity_id()

bool bgs::protocol::FieldRestriction::has_entity_id ( ) const
inline

Definition at line 1483 of file field_options.pb.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ has_float_()

bool bgs::protocol::FieldRestriction::has_float_ ( ) const
inline

Definition at line 1311 of file field_options.pb.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ has_message()

bool bgs::protocol::FieldRestriction::has_message ( ) const
inline

Definition at line 1440 of file field_options.pb.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ has_repeated()

bool bgs::protocol::FieldRestriction::has_repeated ( ) const
inline

Definition at line 1397 of file field_options.pb.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ has_signed_()

bool bgs::protocol::FieldRestriction::has_signed_ ( ) const
inline

Definition at line 1225 of file field_options.pb.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ has_string()

bool bgs::protocol::FieldRestriction::has_string ( ) const
inline

Definition at line 1354 of file field_options.pb.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ has_type()

bool bgs::protocol::FieldRestriction::has_type ( )
inlineprivate

Definition at line 1568 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ has_unsigned_()

bool bgs::protocol::FieldRestriction::has_unsigned_ ( ) const
inline

Definition at line 1268 of file field_options.pb.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InitAsDefaultInstance()

void bgs::protocol::FieldRestriction::InitAsDefaultInstance ( )
private

◆ message()

const ::bgs::protocol::MessageFieldRestriction & bgs::protocol::FieldRestriction::message ( ) const
inline

Definition at line 1452 of file field_options.pb.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mutable_bytes()

bgs::protocol::StringFieldRestriction * bgs::protocol::FieldRestriction::mutable_bytes ( )
inline

Definition at line 1542 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ mutable_entity_id()

bgs::protocol::EntityIdRestriction * bgs::protocol::FieldRestriction::mutable_entity_id ( )
inline

Definition at line 1499 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ mutable_float_()

bgs::protocol::FloatFieldRestriction * bgs::protocol::FieldRestriction::mutable_float_ ( )
inline

Definition at line 1327 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ mutable_message()

bgs::protocol::MessageFieldRestriction * bgs::protocol::FieldRestriction::mutable_message ( )
inline

Definition at line 1456 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ mutable_repeated()

bgs::protocol::RepeatedFieldRestriction * bgs::protocol::FieldRestriction::mutable_repeated ( )
inline

Definition at line 1413 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ mutable_signed_()

bgs::protocol::SignedFieldRestriction * bgs::protocol::FieldRestriction::mutable_signed_ ( )
inline

Definition at line 1241 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ mutable_string()

bgs::protocol::StringFieldRestriction * bgs::protocol::FieldRestriction::mutable_string ( )
inline

Definition at line 1370 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet * bgs::protocol::FieldRestriction::mutable_unknown_fields ( )
inline

Definition at line 222 of file field_options.pb.h.

◆ mutable_unsigned_()

bgs::protocol::UnsignedFieldRestriction * bgs::protocol::FieldRestriction::mutable_unsigned_ ( )
inline

Definition at line 1284 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ New()

FieldRestriction * bgs::protocol::FieldRestriction::New ( ) const

◆ operator=()

FieldRestriction & bgs::protocol::FieldRestriction::operator= ( const FieldRestriction from)
inline

Definition at line 213 of file field_options.pb.h.

◆ release_bytes()

bgs::protocol::StringFieldRestriction * bgs::protocol::FieldRestriction::release_bytes ( )
inline

Definition at line 1550 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ release_entity_id()

bgs::protocol::EntityIdRestriction * bgs::protocol::FieldRestriction::release_entity_id ( )
inline

Definition at line 1507 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ release_float_()

bgs::protocol::FloatFieldRestriction * bgs::protocol::FieldRestriction::release_float_ ( )
inline

Definition at line 1335 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ release_message()

bgs::protocol::MessageFieldRestriction * bgs::protocol::FieldRestriction::release_message ( )
inline

Definition at line 1464 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ release_repeated()

bgs::protocol::RepeatedFieldRestriction * bgs::protocol::FieldRestriction::release_repeated ( )
inline

Definition at line 1421 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ release_signed_()

bgs::protocol::SignedFieldRestriction * bgs::protocol::FieldRestriction::release_signed_ ( )
inline

Definition at line 1249 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ release_string()

bgs::protocol::StringFieldRestriction * bgs::protocol::FieldRestriction::release_string ( )
inline

Definition at line 1378 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ release_unsigned_()

bgs::protocol::UnsignedFieldRestriction * bgs::protocol::FieldRestriction::release_unsigned_ ( )
inline

Definition at line 1292 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ repeated()

const ::bgs::protocol::RepeatedFieldRestriction & bgs::protocol::FieldRestriction::repeated ( ) const
inline

Definition at line 1409 of file field_options.pb.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set_allocated_bytes()

void bgs::protocol::FieldRestriction::set_allocated_bytes ( ::bgs::protocol::StringFieldRestriction bytes)
inline

Definition at line 1560 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ set_allocated_entity_id()

void bgs::protocol::FieldRestriction::set_allocated_entity_id ( ::bgs::protocol::EntityIdRestriction entity_id)
inline

Definition at line 1517 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ set_allocated_float_()

void bgs::protocol::FieldRestriction::set_allocated_float_ ( ::bgs::protocol::FloatFieldRestriction float_)
inline

Definition at line 1345 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ set_allocated_message()

void bgs::protocol::FieldRestriction::set_allocated_message ( ::bgs::protocol::MessageFieldRestriction message)
inline

Definition at line 1474 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ set_allocated_repeated()

void bgs::protocol::FieldRestriction::set_allocated_repeated ( ::bgs::protocol::RepeatedFieldRestriction repeated)
inline

Definition at line 1431 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ set_allocated_signed_()

void bgs::protocol::FieldRestriction::set_allocated_signed_ ( ::bgs::protocol::SignedFieldRestriction signed_)
inline

Definition at line 1259 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ set_allocated_string()

void bgs::protocol::FieldRestriction::set_allocated_string ( ::bgs::protocol::StringFieldRestriction string)
inline

Definition at line 1388 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ set_allocated_unsigned_()

void bgs::protocol::FieldRestriction::set_allocated_unsigned_ ( ::bgs::protocol::UnsignedFieldRestriction unsigned_)
inline

Definition at line 1302 of file field_options.pb.h.

+ Here is the call graph for this function:

◆ set_has_bytes()

void bgs::protocol::FieldRestriction::set_has_bytes ( )
inlineprivate

Definition at line 1529 of file field_options.pb.h.

+ Here is the caller graph for this function:

◆ set_has_entity_id()

void bgs::protocol::FieldRestriction::set_has_entity_id ( )
inlineprivate

Definition at line 1486 of file field_options.pb.h.

+ Here is the caller graph for this function:

◆ set_has_float_()

void bgs::protocol::FieldRestriction::set_has_float_ ( )
inlineprivate

Definition at line 1314 of file field_options.pb.h.

+ Here is the caller graph for this function:

◆ set_has_message()

void bgs::protocol::FieldRestriction::set_has_message ( )
inlineprivate

Definition at line 1443 of file field_options.pb.h.

+ Here is the caller graph for this function:

◆ set_has_repeated()

void bgs::protocol::FieldRestriction::set_has_repeated ( )
inlineprivate

Definition at line 1400 of file field_options.pb.h.

+ Here is the caller graph for this function:

◆ set_has_signed_()

void bgs::protocol::FieldRestriction::set_has_signed_ ( )
inlineprivate

Definition at line 1228 of file field_options.pb.h.

+ Here is the caller graph for this function:

◆ set_has_string()

void bgs::protocol::FieldRestriction::set_has_string ( )
inlineprivate

Definition at line 1357 of file field_options.pb.h.

+ Here is the caller graph for this function:

◆ set_has_unsigned_()

void bgs::protocol::FieldRestriction::set_has_unsigned_ ( )
inlineprivate

Definition at line 1271 of file field_options.pb.h.

+ Here is the caller graph for this function:

◆ SetCachedSize()

void bgs::protocol::FieldRestriction::SetCachedSize ( int  size) const
private

◆ SharedCtor()

void bgs::protocol::FieldRestriction::SharedCtor ( )
private

◆ SharedDtor()

void bgs::protocol::FieldRestriction::SharedDtor ( )
private

◆ signed_()

const ::bgs::protocol::SignedFieldRestriction & bgs::protocol::FieldRestriction::signed_ ( ) const
inline

Definition at line 1237 of file field_options.pb.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string()

const ::bgs::protocol::StringFieldRestriction & bgs::protocol::FieldRestriction::string ( ) const
inline

Definition at line 1366 of file field_options.pb.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Swap()

void bgs::protocol::FieldRestriction::Swap ( FieldRestriction other)

◆ type_case()

FieldRestriction::TypeCase bgs::protocol::FieldRestriction::type_case ( ) const
inline

Definition at line 1574 of file field_options.pb.h.

+ Here is the caller graph for this function:

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & bgs::protocol::FieldRestriction::unknown_fields ( ) const
inline

Definition at line 218 of file field_options.pb.h.

◆ unsigned_()

const ::bgs::protocol::UnsignedFieldRestriction & bgs::protocol::FieldRestriction::unsigned_ ( ) const
inline

Definition at line 1280 of file field_options.pb.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto

void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2ffield_5foptions_2eproto ( )
friend

◆ protobuf_AssignDesc_global_5fextensions_2ffield_5foptions_2eproto

void protobuf_AssignDesc_global_5fextensions_2ffield_5foptions_2eproto ( )
friend

◆ protobuf_ShutdownFile_global_5fextensions_2ffield_5foptions_2eproto

void protobuf_ShutdownFile_global_5fextensions_2ffield_5foptions_2eproto ( )
friend

Member Data Documentation

◆ _cached_size_

int bgs::protocol::FieldRestriction::_cached_size_
mutableprivate

Definition at line 349 of file field_options.pb.h.

◆ _has_bits_

::google::protobuf::uint32 bgs::protocol::FieldRestriction::_has_bits_[1]
private

Definition at line 348 of file field_options.pb.h.

◆ _oneof_case_

::google::protobuf::uint32 bgs::protocol::FieldRestriction::_oneof_case_[1]
private

Definition at line 360 of file field_options.pb.h.

◆ _unknown_fields_

::google::protobuf::UnknownFieldSet bgs::protocol::FieldRestriction::_unknown_fields_
private

Definition at line 346 of file field_options.pb.h.

◆ default_instance_

FieldRestriction* bgs::protocol::FieldRestriction::default_instance_
staticprivate

Definition at line 367 of file field_options.pb.h.

◆ kBytesFieldNumber

const int bgs::protocol::FieldRestriction::kBytesFieldNumber = 8
static

Definition at line 324 of file field_options.pb.h.

◆ kEntityIdFieldNumber

const int bgs::protocol::FieldRestriction::kEntityIdFieldNumber = 7
static

Definition at line 315 of file field_options.pb.h.

◆ kFloatFieldNumber

const int bgs::protocol::FieldRestriction::kFloatFieldNumber = 3
static

Definition at line 279 of file field_options.pb.h.

◆ kMessageFieldNumber

const int bgs::protocol::FieldRestriction::kMessageFieldNumber = 6
static

Definition at line 306 of file field_options.pb.h.

◆ kRepeatedFieldNumber

const int bgs::protocol::FieldRestriction::kRepeatedFieldNumber = 5
static

Definition at line 297 of file field_options.pb.h.

◆ kSignedFieldNumber

const int bgs::protocol::FieldRestriction::kSignedFieldNumber = 1
static

Definition at line 261 of file field_options.pb.h.

◆ kStringFieldNumber

const int bgs::protocol::FieldRestriction::kStringFieldNumber = 4
static

Definition at line 288 of file field_options.pb.h.

◆ kUnsignedFieldNumber

const int bgs::protocol::FieldRestriction::kUnsignedFieldNumber = 2
static

Definition at line 270 of file field_options.pb.h.

◆ type_

union bgs::protocol::FieldRestriction::TypeUnion bgs::protocol::FieldRestriction::type_
private

The documentation for this class was generated from the following file: