TrinityCore
bgs::protocol::EmbedInfo Class Reference

#include <embed_types.pb.h>

+ Inheritance diagram for bgs::protocol::EmbedInfo:

Public Member Functions

 EmbedInfo ()
 
virtual ~EmbedInfo ()
 
 EmbedInfo (const EmbedInfo &from)
 
EmbedInfooperator= (const EmbedInfo &from)
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (EmbedInfo *other)
 
EmbedInfoNew () const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_title () const
 
void clear_title ()
 
const ::std::string & title () const
 
void set_title (const ::std::string &value)
 
void set_title (const char *value)
 
void set_title (const char *value, size_t size)
 
inline ::std::string * mutable_title ()
 
inline ::std::string * release_title ()
 
void set_allocated_title (::std::string *title)
 
bool has_type () const
 
void clear_type ()
 
const ::std::string & type () const
 
void set_type (const ::std::string &value)
 
void set_type (const char *value)
 
void set_type (const char *value, size_t size)
 
inline ::std::string * mutable_type ()
 
inline ::std::string * release_type ()
 
void set_allocated_type (::std::string *type)
 
bool has_original_url () const
 
void clear_original_url ()
 
const ::std::string & original_url () const
 
void set_original_url (const ::std::string &value)
 
void set_original_url (const char *value)
 
void set_original_url (const char *value, size_t size)
 
inline ::std::string * mutable_original_url ()
 
inline ::std::string * release_original_url ()
 
void set_allocated_original_url (::std::string *original_url)
 
bool has_thumbnail () const
 
void clear_thumbnail ()
 
const ::bgs::protocol::EmbedImagethumbnail () const
 
inline ::bgs::protocol::EmbedImagemutable_thumbnail ()
 
inline ::bgs::protocol::EmbedImagerelease_thumbnail ()
 
void set_allocated_thumbnail (::bgs::protocol::EmbedImage *thumbnail)
 
bool has_provider () const
 
void clear_provider ()
 
const ::bgs::protocol::Providerprovider () const
 
inline ::bgs::protocol::Providermutable_provider ()
 
inline ::bgs::protocol::Providerrelease_provider ()
 
void set_allocated_provider (::bgs::protocol::Provider *provider)
 
bool has_description () const
 
void clear_description ()
 
const ::std::string & description () const
 
void set_description (const ::std::string &value)
 
void set_description (const char *value)
 
void set_description (const char *value, size_t size)
 
inline ::std::string * mutable_description ()
 
inline ::std::string * release_description ()
 
void set_allocated_description (::std::string *description)
 
bool has_html () const
 
void clear_html ()
 
const ::bgs::protocol::EmbedHTMLhtml () const
 
inline ::bgs::protocol::EmbedHTMLmutable_html ()
 
inline ::bgs::protocol::EmbedHTMLrelease_html ()
 
void set_allocated_html (::bgs::protocol::EmbedHTML *html)
 

Static Public Member Functions

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

Static Public Attributes

static const int kTitleFieldNumber = 1
 
static const int kTypeFieldNumber = 2
 
static const int kOriginalUrlFieldNumber = 3
 
static const int kThumbnailFieldNumber = 4
 
static const int kProviderFieldNumber = 5
 
static const int kDescriptionFieldNumber = 6
 
static const int kHtmlFieldNumber = 8
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_title ()
 
void clear_has_title ()
 
void set_has_type ()
 
void clear_has_type ()
 
void set_has_original_url ()
 
void clear_has_original_url ()
 
void set_has_thumbnail ()
 
void clear_has_thumbnail ()
 
void set_has_provider ()
 
void clear_has_provider ()
 
void set_has_description ()
 
void clear_has_description ()
 
void set_has_html ()
 
void clear_has_html ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::std::string * title_
 
::std::string * type_
 
::std::string * original_url_
 
::bgs::protocol::EmbedImagethumbnail_
 
::bgs::protocol::Providerprovider_
 
::std::string * description_
 
::bgs::protocol::EmbedHTMLhtml_
 

Static Private Attributes

static EmbedInfodefault_instance_
 

Friends

void TC_PROTO_API protobuf_AddDesc_embed_5ftypes_2eproto ()
 
void protobuf_AssignDesc_embed_5ftypes_2eproto ()
 
void protobuf_ShutdownFile_embed_5ftypes_2eproto ()
 

Detailed Description

Definition at line 298 of file embed_types.pb.h.

Constructor & Destructor Documentation

◆ EmbedInfo() [1/2]

bgs::protocol::EmbedInfo::EmbedInfo ( )

◆ ~EmbedInfo()

virtual bgs::protocol::EmbedInfo::~EmbedInfo ( )
virtual

◆ EmbedInfo() [2/2]

bgs::protocol::EmbedInfo::EmbedInfo ( const EmbedInfo from)

Member Function Documentation

◆ clear_description()

void bgs::protocol::EmbedInfo::clear_description ( )
inline

Definition at line 1112 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ clear_has_description()

void bgs::protocol::EmbedInfo::clear_has_description ( )
inlineprivate

Definition at line 1109 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ clear_has_html()

void bgs::protocol::EmbedInfo::clear_has_html ( )
inlineprivate

Definition at line 1185 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ clear_has_original_url()

void bgs::protocol::EmbedInfo::clear_has_original_url ( )
inlineprivate

Definition at line 951 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ clear_has_provider()

void bgs::protocol::EmbedInfo::clear_has_provider ( )
inlineprivate

Definition at line 1068 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ clear_has_thumbnail()

void bgs::protocol::EmbedInfo::clear_has_thumbnail ( )
inlineprivate

Definition at line 1027 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ clear_has_title()

void bgs::protocol::EmbedInfo::clear_has_title ( )
inlineprivate

Definition at line 799 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ clear_has_type()

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

Definition at line 875 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ clear_html()

void bgs::protocol::EmbedInfo::clear_html ( )
inline

Definition at line 1188 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ clear_original_url()

void bgs::protocol::EmbedInfo::clear_original_url ( )
inline

Definition at line 954 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ clear_provider()

void bgs::protocol::EmbedInfo::clear_provider ( )
inline

Definition at line 1071 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ clear_thumbnail()

void bgs::protocol::EmbedInfo::clear_thumbnail ( )
inline

Definition at line 1030 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ clear_title()

void bgs::protocol::EmbedInfo::clear_title ( )
inline

Definition at line 802 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ clear_type()

void bgs::protocol::EmbedInfo::clear_type ( )
inline

Definition at line 878 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ default_instance()

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

◆ description()

const ::std::string & bgs::protocol::EmbedInfo::description ( ) const
inline

Definition at line 1118 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ descriptor()

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

◆ GetCachedSize()

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

Definition at line 326 of file embed_types.pb.h.

◆ GetMetadata()

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

◆ has_description()

bool bgs::protocol::EmbedInfo::has_description ( ) const
inline

Definition at line 1103 of file embed_types.pb.h.

◆ has_html()

bool bgs::protocol::EmbedInfo::has_html ( ) const
inline

Definition at line 1179 of file embed_types.pb.h.

◆ has_original_url()

bool bgs::protocol::EmbedInfo::has_original_url ( ) const
inline

Definition at line 945 of file embed_types.pb.h.

◆ has_provider()

bool bgs::protocol::EmbedInfo::has_provider ( ) const
inline

Definition at line 1062 of file embed_types.pb.h.

◆ has_thumbnail()

bool bgs::protocol::EmbedInfo::has_thumbnail ( ) const
inline

Definition at line 1021 of file embed_types.pb.h.

◆ has_title()

bool bgs::protocol::EmbedInfo::has_title ( ) const
inline

Definition at line 793 of file embed_types.pb.h.

◆ has_type()

bool bgs::protocol::EmbedInfo::has_type ( ) const
inline

Definition at line 869 of file embed_types.pb.h.

◆ html()

const ::bgs::protocol::EmbedHTML & bgs::protocol::EmbedInfo::html ( ) const
inline

Definition at line 1192 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ InitAsDefaultInstance()

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

◆ mutable_description()

std::string * bgs::protocol::EmbedInfo::mutable_description ( )
inline

Definition at line 1146 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ mutable_html()

bgs::protocol::EmbedHTML * bgs::protocol::EmbedInfo::mutable_html ( )
inline

Definition at line 1196 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ mutable_original_url()

std::string * bgs::protocol::EmbedInfo::mutable_original_url ( )
inline

Definition at line 988 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ mutable_provider()

bgs::protocol::Provider * bgs::protocol::EmbedInfo::mutable_provider ( )
inline

Definition at line 1079 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ mutable_thumbnail()

bgs::protocol::EmbedImage * bgs::protocol::EmbedInfo::mutable_thumbnail ( )
inline

Definition at line 1038 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ mutable_title()

std::string * bgs::protocol::EmbedInfo::mutable_title ( )
inline

Definition at line 836 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ mutable_type()

std::string * bgs::protocol::EmbedInfo::mutable_type ( )
inline

Definition at line 912 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ mutable_unknown_fields()

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

Definition at line 314 of file embed_types.pb.h.

◆ New()

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

◆ operator=()

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

Definition at line 305 of file embed_types.pb.h.

◆ original_url()

const ::std::string & bgs::protocol::EmbedInfo::original_url ( ) const
inline

Definition at line 960 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ provider()

const ::bgs::protocol::Provider & bgs::protocol::EmbedInfo::provider ( ) const
inline

Definition at line 1075 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ release_description()

std::string * bgs::protocol::EmbedInfo::release_description ( )
inline

Definition at line 1154 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ release_html()

bgs::protocol::EmbedHTML * bgs::protocol::EmbedInfo::release_html ( )
inline

Definition at line 1202 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ release_original_url()

std::string * bgs::protocol::EmbedInfo::release_original_url ( )
inline

Definition at line 996 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ release_provider()

bgs::protocol::Provider * bgs::protocol::EmbedInfo::release_provider ( )
inline

Definition at line 1085 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ release_thumbnail()

bgs::protocol::EmbedImage * bgs::protocol::EmbedInfo::release_thumbnail ( )
inline

Definition at line 1044 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ release_title()

std::string * bgs::protocol::EmbedInfo::release_title ( )
inline

Definition at line 844 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ release_type()

std::string * bgs::protocol::EmbedInfo::release_type ( )
inline

Definition at line 920 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_allocated_description()

void bgs::protocol::EmbedInfo::set_allocated_description ( ::std::string *  description)
inline

Definition at line 1164 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_allocated_html()

void bgs::protocol::EmbedInfo::set_allocated_html ( ::bgs::protocol::EmbedHTML html)
inline

Definition at line 1208 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_allocated_original_url()

void bgs::protocol::EmbedInfo::set_allocated_original_url ( ::std::string *  original_url)
inline

Definition at line 1006 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_allocated_provider()

void bgs::protocol::EmbedInfo::set_allocated_provider ( ::bgs::protocol::Provider provider)
inline

Definition at line 1091 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_allocated_thumbnail()

void bgs::protocol::EmbedInfo::set_allocated_thumbnail ( ::bgs::protocol::EmbedImage thumbnail)
inline

Definition at line 1050 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_allocated_title()

void bgs::protocol::EmbedInfo::set_allocated_title ( ::std::string *  title)
inline

Definition at line 854 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_allocated_type()

void bgs::protocol::EmbedInfo::set_allocated_type ( ::std::string *  type)
inline

Definition at line 930 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_description() [1/3]

void bgs::protocol::EmbedInfo::set_description ( const ::std::string &  value)
inline

Definition at line 1122 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_description() [2/3]

void bgs::protocol::EmbedInfo::set_description ( const char *  value)
inline

Definition at line 1130 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_description() [3/3]

void bgs::protocol::EmbedInfo::set_description ( const char *  value,
size_t  size 
)
inline

Definition at line 1138 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_has_description()

void bgs::protocol::EmbedInfo::set_has_description ( )
inlineprivate

Definition at line 1106 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ set_has_html()

void bgs::protocol::EmbedInfo::set_has_html ( )
inlineprivate

Definition at line 1182 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ set_has_original_url()

void bgs::protocol::EmbedInfo::set_has_original_url ( )
inlineprivate

Definition at line 948 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ set_has_provider()

void bgs::protocol::EmbedInfo::set_has_provider ( )
inlineprivate

Definition at line 1065 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ set_has_thumbnail()

void bgs::protocol::EmbedInfo::set_has_thumbnail ( )
inlineprivate

Definition at line 1024 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ set_has_title()

void bgs::protocol::EmbedInfo::set_has_title ( )
inlineprivate

Definition at line 796 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ set_has_type()

void bgs::protocol::EmbedInfo::set_has_type ( )
inlineprivate

Definition at line 872 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ set_original_url() [1/3]

void bgs::protocol::EmbedInfo::set_original_url ( const ::std::string &  value)
inline

Definition at line 964 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_original_url() [2/3]

void bgs::protocol::EmbedInfo::set_original_url ( const char *  value)
inline

Definition at line 972 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_original_url() [3/3]

void bgs::protocol::EmbedInfo::set_original_url ( const char *  value,
size_t  size 
)
inline

Definition at line 980 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_title() [1/3]

void bgs::protocol::EmbedInfo::set_title ( const ::std::string &  value)
inline

Definition at line 812 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_title() [2/3]

void bgs::protocol::EmbedInfo::set_title ( const char *  value)
inline

Definition at line 820 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_title() [3/3]

void bgs::protocol::EmbedInfo::set_title ( const char *  value,
size_t  size 
)
inline

Definition at line 828 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_type() [1/3]

void bgs::protocol::EmbedInfo::set_type ( const ::std::string &  value)
inline

Definition at line 888 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_type() [2/3]

void bgs::protocol::EmbedInfo::set_type ( const char *  value)
inline

Definition at line 896 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ set_type() [3/3]

void bgs::protocol::EmbedInfo::set_type ( const char *  value,
size_t  size 
)
inline

Definition at line 904 of file embed_types.pb.h.

+ Here is the call graph for this function:

◆ SetCachedSize()

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

◆ SharedCtor()

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

◆ SharedDtor()

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

◆ Swap()

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

◆ thumbnail()

const ::bgs::protocol::EmbedImage & bgs::protocol::EmbedInfo::thumbnail ( ) const
inline

Definition at line 1034 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ title()

const ::std::string & bgs::protocol::EmbedInfo::title ( ) const
inline

Definition at line 808 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ type()

const ::std::string & bgs::protocol::EmbedInfo::type ( ) const
inline

Definition at line 884 of file embed_types.pb.h.

+ Here is the caller graph for this function:

◆ unknown_fields()

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

Definition at line 310 of file embed_types.pb.h.

Friends And Related Function Documentation

◆ protobuf_AddDesc_embed_5ftypes_2eproto

void TC_PROTO_API protobuf_AddDesc_embed_5ftypes_2eproto ( )
friend

◆ protobuf_AssignDesc_embed_5ftypes_2eproto

void protobuf_AssignDesc_embed_5ftypes_2eproto ( )
friend

◆ protobuf_ShutdownFile_embed_5ftypes_2eproto

void protobuf_ShutdownFile_embed_5ftypes_2eproto ( )
friend

Member Data Documentation

◆ _cached_size_

int bgs::protocol::EmbedInfo::_cached_size_
mutableprivate

Definition at line 433 of file embed_types.pb.h.

◆ _has_bits_

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

Definition at line 432 of file embed_types.pb.h.

◆ _unknown_fields_

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

Definition at line 430 of file embed_types.pb.h.

◆ default_instance_

EmbedInfo* bgs::protocol::EmbedInfo::default_instance_
staticprivate

Definition at line 446 of file embed_types.pb.h.

◆ description_

::std::string* bgs::protocol::EmbedInfo::description_
private

Definition at line 439 of file embed_types.pb.h.

◆ html_

::bgs::protocol::EmbedHTML* bgs::protocol::EmbedInfo::html_
private

Definition at line 440 of file embed_types.pb.h.

◆ kDescriptionFieldNumber

const int bgs::protocol::EmbedInfo::kDescriptionFieldNumber = 6
static

Definition at line 395 of file embed_types.pb.h.

◆ kHtmlFieldNumber

const int bgs::protocol::EmbedInfo::kHtmlFieldNumber = 8
static

Definition at line 407 of file embed_types.pb.h.

◆ kOriginalUrlFieldNumber

const int bgs::protocol::EmbedInfo::kOriginalUrlFieldNumber = 3
static

Definition at line 365 of file embed_types.pb.h.

◆ kProviderFieldNumber

const int bgs::protocol::EmbedInfo::kProviderFieldNumber = 5
static

Definition at line 386 of file embed_types.pb.h.

◆ kThumbnailFieldNumber

const int bgs::protocol::EmbedInfo::kThumbnailFieldNumber = 4
static

Definition at line 377 of file embed_types.pb.h.

◆ kTitleFieldNumber

const int bgs::protocol::EmbedInfo::kTitleFieldNumber = 1
static

Definition at line 341 of file embed_types.pb.h.

◆ kTypeFieldNumber

const int bgs::protocol::EmbedInfo::kTypeFieldNumber = 2
static

Definition at line 353 of file embed_types.pb.h.

◆ original_url_

::std::string* bgs::protocol::EmbedInfo::original_url_
private

Definition at line 436 of file embed_types.pb.h.

◆ provider_

::bgs::protocol::Provider* bgs::protocol::EmbedInfo::provider_
private

Definition at line 438 of file embed_types.pb.h.

◆ thumbnail_

::bgs::protocol::EmbedImage* bgs::protocol::EmbedInfo::thumbnail_
private

Definition at line 437 of file embed_types.pb.h.

◆ title_

::std::string* bgs::protocol::EmbedInfo::title_
private

Definition at line 434 of file embed_types.pb.h.

◆ type_

::std::string* bgs::protocol::EmbedInfo::type_
private

Definition at line 435 of file embed_types.pb.h.


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