// Generated by the protocol buffer compiler. DO NOT EDIT! // source: claim.proto #ifndef PROTOBUF_INCLUDED_claim_2eproto #define PROTOBUF_INCLUDED_claim_2eproto #include #include #if GOOGLE_PROTOBUF_VERSION < 3006001 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif #include #include #include #include #include #include #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include #include // @@protoc_insertion_point(includes) #define PROTOBUF_INTERNAL_EXPORT_protobuf_claim_2eproto namespace protobuf_claim_2eproto { // Internal implementation detail -- do not use these members. struct TableStruct { static const ::google::protobuf::internal::ParseTableField entries[]; static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; static const ::google::protobuf::internal::ParseTable schema[6]; static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; static const ::google::protobuf::uint32 offsets[]; }; void AddDescriptors(); } // namespace protobuf_claim_2eproto namespace pb { class Channel; class ChannelDefaultTypeInternal; extern ChannelDefaultTypeInternal _Channel_default_instance_; class Claim; class ClaimDefaultTypeInternal; extern ClaimDefaultTypeInternal _Claim_default_instance_; class Fee; class FeeDefaultTypeInternal; extern FeeDefaultTypeInternal _Fee_default_instance_; class File; class FileDefaultTypeInternal; extern FileDefaultTypeInternal _File_default_instance_; class Stream; class StreamDefaultTypeInternal; extern StreamDefaultTypeInternal _Stream_default_instance_; class Video; class VideoDefaultTypeInternal; extern VideoDefaultTypeInternal _Video_default_instance_; } // namespace pb namespace google { namespace protobuf { template<> ::pb::Channel* Arena::CreateMaybeMessage<::pb::Channel>(Arena*); template<> ::pb::Claim* Arena::CreateMaybeMessage<::pb::Claim>(Arena*); template<> ::pb::Fee* Arena::CreateMaybeMessage<::pb::Fee>(Arena*); template<> ::pb::File* Arena::CreateMaybeMessage<::pb::File>(Arena*); template<> ::pb::Stream* Arena::CreateMaybeMessage<::pb::Stream>(Arena*); template<> ::pb::Video* Arena::CreateMaybeMessage<::pb::Video>(Arena*); } // namespace protobuf } // namespace google namespace pb { enum Claim_Type { Claim_Type_STREAM = 0, Claim_Type_CHANNEL = 1, Claim_Type_Claim_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min, Claim_Type_Claim_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max }; bool Claim_Type_IsValid(int value); const Claim_Type Claim_Type_Type_MIN = Claim_Type_STREAM; const Claim_Type Claim_Type_Type_MAX = Claim_Type_CHANNEL; const int Claim_Type_Type_ARRAYSIZE = Claim_Type_Type_MAX + 1; const ::google::protobuf::EnumDescriptor* Claim_Type_descriptor(); inline const ::std::string& Claim_Type_Name(Claim_Type value) { return ::google::protobuf::internal::NameOfEnum( Claim_Type_descriptor(), value); } inline bool Claim_Type_Parse( const ::std::string& name, Claim_Type* value) { return ::google::protobuf::internal::ParseNamedEnum( Claim_Type_descriptor(), name, value); } enum Fee_Currency { Fee_Currency_LBC = 0, Fee_Currency_USD = 1, Fee_Currency_Fee_Currency_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min, Fee_Currency_Fee_Currency_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max }; bool Fee_Currency_IsValid(int value); const Fee_Currency Fee_Currency_Currency_MIN = Fee_Currency_LBC; const Fee_Currency Fee_Currency_Currency_MAX = Fee_Currency_USD; const int Fee_Currency_Currency_ARRAYSIZE = Fee_Currency_Currency_MAX + 1; const ::google::protobuf::EnumDescriptor* Fee_Currency_descriptor(); inline const ::std::string& Fee_Currency_Name(Fee_Currency value) { return ::google::protobuf::internal::NameOfEnum( Fee_Currency_descriptor(), value); } inline bool Fee_Currency_Parse( const ::std::string& name, Fee_Currency* value) { return ::google::protobuf::internal::ParseNamedEnum( Fee_Currency_descriptor(), name, value); } // =================================================================== class Claim : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.Claim) */ { public: Claim(); virtual ~Claim(); Claim(const Claim& from); inline Claim& operator=(const Claim& from) { CopyFrom(from); return *this; } #if LANG_CXX11 Claim(Claim&& from) noexcept : Claim() { *this = ::std::move(from); } inline Claim& operator=(Claim&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif static const ::google::protobuf::Descriptor* descriptor(); static const Claim& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Claim* internal_default_instance() { return reinterpret_cast( &_Claim_default_instance_); } static constexpr int kIndexInFileMessages = 0; void Swap(Claim* other); friend void swap(Claim& a, Claim& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline Claim* New() const final { return CreateMaybeMessage(NULL); } Claim* New(::google::protobuf::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::google::protobuf::Message& from) final; void MergeFrom(const ::google::protobuf::Message& from) final; void CopyFrom(const Claim& from); void MergeFrom(const Claim& from); void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) final; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const final; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Claim* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const final; // nested types ---------------------------------------------------- typedef Claim_Type Type; static const Type STREAM = Claim_Type_STREAM; static const Type CHANNEL = Claim_Type_CHANNEL; static inline bool Type_IsValid(int value) { return Claim_Type_IsValid(value); } static const Type Type_MIN = Claim_Type_Type_MIN; static const Type Type_MAX = Claim_Type_Type_MAX; static const int Type_ARRAYSIZE = Claim_Type_Type_ARRAYSIZE; static inline const ::google::protobuf::EnumDescriptor* Type_descriptor() { return Claim_Type_descriptor(); } static inline const ::std::string& Type_Name(Type value) { return Claim_Type_Name(value); } static inline bool Type_Parse(const ::std::string& name, Type* value) { return Claim_Type_Parse(name, value); } // accessors ------------------------------------------------------- // .pb.Stream stream = 2; bool has_stream() const; void clear_stream(); static const int kStreamFieldNumber = 2; private: const ::pb::Stream& _internal_stream() const; public: const ::pb::Stream& stream() const; ::pb::Stream* release_stream(); ::pb::Stream* mutable_stream(); void set_allocated_stream(::pb::Stream* stream); // .pb.Channel channel = 3; bool has_channel() const; void clear_channel(); static const int kChannelFieldNumber = 3; private: const ::pb::Channel& _internal_channel() const; public: const ::pb::Channel& channel() const; ::pb::Channel* release_channel(); ::pb::Channel* mutable_channel(); void set_allocated_channel(::pb::Channel* channel); // .pb.Claim.Type type = 1; void clear_type(); static const int kTypeFieldNumber = 1; ::pb::Claim_Type type() const; void set_type(::pb::Claim_Type value); // @@protoc_insertion_point(class_scope:pb.Claim) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::pb::Stream* stream_; ::pb::Channel* channel_; int type_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::protobuf_claim_2eproto::TableStruct; }; // ------------------------------------------------------------------- class Channel : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.Channel) */ { public: Channel(); virtual ~Channel(); Channel(const Channel& from); inline Channel& operator=(const Channel& from) { CopyFrom(from); return *this; } #if LANG_CXX11 Channel(Channel&& from) noexcept : Channel() { *this = ::std::move(from); } inline Channel& operator=(Channel&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif static const ::google::protobuf::Descriptor* descriptor(); static const Channel& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Channel* internal_default_instance() { return reinterpret_cast( &_Channel_default_instance_); } static constexpr int kIndexInFileMessages = 1; void Swap(Channel* other); friend void swap(Channel& a, Channel& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline Channel* New() const final { return CreateMaybeMessage(NULL); } Channel* New(::google::protobuf::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::google::protobuf::Message& from) final; void MergeFrom(const ::google::protobuf::Message& from) final; void CopyFrom(const Channel& from); void MergeFrom(const Channel& from); void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) final; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const final; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Channel* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // repeated string tags = 6; int tags_size() const; void clear_tags(); static const int kTagsFieldNumber = 6; const ::std::string& tags(int index) const; ::std::string* mutable_tags(int index); void set_tags(int index, const ::std::string& value); #if LANG_CXX11 void set_tags(int index, ::std::string&& value); #endif void set_tags(int index, const char* value); void set_tags(int index, const char* value, size_t size); ::std::string* add_tags(); void add_tags(const ::std::string& value); #if LANG_CXX11 void add_tags(::std::string&& value); #endif void add_tags(const char* value); void add_tags(const char* value, size_t size); const ::google::protobuf::RepeatedPtrField< ::std::string>& tags() const; ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_tags(); // bytes public_key = 1; void clear_public_key(); static const int kPublicKeyFieldNumber = 1; const ::std::string& public_key() const; void set_public_key(const ::std::string& value); #if LANG_CXX11 void set_public_key(::std::string&& value); #endif void set_public_key(const char* value); void set_public_key(const void* value, size_t size); ::std::string* mutable_public_key(); ::std::string* release_public_key(); void set_allocated_public_key(::std::string* public_key); // string title = 2; void clear_title(); static const int kTitleFieldNumber = 2; const ::std::string& title() const; void set_title(const ::std::string& value); #if LANG_CXX11 void set_title(::std::string&& value); #endif void set_title(const char* value); void set_title(const char* value, size_t size); ::std::string* mutable_title(); ::std::string* release_title(); void set_allocated_title(::std::string* title); // string description = 3; void clear_description(); static const int kDescriptionFieldNumber = 3; const ::std::string& description() const; void set_description(const ::std::string& value); #if LANG_CXX11 void set_description(::std::string&& value); #endif void set_description(const char* value); void set_description(const char* value, size_t size); ::std::string* mutable_description(); ::std::string* release_description(); void set_allocated_description(::std::string* description); // string contact_email = 4; void clear_contact_email(); static const int kContactEmailFieldNumber = 4; const ::std::string& contact_email() const; void set_contact_email(const ::std::string& value); #if LANG_CXX11 void set_contact_email(::std::string&& value); #endif void set_contact_email(const char* value); void set_contact_email(const char* value, size_t size); ::std::string* mutable_contact_email(); ::std::string* release_contact_email(); void set_allocated_contact_email(::std::string* contact_email); // string homepage_url = 5; void clear_homepage_url(); static const int kHomepageUrlFieldNumber = 5; const ::std::string& homepage_url() const; void set_homepage_url(const ::std::string& value); #if LANG_CXX11 void set_homepage_url(::std::string&& value); #endif void set_homepage_url(const char* value); void set_homepage_url(const char* value, size_t size); ::std::string* mutable_homepage_url(); ::std::string* release_homepage_url(); void set_allocated_homepage_url(::std::string* homepage_url); // string thumbnail_url = 16; void clear_thumbnail_url(); static const int kThumbnailUrlFieldNumber = 16; const ::std::string& thumbnail_url() const; void set_thumbnail_url(const ::std::string& value); #if LANG_CXX11 void set_thumbnail_url(::std::string&& value); #endif void set_thumbnail_url(const char* value); void set_thumbnail_url(const char* value, size_t size); ::std::string* mutable_thumbnail_url(); ::std::string* release_thumbnail_url(); void set_allocated_thumbnail_url(::std::string* thumbnail_url); // string cover_url = 17; void clear_cover_url(); static const int kCoverUrlFieldNumber = 17; const ::std::string& cover_url() const; void set_cover_url(const ::std::string& value); #if LANG_CXX11 void set_cover_url(::std::string&& value); #endif void set_cover_url(const char* value); void set_cover_url(const char* value, size_t size); ::std::string* mutable_cover_url(); ::std::string* release_cover_url(); void set_allocated_cover_url(::std::string* cover_url); // @@protoc_insertion_point(class_scope:pb.Channel) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::RepeatedPtrField< ::std::string> tags_; ::google::protobuf::internal::ArenaStringPtr public_key_; ::google::protobuf::internal::ArenaStringPtr title_; ::google::protobuf::internal::ArenaStringPtr description_; ::google::protobuf::internal::ArenaStringPtr contact_email_; ::google::protobuf::internal::ArenaStringPtr homepage_url_; ::google::protobuf::internal::ArenaStringPtr thumbnail_url_; ::google::protobuf::internal::ArenaStringPtr cover_url_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::protobuf_claim_2eproto::TableStruct; }; // ------------------------------------------------------------------- class Stream : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.Stream) */ { public: Stream(); virtual ~Stream(); Stream(const Stream& from); inline Stream& operator=(const Stream& from) { CopyFrom(from); return *this; } #if LANG_CXX11 Stream(Stream&& from) noexcept : Stream() { *this = ::std::move(from); } inline Stream& operator=(Stream&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif static const ::google::protobuf::Descriptor* descriptor(); static const Stream& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Stream* internal_default_instance() { return reinterpret_cast( &_Stream_default_instance_); } static constexpr int kIndexInFileMessages = 2; void Swap(Stream* other); friend void swap(Stream& a, Stream& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline Stream* New() const final { return CreateMaybeMessage(NULL); } Stream* New(::google::protobuf::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::google::protobuf::Message& from) final; void MergeFrom(const ::google::protobuf::Message& from) final; void CopyFrom(const Stream& from); void MergeFrom(const Stream& from); void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) final; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const final; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Stream* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // repeated string tags = 20; int tags_size() const; void clear_tags(); static const int kTagsFieldNumber = 20; const ::std::string& tags(int index) const; ::std::string* mutable_tags(int index); void set_tags(int index, const ::std::string& value); #if LANG_CXX11 void set_tags(int index, ::std::string&& value); #endif void set_tags(int index, const char* value); void set_tags(int index, const char* value, size_t size); ::std::string* add_tags(); void add_tags(const ::std::string& value); #if LANG_CXX11 void add_tags(::std::string&& value); #endif void add_tags(const char* value); void add_tags(const char* value, size_t size); const ::google::protobuf::RepeatedPtrField< ::std::string>& tags() const; ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_tags(); // bytes hash = 1; void clear_hash(); static const int kHashFieldNumber = 1; const ::std::string& hash() const; void set_hash(const ::std::string& value); #if LANG_CXX11 void set_hash(::std::string&& value); #endif void set_hash(const char* value); void set_hash(const void* value, size_t size); ::std::string* mutable_hash(); ::std::string* release_hash(); void set_allocated_hash(::std::string* hash); // string language = 2; void clear_language(); static const int kLanguageFieldNumber = 2; const ::std::string& language() const; void set_language(const ::std::string& value); #if LANG_CXX11 void set_language(::std::string&& value); #endif void set_language(const char* value); void set_language(const char* value, size_t size); ::std::string* mutable_language(); ::std::string* release_language(); void set_allocated_language(::std::string* language); // string title = 3; void clear_title(); static const int kTitleFieldNumber = 3; const ::std::string& title() const; void set_title(const ::std::string& value); #if LANG_CXX11 void set_title(::std::string&& value); #endif void set_title(const char* value); void set_title(const char* value, size_t size); ::std::string* mutable_title(); ::std::string* release_title(); void set_allocated_title(::std::string* title); // string author = 4; void clear_author(); static const int kAuthorFieldNumber = 4; const ::std::string& author() const; void set_author(const ::std::string& value); #if LANG_CXX11 void set_author(::std::string&& value); #endif void set_author(const char* value); void set_author(const char* value, size_t size); ::std::string* mutable_author(); ::std::string* release_author(); void set_allocated_author(::std::string* author); // string description = 5; void clear_description(); static const int kDescriptionFieldNumber = 5; const ::std::string& description() const; void set_description(const ::std::string& value); #if LANG_CXX11 void set_description(::std::string&& value); #endif void set_description(const char* value); void set_description(const char* value, size_t size); ::std::string* mutable_description(); ::std::string* release_description(); void set_allocated_description(::std::string* description); // string media_type = 6; void clear_media_type(); static const int kMediaTypeFieldNumber = 6; const ::std::string& media_type() const; void set_media_type(const ::std::string& value); #if LANG_CXX11 void set_media_type(::std::string&& value); #endif void set_media_type(const char* value); void set_media_type(const char* value, size_t size); ::std::string* mutable_media_type(); ::std::string* release_media_type(); void set_allocated_media_type(::std::string* media_type); // string license = 7; void clear_license(); static const int kLicenseFieldNumber = 7; const ::std::string& license() const; void set_license(const ::std::string& value); #if LANG_CXX11 void set_license(::std::string&& value); #endif void set_license(const char* value); void set_license(const char* value, size_t size); ::std::string* mutable_license(); ::std::string* release_license(); void set_allocated_license(::std::string* license); // string license_url = 17; void clear_license_url(); static const int kLicenseUrlFieldNumber = 17; const ::std::string& license_url() const; void set_license_url(const ::std::string& value); #if LANG_CXX11 void set_license_url(::std::string&& value); #endif void set_license_url(const char* value); void set_license_url(const char* value, size_t size); ::std::string* mutable_license_url(); ::std::string* release_license_url(); void set_allocated_license_url(::std::string* license_url); // string thumbnail_url = 18; void clear_thumbnail_url(); static const int kThumbnailUrlFieldNumber = 18; const ::std::string& thumbnail_url() const; void set_thumbnail_url(const ::std::string& value); #if LANG_CXX11 void set_thumbnail_url(::std::string&& value); #endif void set_thumbnail_url(const char* value); void set_thumbnail_url(const char* value, size_t size); ::std::string* mutable_thumbnail_url(); ::std::string* release_thumbnail_url(); void set_allocated_thumbnail_url(::std::string* thumbnail_url); // .pb.File file = 8; bool has_file() const; void clear_file(); static const int kFileFieldNumber = 8; private: const ::pb::File& _internal_file() const; public: const ::pb::File& file() const; ::pb::File* release_file(); ::pb::File* mutable_file(); void set_allocated_file(::pb::File* file); // .pb.Fee fee = 16; bool has_fee() const; void clear_fee(); static const int kFeeFieldNumber = 16; private: const ::pb::Fee& _internal_fee() const; public: const ::pb::Fee& fee() const; ::pb::Fee* release_fee(); ::pb::Fee* mutable_fee(); void set_allocated_fee(::pb::Fee* fee); // .pb.Video video = 22; bool has_video() const; void clear_video(); static const int kVideoFieldNumber = 22; private: const ::pb::Video& _internal_video() const; public: const ::pb::Video& video() const; ::pb::Video* release_video(); ::pb::Video* mutable_video(); void set_allocated_video(::pb::Video* video); // uint32 duration = 19; void clear_duration(); static const int kDurationFieldNumber = 19; ::google::protobuf::uint32 duration() const; void set_duration(::google::protobuf::uint32 value); // int64 release_time = 21; void clear_release_time(); static const int kReleaseTimeFieldNumber = 21; ::google::protobuf::int64 release_time() const; void set_release_time(::google::protobuf::int64 value); // @@protoc_insertion_point(class_scope:pb.Stream) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::RepeatedPtrField< ::std::string> tags_; ::google::protobuf::internal::ArenaStringPtr hash_; ::google::protobuf::internal::ArenaStringPtr language_; ::google::protobuf::internal::ArenaStringPtr title_; ::google::protobuf::internal::ArenaStringPtr author_; ::google::protobuf::internal::ArenaStringPtr description_; ::google::protobuf::internal::ArenaStringPtr media_type_; ::google::protobuf::internal::ArenaStringPtr license_; ::google::protobuf::internal::ArenaStringPtr license_url_; ::google::protobuf::internal::ArenaStringPtr thumbnail_url_; ::pb::File* file_; ::pb::Fee* fee_; ::pb::Video* video_; ::google::protobuf::uint32 duration_; ::google::protobuf::int64 release_time_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::protobuf_claim_2eproto::TableStruct; }; // ------------------------------------------------------------------- class Fee : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.Fee) */ { public: Fee(); virtual ~Fee(); Fee(const Fee& from); inline Fee& operator=(const Fee& from) { CopyFrom(from); return *this; } #if LANG_CXX11 Fee(Fee&& from) noexcept : Fee() { *this = ::std::move(from); } inline Fee& operator=(Fee&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif static const ::google::protobuf::Descriptor* descriptor(); static const Fee& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Fee* internal_default_instance() { return reinterpret_cast( &_Fee_default_instance_); } static constexpr int kIndexInFileMessages = 3; void Swap(Fee* other); friend void swap(Fee& a, Fee& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline Fee* New() const final { return CreateMaybeMessage(NULL); } Fee* New(::google::protobuf::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::google::protobuf::Message& from) final; void MergeFrom(const ::google::protobuf::Message& from) final; void CopyFrom(const Fee& from); void MergeFrom(const Fee& from); void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) final; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const final; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(Fee* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const final; // nested types ---------------------------------------------------- typedef Fee_Currency Currency; static const Currency LBC = Fee_Currency_LBC; static const Currency USD = Fee_Currency_USD; static inline bool Currency_IsValid(int value) { return Fee_Currency_IsValid(value); } static const Currency Currency_MIN = Fee_Currency_Currency_MIN; static const Currency Currency_MAX = Fee_Currency_Currency_MAX; static const int Currency_ARRAYSIZE = Fee_Currency_Currency_ARRAYSIZE; static inline const ::google::protobuf::EnumDescriptor* Currency_descriptor() { return Fee_Currency_descriptor(); } static inline const ::std::string& Currency_Name(Currency value) { return Fee_Currency_Name(value); } static inline bool Currency_Parse(const ::std::string& name, Currency* value) { return Fee_Currency_Parse(name, value); } // accessors ------------------------------------------------------- // bytes address = 2; void clear_address(); static const int kAddressFieldNumber = 2; const ::std::string& address() const; void set_address(const ::std::string& value); #if LANG_CXX11 void set_address(::std::string&& value); #endif void set_address(const char* value); void set_address(const void* value, size_t size); ::std::string* mutable_address(); ::std::string* release_address(); void set_allocated_address(::std::string* address); // uint64 amount = 3; void clear_amount(); static const int kAmountFieldNumber = 3; ::google::protobuf::uint64 amount() const; void set_amount(::google::protobuf::uint64 value); // .pb.Fee.Currency currency = 1; void clear_currency(); static const int kCurrencyFieldNumber = 1; ::pb::Fee_Currency currency() const; void set_currency(::pb::Fee_Currency value); // @@protoc_insertion_point(class_scope:pb.Fee) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::ArenaStringPtr address_; ::google::protobuf::uint64 amount_; int currency_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::protobuf_claim_2eproto::TableStruct; }; // ------------------------------------------------------------------- class File : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.File) */ { public: File(); virtual ~File(); File(const File& from); inline File& operator=(const File& from) { CopyFrom(from); return *this; } #if LANG_CXX11 File(File&& from) noexcept : File() { *this = ::std::move(from); } inline File& operator=(File&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif static const ::google::protobuf::Descriptor* descriptor(); static const File& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const File* internal_default_instance() { return reinterpret_cast( &_File_default_instance_); } static constexpr int kIndexInFileMessages = 4; void Swap(File* other); friend void swap(File& a, File& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline File* New() const final { return CreateMaybeMessage(NULL); } File* New(::google::protobuf::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::google::protobuf::Message& from) final; void MergeFrom(const ::google::protobuf::Message& from) final; void CopyFrom(const File& from); void MergeFrom(const File& from); void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) final; void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const final; ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( bool deterministic, ::google::protobuf::uint8* target) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(File* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return NULL; } inline void* MaybeArenaPtr() const { return NULL; } public: ::google::protobuf::Metadata GetMetadata() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // string name = 1; void clear_name(); static const int kNameFieldNumber = 1; const ::std::string& name() const; void set_name(const ::std::string& value); #if LANG_CXX11 void set_name(::std::string&& value); #endif void set_name(const char* value); void set_name(const char* value, size_t size); ::std::string* mutable_name(); ::std::string* release_name(); void set_allocated_name(::std::string* name); // uint64 size = 2; void clear_size(); static const int kSizeFieldNumber = 2; ::google::protobuf::uint64 size() const; void set_size(::google::protobuf::uint64 value); // @@protoc_insertion_point(class_scope:pb.File) private: ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::ArenaStringPtr name_; ::google::protobuf::uint64 size_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::protobuf_claim_2eproto::TableStruct; }; // ------------------------------------------------------------------- class Video : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.Video) */ { public: Video(); virtual ~Video(); Video(const Video& from); inline Video& operator=(const Video& from) { CopyFrom(from); return *this; } #if LANG_CXX11 Video(Video&& from) noexcept : Video() { *this = ::std::move(from); } inline Video& operator=(Video&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } #endif static const ::google::protobuf::Descriptor* descriptor(); static const Video& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const Video* internal_default_instance() { return reinterpret_cast( &_Video_default_instance_); } static constexpr int kIndexInFileMessages = 5; void Swap(Video* other); friend void swap(Video& a, Video& b) { a.Swap(&b); } // implements Message ---------------------------------------------- inline Video* New() const final { return CreateMaybeMessage