types/v2/cpp/claim.pb.h

2731 lines
92 KiB
C
Raw Normal View History

2019-02-27 18:03:57 +01:00
// Generated by the protocol buffer compiler. DO NOT EDIT!
2019-03-03 00:14:58 +01:00
// source: claim.proto
2019-02-27 18:03:57 +01:00
2019-03-03 00:14:58 +01:00
#ifndef PROTOBUF_INCLUDED_claim_2eproto
#define PROTOBUF_INCLUDED_claim_2eproto
2019-02-27 18:03:57 +01:00
#include <string>
2019-03-01 21:08:52 +01:00
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3006001
2019-02-27 18:03:57 +01:00
#error This file was generated by a newer version of protoc which is
2019-03-01 21:08:52 +01:00
#error incompatible with your Protocol Buffer headers. Please update
2019-02-27 18:03:57 +01:00
#error your headers.
#endif
2019-03-01 21:08:52 +01:00
#if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
2019-02-27 18:03:57 +01:00
#error This file was generated by an older version of protoc which is
2019-03-01 21:08:52 +01:00
#error incompatible with your Protocol Buffer headers. Please
2019-02-27 18:03:57 +01:00
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/inlined_string_field.h>
#include <google/protobuf/metadata.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
#include <google/protobuf/extension_set.h> // IWYU pragma: export
#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)
2019-03-03 00:14:58 +01:00
#define PROTOBUF_INTERNAL_EXPORT_protobuf_claim_2eproto
2019-02-27 18:03:57 +01:00
2019-03-03 00:14:58 +01:00
namespace protobuf_claim_2eproto {
2019-02-27 18:03:57 +01:00
// Internal implementation detail -- do not use these members.
2019-03-01 21:08:52 +01:00
struct TableStruct {
static const ::google::protobuf::internal::ParseTableField entries[];
static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
static const ::google::protobuf::internal::ParseTable schema[6];
2019-02-27 18:03:57 +01:00
static const ::google::protobuf::internal::FieldMetadata field_metadata[];
static const ::google::protobuf::internal::SerializationTable serialization_table[];
static const ::google::protobuf::uint32 offsets[];
};
2019-03-01 21:08:52 +01:00
void AddDescriptors();
2019-03-03 00:14:58 +01:00
} // namespace protobuf_claim_2eproto
namespace pb {
2019-02-27 18:03:57 +01:00
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_;
2019-03-03 00:14:58 +01:00
} // namespace pb
2019-02-27 18:03:57 +01:00
namespace google {
namespace protobuf {
2019-03-03 00:14:58 +01:00
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*);
2019-02-27 18:03:57 +01:00
} // namespace protobuf
} // namespace google
2019-03-03 00:14:58 +01:00
namespace pb {
2019-02-27 18:03:57 +01:00
enum Claim_Type {
Claim_Type_STREAM = 0,
Claim_Type_CHANNEL = 1,
2019-03-01 21:08:52 +01:00
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
2019-02-27 18:03:57 +01:00
};
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>(
Claim_Type_descriptor(), name, value);
}
enum Fee_Currency {
Fee_Currency_LBC = 0,
Fee_Currency_USD = 1,
2019-03-01 21:08:52 +01:00
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
2019-02-27 18:03:57 +01:00
};
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>(
Fee_Currency_descriptor(), name, value);
}
// ===================================================================
2019-03-03 00:14:58 +01:00
class Claim : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.Claim) */ {
2019-02-27 18:03:57 +01:00
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
2019-03-01 21:08:52 +01:00
static const ::google::protobuf::Descriptor* descriptor();
2019-02-27 18:03:57 +01:00
static const Claim& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const Claim* internal_default_instance() {
return reinterpret_cast<const Claim*>(
&_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 {
2019-03-01 21:08:52 +01:00
return CreateMaybeMessage<Claim>(NULL);
2019-02-27 18:03:57 +01:00
}
Claim* New(::google::protobuf::Arena* arena) const final {
return CreateMaybeMessage<Claim>(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);
2019-03-01 21:08:52 +01:00
void Clear() final;
2019-02-27 18:03:57 +01:00
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(
2019-03-01 21:08:52 +01:00
bool deterministic, ::google::protobuf::uint8* target) const final;
2019-02-27 18:03:57 +01:00
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 {
2019-03-01 21:08:52 +01:00
return NULL;
2019-02-27 18:03:57 +01:00
}
inline void* MaybeArenaPtr() const {
2019-03-01 21:08:52 +01:00
return NULL;
2019-02-27 18:03:57 +01:00
}
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 -------------------------------------------------------
2019-03-03 00:14:58 +01:00
// .pb.Stream stream = 2;
2019-02-27 18:03:57 +01:00
bool has_stream() const;
void clear_stream();
static const int kStreamFieldNumber = 2;
2019-03-01 21:08:52 +01:00
private:
2019-03-03 00:14:58 +01:00
const ::pb::Stream& _internal_stream() const;
2019-03-01 21:08:52 +01:00
public:
2019-03-03 00:14:58 +01:00
const ::pb::Stream& stream() const;
::pb::Stream* release_stream();
::pb::Stream* mutable_stream();
void set_allocated_stream(::pb::Stream* stream);
2019-02-27 18:03:57 +01:00
2019-03-03 00:14:58 +01:00
// .pb.Channel channel = 3;
2019-02-27 18:03:57 +01:00
bool has_channel() const;
void clear_channel();
static const int kChannelFieldNumber = 3;
2019-03-01 21:08:52 +01:00
private:
2019-03-03 00:14:58 +01:00
const ::pb::Channel& _internal_channel() const;
2019-03-01 21:08:52 +01:00
public:
2019-03-03 00:14:58 +01:00
const ::pb::Channel& channel() const;
::pb::Channel* release_channel();
::pb::Channel* mutable_channel();
void set_allocated_channel(::pb::Channel* channel);
2019-02-27 18:03:57 +01:00
2019-03-03 00:14:58 +01:00
// .pb.Claim.Type type = 1;
2019-02-27 18:03:57 +01:00
void clear_type();
static const int kTypeFieldNumber = 1;
2019-03-03 00:14:58 +01:00
::pb::Claim_Type type() const;
void set_type(::pb::Claim_Type value);
2019-02-27 18:03:57 +01:00
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(class_scope:pb.Claim)
2019-02-27 18:03:57 +01:00
private:
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2019-03-03 00:14:58 +01:00
::pb::Stream* stream_;
::pb::Channel* channel_;
2019-02-27 18:03:57 +01:00
int type_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
2019-03-03 00:14:58 +01:00
friend struct ::protobuf_claim_2eproto::TableStruct;
2019-02-27 18:03:57 +01:00
};
// -------------------------------------------------------------------
2019-03-03 00:14:58 +01:00
class Channel : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.Channel) */ {
2019-02-27 18:03:57 +01:00
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
2019-03-01 21:08:52 +01:00
static const ::google::protobuf::Descriptor* descriptor();
2019-02-27 18:03:57 +01:00
static const Channel& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const Channel* internal_default_instance() {
return reinterpret_cast<const Channel*>(
&_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 {
2019-03-01 21:08:52 +01:00
return CreateMaybeMessage<Channel>(NULL);
2019-02-27 18:03:57 +01:00
}
Channel* New(::google::protobuf::Arena* arena) const final {
return CreateMaybeMessage<Channel>(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);
2019-03-01 21:08:52 +01:00
void Clear() final;
2019-02-27 18:03:57 +01:00
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(
2019-03-01 21:08:52 +01:00
bool deterministic, ::google::protobuf::uint8* target) const final;
2019-02-27 18:03:57 +01:00
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 {
2019-03-01 21:08:52 +01:00
return NULL;
2019-02-27 18:03:57 +01:00
}
inline void* MaybeArenaPtr() const {
2019-03-01 21:08:52 +01:00
return NULL;
2019-02-27 18:03:57 +01:00
}
public:
::google::protobuf::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
2019-03-01 21:08:52 +01:00
// 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();
2019-02-27 18:03:57 +01:00
// 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);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(class_scope:pb.Channel)
2019-02-27 18:03:57 +01:00
private:
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2019-03-01 21:08:52 +01:00
::google::protobuf::RepeatedPtrField< ::std::string> tags_;
2019-02-27 18:03:57 +01:00
::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_;
2019-03-03 00:14:58 +01:00
friend struct ::protobuf_claim_2eproto::TableStruct;
2019-02-27 18:03:57 +01:00
};
// -------------------------------------------------------------------
2019-03-03 00:14:58 +01:00
class Stream : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.Stream) */ {
2019-02-27 18:03:57 +01:00
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
2019-03-01 21:08:52 +01:00
static const ::google::protobuf::Descriptor* descriptor();
2019-02-27 18:03:57 +01:00
static const Stream& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const Stream* internal_default_instance() {
return reinterpret_cast<const Stream*>(
&_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 {
2019-03-01 21:08:52 +01:00
return CreateMaybeMessage<Stream>(NULL);
2019-02-27 18:03:57 +01:00
}
Stream* New(::google::protobuf::Arena* arena) const final {
return CreateMaybeMessage<Stream>(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);
2019-03-01 21:08:52 +01:00
void Clear() final;
2019-02-27 18:03:57 +01:00
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(
2019-03-01 21:08:52 +01:00
bool deterministic, ::google::protobuf::uint8* target) const final;
2019-02-27 18:03:57 +01:00
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 {
2019-03-01 21:08:52 +01:00
return NULL;
2019-02-27 18:03:57 +01:00
}
inline void* MaybeArenaPtr() const {
2019-03-01 21:08:52 +01:00
return NULL;
2019-02-27 18:03:57 +01:00
}
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);
2019-03-01 21:08:52 +01:00
const ::google::protobuf::RepeatedPtrField< ::std::string>& tags() const;
::google::protobuf::RepeatedPtrField< ::std::string>* mutable_tags();
2019-02-27 18:03:57 +01:00
// 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);
2019-03-03 00:14:58 +01:00
// .pb.File file = 8;
2019-02-27 18:03:57 +01:00
bool has_file() const;
void clear_file();
static const int kFileFieldNumber = 8;
2019-03-01 21:08:52 +01:00
private:
2019-03-03 00:14:58 +01:00
const ::pb::File& _internal_file() const;
2019-03-01 21:08:52 +01:00
public:
2019-03-03 00:14:58 +01:00
const ::pb::File& file() const;
::pb::File* release_file();
::pb::File* mutable_file();
void set_allocated_file(::pb::File* file);
2019-02-27 18:03:57 +01:00
2019-03-03 00:14:58 +01:00
// .pb.Fee fee = 16;
2019-02-27 18:03:57 +01:00
bool has_fee() const;
void clear_fee();
static const int kFeeFieldNumber = 16;
2019-03-01 21:08:52 +01:00
private:
2019-03-03 00:14:58 +01:00
const ::pb::Fee& _internal_fee() const;
2019-03-01 21:08:52 +01:00
public:
2019-03-03 00:14:58 +01:00
const ::pb::Fee& fee() const;
::pb::Fee* release_fee();
::pb::Fee* mutable_fee();
void set_allocated_fee(::pb::Fee* fee);
2019-02-27 18:03:57 +01:00
2019-03-03 00:14:58 +01:00
// .pb.Video video = 22;
2019-02-27 18:03:57 +01:00
bool has_video() const;
void clear_video();
static const int kVideoFieldNumber = 22;
2019-03-01 21:08:52 +01:00
private:
2019-03-03 00:14:58 +01:00
const ::pb::Video& _internal_video() const;
2019-03-01 21:08:52 +01:00
public:
2019-03-03 00:14:58 +01:00
const ::pb::Video& video() const;
::pb::Video* release_video();
::pb::Video* mutable_video();
void set_allocated_video(::pb::Video* video);
2019-02-27 18:03:57 +01:00
// 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);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(class_scope:pb.Stream)
2019-02-27 18:03:57 +01:00
private:
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2019-03-01 21:08:52 +01:00
::google::protobuf::RepeatedPtrField< ::std::string> tags_;
2019-02-27 18:03:57 +01:00
::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_;
2019-03-03 00:14:58 +01:00
::pb::File* file_;
::pb::Fee* fee_;
::pb::Video* video_;
2019-02-27 18:03:57 +01:00
::google::protobuf::uint32 duration_;
::google::protobuf::int64 release_time_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
2019-03-03 00:14:58 +01:00
friend struct ::protobuf_claim_2eproto::TableStruct;
2019-02-27 18:03:57 +01:00
};
// -------------------------------------------------------------------
2019-03-03 00:14:58 +01:00
class Fee : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.Fee) */ {
2019-02-27 18:03:57 +01:00
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
2019-03-01 21:08:52 +01:00
static const ::google::protobuf::Descriptor* descriptor();
2019-02-27 18:03:57 +01:00
static const Fee& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const Fee* internal_default_instance() {
return reinterpret_cast<const Fee*>(
&_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 {
2019-03-01 21:08:52 +01:00
return CreateMaybeMessage<Fee>(NULL);
2019-02-27 18:03:57 +01:00
}
Fee* New(::google::protobuf::Arena* arena) const final {
return CreateMaybeMessage<Fee>(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);
2019-03-01 21:08:52 +01:00
void Clear() final;
2019-02-27 18:03:57 +01:00
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(
2019-03-01 21:08:52 +01:00
bool deterministic, ::google::protobuf::uint8* target) const final;
2019-02-27 18:03:57 +01:00
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 {
2019-03-01 21:08:52 +01:00
return NULL;
2019-02-27 18:03:57 +01:00
}
inline void* MaybeArenaPtr() const {
2019-03-01 21:08:52 +01:00
return NULL;
2019-02-27 18:03:57 +01:00
}
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);
2019-03-03 00:14:58 +01:00
// .pb.Fee.Currency currency = 1;
2019-02-27 18:03:57 +01:00
void clear_currency();
static const int kCurrencyFieldNumber = 1;
2019-03-03 00:14:58 +01:00
::pb::Fee_Currency currency() const;
void set_currency(::pb::Fee_Currency value);
2019-02-27 18:03:57 +01:00
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(class_scope:pb.Fee)
2019-02-27 18:03:57 +01:00
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_;
2019-03-03 00:14:58 +01:00
friend struct ::protobuf_claim_2eproto::TableStruct;
2019-02-27 18:03:57 +01:00
};
// -------------------------------------------------------------------
2019-03-03 00:14:58 +01:00
class File : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.File) */ {
2019-02-27 18:03:57 +01:00
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
2019-03-01 21:08:52 +01:00
static const ::google::protobuf::Descriptor* descriptor();
2019-02-27 18:03:57 +01:00
static const File& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const File* internal_default_instance() {
return reinterpret_cast<const File*>(
&_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 {
2019-03-01 21:08:52 +01:00
return CreateMaybeMessage<File>(NULL);
2019-02-27 18:03:57 +01:00
}
File* New(::google::protobuf::Arena* arena) const final {
return CreateMaybeMessage<File>(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);
2019-03-01 21:08:52 +01:00
void Clear() final;
2019-02-27 18:03:57 +01:00
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(
2019-03-01 21:08:52 +01:00
bool deterministic, ::google::protobuf::uint8* target) const final;
2019-02-27 18:03:57 +01:00
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 {
2019-03-01 21:08:52 +01:00
return NULL;
2019-02-27 18:03:57 +01:00
}
inline void* MaybeArenaPtr() const {
2019-03-01 21:08:52 +01:00
return NULL;
2019-02-27 18:03:57 +01:00
}
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);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(class_scope:pb.File)
2019-02-27 18:03:57 +01:00
private:
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::ArenaStringPtr name_;
::google::protobuf::uint64 size_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
2019-03-03 00:14:58 +01:00
friend struct ::protobuf_claim_2eproto::TableStruct;
2019-02-27 18:03:57 +01:00
};
// -------------------------------------------------------------------
2019-03-03 00:14:58 +01:00
class Video : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.Video) */ {
2019-02-27 18:03:57 +01:00
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
2019-03-01 21:08:52 +01:00
static const ::google::protobuf::Descriptor* descriptor();
2019-02-27 18:03:57 +01:00
static const Video& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const Video* internal_default_instance() {
return reinterpret_cast<const Video*>(
&_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 {
2019-03-01 21:08:52 +01:00
return CreateMaybeMessage<Video>(NULL);
2019-02-27 18:03:57 +01:00
}
Video* New(::google::protobuf::Arena* arena) const final {
return CreateMaybeMessage<Video>(arena);
}
void CopyFrom(const ::google::protobuf::Message& from) final;
void MergeFrom(const ::google::protobuf::Message& from) final;
void CopyFrom(const Video& from);
void MergeFrom(const Video& from);
2019-03-01 21:08:52 +01:00
void Clear() final;
2019-02-27 18:03:57 +01:00
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(
2019-03-01 21:08:52 +01:00
bool deterministic, ::google::protobuf::uint8* target) const final;
2019-02-27 18:03:57 +01:00
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Video* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2019-03-01 21:08:52 +01:00
return NULL;
2019-02-27 18:03:57 +01:00
}
inline void* MaybeArenaPtr() const {
2019-03-01 21:08:52 +01:00
return NULL;
2019-02-27 18:03:57 +01:00
}
public:
::google::protobuf::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// uint32 width = 1;
void clear_width();
static const int kWidthFieldNumber = 1;
::google::protobuf::uint32 width() const;
void set_width(::google::protobuf::uint32 value);
// uint32 height = 2;
void clear_height();
static const int kHeightFieldNumber = 2;
::google::protobuf::uint32 height() const;
void set_height(::google::protobuf::uint32 value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(class_scope:pb.Video)
2019-02-27 18:03:57 +01:00
private:
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::uint32 width_;
::google::protobuf::uint32 height_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
2019-03-03 00:14:58 +01:00
friend struct ::protobuf_claim_2eproto::TableStruct;
2019-02-27 18:03:57 +01:00
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// Claim
2019-03-03 00:14:58 +01:00
// .pb.Claim.Type type = 1;
2019-02-27 18:03:57 +01:00
inline void Claim::clear_type() {
type_ = 0;
}
2019-03-03 00:14:58 +01:00
inline ::pb::Claim_Type Claim::type() const {
// @@protoc_insertion_point(field_get:pb.Claim.type)
return static_cast< ::pb::Claim_Type >(type_);
2019-02-27 18:03:57 +01:00
}
2019-03-03 00:14:58 +01:00
inline void Claim::set_type(::pb::Claim_Type value) {
2019-02-27 18:03:57 +01:00
type_ = value;
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Claim.type)
2019-02-27 18:03:57 +01:00
}
2019-03-03 00:14:58 +01:00
// .pb.Stream stream = 2;
2019-02-27 18:03:57 +01:00
inline bool Claim::has_stream() const {
2019-03-01 21:08:52 +01:00
return this != internal_default_instance() && stream_ != NULL;
2019-02-27 18:03:57 +01:00
}
inline void Claim::clear_stream() {
2019-03-01 21:08:52 +01:00
if (GetArenaNoVirtual() == NULL && stream_ != NULL) {
2019-02-27 18:03:57 +01:00
delete stream_;
}
2019-03-01 21:08:52 +01:00
stream_ = NULL;
}
2019-03-03 00:14:58 +01:00
inline const ::pb::Stream& Claim::_internal_stream() const {
2019-03-01 21:08:52 +01:00
return *stream_;
2019-02-27 18:03:57 +01:00
}
2019-03-03 00:14:58 +01:00
inline const ::pb::Stream& Claim::stream() const {
const ::pb::Stream* p = stream_;
// @@protoc_insertion_point(field_get:pb.Claim.stream)
return p != NULL ? *p : *reinterpret_cast<const ::pb::Stream*>(
&::pb::_Stream_default_instance_);
2019-02-27 18:03:57 +01:00
}
2019-03-03 00:14:58 +01:00
inline ::pb::Stream* Claim::release_stream() {
// @@protoc_insertion_point(field_release:pb.Claim.stream)
2019-02-27 18:03:57 +01:00
2019-03-03 00:14:58 +01:00
::pb::Stream* temp = stream_;
2019-03-01 21:08:52 +01:00
stream_ = NULL;
2019-02-27 18:03:57 +01:00
return temp;
}
2019-03-03 00:14:58 +01:00
inline ::pb::Stream* Claim::mutable_stream() {
2019-02-27 18:03:57 +01:00
2019-03-01 21:08:52 +01:00
if (stream_ == NULL) {
2019-03-03 00:14:58 +01:00
auto* p = CreateMaybeMessage<::pb::Stream>(GetArenaNoVirtual());
2019-02-27 18:03:57 +01:00
stream_ = p;
}
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Claim.stream)
2019-02-27 18:03:57 +01:00
return stream_;
}
2019-03-03 00:14:58 +01:00
inline void Claim::set_allocated_stream(::pb::Stream* stream) {
2019-02-27 18:03:57 +01:00
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2019-03-01 21:08:52 +01:00
if (message_arena == NULL) {
2019-02-27 18:03:57 +01:00
delete stream_;
}
if (stream) {
2019-03-01 21:08:52 +01:00
::google::protobuf::Arena* submessage_arena = NULL;
2019-02-27 18:03:57 +01:00
if (message_arena != submessage_arena) {
stream = ::google::protobuf::internal::GetOwnedMessage(
message_arena, stream, submessage_arena);
}
} else {
}
stream_ = stream;
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Claim.stream)
2019-02-27 18:03:57 +01:00
}
2019-03-03 00:14:58 +01:00
// .pb.Channel channel = 3;
2019-02-27 18:03:57 +01:00
inline bool Claim::has_channel() const {
2019-03-01 21:08:52 +01:00
return this != internal_default_instance() && channel_ != NULL;
2019-02-27 18:03:57 +01:00
}
inline void Claim::clear_channel() {
2019-03-01 21:08:52 +01:00
if (GetArenaNoVirtual() == NULL && channel_ != NULL) {
2019-02-27 18:03:57 +01:00
delete channel_;
}
2019-03-01 21:08:52 +01:00
channel_ = NULL;
2019-02-27 18:03:57 +01:00
}
2019-03-03 00:14:58 +01:00
inline const ::pb::Channel& Claim::_internal_channel() const {
2019-03-01 21:08:52 +01:00
return *channel_;
2019-02-27 18:03:57 +01:00
}
2019-03-03 00:14:58 +01:00
inline const ::pb::Channel& Claim::channel() const {
const ::pb::Channel* p = channel_;
// @@protoc_insertion_point(field_get:pb.Claim.channel)
return p != NULL ? *p : *reinterpret_cast<const ::pb::Channel*>(
&::pb::_Channel_default_instance_);
2019-03-01 21:08:52 +01:00
}
2019-03-03 00:14:58 +01:00
inline ::pb::Channel* Claim::release_channel() {
// @@protoc_insertion_point(field_release:pb.Claim.channel)
2019-02-27 18:03:57 +01:00
2019-03-03 00:14:58 +01:00
::pb::Channel* temp = channel_;
2019-03-01 21:08:52 +01:00
channel_ = NULL;
2019-02-27 18:03:57 +01:00
return temp;
}
2019-03-03 00:14:58 +01:00
inline ::pb::Channel* Claim::mutable_channel() {
2019-02-27 18:03:57 +01:00
2019-03-01 21:08:52 +01:00
if (channel_ == NULL) {
2019-03-03 00:14:58 +01:00
auto* p = CreateMaybeMessage<::pb::Channel>(GetArenaNoVirtual());
2019-02-27 18:03:57 +01:00
channel_ = p;
}
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Claim.channel)
2019-02-27 18:03:57 +01:00
return channel_;
}
2019-03-03 00:14:58 +01:00
inline void Claim::set_allocated_channel(::pb::Channel* channel) {
2019-02-27 18:03:57 +01:00
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2019-03-01 21:08:52 +01:00
if (message_arena == NULL) {
2019-02-27 18:03:57 +01:00
delete channel_;
}
if (channel) {
2019-03-01 21:08:52 +01:00
::google::protobuf::Arena* submessage_arena = NULL;
2019-02-27 18:03:57 +01:00
if (message_arena != submessage_arena) {
channel = ::google::protobuf::internal::GetOwnedMessage(
message_arena, channel, submessage_arena);
}
} else {
}
channel_ = channel;
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Claim.channel)
2019-02-27 18:03:57 +01:00
}
// -------------------------------------------------------------------
// Channel
// bytes public_key = 1;
inline void Channel::clear_public_key() {
public_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Channel::public_key() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Channel.public_key)
2019-02-27 18:03:57 +01:00
return public_key_.GetNoArena();
}
inline void Channel::set_public_key(const ::std::string& value) {
public_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Channel.public_key)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void Channel::set_public_key(::std::string&& value) {
public_key_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_rvalue:pb.Channel.public_key)
2019-02-27 18:03:57 +01:00
}
#endif
inline void Channel::set_public_key(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
public_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Channel.public_key)
2019-02-27 18:03:57 +01:00
}
inline void Channel::set_public_key(const void* value, size_t size) {
public_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Channel.public_key)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* Channel::mutable_public_key() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Channel.public_key)
2019-02-27 18:03:57 +01:00
return public_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Channel::release_public_key() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_release:pb.Channel.public_key)
2019-02-27 18:03:57 +01:00
return public_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Channel::set_allocated_public_key(::std::string* public_key) {
2019-03-01 21:08:52 +01:00
if (public_key != NULL) {
2019-02-27 18:03:57 +01:00
} else {
}
public_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), public_key);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Channel.public_key)
2019-02-27 18:03:57 +01:00
}
// string title = 2;
inline void Channel::clear_title() {
title_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Channel::title() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Channel.title)
2019-02-27 18:03:57 +01:00
return title_.GetNoArena();
}
inline void Channel::set_title(const ::std::string& value) {
title_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Channel.title)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void Channel::set_title(::std::string&& value) {
title_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_rvalue:pb.Channel.title)
2019-02-27 18:03:57 +01:00
}
#endif
inline void Channel::set_title(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
title_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Channel.title)
2019-02-27 18:03:57 +01:00
}
inline void Channel::set_title(const char* value, size_t size) {
title_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Channel.title)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* Channel::mutable_title() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Channel.title)
2019-02-27 18:03:57 +01:00
return title_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Channel::release_title() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_release:pb.Channel.title)
2019-02-27 18:03:57 +01:00
return title_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Channel::set_allocated_title(::std::string* title) {
2019-03-01 21:08:52 +01:00
if (title != NULL) {
2019-02-27 18:03:57 +01:00
} else {
}
title_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), title);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Channel.title)
2019-02-27 18:03:57 +01:00
}
// string description = 3;
inline void Channel::clear_description() {
description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Channel::description() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Channel.description)
2019-02-27 18:03:57 +01:00
return description_.GetNoArena();
}
inline void Channel::set_description(const ::std::string& value) {
description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Channel.description)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void Channel::set_description(::std::string&& value) {
description_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_rvalue:pb.Channel.description)
2019-02-27 18:03:57 +01:00
}
#endif
inline void Channel::set_description(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Channel.description)
2019-02-27 18:03:57 +01:00
}
inline void Channel::set_description(const char* value, size_t size) {
description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Channel.description)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* Channel::mutable_description() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Channel.description)
2019-02-27 18:03:57 +01:00
return description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Channel::release_description() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_release:pb.Channel.description)
2019-02-27 18:03:57 +01:00
return description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Channel::set_allocated_description(::std::string* description) {
2019-03-01 21:08:52 +01:00
if (description != NULL) {
2019-02-27 18:03:57 +01:00
} else {
}
description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), description);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Channel.description)
2019-02-27 18:03:57 +01:00
}
// string contact_email = 4;
inline void Channel::clear_contact_email() {
contact_email_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Channel::contact_email() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Channel.contact_email)
2019-02-27 18:03:57 +01:00
return contact_email_.GetNoArena();
}
inline void Channel::set_contact_email(const ::std::string& value) {
contact_email_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Channel.contact_email)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void Channel::set_contact_email(::std::string&& value) {
contact_email_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_rvalue:pb.Channel.contact_email)
2019-02-27 18:03:57 +01:00
}
#endif
inline void Channel::set_contact_email(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
contact_email_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Channel.contact_email)
2019-02-27 18:03:57 +01:00
}
inline void Channel::set_contact_email(const char* value, size_t size) {
contact_email_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Channel.contact_email)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* Channel::mutable_contact_email() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Channel.contact_email)
2019-02-27 18:03:57 +01:00
return contact_email_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Channel::release_contact_email() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_release:pb.Channel.contact_email)
2019-02-27 18:03:57 +01:00
return contact_email_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Channel::set_allocated_contact_email(::std::string* contact_email) {
2019-03-01 21:08:52 +01:00
if (contact_email != NULL) {
2019-02-27 18:03:57 +01:00
} else {
}
contact_email_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), contact_email);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Channel.contact_email)
2019-02-27 18:03:57 +01:00
}
// string homepage_url = 5;
inline void Channel::clear_homepage_url() {
homepage_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Channel::homepage_url() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Channel.homepage_url)
2019-02-27 18:03:57 +01:00
return homepage_url_.GetNoArena();
}
inline void Channel::set_homepage_url(const ::std::string& value) {
homepage_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Channel.homepage_url)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void Channel::set_homepage_url(::std::string&& value) {
homepage_url_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_rvalue:pb.Channel.homepage_url)
2019-02-27 18:03:57 +01:00
}
#endif
inline void Channel::set_homepage_url(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
homepage_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Channel.homepage_url)
2019-02-27 18:03:57 +01:00
}
inline void Channel::set_homepage_url(const char* value, size_t size) {
homepage_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Channel.homepage_url)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* Channel::mutable_homepage_url() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Channel.homepage_url)
2019-02-27 18:03:57 +01:00
return homepage_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Channel::release_homepage_url() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_release:pb.Channel.homepage_url)
2019-02-27 18:03:57 +01:00
return homepage_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Channel::set_allocated_homepage_url(::std::string* homepage_url) {
2019-03-01 21:08:52 +01:00
if (homepage_url != NULL) {
2019-02-27 18:03:57 +01:00
} else {
}
homepage_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), homepage_url);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Channel.homepage_url)
2019-03-01 21:08:52 +01:00
}
// repeated string tags = 6;
inline int Channel::tags_size() const {
return tags_.size();
}
inline void Channel::clear_tags() {
tags_.Clear();
}
inline const ::std::string& Channel::tags(int index) const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Channel.tags)
2019-03-01 21:08:52 +01:00
return tags_.Get(index);
}
inline ::std::string* Channel::mutable_tags(int index) {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Channel.tags)
2019-03-01 21:08:52 +01:00
return tags_.Mutable(index);
}
inline void Channel::set_tags(int index, const ::std::string& value) {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Channel.tags)
2019-03-01 21:08:52 +01:00
tags_.Mutable(index)->assign(value);
}
#if LANG_CXX11
inline void Channel::set_tags(int index, ::std::string&& value) {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Channel.tags)
2019-03-01 21:08:52 +01:00
tags_.Mutable(index)->assign(std::move(value));
}
#endif
inline void Channel::set_tags(int index, const char* value) {
GOOGLE_DCHECK(value != NULL);
tags_.Mutable(index)->assign(value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Channel.tags)
2019-03-01 21:08:52 +01:00
}
inline void Channel::set_tags(int index, const char* value, size_t size) {
tags_.Mutable(index)->assign(
reinterpret_cast<const char*>(value), size);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Channel.tags)
2019-03-01 21:08:52 +01:00
}
inline ::std::string* Channel::add_tags() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_add_mutable:pb.Channel.tags)
2019-03-01 21:08:52 +01:00
return tags_.Add();
}
inline void Channel::add_tags(const ::std::string& value) {
tags_.Add()->assign(value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_add:pb.Channel.tags)
2019-03-01 21:08:52 +01:00
}
#if LANG_CXX11
inline void Channel::add_tags(::std::string&& value) {
tags_.Add(std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_add:pb.Channel.tags)
2019-03-01 21:08:52 +01:00
}
#endif
inline void Channel::add_tags(const char* value) {
GOOGLE_DCHECK(value != NULL);
tags_.Add()->assign(value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_add_char:pb.Channel.tags)
2019-03-01 21:08:52 +01:00
}
inline void Channel::add_tags(const char* value, size_t size) {
tags_.Add()->assign(reinterpret_cast<const char*>(value), size);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_add_pointer:pb.Channel.tags)
2019-03-01 21:08:52 +01:00
}
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
Channel::tags() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_list:pb.Channel.tags)
2019-03-01 21:08:52 +01:00
return tags_;
}
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
Channel::mutable_tags() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable_list:pb.Channel.tags)
2019-03-01 21:08:52 +01:00
return &tags_;
2019-02-27 18:03:57 +01:00
}
// string thumbnail_url = 16;
inline void Channel::clear_thumbnail_url() {
thumbnail_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Channel::thumbnail_url() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Channel.thumbnail_url)
2019-02-27 18:03:57 +01:00
return thumbnail_url_.GetNoArena();
}
inline void Channel::set_thumbnail_url(const ::std::string& value) {
thumbnail_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Channel.thumbnail_url)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void Channel::set_thumbnail_url(::std::string&& value) {
thumbnail_url_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_rvalue:pb.Channel.thumbnail_url)
2019-02-27 18:03:57 +01:00
}
#endif
inline void Channel::set_thumbnail_url(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
thumbnail_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Channel.thumbnail_url)
2019-02-27 18:03:57 +01:00
}
inline void Channel::set_thumbnail_url(const char* value, size_t size) {
thumbnail_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Channel.thumbnail_url)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* Channel::mutable_thumbnail_url() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Channel.thumbnail_url)
2019-02-27 18:03:57 +01:00
return thumbnail_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Channel::release_thumbnail_url() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_release:pb.Channel.thumbnail_url)
2019-02-27 18:03:57 +01:00
return thumbnail_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Channel::set_allocated_thumbnail_url(::std::string* thumbnail_url) {
2019-03-01 21:08:52 +01:00
if (thumbnail_url != NULL) {
2019-02-27 18:03:57 +01:00
} else {
}
thumbnail_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), thumbnail_url);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Channel.thumbnail_url)
2019-02-27 18:03:57 +01:00
}
// string cover_url = 17;
inline void Channel::clear_cover_url() {
cover_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Channel::cover_url() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Channel.cover_url)
2019-02-27 18:03:57 +01:00
return cover_url_.GetNoArena();
}
inline void Channel::set_cover_url(const ::std::string& value) {
cover_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Channel.cover_url)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void Channel::set_cover_url(::std::string&& value) {
cover_url_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_rvalue:pb.Channel.cover_url)
2019-02-27 18:03:57 +01:00
}
#endif
inline void Channel::set_cover_url(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
cover_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Channel.cover_url)
2019-02-27 18:03:57 +01:00
}
inline void Channel::set_cover_url(const char* value, size_t size) {
cover_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Channel.cover_url)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* Channel::mutable_cover_url() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Channel.cover_url)
2019-02-27 18:03:57 +01:00
return cover_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Channel::release_cover_url() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_release:pb.Channel.cover_url)
2019-02-27 18:03:57 +01:00
return cover_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Channel::set_allocated_cover_url(::std::string* cover_url) {
2019-03-01 21:08:52 +01:00
if (cover_url != NULL) {
2019-02-27 18:03:57 +01:00
} else {
}
cover_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cover_url);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Channel.cover_url)
2019-02-27 18:03:57 +01:00
}
// -------------------------------------------------------------------
// Stream
// bytes hash = 1;
inline void Stream::clear_hash() {
hash_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Stream::hash() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Stream.hash)
2019-02-27 18:03:57 +01:00
return hash_.GetNoArena();
}
inline void Stream::set_hash(const ::std::string& value) {
hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Stream.hash)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void Stream::set_hash(::std::string&& value) {
hash_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_rvalue:pb.Stream.hash)
2019-02-27 18:03:57 +01:00
}
#endif
inline void Stream::set_hash(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Stream.hash)
2019-02-27 18:03:57 +01:00
}
inline void Stream::set_hash(const void* value, size_t size) {
hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Stream.hash)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* Stream::mutable_hash() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Stream.hash)
2019-02-27 18:03:57 +01:00
return hash_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Stream::release_hash() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_release:pb.Stream.hash)
2019-02-27 18:03:57 +01:00
return hash_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Stream::set_allocated_hash(::std::string* hash) {
2019-03-01 21:08:52 +01:00
if (hash != NULL) {
2019-02-27 18:03:57 +01:00
} else {
}
hash_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), hash);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Stream.hash)
2019-02-27 18:03:57 +01:00
}
// string language = 2;
inline void Stream::clear_language() {
language_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Stream::language() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Stream.language)
2019-02-27 18:03:57 +01:00
return language_.GetNoArena();
}
inline void Stream::set_language(const ::std::string& value) {
language_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Stream.language)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void Stream::set_language(::std::string&& value) {
language_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_rvalue:pb.Stream.language)
2019-02-27 18:03:57 +01:00
}
#endif
inline void Stream::set_language(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
language_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Stream.language)
2019-02-27 18:03:57 +01:00
}
inline void Stream::set_language(const char* value, size_t size) {
language_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Stream.language)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* Stream::mutable_language() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Stream.language)
2019-02-27 18:03:57 +01:00
return language_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Stream::release_language() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_release:pb.Stream.language)
2019-02-27 18:03:57 +01:00
return language_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Stream::set_allocated_language(::std::string* language) {
2019-03-01 21:08:52 +01:00
if (language != NULL) {
2019-02-27 18:03:57 +01:00
} else {
}
language_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), language);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Stream.language)
2019-02-27 18:03:57 +01:00
}
// string title = 3;
inline void Stream::clear_title() {
title_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Stream::title() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Stream.title)
2019-02-27 18:03:57 +01:00
return title_.GetNoArena();
}
inline void Stream::set_title(const ::std::string& value) {
title_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Stream.title)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void Stream::set_title(::std::string&& value) {
title_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_rvalue:pb.Stream.title)
2019-02-27 18:03:57 +01:00
}
#endif
inline void Stream::set_title(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
title_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Stream.title)
2019-02-27 18:03:57 +01:00
}
inline void Stream::set_title(const char* value, size_t size) {
title_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Stream.title)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* Stream::mutable_title() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Stream.title)
2019-02-27 18:03:57 +01:00
return title_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Stream::release_title() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_release:pb.Stream.title)
2019-02-27 18:03:57 +01:00
return title_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Stream::set_allocated_title(::std::string* title) {
2019-03-01 21:08:52 +01:00
if (title != NULL) {
2019-02-27 18:03:57 +01:00
} else {
}
title_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), title);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Stream.title)
2019-02-27 18:03:57 +01:00
}
// string author = 4;
inline void Stream::clear_author() {
author_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Stream::author() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Stream.author)
2019-02-27 18:03:57 +01:00
return author_.GetNoArena();
}
inline void Stream::set_author(const ::std::string& value) {
author_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Stream.author)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void Stream::set_author(::std::string&& value) {
author_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_rvalue:pb.Stream.author)
2019-02-27 18:03:57 +01:00
}
#endif
inline void Stream::set_author(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
author_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Stream.author)
2019-02-27 18:03:57 +01:00
}
inline void Stream::set_author(const char* value, size_t size) {
author_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Stream.author)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* Stream::mutable_author() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Stream.author)
2019-02-27 18:03:57 +01:00
return author_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Stream::release_author() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_release:pb.Stream.author)
2019-02-27 18:03:57 +01:00
return author_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Stream::set_allocated_author(::std::string* author) {
2019-03-01 21:08:52 +01:00
if (author != NULL) {
2019-02-27 18:03:57 +01:00
} else {
}
author_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), author);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Stream.author)
2019-02-27 18:03:57 +01:00
}
// string description = 5;
inline void Stream::clear_description() {
description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Stream::description() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Stream.description)
2019-02-27 18:03:57 +01:00
return description_.GetNoArena();
}
inline void Stream::set_description(const ::std::string& value) {
description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Stream.description)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void Stream::set_description(::std::string&& value) {
description_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_rvalue:pb.Stream.description)
2019-02-27 18:03:57 +01:00
}
#endif
inline void Stream::set_description(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Stream.description)
2019-02-27 18:03:57 +01:00
}
inline void Stream::set_description(const char* value, size_t size) {
description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Stream.description)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* Stream::mutable_description() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Stream.description)
2019-02-27 18:03:57 +01:00
return description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Stream::release_description() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_release:pb.Stream.description)
2019-02-27 18:03:57 +01:00
return description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Stream::set_allocated_description(::std::string* description) {
2019-03-01 21:08:52 +01:00
if (description != NULL) {
2019-02-27 18:03:57 +01:00
} else {
}
description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), description);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Stream.description)
2019-02-27 18:03:57 +01:00
}
// string media_type = 6;
inline void Stream::clear_media_type() {
media_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Stream::media_type() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Stream.media_type)
2019-02-27 18:03:57 +01:00
return media_type_.GetNoArena();
}
inline void Stream::set_media_type(const ::std::string& value) {
media_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Stream.media_type)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void Stream::set_media_type(::std::string&& value) {
media_type_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_rvalue:pb.Stream.media_type)
2019-02-27 18:03:57 +01:00
}
#endif
inline void Stream::set_media_type(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
media_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Stream.media_type)
2019-02-27 18:03:57 +01:00
}
inline void Stream::set_media_type(const char* value, size_t size) {
media_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Stream.media_type)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* Stream::mutable_media_type() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Stream.media_type)
2019-02-27 18:03:57 +01:00
return media_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Stream::release_media_type() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_release:pb.Stream.media_type)
2019-02-27 18:03:57 +01:00
return media_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Stream::set_allocated_media_type(::std::string* media_type) {
2019-03-01 21:08:52 +01:00
if (media_type != NULL) {
2019-02-27 18:03:57 +01:00
} else {
}
media_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), media_type);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Stream.media_type)
2019-02-27 18:03:57 +01:00
}
// string license = 7;
inline void Stream::clear_license() {
license_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Stream::license() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Stream.license)
2019-02-27 18:03:57 +01:00
return license_.GetNoArena();
}
inline void Stream::set_license(const ::std::string& value) {
license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Stream.license)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void Stream::set_license(::std::string&& value) {
license_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_rvalue:pb.Stream.license)
2019-02-27 18:03:57 +01:00
}
#endif
inline void Stream::set_license(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Stream.license)
2019-02-27 18:03:57 +01:00
}
inline void Stream::set_license(const char* value, size_t size) {
license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Stream.license)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* Stream::mutable_license() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Stream.license)
2019-02-27 18:03:57 +01:00
return license_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Stream::release_license() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_release:pb.Stream.license)
2019-02-27 18:03:57 +01:00
return license_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Stream::set_allocated_license(::std::string* license) {
2019-03-01 21:08:52 +01:00
if (license != NULL) {
2019-02-27 18:03:57 +01:00
} else {
}
license_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), license);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Stream.license)
2019-02-27 18:03:57 +01:00
}
2019-03-03 00:14:58 +01:00
// .pb.File file = 8;
2019-02-27 18:03:57 +01:00
inline bool Stream::has_file() const {
2019-03-01 21:08:52 +01:00
return this != internal_default_instance() && file_ != NULL;
2019-02-27 18:03:57 +01:00
}
inline void Stream::clear_file() {
2019-03-01 21:08:52 +01:00
if (GetArenaNoVirtual() == NULL && file_ != NULL) {
2019-02-27 18:03:57 +01:00
delete file_;
}
2019-03-01 21:08:52 +01:00
file_ = NULL;
}
2019-03-03 00:14:58 +01:00
inline const ::pb::File& Stream::_internal_file() const {
2019-03-01 21:08:52 +01:00
return *file_;
2019-02-27 18:03:57 +01:00
}
2019-03-03 00:14:58 +01:00
inline const ::pb::File& Stream::file() const {
const ::pb::File* p = file_;
// @@protoc_insertion_point(field_get:pb.Stream.file)
return p != NULL ? *p : *reinterpret_cast<const ::pb::File*>(
&::pb::_File_default_instance_);
2019-02-27 18:03:57 +01:00
}
2019-03-03 00:14:58 +01:00
inline ::pb::File* Stream::release_file() {
// @@protoc_insertion_point(field_release:pb.Stream.file)
2019-02-27 18:03:57 +01:00
2019-03-03 00:14:58 +01:00
::pb::File* temp = file_;
2019-03-01 21:08:52 +01:00
file_ = NULL;
2019-02-27 18:03:57 +01:00
return temp;
}
2019-03-03 00:14:58 +01:00
inline ::pb::File* Stream::mutable_file() {
2019-02-27 18:03:57 +01:00
2019-03-01 21:08:52 +01:00
if (file_ == NULL) {
2019-03-03 00:14:58 +01:00
auto* p = CreateMaybeMessage<::pb::File>(GetArenaNoVirtual());
2019-02-27 18:03:57 +01:00
file_ = p;
}
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Stream.file)
2019-02-27 18:03:57 +01:00
return file_;
}
2019-03-03 00:14:58 +01:00
inline void Stream::set_allocated_file(::pb::File* file) {
2019-02-27 18:03:57 +01:00
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2019-03-01 21:08:52 +01:00
if (message_arena == NULL) {
2019-02-27 18:03:57 +01:00
delete file_;
}
if (file) {
2019-03-01 21:08:52 +01:00
::google::protobuf::Arena* submessage_arena = NULL;
2019-02-27 18:03:57 +01:00
if (message_arena != submessage_arena) {
file = ::google::protobuf::internal::GetOwnedMessage(
message_arena, file, submessage_arena);
}
} else {
}
file_ = file;
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Stream.file)
2019-02-27 18:03:57 +01:00
}
2019-03-03 00:14:58 +01:00
// .pb.Fee fee = 16;
2019-02-27 18:03:57 +01:00
inline bool Stream::has_fee() const {
2019-03-01 21:08:52 +01:00
return this != internal_default_instance() && fee_ != NULL;
2019-02-27 18:03:57 +01:00
}
inline void Stream::clear_fee() {
2019-03-01 21:08:52 +01:00
if (GetArenaNoVirtual() == NULL && fee_ != NULL) {
2019-02-27 18:03:57 +01:00
delete fee_;
}
2019-03-01 21:08:52 +01:00
fee_ = NULL;
2019-02-27 18:03:57 +01:00
}
2019-03-03 00:14:58 +01:00
inline const ::pb::Fee& Stream::_internal_fee() const {
2019-03-01 21:08:52 +01:00
return *fee_;
2019-02-27 18:03:57 +01:00
}
2019-03-03 00:14:58 +01:00
inline const ::pb::Fee& Stream::fee() const {
const ::pb::Fee* p = fee_;
// @@protoc_insertion_point(field_get:pb.Stream.fee)
return p != NULL ? *p : *reinterpret_cast<const ::pb::Fee*>(
&::pb::_Fee_default_instance_);
2019-03-01 21:08:52 +01:00
}
2019-03-03 00:14:58 +01:00
inline ::pb::Fee* Stream::release_fee() {
// @@protoc_insertion_point(field_release:pb.Stream.fee)
2019-02-27 18:03:57 +01:00
2019-03-03 00:14:58 +01:00
::pb::Fee* temp = fee_;
2019-03-01 21:08:52 +01:00
fee_ = NULL;
2019-02-27 18:03:57 +01:00
return temp;
}
2019-03-03 00:14:58 +01:00
inline ::pb::Fee* Stream::mutable_fee() {
2019-02-27 18:03:57 +01:00
2019-03-01 21:08:52 +01:00
if (fee_ == NULL) {
2019-03-03 00:14:58 +01:00
auto* p = CreateMaybeMessage<::pb::Fee>(GetArenaNoVirtual());
2019-02-27 18:03:57 +01:00
fee_ = p;
}
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Stream.fee)
2019-02-27 18:03:57 +01:00
return fee_;
}
2019-03-03 00:14:58 +01:00
inline void Stream::set_allocated_fee(::pb::Fee* fee) {
2019-02-27 18:03:57 +01:00
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2019-03-01 21:08:52 +01:00
if (message_arena == NULL) {
2019-02-27 18:03:57 +01:00
delete fee_;
}
if (fee) {
2019-03-01 21:08:52 +01:00
::google::protobuf::Arena* submessage_arena = NULL;
2019-02-27 18:03:57 +01:00
if (message_arena != submessage_arena) {
fee = ::google::protobuf::internal::GetOwnedMessage(
message_arena, fee, submessage_arena);
}
} else {
}
fee_ = fee;
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Stream.fee)
2019-02-27 18:03:57 +01:00
}
// string license_url = 17;
inline void Stream::clear_license_url() {
license_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Stream::license_url() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Stream.license_url)
2019-02-27 18:03:57 +01:00
return license_url_.GetNoArena();
}
inline void Stream::set_license_url(const ::std::string& value) {
license_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Stream.license_url)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void Stream::set_license_url(::std::string&& value) {
license_url_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_rvalue:pb.Stream.license_url)
2019-02-27 18:03:57 +01:00
}
#endif
inline void Stream::set_license_url(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
license_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Stream.license_url)
2019-02-27 18:03:57 +01:00
}
inline void Stream::set_license_url(const char* value, size_t size) {
license_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Stream.license_url)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* Stream::mutable_license_url() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Stream.license_url)
2019-02-27 18:03:57 +01:00
return license_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Stream::release_license_url() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_release:pb.Stream.license_url)
2019-02-27 18:03:57 +01:00
return license_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Stream::set_allocated_license_url(::std::string* license_url) {
2019-03-01 21:08:52 +01:00
if (license_url != NULL) {
2019-02-27 18:03:57 +01:00
} else {
}
license_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), license_url);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Stream.license_url)
2019-02-27 18:03:57 +01:00
}
// string thumbnail_url = 18;
inline void Stream::clear_thumbnail_url() {
thumbnail_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Stream::thumbnail_url() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Stream.thumbnail_url)
2019-02-27 18:03:57 +01:00
return thumbnail_url_.GetNoArena();
}
inline void Stream::set_thumbnail_url(const ::std::string& value) {
thumbnail_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Stream.thumbnail_url)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void Stream::set_thumbnail_url(::std::string&& value) {
thumbnail_url_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_rvalue:pb.Stream.thumbnail_url)
2019-02-27 18:03:57 +01:00
}
#endif
inline void Stream::set_thumbnail_url(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
thumbnail_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Stream.thumbnail_url)
2019-02-27 18:03:57 +01:00
}
inline void Stream::set_thumbnail_url(const char* value, size_t size) {
thumbnail_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Stream.thumbnail_url)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* Stream::mutable_thumbnail_url() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Stream.thumbnail_url)
2019-02-27 18:03:57 +01:00
return thumbnail_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Stream::release_thumbnail_url() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_release:pb.Stream.thumbnail_url)
2019-02-27 18:03:57 +01:00
return thumbnail_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Stream::set_allocated_thumbnail_url(::std::string* thumbnail_url) {
2019-03-01 21:08:52 +01:00
if (thumbnail_url != NULL) {
2019-02-27 18:03:57 +01:00
} else {
}
thumbnail_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), thumbnail_url);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Stream.thumbnail_url)
2019-02-27 18:03:57 +01:00
}
// uint32 duration = 19;
inline void Stream::clear_duration() {
duration_ = 0u;
}
inline ::google::protobuf::uint32 Stream::duration() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Stream.duration)
2019-02-27 18:03:57 +01:00
return duration_;
}
inline void Stream::set_duration(::google::protobuf::uint32 value) {
duration_ = value;
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Stream.duration)
2019-02-27 18:03:57 +01:00
}
// repeated string tags = 20;
inline int Stream::tags_size() const {
return tags_.size();
}
inline void Stream::clear_tags() {
tags_.Clear();
}
inline const ::std::string& Stream::tags(int index) const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Stream.tags)
2019-02-27 18:03:57 +01:00
return tags_.Get(index);
}
inline ::std::string* Stream::mutable_tags(int index) {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Stream.tags)
2019-02-27 18:03:57 +01:00
return tags_.Mutable(index);
}
inline void Stream::set_tags(int index, const ::std::string& value) {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Stream.tags)
2019-02-27 18:03:57 +01:00
tags_.Mutable(index)->assign(value);
}
#if LANG_CXX11
inline void Stream::set_tags(int index, ::std::string&& value) {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Stream.tags)
2019-02-27 18:03:57 +01:00
tags_.Mutable(index)->assign(std::move(value));
}
#endif
inline void Stream::set_tags(int index, const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
tags_.Mutable(index)->assign(value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Stream.tags)
2019-02-27 18:03:57 +01:00
}
inline void Stream::set_tags(int index, const char* value, size_t size) {
tags_.Mutable(index)->assign(
reinterpret_cast<const char*>(value), size);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Stream.tags)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* Stream::add_tags() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_add_mutable:pb.Stream.tags)
2019-02-27 18:03:57 +01:00
return tags_.Add();
}
inline void Stream::add_tags(const ::std::string& value) {
tags_.Add()->assign(value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_add:pb.Stream.tags)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void Stream::add_tags(::std::string&& value) {
tags_.Add(std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_add:pb.Stream.tags)
2019-02-27 18:03:57 +01:00
}
#endif
inline void Stream::add_tags(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
tags_.Add()->assign(value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_add_char:pb.Stream.tags)
2019-02-27 18:03:57 +01:00
}
inline void Stream::add_tags(const char* value, size_t size) {
tags_.Add()->assign(reinterpret_cast<const char*>(value), size);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_add_pointer:pb.Stream.tags)
2019-02-27 18:03:57 +01:00
}
2019-03-01 21:08:52 +01:00
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
2019-02-27 18:03:57 +01:00
Stream::tags() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_list:pb.Stream.tags)
2019-02-27 18:03:57 +01:00
return tags_;
}
2019-03-01 21:08:52 +01:00
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
2019-02-27 18:03:57 +01:00
Stream::mutable_tags() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable_list:pb.Stream.tags)
2019-02-27 18:03:57 +01:00
return &tags_;
}
// int64 release_time = 21;
inline void Stream::clear_release_time() {
2019-03-01 21:08:52 +01:00
release_time_ = GOOGLE_LONGLONG(0);
2019-02-27 18:03:57 +01:00
}
inline ::google::protobuf::int64 Stream::release_time() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Stream.release_time)
2019-02-27 18:03:57 +01:00
return release_time_;
}
inline void Stream::set_release_time(::google::protobuf::int64 value) {
release_time_ = value;
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Stream.release_time)
2019-02-27 18:03:57 +01:00
}
2019-03-03 00:14:58 +01:00
// .pb.Video video = 22;
2019-02-27 18:03:57 +01:00
inline bool Stream::has_video() const {
2019-03-01 21:08:52 +01:00
return this != internal_default_instance() && video_ != NULL;
2019-02-27 18:03:57 +01:00
}
inline void Stream::clear_video() {
2019-03-01 21:08:52 +01:00
if (GetArenaNoVirtual() == NULL && video_ != NULL) {
2019-02-27 18:03:57 +01:00
delete video_;
}
2019-03-01 21:08:52 +01:00
video_ = NULL;
}
2019-03-03 00:14:58 +01:00
inline const ::pb::Video& Stream::_internal_video() const {
2019-03-01 21:08:52 +01:00
return *video_;
2019-02-27 18:03:57 +01:00
}
2019-03-03 00:14:58 +01:00
inline const ::pb::Video& Stream::video() const {
const ::pb::Video* p = video_;
// @@protoc_insertion_point(field_get:pb.Stream.video)
return p != NULL ? *p : *reinterpret_cast<const ::pb::Video*>(
&::pb::_Video_default_instance_);
2019-02-27 18:03:57 +01:00
}
2019-03-03 00:14:58 +01:00
inline ::pb::Video* Stream::release_video() {
// @@protoc_insertion_point(field_release:pb.Stream.video)
2019-02-27 18:03:57 +01:00
2019-03-03 00:14:58 +01:00
::pb::Video* temp = video_;
2019-03-01 21:08:52 +01:00
video_ = NULL;
2019-02-27 18:03:57 +01:00
return temp;
}
2019-03-03 00:14:58 +01:00
inline ::pb::Video* Stream::mutable_video() {
2019-02-27 18:03:57 +01:00
2019-03-01 21:08:52 +01:00
if (video_ == NULL) {
2019-03-03 00:14:58 +01:00
auto* p = CreateMaybeMessage<::pb::Video>(GetArenaNoVirtual());
2019-02-27 18:03:57 +01:00
video_ = p;
}
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Stream.video)
2019-02-27 18:03:57 +01:00
return video_;
}
2019-03-03 00:14:58 +01:00
inline void Stream::set_allocated_video(::pb::Video* video) {
2019-02-27 18:03:57 +01:00
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2019-03-01 21:08:52 +01:00
if (message_arena == NULL) {
2019-02-27 18:03:57 +01:00
delete video_;
}
if (video) {
2019-03-01 21:08:52 +01:00
::google::protobuf::Arena* submessage_arena = NULL;
2019-02-27 18:03:57 +01:00
if (message_arena != submessage_arena) {
video = ::google::protobuf::internal::GetOwnedMessage(
message_arena, video, submessage_arena);
}
} else {
}
video_ = video;
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Stream.video)
2019-02-27 18:03:57 +01:00
}
// -------------------------------------------------------------------
// Fee
2019-03-03 00:14:58 +01:00
// .pb.Fee.Currency currency = 1;
2019-02-27 18:03:57 +01:00
inline void Fee::clear_currency() {
currency_ = 0;
}
2019-03-03 00:14:58 +01:00
inline ::pb::Fee_Currency Fee::currency() const {
// @@protoc_insertion_point(field_get:pb.Fee.currency)
return static_cast< ::pb::Fee_Currency >(currency_);
2019-02-27 18:03:57 +01:00
}
2019-03-03 00:14:58 +01:00
inline void Fee::set_currency(::pb::Fee_Currency value) {
2019-02-27 18:03:57 +01:00
currency_ = value;
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Fee.currency)
2019-02-27 18:03:57 +01:00
}
// bytes address = 2;
inline void Fee::clear_address() {
address_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& Fee::address() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Fee.address)
2019-02-27 18:03:57 +01:00
return address_.GetNoArena();
}
inline void Fee::set_address(const ::std::string& value) {
address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Fee.address)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void Fee::set_address(::std::string&& value) {
address_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_rvalue:pb.Fee.address)
2019-02-27 18:03:57 +01:00
}
#endif
inline void Fee::set_address(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.Fee.address)
2019-02-27 18:03:57 +01:00
}
inline void Fee::set_address(const void* value, size_t size) {
address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.Fee.address)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* Fee::mutable_address() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.Fee.address)
2019-02-27 18:03:57 +01:00
return address_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Fee::release_address() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_release:pb.Fee.address)
2019-02-27 18:03:57 +01:00
return address_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Fee::set_allocated_address(::std::string* address) {
2019-03-01 21:08:52 +01:00
if (address != NULL) {
2019-02-27 18:03:57 +01:00
} else {
}
address_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), address);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.Fee.address)
2019-02-27 18:03:57 +01:00
}
// uint64 amount = 3;
inline void Fee::clear_amount() {
2019-03-01 21:08:52 +01:00
amount_ = GOOGLE_ULONGLONG(0);
2019-02-27 18:03:57 +01:00
}
inline ::google::protobuf::uint64 Fee::amount() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Fee.amount)
2019-02-27 18:03:57 +01:00
return amount_;
}
inline void Fee::set_amount(::google::protobuf::uint64 value) {
amount_ = value;
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Fee.amount)
2019-02-27 18:03:57 +01:00
}
// -------------------------------------------------------------------
// File
// string name = 1;
inline void File::clear_name() {
name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& File::name() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.File.name)
2019-02-27 18:03:57 +01:00
return name_.GetNoArena();
}
inline void File::set_name(const ::std::string& value) {
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.File.name)
2019-02-27 18:03:57 +01:00
}
#if LANG_CXX11
inline void File::set_name(::std::string&& value) {
name_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_rvalue:pb.File.name)
2019-02-27 18:03:57 +01:00
}
#endif
inline void File::set_name(const char* value) {
2019-03-01 21:08:52 +01:00
GOOGLE_DCHECK(value != NULL);
2019-02-27 18:03:57 +01:00
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_char:pb.File.name)
2019-02-27 18:03:57 +01:00
}
inline void File::set_name(const char* value, size_t size) {
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_pointer:pb.File.name)
2019-02-27 18:03:57 +01:00
}
inline ::std::string* File::mutable_name() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_mutable:pb.File.name)
2019-02-27 18:03:57 +01:00
return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* File::release_name() {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_release:pb.File.name)
2019-02-27 18:03:57 +01:00
return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void File::set_allocated_name(::std::string* name) {
2019-03-01 21:08:52 +01:00
if (name != NULL) {
2019-02-27 18:03:57 +01:00
} else {
}
name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set_allocated:pb.File.name)
2019-02-27 18:03:57 +01:00
}
// uint64 size = 2;
inline void File::clear_size() {
2019-03-01 21:08:52 +01:00
size_ = GOOGLE_ULONGLONG(0);
2019-02-27 18:03:57 +01:00
}
inline ::google::protobuf::uint64 File::size() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.File.size)
2019-02-27 18:03:57 +01:00
return size_;
}
inline void File::set_size(::google::protobuf::uint64 value) {
size_ = value;
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.File.size)
2019-02-27 18:03:57 +01:00
}
// -------------------------------------------------------------------
// Video
// uint32 width = 1;
inline void Video::clear_width() {
width_ = 0u;
}
inline ::google::protobuf::uint32 Video::width() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Video.width)
2019-02-27 18:03:57 +01:00
return width_;
}
inline void Video::set_width(::google::protobuf::uint32 value) {
width_ = value;
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Video.width)
2019-02-27 18:03:57 +01:00
}
// uint32 height = 2;
inline void Video::clear_height() {
height_ = 0u;
}
inline ::google::protobuf::uint32 Video::height() const {
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_get:pb.Video.height)
2019-02-27 18:03:57 +01:00
return height_;
}
inline void Video::set_height(::google::protobuf::uint32 value) {
height_ = value;
2019-03-03 00:14:58 +01:00
// @@protoc_insertion_point(field_set:pb.Video.height)
2019-02-27 18:03:57 +01:00
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope)
2019-03-03 00:14:58 +01:00
} // namespace pb
2019-02-27 18:03:57 +01:00
namespace google {
namespace protobuf {
2019-03-03 00:14:58 +01:00
template <> struct is_proto_enum< ::pb::Claim_Type> : ::std::true_type {};
2019-02-27 18:03:57 +01:00
template <>
2019-03-03 00:14:58 +01:00
inline const EnumDescriptor* GetEnumDescriptor< ::pb::Claim_Type>() {
return ::pb::Claim_Type_descriptor();
2019-02-27 18:03:57 +01:00
}
2019-03-03 00:14:58 +01:00
template <> struct is_proto_enum< ::pb::Fee_Currency> : ::std::true_type {};
2019-02-27 18:03:57 +01:00
template <>
2019-03-03 00:14:58 +01:00
inline const EnumDescriptor* GetEnumDescriptor< ::pb::Fee_Currency>() {
return ::pb::Fee_Currency_descriptor();
2019-02-27 18:03:57 +01:00
}
} // namespace protobuf
} // namespace google
// @@protoc_insertion_point(global_scope)
2019-03-03 00:14:58 +01:00
#endif // PROTOBUF_INCLUDED_claim_2eproto