4#ifndef PROTOBUF_embed_5ftypes_2eproto__INCLUDED
5#define PROTOBUF_embed_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/unknown_field_set.h>
58 return _unknown_fields_;
62 return &_unknown_fields_;
65 static const ::google::protobuf::Descriptor*
descriptor();
86 inline bool has_url()
const;
87 inline void clear_url();
88 static const int kUrlFieldNumber = 1;
89 inline const ::std::string& url()
const;
90 inline void set_url(const ::std::string& value);
91 inline void set_url(
const char* value);
92 inline void set_url(
const char* value,
size_t size);
93 inline ::std::string* mutable_url();
94 inline ::std::string* release_url();
95 inline void set_allocated_url(::std::string* url);
98 inline bool has_width()
const;
99 inline void clear_width();
100 static const int kWidthFieldNumber = 2;
105 inline bool has_height()
const;
106 inline void clear_height();
107 static const int kHeightFieldNumber = 3;
113 inline void set_has_url();
114 inline void clear_has_url();
115 inline void set_has_width();
116 inline void clear_has_width();
117 inline void set_has_height();
118 inline void clear_has_height();
149 return _unknown_fields_;
153 return &_unknown_fields_;
177 inline bool has_name()
const;
178 inline void clear_name();
179 static const int kNameFieldNumber = 1;
180 inline const ::std::string& name()
const;
181 inline void set_name(const ::std::string& value);
182 inline void set_name(
const char* value);
183 inline void set_name(
const char* value,
size_t size);
184 inline ::std::string* mutable_name();
185 inline ::std::string* release_name();
186 inline void set_allocated_name(::std::string* name);
190 inline void set_has_name();
191 inline void clear_has_name();
220 return _unknown_fields_;
224 return &_unknown_fields_;
248 inline bool has_content()
const;
249 inline void clear_content();
250 static const int kContentFieldNumber = 1;
251 inline const ::std::string& content()
const;
252 inline void set_content(const ::std::string& value);
253 inline void set_content(
const char* value);
254 inline void set_content(
const char* value,
size_t size);
255 inline ::std::string* mutable_content();
256 inline ::std::string* release_content();
257 inline void set_allocated_content(::std::string* content);
260 inline bool has_width()
const;
261 inline void clear_width();
262 static const int kWidthFieldNumber = 2;
267 inline bool has_height()
const;
268 inline void clear_height();
269 static const int kHeightFieldNumber = 3;
275 inline void set_has_content();
276 inline void clear_has_content();
277 inline void set_has_width();
278 inline void clear_has_width();
279 inline void set_has_height();
280 inline void clear_has_height();
311 return _unknown_fields_;
315 return &_unknown_fields_;
339 inline bool has_title()
const;
340 inline void clear_title();
341 static const int kTitleFieldNumber = 1;
342 inline const ::std::string& title()
const;
343 inline void set_title(const ::std::string& value);
344 inline void set_title(
const char* value);
345 inline void set_title(
const char* value,
size_t size);
346 inline ::std::string* mutable_title();
347 inline ::std::string* release_title();
348 inline void set_allocated_title(::std::string* title);
351 inline bool has_type()
const;
352 inline void clear_type();
353 static const int kTypeFieldNumber = 2;
354 inline const ::std::string& type()
const;
355 inline void set_type(const ::std::string& value);
356 inline void set_type(
const char* value);
357 inline void set_type(
const char* value,
size_t size);
358 inline ::std::string* mutable_type();
359 inline ::std::string* release_type();
360 inline void set_allocated_type(::std::string* type);
363 inline bool has_original_url()
const;
364 inline void clear_original_url();
365 static const int kOriginalUrlFieldNumber = 3;
366 inline const ::std::string& original_url()
const;
367 inline void set_original_url(const ::std::string& value);
368 inline void set_original_url(
const char* value);
369 inline void set_original_url(
const char* value,
size_t size);
370 inline ::std::string* mutable_original_url();
371 inline ::std::string* release_original_url();
372 inline void set_allocated_original_url(::std::string* original_url);
375 inline bool has_thumbnail()
const;
376 inline void clear_thumbnail();
377 static const int kThumbnailFieldNumber = 4;
378 inline const ::bgs::protocol::EmbedImage& thumbnail()
const;
379 inline ::bgs::protocol::EmbedImage* mutable_thumbnail();
380 inline ::bgs::protocol::EmbedImage* release_thumbnail();
384 inline bool has_provider()
const;
385 inline void clear_provider();
386 static const int kProviderFieldNumber = 5;
387 inline const ::bgs::protocol::Provider& provider()
const;
388 inline ::bgs::protocol::Provider* mutable_provider();
389 inline ::bgs::protocol::Provider* release_provider();
393 inline bool has_description()
const;
394 inline void clear_description();
395 static const int kDescriptionFieldNumber = 6;
396 inline const ::std::string& description()
const;
397 inline void set_description(const ::std::string& value);
398 inline void set_description(
const char* value);
399 inline void set_description(
const char* value,
size_t size);
400 inline ::std::string* mutable_description();
401 inline ::std::string* release_description();
402 inline void set_allocated_description(::std::string* description);
405 inline bool has_html()
const;
406 inline void clear_html();
407 static const int kHtmlFieldNumber = 8;
408 inline const ::bgs::protocol::EmbedHTML& html()
const;
409 inline ::bgs::protocol::EmbedHTML* mutable_html();
410 inline ::bgs::protocol::EmbedHTML* release_html();
415 inline void set_has_title();
416 inline void clear_has_title();
417 inline void set_has_type();
418 inline void clear_has_type();
419 inline void set_has_original_url();
420 inline void clear_has_original_url();
421 inline void set_has_thumbnail();
422 inline void clear_has_thumbnail();
423 inline void set_has_provider();
424 inline void clear_has_provider();
425 inline void set_has_description();
426 inline void clear_has_description();
427 inline void set_has_html();
428 inline void clear_has_html();
467 if (
url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
478 if (
url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
479 url_ = new ::std::string;
486 if (
url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
487 url_ = new ::std::string;
494 if (
url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
495 url_ = new ::std::string;
497 url_->assign(
reinterpret_cast<const char*
>(value),
size);
502 if (
url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
503 url_ = new ::std::string;
510 if (
url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
513 ::std::string* temp =
url_;
514 url_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
519 if (
url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
527 url_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
595 if (
name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
606 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
607 name_ = new ::std::string;
609 name_->assign(value);
614 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
615 name_ = new ::std::string;
617 name_->assign(value);
622 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
623 name_ = new ::std::string;
625 name_->assign(
reinterpret_cast<const char*
>(value),
size);
630 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
631 name_ = new ::std::string;
638 if (
name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
641 ::std::string* temp =
name_;
642 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
647 if (
name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
655 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
675 if (
content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
686 if (
content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
694 if (
content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
702 if (
content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
705 content_->assign(
reinterpret_cast<const char*
>(value),
size);
710 if (
content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
718 if (
content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
722 content_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
727 if (
content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
735 content_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
803 if (
title_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
814 if (
title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
815 title_ = new ::std::string;
822 if (
title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
823 title_ = new ::std::string;
830 if (
title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
831 title_ = new ::std::string;
833 title_->assign(
reinterpret_cast<const char*
>(value),
size);
838 if (
title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
839 title_ = new ::std::string;
846 if (
title_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
849 ::std::string* temp =
title_;
850 title_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
855 if (
title_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
863 title_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
879 if (
type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
890 if (
type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
891 type_ = new ::std::string;
893 type_->assign(value);
898 if (
type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
899 type_ = new ::std::string;
901 type_->assign(value);
906 if (
type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
907 type_ = new ::std::string;
909 type_->assign(
reinterpret_cast<const char*
>(value),
size);
914 if (
type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
915 type_ = new ::std::string;
922 if (
type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
925 ::std::string* temp =
type_;
926 type_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
931 if (
type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
939 type_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
955 if (
original_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
966 if (
original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
974 if (
original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
982 if (
original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
990 if (
original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
998 if (
original_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1002 original_url_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1007 if (
original_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1015 original_url_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1113 if (
description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1124 if (
description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1132 if (
description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1140 if (
description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1148 if (
description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1156 if (
description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1160 description_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1165 if (
description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1173 description_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1189 if (
html_ != NULL)
html_->::bgs::protocol::EmbedHTML::Clear();
1198 if (
html_ == NULL)
html_ = new ::bgs::protocol::EmbedHTML;
EmbedHTML(const EmbedHTML &from)
friend void TC_PROTO_API protobuf_AddDesc_embed_5ftypes_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
friend void protobuf_ShutdownFile_embed_5ftypes_2eproto()
::google::protobuf::uint32 _has_bits_[1]
::google::protobuf::uint32 height_
int GetCachedSize() const
inline ::std::string * mutable_content()
const ::std::string & content() const
void Swap(EmbedHTML *other)
::google::protobuf::uint32 width_
void SetCachedSize(int size) const
static const EmbedHTML & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::uint32 width() const
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::uint32 height() const
inline ::std::string * release_content()
EmbedHTML & operator=(const EmbedHTML &from)
void set_height(::google::protobuf::uint32 value)
static EmbedHTML * default_instance_
friend void protobuf_AssignDesc_embed_5ftypes_2eproto()
void set_allocated_content(::std::string *content)
static const ::google::protobuf::Descriptor * descriptor()
void set_content(const ::std::string &value)
void InitAsDefaultInstance()
void set_width(::google::protobuf::uint32 value)
EmbedImage & operator=(const EmbedImage &from)
::google::protobuf::uint32 width_
friend void TC_PROTO_API protobuf_AddDesc_embed_5ftypes_2eproto()
int GetCachedSize() const
inline ::google::protobuf::uint32 width() const
void set_width(::google::protobuf::uint32 value)
friend void protobuf_ShutdownFile_embed_5ftypes_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void Swap(EmbedImage *other)
inline ::google::protobuf::uint32 height() const
const ::std::string & url() const
void set_url(const ::std::string &value)
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::Metadata GetMetadata() const
EmbedImage(const EmbedImage &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
static const EmbedImage & default_instance()
void set_allocated_url(::std::string *url)
void InitAsDefaultInstance()
void set_height(::google::protobuf::uint32 value)
::google::protobuf::uint32 _has_bits_[1]
inline ::std::string * release_url()
void SetCachedSize(int size) const
inline ::std::string * mutable_url()
friend void protobuf_AssignDesc_embed_5ftypes_2eproto()
::google::protobuf::uint32 height_
static EmbedImage * default_instance_
inline ::std::string * release_description()
const ::std::string & type() const
inline ::std::string * mutable_description()
friend void TC_PROTO_API protobuf_AddDesc_embed_5ftypes_2eproto()
void clear_has_original_url()
EmbedInfo & operator=(const EmbedInfo &from)
void Swap(EmbedInfo *other)
::bgs::protocol::EmbedHTML * html_
bool has_original_url() const
const ::bgs::protocol::Provider & provider() const
inline ::std::string * release_type()
friend void protobuf_ShutdownFile_embed_5ftypes_2eproto()
inline ::bgs::protocol::EmbedImage * mutable_thumbnail()
::std::string * description_
const ::std::string & title() const
void set_allocated_thumbnail(::bgs::protocol::EmbedImage *thumbnail)
static const ::google::protobuf::Descriptor * descriptor()
::bgs::protocol::EmbedImage * thumbnail_
void set_allocated_html(::bgs::protocol::EmbedHTML *html)
const ::std::string & description() const
inline ::std::string * mutable_original_url()
void set_has_description()
inline ::std::string * mutable_title()
inline ::bgs::protocol::Provider * mutable_provider()
void InitAsDefaultInstance()
void set_allocated_provider(::bgs::protocol::Provider *provider)
static EmbedInfo * default_instance_
void set_title(const ::std::string &value)
void set_allocated_type(::std::string *type)
void set_original_url(const ::std::string &value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::EmbedHTML * release_html()
void clear_has_thumbnail()
bool has_provider() const
EmbedInfo(const EmbedInfo &from)
void set_has_original_url()
::bgs::protocol::Provider * provider_
const ::std::string & original_url() const
const ::bgs::protocol::EmbedImage & thumbnail() const
void set_allocated_original_url(::std::string *original_url)
inline ::bgs::protocol::EmbedHTML * mutable_html()
void set_allocated_description(::std::string *description)
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::Provider * release_provider()
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::uint32 _has_bits_[1]
inline ::std::string * release_title()
void clear_has_provider()
void set_description(const ::std::string &value)
inline ::std::string * mutable_type()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const EmbedInfo & default_instance()
inline ::std::string * release_original_url()
inline ::bgs::protocol::EmbedImage * release_thumbnail()
friend void protobuf_AssignDesc_embed_5ftypes_2eproto()
::std::string * original_url_
void clear_has_description()
void SetCachedSize(int size) const
void set_type(const ::std::string &value)
void clear_original_url()
int GetCachedSize() const
void set_allocated_title(::std::string *title)
bool has_thumbnail() const
bool has_description() const
const ::bgs::protocol::EmbedHTML & html() const
int GetCachedSize() const
friend void TC_PROTO_API protobuf_AddDesc_embed_5ftypes_2eproto()
void Swap(Provider *other)
Provider(const Provider &from)
friend void protobuf_ShutdownFile_embed_5ftypes_2eproto()
::google::protobuf::uint32 _has_bits_[1]
static const Provider & default_instance()
void set_allocated_name(::std::string *name)
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::std::string * release_name()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::std::string * mutable_name()
Provider & operator=(const Provider &from)
const ::std::string & name() const
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_name(const ::std::string &value)
friend void protobuf_AssignDesc_embed_5ftypes_2eproto()
static Provider * default_instance_
void SetCachedSize(int size) const
void InitAsDefaultInstance()
constexpr std::size_t size()
void protobuf_ShutdownFile_embed_5ftypes_2eproto()
void TC_PROTO_API protobuf_AddDesc_embed_5ftypes_2eproto()
void protobuf_AssignDesc_embed_5ftypes_2eproto()