build missing/updated protobufs
This commit is contained in:
parent
0d0c566b5a
commit
5ab4c9c726
15 changed files with 15746 additions and 2982 deletions
4140
v2/cpp/claim.pb.cc
4140
v2/cpp/claim.pb.cc
File diff suppressed because it is too large
Load diff
2087
v2/cpp/claim.pb.h
2087
v2/cpp/claim.pb.h
File diff suppressed because it is too large
Load diff
385
v2/cpp/purchase.pb.cc
Normal file
385
v2/cpp/purchase.pb.cc
Normal file
|
@ -0,0 +1,385 @@
|
|||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: purchase.proto
|
||||
|
||||
#include "purchase.pb.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include <google/protobuf/stubs/common.h>
|
||||
#include <google/protobuf/io/coded_stream.h>
|
||||
#include <google/protobuf/extension_set.h>
|
||||
#include <google/protobuf/wire_format_lite_inl.h>
|
||||
#include <google/protobuf/descriptor.h>
|
||||
#include <google/protobuf/generated_message_reflection.h>
|
||||
#include <google/protobuf/reflection_ops.h>
|
||||
#include <google/protobuf/wire_format.h>
|
||||
// @@protoc_insertion_point(includes)
|
||||
#include <google/protobuf/port_def.inc>
|
||||
|
||||
namespace pb {
|
||||
class PurchaseDefaultTypeInternal {
|
||||
public:
|
||||
::google::protobuf::internal::ExplicitlyConstructed<Purchase> _instance;
|
||||
} _Purchase_default_instance_;
|
||||
} // namespace pb
|
||||
static void InitDefaultsPurchase_purchase_2eproto() {
|
||||
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
||||
|
||||
{
|
||||
void* ptr = &::pb::_Purchase_default_instance_;
|
||||
new (ptr) ::pb::Purchase();
|
||||
::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
|
||||
}
|
||||
::pb::Purchase::InitAsDefaultInstance();
|
||||
}
|
||||
|
||||
::google::protobuf::internal::SCCInfo<0> scc_info_Purchase_purchase_2eproto =
|
||||
{{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsPurchase_purchase_2eproto}, {}};
|
||||
|
||||
void InitDefaults_purchase_2eproto() {
|
||||
::google::protobuf::internal::InitSCC(&scc_info_Purchase_purchase_2eproto.base);
|
||||
}
|
||||
|
||||
::google::protobuf::Metadata file_level_metadata_purchase_2eproto[1];
|
||||
constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_purchase_2eproto = nullptr;
|
||||
constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_purchase_2eproto = nullptr;
|
||||
|
||||
const ::google::protobuf::uint32 TableStruct_purchase_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::pb::Purchase, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
PROTOBUF_FIELD_OFFSET(::pb::Purchase, claim_hash_),
|
||||
};
|
||||
static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||||
{ 0, -1, sizeof(::pb::Purchase)},
|
||||
};
|
||||
|
||||
static ::google::protobuf::Message const * const file_default_instances[] = {
|
||||
reinterpret_cast<const ::google::protobuf::Message*>(&::pb::_Purchase_default_instance_),
|
||||
};
|
||||
|
||||
::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_purchase_2eproto = {
|
||||
{}, AddDescriptors_purchase_2eproto, "purchase.proto", schemas,
|
||||
file_default_instances, TableStruct_purchase_2eproto::offsets,
|
||||
file_level_metadata_purchase_2eproto, 1, file_level_enum_descriptors_purchase_2eproto, file_level_service_descriptors_purchase_2eproto,
|
||||
};
|
||||
|
||||
const char descriptor_table_protodef_purchase_2eproto[] =
|
||||
"\n\016purchase.proto\022\002pb\"\036\n\010Purchase\022\022\n\nclai"
|
||||
"m_hash\030\001 \001(\014b\006proto3"
|
||||
;
|
||||
::google::protobuf::internal::DescriptorTable descriptor_table_purchase_2eproto = {
|
||||
false, InitDefaults_purchase_2eproto,
|
||||
descriptor_table_protodef_purchase_2eproto,
|
||||
"purchase.proto", &assign_descriptors_table_purchase_2eproto, 60,
|
||||
};
|
||||
|
||||
void AddDescriptors_purchase_2eproto() {
|
||||
static constexpr ::google::protobuf::internal::InitFunc deps[1] =
|
||||
{
|
||||
};
|
||||
::google::protobuf::internal::AddDescriptors(&descriptor_table_purchase_2eproto, deps, 0);
|
||||
}
|
||||
|
||||
// Force running AddDescriptors() at dynamic initialization time.
|
||||
static bool dynamic_init_dummy_purchase_2eproto = []() { AddDescriptors_purchase_2eproto(); return true; }();
|
||||
namespace pb {
|
||||
|
||||
// ===================================================================
|
||||
|
||||
void Purchase::InitAsDefaultInstance() {
|
||||
}
|
||||
class Purchase::HasBitSetters {
|
||||
public:
|
||||
};
|
||||
|
||||
#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
||||
const int Purchase::kClaimHashFieldNumber;
|
||||
#endif // !defined(_MSC_VER) || _MSC_VER >= 1900
|
||||
|
||||
Purchase::Purchase()
|
||||
: ::google::protobuf::Message(), _internal_metadata_(nullptr) {
|
||||
SharedCtor();
|
||||
// @@protoc_insertion_point(constructor:pb.Purchase)
|
||||
}
|
||||
Purchase::Purchase(const Purchase& from)
|
||||
: ::google::protobuf::Message(),
|
||||
_internal_metadata_(nullptr) {
|
||||
_internal_metadata_.MergeFrom(from._internal_metadata_);
|
||||
claim_hash_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
if (from.claim_hash().size() > 0) {
|
||||
claim_hash_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.claim_hash_);
|
||||
}
|
||||
// @@protoc_insertion_point(copy_constructor:pb.Purchase)
|
||||
}
|
||||
|
||||
void Purchase::SharedCtor() {
|
||||
::google::protobuf::internal::InitSCC(
|
||||
&scc_info_Purchase_purchase_2eproto.base);
|
||||
claim_hash_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
|
||||
Purchase::~Purchase() {
|
||||
// @@protoc_insertion_point(destructor:pb.Purchase)
|
||||
SharedDtor();
|
||||
}
|
||||
|
||||
void Purchase::SharedDtor() {
|
||||
claim_hash_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
|
||||
void Purchase::SetCachedSize(int size) const {
|
||||
_cached_size_.Set(size);
|
||||
}
|
||||
const Purchase& Purchase::default_instance() {
|
||||
::google::protobuf::internal::InitSCC(&::scc_info_Purchase_purchase_2eproto.base);
|
||||
return *internal_default_instance();
|
||||
}
|
||||
|
||||
|
||||
void Purchase::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:pb.Purchase)
|
||||
::google::protobuf::uint32 cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
claim_hash_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
_internal_metadata_.Clear();
|
||||
}
|
||||
|
||||
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
||||
const char* Purchase::_InternalParse(const char* begin, const char* end, void* object,
|
||||
::google::protobuf::internal::ParseContext* ctx) {
|
||||
auto msg = static_cast<Purchase*>(object);
|
||||
::google::protobuf::int32 size; (void)size;
|
||||
int depth; (void)depth;
|
||||
::google::protobuf::uint32 tag;
|
||||
::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end;
|
||||
auto ptr = begin;
|
||||
while (ptr < end) {
|
||||
ptr = ::google::protobuf::io::Parse32(ptr, &tag);
|
||||
GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
|
||||
switch (tag >> 3) {
|
||||
// bytes claim_hash = 1;
|
||||
case 1: {
|
||||
if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual;
|
||||
ptr = ::google::protobuf::io::ReadSize(ptr, &size);
|
||||
GOOGLE_PROTOBUF_PARSER_ASSERT(ptr);
|
||||
object = msg->mutable_claim_hash();
|
||||
if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) {
|
||||
parser_till_end = ::google::protobuf::internal::GreedyStringParser;
|
||||
goto string_till_end;
|
||||
}
|
||||
GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheck(ptr, size, ctx));
|
||||
::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx);
|
||||
ptr += size;
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
handle_unusual:
|
||||
if ((tag & 7) == 4 || tag == 0) {
|
||||
ctx->EndGroup(tag);
|
||||
return ptr;
|
||||
}
|
||||
auto res = UnknownFieldParse(tag, {_InternalParse, msg},
|
||||
ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx);
|
||||
ptr = res.first;
|
||||
GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr);
|
||||
if (res.second) return ptr;
|
||||
}
|
||||
} // switch
|
||||
} // while
|
||||
return ptr;
|
||||
string_till_end:
|
||||
static_cast<::std::string*>(object)->clear();
|
||||
static_cast<::std::string*>(object)->reserve(size);
|
||||
goto len_delim_till_end;
|
||||
len_delim_till_end:
|
||||
return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg},
|
||||
{parser_till_end, object}, size);
|
||||
}
|
||||
#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
||||
bool Purchase::MergePartialFromCodedStream(
|
||||
::google::protobuf::io::CodedInputStream* input) {
|
||||
#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
|
||||
::google::protobuf::uint32 tag;
|
||||
// @@protoc_insertion_point(parse_start:pb.Purchase)
|
||||
for (;;) {
|
||||
::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
|
||||
tag = p.first;
|
||||
if (!p.second) goto handle_unusual;
|
||||
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
|
||||
// bytes claim_hash = 1;
|
||||
case 1: {
|
||||
if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) {
|
||||
DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
|
||||
input, this->mutable_claim_hash()));
|
||||
} else {
|
||||
goto handle_unusual;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
default: {
|
||||
handle_unusual:
|
||||
if (tag == 0) {
|
||||
goto success;
|
||||
}
|
||||
DO_(::google::protobuf::internal::WireFormat::SkipField(
|
||||
input, tag, _internal_metadata_.mutable_unknown_fields()));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
success:
|
||||
// @@protoc_insertion_point(parse_success:pb.Purchase)
|
||||
return true;
|
||||
failure:
|
||||
// @@protoc_insertion_point(parse_failure:pb.Purchase)
|
||||
return false;
|
||||
#undef DO_
|
||||
}
|
||||
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
||||
|
||||
void Purchase::SerializeWithCachedSizes(
|
||||
::google::protobuf::io::CodedOutputStream* output) const {
|
||||
// @@protoc_insertion_point(serialize_start:pb.Purchase)
|
||||
::google::protobuf::uint32 cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
// bytes claim_hash = 1;
|
||||
if (this->claim_hash().size() > 0) {
|
||||
::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
|
||||
1, this->claim_hash(), output);
|
||||
}
|
||||
|
||||
if (_internal_metadata_.have_unknown_fields()) {
|
||||
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
|
||||
_internal_metadata_.unknown_fields(), output);
|
||||
}
|
||||
// @@protoc_insertion_point(serialize_end:pb.Purchase)
|
||||
}
|
||||
|
||||
::google::protobuf::uint8* Purchase::InternalSerializeWithCachedSizesToArray(
|
||||
::google::protobuf::uint8* target) const {
|
||||
// @@protoc_insertion_point(serialize_to_array_start:pb.Purchase)
|
||||
::google::protobuf::uint32 cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
// bytes claim_hash = 1;
|
||||
if (this->claim_hash().size() > 0) {
|
||||
target =
|
||||
::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
|
||||
1, this->claim_hash(), target);
|
||||
}
|
||||
|
||||
if (_internal_metadata_.have_unknown_fields()) {
|
||||
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
|
||||
_internal_metadata_.unknown_fields(), target);
|
||||
}
|
||||
// @@protoc_insertion_point(serialize_to_array_end:pb.Purchase)
|
||||
return target;
|
||||
}
|
||||
|
||||
size_t Purchase::ByteSizeLong() const {
|
||||
// @@protoc_insertion_point(message_byte_size_start:pb.Purchase)
|
||||
size_t total_size = 0;
|
||||
|
||||
if (_internal_metadata_.have_unknown_fields()) {
|
||||
total_size +=
|
||||
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
|
||||
_internal_metadata_.unknown_fields());
|
||||
}
|
||||
::google::protobuf::uint32 cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
// bytes claim_hash = 1;
|
||||
if (this->claim_hash().size() > 0) {
|
||||
total_size += 1 +
|
||||
::google::protobuf::internal::WireFormatLite::BytesSize(
|
||||
this->claim_hash());
|
||||
}
|
||||
|
||||
int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
|
||||
SetCachedSize(cached_size);
|
||||
return total_size;
|
||||
}
|
||||
|
||||
void Purchase::MergeFrom(const ::google::protobuf::Message& from) {
|
||||
// @@protoc_insertion_point(generalized_merge_from_start:pb.Purchase)
|
||||
GOOGLE_DCHECK_NE(&from, this);
|
||||
const Purchase* source =
|
||||
::google::protobuf::DynamicCastToGenerated<Purchase>(
|
||||
&from);
|
||||
if (source == nullptr) {
|
||||
// @@protoc_insertion_point(generalized_merge_from_cast_fail:pb.Purchase)
|
||||
::google::protobuf::internal::ReflectionOps::Merge(from, this);
|
||||
} else {
|
||||
// @@protoc_insertion_point(generalized_merge_from_cast_success:pb.Purchase)
|
||||
MergeFrom(*source);
|
||||
}
|
||||
}
|
||||
|
||||
void Purchase::MergeFrom(const Purchase& from) {
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:pb.Purchase)
|
||||
GOOGLE_DCHECK_NE(&from, this);
|
||||
_internal_metadata_.MergeFrom(from._internal_metadata_);
|
||||
::google::protobuf::uint32 cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
if (from.claim_hash().size() > 0) {
|
||||
|
||||
claim_hash_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.claim_hash_);
|
||||
}
|
||||
}
|
||||
|
||||
void Purchase::CopyFrom(const ::google::protobuf::Message& from) {
|
||||
// @@protoc_insertion_point(generalized_copy_from_start:pb.Purchase)
|
||||
if (&from == this) return;
|
||||
Clear();
|
||||
MergeFrom(from);
|
||||
}
|
||||
|
||||
void Purchase::CopyFrom(const Purchase& from) {
|
||||
// @@protoc_insertion_point(class_specific_copy_from_start:pb.Purchase)
|
||||
if (&from == this) return;
|
||||
Clear();
|
||||
MergeFrom(from);
|
||||
}
|
||||
|
||||
bool Purchase::IsInitialized() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
void Purchase::Swap(Purchase* other) {
|
||||
if (other == this) return;
|
||||
InternalSwap(other);
|
||||
}
|
||||
void Purchase::InternalSwap(Purchase* other) {
|
||||
using std::swap;
|
||||
_internal_metadata_.Swap(&other->_internal_metadata_);
|
||||
claim_hash_.Swap(&other->claim_hash_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
GetArenaNoVirtual());
|
||||
}
|
||||
|
||||
::google::protobuf::Metadata Purchase::GetMetadata() const {
|
||||
::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_purchase_2eproto);
|
||||
return ::file_level_metadata_purchase_2eproto[kIndexInFileMessages];
|
||||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
} // namespace pb
|
||||
namespace google {
|
||||
namespace protobuf {
|
||||
template<> PROTOBUF_NOINLINE ::pb::Purchase* Arena::CreateMaybeMessage< ::pb::Purchase >(Arena* arena) {
|
||||
return Arena::CreateInternal< ::pb::Purchase >(arena);
|
||||
}
|
||||
} // namespace protobuf
|
||||
} // namespace google
|
||||
|
||||
// @@protoc_insertion_point(global_scope)
|
||||
#include <google/protobuf/port_undef.inc>
|
258
v2/cpp/purchase.pb.h
Normal file
258
v2/cpp/purchase.pb.h
Normal file
|
@ -0,0 +1,258 @@
|
|||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: purchase.proto
|
||||
|
||||
#ifndef PROTOBUF_INCLUDED_purchase_2eproto
|
||||
#define PROTOBUF_INCLUDED_purchase_2eproto
|
||||
|
||||
#include <limits>
|
||||
#include <string>
|
||||
|
||||
#include <google/protobuf/port_def.inc>
|
||||
#if PROTOBUF_VERSION < 3007000
|
||||
#error This file was generated by a newer version of protoc which is
|
||||
#error incompatible with your Protocol Buffer headers. Please update
|
||||
#error your headers.
|
||||
#endif
|
||||
#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION
|
||||
#error This file was generated by an older version of protoc which is
|
||||
#error incompatible with your Protocol Buffer headers. Please
|
||||
#error regenerate this file with a newer version of protoc.
|
||||
#endif
|
||||
|
||||
#include <google/protobuf/port_undef.inc>
|
||||
#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/unknown_field_set.h>
|
||||
// @@protoc_insertion_point(includes)
|
||||
#include <google/protobuf/port_def.inc>
|
||||
#define PROTOBUF_INTERNAL_EXPORT_purchase_2eproto
|
||||
|
||||
// Internal implementation detail -- do not use these members.
|
||||
struct TableStruct_purchase_2eproto {
|
||||
static const ::google::protobuf::internal::ParseTableField entries[]
|
||||
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
|
||||
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
|
||||
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
|
||||
static const ::google::protobuf::internal::ParseTable schema[1]
|
||||
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
|
||||
static const ::google::protobuf::internal::FieldMetadata field_metadata[];
|
||||
static const ::google::protobuf::internal::SerializationTable serialization_table[];
|
||||
static const ::google::protobuf::uint32 offsets[];
|
||||
};
|
||||
void AddDescriptors_purchase_2eproto();
|
||||
namespace pb {
|
||||
class Purchase;
|
||||
class PurchaseDefaultTypeInternal;
|
||||
extern PurchaseDefaultTypeInternal _Purchase_default_instance_;
|
||||
} // namespace pb
|
||||
namespace google {
|
||||
namespace protobuf {
|
||||
template<> ::pb::Purchase* Arena::CreateMaybeMessage<::pb::Purchase>(Arena*);
|
||||
} // namespace protobuf
|
||||
} // namespace google
|
||||
namespace pb {
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class Purchase final :
|
||||
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:pb.Purchase) */ {
|
||||
public:
|
||||
Purchase();
|
||||
virtual ~Purchase();
|
||||
|
||||
Purchase(const Purchase& from);
|
||||
|
||||
inline Purchase& operator=(const Purchase& from) {
|
||||
CopyFrom(from);
|
||||
return *this;
|
||||
}
|
||||
#if LANG_CXX11
|
||||
Purchase(Purchase&& from) noexcept
|
||||
: Purchase() {
|
||||
*this = ::std::move(from);
|
||||
}
|
||||
|
||||
inline Purchase& operator=(Purchase&& from) noexcept {
|
||||
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
||||
if (this != &from) InternalSwap(&from);
|
||||
} else {
|
||||
CopyFrom(from);
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
#endif
|
||||
static const ::google::protobuf::Descriptor* descriptor() {
|
||||
return default_instance().GetDescriptor();
|
||||
}
|
||||
static const Purchase& default_instance();
|
||||
|
||||
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
||||
static inline const Purchase* internal_default_instance() {
|
||||
return reinterpret_cast<const Purchase*>(
|
||||
&_Purchase_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
0;
|
||||
|
||||
void Swap(Purchase* other);
|
||||
friend void swap(Purchase& a, Purchase& b) {
|
||||
a.Swap(&b);
|
||||
}
|
||||
|
||||
// implements Message ----------------------------------------------
|
||||
|
||||
inline Purchase* New() const final {
|
||||
return CreateMaybeMessage<Purchase>(nullptr);
|
||||
}
|
||||
|
||||
Purchase* New(::google::protobuf::Arena* arena) const final {
|
||||
return CreateMaybeMessage<Purchase>(arena);
|
||||
}
|
||||
void CopyFrom(const ::google::protobuf::Message& from) final;
|
||||
void MergeFrom(const ::google::protobuf::Message& from) final;
|
||||
void CopyFrom(const Purchase& from);
|
||||
void MergeFrom(const Purchase& from);
|
||||
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||
bool IsInitialized() const final;
|
||||
|
||||
size_t ByteSizeLong() const final;
|
||||
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
||||
static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
|
||||
::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
|
||||
#else
|
||||
bool MergePartialFromCodedStream(
|
||||
::google::protobuf::io::CodedInputStream* input) final;
|
||||
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
|
||||
void SerializeWithCachedSizes(
|
||||
::google::protobuf::io::CodedOutputStream* output) const final;
|
||||
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
||||
::google::protobuf::uint8* target) const final;
|
||||
int GetCachedSize() const final { return _cached_size_.Get(); }
|
||||
|
||||
private:
|
||||
void SharedCtor();
|
||||
void SharedDtor();
|
||||
void SetCachedSize(int size) const final;
|
||||
void InternalSwap(Purchase* other);
|
||||
private:
|
||||
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
||||
return nullptr;
|
||||
}
|
||||
inline void* MaybeArenaPtr() const {
|
||||
return nullptr;
|
||||
}
|
||||
public:
|
||||
|
||||
::google::protobuf::Metadata GetMetadata() const final;
|
||||
|
||||
// nested types ----------------------------------------------------
|
||||
|
||||
// accessors -------------------------------------------------------
|
||||
|
||||
// bytes claim_hash = 1;
|
||||
void clear_claim_hash();
|
||||
static const int kClaimHashFieldNumber = 1;
|
||||
const ::std::string& claim_hash() const;
|
||||
void set_claim_hash(const ::std::string& value);
|
||||
#if LANG_CXX11
|
||||
void set_claim_hash(::std::string&& value);
|
||||
#endif
|
||||
void set_claim_hash(const char* value);
|
||||
void set_claim_hash(const void* value, size_t size);
|
||||
::std::string* mutable_claim_hash();
|
||||
::std::string* release_claim_hash();
|
||||
void set_allocated_claim_hash(::std::string* claim_hash);
|
||||
|
||||
// @@protoc_insertion_point(class_scope:pb.Purchase)
|
||||
private:
|
||||
class HasBitSetters;
|
||||
|
||||
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
||||
::google::protobuf::internal::ArenaStringPtr claim_hash_;
|
||||
mutable ::google::protobuf::internal::CachedSize _cached_size_;
|
||||
friend struct ::TableStruct_purchase_2eproto;
|
||||
};
|
||||
// ===================================================================
|
||||
|
||||
|
||||
// ===================================================================
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||
#endif // __GNUC__
|
||||
// Purchase
|
||||
|
||||
// bytes claim_hash = 1;
|
||||
inline void Purchase::clear_claim_hash() {
|
||||
claim_hash_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline const ::std::string& Purchase::claim_hash() const {
|
||||
// @@protoc_insertion_point(field_get:pb.Purchase.claim_hash)
|
||||
return claim_hash_.GetNoArena();
|
||||
}
|
||||
inline void Purchase::set_claim_hash(const ::std::string& value) {
|
||||
|
||||
claim_hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
|
||||
// @@protoc_insertion_point(field_set:pb.Purchase.claim_hash)
|
||||
}
|
||||
#if LANG_CXX11
|
||||
inline void Purchase::set_claim_hash(::std::string&& value) {
|
||||
|
||||
claim_hash_.SetNoArena(
|
||||
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
|
||||
// @@protoc_insertion_point(field_set_rvalue:pb.Purchase.claim_hash)
|
||||
}
|
||||
#endif
|
||||
inline void Purchase::set_claim_hash(const char* value) {
|
||||
GOOGLE_DCHECK(value != nullptr);
|
||||
|
||||
claim_hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
|
||||
// @@protoc_insertion_point(field_set_char:pb.Purchase.claim_hash)
|
||||
}
|
||||
inline void Purchase::set_claim_hash(const void* value, size_t size) {
|
||||
|
||||
claim_hash_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
|
||||
::std::string(reinterpret_cast<const char*>(value), size));
|
||||
// @@protoc_insertion_point(field_set_pointer:pb.Purchase.claim_hash)
|
||||
}
|
||||
inline ::std::string* Purchase::mutable_claim_hash() {
|
||||
|
||||
// @@protoc_insertion_point(field_mutable:pb.Purchase.claim_hash)
|
||||
return claim_hash_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline ::std::string* Purchase::release_claim_hash() {
|
||||
// @@protoc_insertion_point(field_release:pb.Purchase.claim_hash)
|
||||
|
||||
return claim_hash_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
|
||||
}
|
||||
inline void Purchase::set_allocated_claim_hash(::std::string* claim_hash) {
|
||||
if (claim_hash != nullptr) {
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
claim_hash_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), claim_hash);
|
||||
// @@protoc_insertion_point(field_set_allocated:pb.Purchase.claim_hash)
|
||||
}
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif // __GNUC__
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
|
||||
} // namespace pb
|
||||
|
||||
// @@protoc_insertion_point(global_scope)
|
||||
|
||||
#include <google/protobuf/port_undef.inc>
|
||||
#endif // PROTOBUF_INCLUDED_purchase_2eproto
|
2648
v2/cpp/result.pb.cc
Normal file
2648
v2/cpp/result.pb.cc
Normal file
File diff suppressed because it is too large
Load diff
1585
v2/cpp/result.pb.h
Normal file
1585
v2/cpp/result.pb.h
Normal file
File diff suppressed because it is too large
Load diff
1420
v2/go/claim.pb.go
1420
v2/go/claim.pb.go
File diff suppressed because it is too large
Load diff
76
v2/go/purchase.pb.go
Normal file
76
v2/go/purchase.pb.go
Normal file
|
@ -0,0 +1,76 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: purchase.proto
|
||||
|
||||
package pb
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||
|
||||
type Purchase struct {
|
||||
ClaimHash []byte `protobuf:"bytes,1,opt,name=claim_hash,json=claimHash,proto3" json:"claim_hash,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Purchase) Reset() { *m = Purchase{} }
|
||||
func (m *Purchase) String() string { return proto.CompactTextString(m) }
|
||||
func (*Purchase) ProtoMessage() {}
|
||||
func (*Purchase) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ea8c7f112c6b4e9e, []int{0}
|
||||
}
|
||||
|
||||
func (m *Purchase) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Purchase.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Purchase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Purchase.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Purchase) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Purchase.Merge(m, src)
|
||||
}
|
||||
func (m *Purchase) XXX_Size() int {
|
||||
return xxx_messageInfo_Purchase.Size(m)
|
||||
}
|
||||
func (m *Purchase) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Purchase.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Purchase proto.InternalMessageInfo
|
||||
|
||||
func (m *Purchase) GetClaimHash() []byte {
|
||||
if m != nil {
|
||||
return m.ClaimHash
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Purchase)(nil), "pb.Purchase")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("purchase.proto", fileDescriptor_ea8c7f112c6b4e9e) }
|
||||
|
||||
var fileDescriptor_ea8c7f112c6b4e9e = []byte{
|
||||
// 84 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2b, 0x28, 0x2d, 0x4a,
|
||||
0xce, 0x48, 0x2c, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2a, 0x48, 0x52, 0xd2,
|
||||
0xe4, 0xe2, 0x08, 0x80, 0x8a, 0x0a, 0xc9, 0x72, 0x71, 0x25, 0xe7, 0x24, 0x66, 0xe6, 0xc6, 0x67,
|
||||
0x24, 0x16, 0x67, 0x48, 0x30, 0x2a, 0x30, 0x6a, 0xf0, 0x04, 0x71, 0x82, 0x45, 0x3c, 0x12, 0x8b,
|
||||
0x33, 0x92, 0xd8, 0xc0, 0xba, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xfd, 0xba, 0x94, 0x00,
|
||||
0x47, 0x00, 0x00, 0x00,
|
||||
}
|
483
v2/go/result.pb.go
Normal file
483
v2/go/result.pb.go
Normal file
|
@ -0,0 +1,483 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: result.proto
|
||||
|
||||
package pb
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
||||
|
||||
type Error_Code int32
|
||||
|
||||
const (
|
||||
Error_UNKNOWN_CODE Error_Code = 0
|
||||
Error_NOT_FOUND Error_Code = 1
|
||||
Error_INVALID Error_Code = 2
|
||||
)
|
||||
|
||||
var Error_Code_name = map[int32]string{
|
||||
0: "UNKNOWN_CODE",
|
||||
1: "NOT_FOUND",
|
||||
2: "INVALID",
|
||||
}
|
||||
|
||||
var Error_Code_value = map[string]int32{
|
||||
"UNKNOWN_CODE": 0,
|
||||
"NOT_FOUND": 1,
|
||||
"INVALID": 2,
|
||||
}
|
||||
|
||||
func (x Error_Code) String() string {
|
||||
return proto.EnumName(Error_Code_name, int32(x))
|
||||
}
|
||||
|
||||
func (Error_Code) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_4feee897733d2100, []int{3, 0}
|
||||
}
|
||||
|
||||
type Outputs struct {
|
||||
Txos []*Output `protobuf:"bytes,1,rep,name=txos,proto3" json:"txos,omitempty"`
|
||||
ExtraTxos []*Output `protobuf:"bytes,2,rep,name=extra_txos,json=extraTxos,proto3" json:"extra_txos,omitempty"`
|
||||
Total uint32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
|
||||
Offset uint32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Outputs) Reset() { *m = Outputs{} }
|
||||
func (m *Outputs) String() string { return proto.CompactTextString(m) }
|
||||
func (*Outputs) ProtoMessage() {}
|
||||
func (*Outputs) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_4feee897733d2100, []int{0}
|
||||
}
|
||||
|
||||
func (m *Outputs) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Outputs.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Outputs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Outputs.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Outputs) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Outputs.Merge(m, src)
|
||||
}
|
||||
func (m *Outputs) XXX_Size() int {
|
||||
return xxx_messageInfo_Outputs.Size(m)
|
||||
}
|
||||
func (m *Outputs) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Outputs.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Outputs proto.InternalMessageInfo
|
||||
|
||||
func (m *Outputs) GetTxos() []*Output {
|
||||
if m != nil {
|
||||
return m.Txos
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Outputs) GetExtraTxos() []*Output {
|
||||
if m != nil {
|
||||
return m.ExtraTxos
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Outputs) GetTotal() uint32 {
|
||||
if m != nil {
|
||||
return m.Total
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Outputs) GetOffset() uint32 {
|
||||
if m != nil {
|
||||
return m.Offset
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type Output struct {
|
||||
TxHash []byte `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
|
||||
Nout uint32 `protobuf:"varint,2,opt,name=nout,proto3" json:"nout,omitempty"`
|
||||
Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
|
||||
// Types that are valid to be assigned to Meta:
|
||||
// *Output_Claim
|
||||
// *Output_Error
|
||||
Meta isOutput_Meta `protobuf_oneof:"meta"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Output) Reset() { *m = Output{} }
|
||||
func (m *Output) String() string { return proto.CompactTextString(m) }
|
||||
func (*Output) ProtoMessage() {}
|
||||
func (*Output) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_4feee897733d2100, []int{1}
|
||||
}
|
||||
|
||||
func (m *Output) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Output.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Output.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Output) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Output.Merge(m, src)
|
||||
}
|
||||
func (m *Output) XXX_Size() int {
|
||||
return xxx_messageInfo_Output.Size(m)
|
||||
}
|
||||
func (m *Output) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Output.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Output proto.InternalMessageInfo
|
||||
|
||||
func (m *Output) GetTxHash() []byte {
|
||||
if m != nil {
|
||||
return m.TxHash
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Output) GetNout() uint32 {
|
||||
if m != nil {
|
||||
return m.Nout
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Output) GetHeight() uint32 {
|
||||
if m != nil {
|
||||
return m.Height
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type isOutput_Meta interface {
|
||||
isOutput_Meta()
|
||||
}
|
||||
|
||||
type Output_Claim struct {
|
||||
Claim *ClaimMeta `protobuf:"bytes,7,opt,name=claim,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Output_Error struct {
|
||||
Error *Error `protobuf:"bytes,15,opt,name=error,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Output_Claim) isOutput_Meta() {}
|
||||
|
||||
func (*Output_Error) isOutput_Meta() {}
|
||||
|
||||
func (m *Output) GetMeta() isOutput_Meta {
|
||||
if m != nil {
|
||||
return m.Meta
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Output) GetClaim() *ClaimMeta {
|
||||
if x, ok := m.GetMeta().(*Output_Claim); ok {
|
||||
return x.Claim
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Output) GetError() *Error {
|
||||
if x, ok := m.GetMeta().(*Output_Error); ok {
|
||||
return x.Error
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofWrappers is for the internal use of the proto package.
|
||||
func (*Output) XXX_OneofWrappers() []interface{} {
|
||||
return []interface{}{
|
||||
(*Output_Claim)(nil),
|
||||
(*Output_Error)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
type ClaimMeta struct {
|
||||
Channel *Output `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
|
||||
Repost *Output `protobuf:"bytes,2,opt,name=repost,proto3" json:"repost,omitempty"`
|
||||
ShortUrl string `protobuf:"bytes,3,opt,name=short_url,json=shortUrl,proto3" json:"short_url,omitempty"`
|
||||
CanonicalUrl string `protobuf:"bytes,4,opt,name=canonical_url,json=canonicalUrl,proto3" json:"canonical_url,omitempty"`
|
||||
IsControlling bool `protobuf:"varint,5,opt,name=is_controlling,json=isControlling,proto3" json:"is_controlling,omitempty"`
|
||||
TakeOverHeight uint32 `protobuf:"varint,6,opt,name=take_over_height,json=takeOverHeight,proto3" json:"take_over_height,omitempty"`
|
||||
CreationHeight uint32 `protobuf:"varint,7,opt,name=creation_height,json=creationHeight,proto3" json:"creation_height,omitempty"`
|
||||
ActivationHeight uint32 `protobuf:"varint,8,opt,name=activation_height,json=activationHeight,proto3" json:"activation_height,omitempty"`
|
||||
ExpirationHeight uint32 `protobuf:"varint,9,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height,omitempty"`
|
||||
ClaimsInChannel uint32 `protobuf:"varint,10,opt,name=claims_in_channel,json=claimsInChannel,proto3" json:"claims_in_channel,omitempty"`
|
||||
Reposted uint32 `protobuf:"varint,11,opt,name=reposted,proto3" json:"reposted,omitempty"`
|
||||
EffectiveAmount uint64 `protobuf:"varint,20,opt,name=effective_amount,json=effectiveAmount,proto3" json:"effective_amount,omitempty"`
|
||||
SupportAmount uint64 `protobuf:"varint,21,opt,name=support_amount,json=supportAmount,proto3" json:"support_amount,omitempty"`
|
||||
TrendingGroup uint32 `protobuf:"varint,22,opt,name=trending_group,json=trendingGroup,proto3" json:"trending_group,omitempty"`
|
||||
TrendingMixed float32 `protobuf:"fixed32,23,opt,name=trending_mixed,json=trendingMixed,proto3" json:"trending_mixed,omitempty"`
|
||||
TrendingLocal float32 `protobuf:"fixed32,24,opt,name=trending_local,json=trendingLocal,proto3" json:"trending_local,omitempty"`
|
||||
TrendingGlobal float32 `protobuf:"fixed32,25,opt,name=trending_global,json=trendingGlobal,proto3" json:"trending_global,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ClaimMeta) Reset() { *m = ClaimMeta{} }
|
||||
func (m *ClaimMeta) String() string { return proto.CompactTextString(m) }
|
||||
func (*ClaimMeta) ProtoMessage() {}
|
||||
func (*ClaimMeta) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_4feee897733d2100, []int{2}
|
||||
}
|
||||
|
||||
func (m *ClaimMeta) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ClaimMeta.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ClaimMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ClaimMeta.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ClaimMeta) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ClaimMeta.Merge(m, src)
|
||||
}
|
||||
func (m *ClaimMeta) XXX_Size() int {
|
||||
return xxx_messageInfo_ClaimMeta.Size(m)
|
||||
}
|
||||
func (m *ClaimMeta) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ClaimMeta.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ClaimMeta proto.InternalMessageInfo
|
||||
|
||||
func (m *ClaimMeta) GetChannel() *Output {
|
||||
if m != nil {
|
||||
return m.Channel
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ClaimMeta) GetRepost() *Output {
|
||||
if m != nil {
|
||||
return m.Repost
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ClaimMeta) GetShortUrl() string {
|
||||
if m != nil {
|
||||
return m.ShortUrl
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ClaimMeta) GetCanonicalUrl() string {
|
||||
if m != nil {
|
||||
return m.CanonicalUrl
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ClaimMeta) GetIsControlling() bool {
|
||||
if m != nil {
|
||||
return m.IsControlling
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *ClaimMeta) GetTakeOverHeight() uint32 {
|
||||
if m != nil {
|
||||
return m.TakeOverHeight
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClaimMeta) GetCreationHeight() uint32 {
|
||||
if m != nil {
|
||||
return m.CreationHeight
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClaimMeta) GetActivationHeight() uint32 {
|
||||
if m != nil {
|
||||
return m.ActivationHeight
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClaimMeta) GetExpirationHeight() uint32 {
|
||||
if m != nil {
|
||||
return m.ExpirationHeight
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClaimMeta) GetClaimsInChannel() uint32 {
|
||||
if m != nil {
|
||||
return m.ClaimsInChannel
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClaimMeta) GetReposted() uint32 {
|
||||
if m != nil {
|
||||
return m.Reposted
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClaimMeta) GetEffectiveAmount() uint64 {
|
||||
if m != nil {
|
||||
return m.EffectiveAmount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClaimMeta) GetSupportAmount() uint64 {
|
||||
if m != nil {
|
||||
return m.SupportAmount
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClaimMeta) GetTrendingGroup() uint32 {
|
||||
if m != nil {
|
||||
return m.TrendingGroup
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClaimMeta) GetTrendingMixed() float32 {
|
||||
if m != nil {
|
||||
return m.TrendingMixed
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClaimMeta) GetTrendingLocal() float32 {
|
||||
if m != nil {
|
||||
return m.TrendingLocal
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ClaimMeta) GetTrendingGlobal() float32 {
|
||||
if m != nil {
|
||||
return m.TrendingGlobal
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type Error struct {
|
||||
Code Error_Code `protobuf:"varint,1,opt,name=code,proto3,enum=pb.Error_Code" json:"code,omitempty"`
|
||||
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Error) Reset() { *m = Error{} }
|
||||
func (m *Error) String() string { return proto.CompactTextString(m) }
|
||||
func (*Error) ProtoMessage() {}
|
||||
func (*Error) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_4feee897733d2100, []int{3}
|
||||
}
|
||||
|
||||
func (m *Error) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Error.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Error.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Error) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Error.Merge(m, src)
|
||||
}
|
||||
func (m *Error) XXX_Size() int {
|
||||
return xxx_messageInfo_Error.Size(m)
|
||||
}
|
||||
func (m *Error) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Error.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Error proto.InternalMessageInfo
|
||||
|
||||
func (m *Error) GetCode() Error_Code {
|
||||
if m != nil {
|
||||
return m.Code
|
||||
}
|
||||
return Error_UNKNOWN_CODE
|
||||
}
|
||||
|
||||
func (m *Error) GetText() string {
|
||||
if m != nil {
|
||||
return m.Text
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterEnum("pb.Error_Code", Error_Code_name, Error_Code_value)
|
||||
proto.RegisterType((*Outputs)(nil), "pb.Outputs")
|
||||
proto.RegisterType((*Output)(nil), "pb.Output")
|
||||
proto.RegisterType((*ClaimMeta)(nil), "pb.ClaimMeta")
|
||||
proto.RegisterType((*Error)(nil), "pb.Error")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("result.proto", fileDescriptor_4feee897733d2100) }
|
||||
|
||||
var fileDescriptor_4feee897733d2100 = []byte{
|
||||
// 617 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x94, 0xdd, 0x6e, 0xd3, 0x30,
|
||||
0x18, 0x86, 0x97, 0x2e, 0xfd, 0xc9, 0xd7, 0xdf, 0x59, 0x63, 0x33, 0x20, 0xa1, 0x10, 0x98, 0xc8,
|
||||
0x40, 0xea, 0xc1, 0xe0, 0x06, 0x46, 0x37, 0xb6, 0x89, 0xad, 0x95, 0xa2, 0x0d, 0x0e, 0x23, 0x37,
|
||||
0x75, 0x9b, 0x88, 0x34, 0x8e, 0x1c, 0x67, 0xca, 0x31, 0x37, 0xc2, 0x01, 0x37, 0x8a, 0xfc, 0x25,
|
||||
0x6d, 0x14, 0x71, 0x16, 0x3f, 0xef, 0xe3, 0x1f, 0xbd, 0x76, 0x0b, 0x03, 0xc9, 0xb3, 0x3c, 0x56,
|
||||
0xd3, 0x54, 0x0a, 0x25, 0x48, 0x2b, 0x5d, 0x3a, 0xbf, 0x0d, 0xe8, 0x2e, 0x72, 0x95, 0xe6, 0x2a,
|
||||
0x23, 0x6f, 0xc0, 0x54, 0x85, 0xc8, 0xa8, 0x61, 0x1f, 0xba, 0xfd, 0x0b, 0x98, 0xa6, 0xcb, 0x69,
|
||||
0x19, 0x79, 0xc8, 0xc9, 0x39, 0x00, 0x2f, 0x94, 0x64, 0x3e, 0x5a, 0xad, 0xff, 0x2c, 0x0b, 0xd3,
|
||||
0x47, 0xad, 0x1e, 0x43, 0x5b, 0x09, 0xc5, 0x62, 0x7a, 0x68, 0x1b, 0xee, 0xd0, 0x2b, 0x07, 0xe4,
|
||||
0x04, 0x3a, 0x62, 0xbd, 0xce, 0xb8, 0xa2, 0x26, 0xe2, 0x6a, 0xe4, 0xfc, 0x31, 0xa0, 0x53, 0xae,
|
||||
0x41, 0x4e, 0xa1, 0xab, 0x0a, 0x3f, 0x64, 0x59, 0x48, 0x0d, 0xdb, 0x70, 0x07, 0x5e, 0x47, 0x15,
|
||||
0xb7, 0x2c, 0x0b, 0x09, 0x01, 0x33, 0x11, 0xb9, 0xa2, 0x2d, 0x9c, 0x89, 0xdf, 0x7a, 0xbd, 0x90,
|
||||
0x47, 0x9b, 0x50, 0x55, 0xdb, 0x54, 0x23, 0x72, 0x06, 0xed, 0x20, 0x66, 0xd1, 0x96, 0x76, 0x6d,
|
||||
0xc3, 0xed, 0x5f, 0x0c, 0xf5, 0x19, 0x67, 0x1a, 0x3c, 0x70, 0xc5, 0x6e, 0x0f, 0xbc, 0x32, 0x25,
|
||||
0x6f, 0xa1, 0xcd, 0xa5, 0x14, 0x92, 0x8e, 0x51, 0xb3, 0xb4, 0x76, 0xad, 0x81, 0x56, 0x30, 0xf9,
|
||||
0xda, 0x01, 0x73, 0xcb, 0x15, 0x73, 0xfe, 0xb6, 0xc1, 0xda, 0xaf, 0x40, 0xde, 0x43, 0x37, 0x08,
|
||||
0x59, 0x92, 0xf0, 0x18, 0x0f, 0xd9, 0x6c, 0x61, 0x17, 0x11, 0x07, 0x3a, 0x92, 0xa7, 0x22, 0x2b,
|
||||
0xcf, 0xdc, 0x94, 0xaa, 0x84, 0xbc, 0x06, 0x2b, 0x0b, 0x85, 0x54, 0x7e, 0x2e, 0xcb, 0xae, 0x2c,
|
||||
0xaf, 0x87, 0xe0, 0x49, 0xc6, 0xe4, 0x1d, 0x0c, 0x03, 0x96, 0x88, 0x24, 0x0a, 0x58, 0x8c, 0x82,
|
||||
0x89, 0xc2, 0x60, 0x0f, 0xb5, 0x74, 0x06, 0xa3, 0x28, 0xf3, 0x03, 0x91, 0x28, 0x29, 0xe2, 0x38,
|
||||
0x4a, 0x36, 0xb4, 0x6d, 0x1b, 0x6e, 0xcf, 0x1b, 0x46, 0xd9, 0xac, 0x86, 0xc4, 0x85, 0x89, 0x62,
|
||||
0xbf, 0xb8, 0x2f, 0x9e, 0xb9, 0xf4, 0xab, 0xd2, 0x3a, 0x58, 0xda, 0x48, 0xf3, 0xc5, 0x33, 0x97,
|
||||
0xb7, 0x65, 0x79, 0x1f, 0x60, 0x1c, 0x48, 0xce, 0x54, 0x24, 0x92, 0x9d, 0xd8, 0x2d, 0xc5, 0x1d,
|
||||
0xae, 0xc4, 0x4f, 0x70, 0xc4, 0x02, 0x15, 0x3d, 0x37, 0xd4, 0x1e, 0xaa, 0x93, 0x3a, 0xa8, 0x65,
|
||||
0x5e, 0xa4, 0x91, 0x6c, 0xc8, 0x56, 0x29, 0xd7, 0x41, 0x25, 0x7f, 0x84, 0x23, 0xbc, 0xa1, 0xcc,
|
||||
0x8f, 0x12, 0x7f, 0xd7, 0x34, 0xa0, 0x3c, 0x2e, 0x83, 0xbb, 0x64, 0x56, 0xb5, 0xfc, 0x0a, 0x7a,
|
||||
0x65, 0x97, 0x7c, 0x45, 0xfb, 0xa8, 0xec, 0xc7, 0xe4, 0x1c, 0x26, 0x7c, 0xbd, 0xe6, 0xfa, 0x2c,
|
||||
0xdc, 0x67, 0x5b, 0x91, 0x27, 0x8a, 0x1e, 0xdb, 0x86, 0x6b, 0x7a, 0xe3, 0x3d, 0xbf, 0x44, 0xac,
|
||||
0x6b, 0xcc, 0xf2, 0x34, 0xd5, 0x57, 0x51, 0x89, 0x2f, 0x50, 0x1c, 0x56, 0xb4, 0xd6, 0x94, 0xe4,
|
||||
0xc9, 0x2a, 0x4a, 0x36, 0xfe, 0x46, 0x8a, 0x3c, 0xa5, 0x27, 0xb8, 0xe7, 0x70, 0x47, 0x6f, 0x34,
|
||||
0x6c, 0x68, 0xdb, 0xa8, 0xe0, 0x2b, 0x7a, 0x6a, 0x1b, 0x6e, 0xab, 0xd6, 0x1e, 0x34, 0x6c, 0x68,
|
||||
0xb1, 0x08, 0x58, 0x4c, 0x69, 0x53, 0xbb, 0xd7, 0x50, 0xdf, 0x48, 0xbd, 0x69, 0x2c, 0x96, 0x2c,
|
||||
0xa6, 0x2f, 0xd1, 0xdb, 0xcf, 0xbe, 0x41, 0xea, 0xe4, 0xd0, 0xc6, 0xf7, 0x4b, 0x1c, 0x30, 0x03,
|
||||
0xb1, 0xe2, 0xf8, 0x3a, 0x47, 0x17, 0xa3, 0xfd, 0xc3, 0x9e, 0xce, 0xc4, 0x8a, 0x7b, 0x98, 0xe9,
|
||||
0x1f, 0x94, 0xe2, 0x45, 0xf9, 0x38, 0x2d, 0x0f, 0xbf, 0x9d, 0x2f, 0x60, 0x6a, 0x83, 0x4c, 0x60,
|
||||
0xf0, 0x34, 0xff, 0x3e, 0x5f, 0xfc, 0x9c, 0xfb, 0xb3, 0xc5, 0xd5, 0xf5, 0xe4, 0x80, 0x0c, 0xc1,
|
||||
0x9a, 0x2f, 0x1e, 0xfd, 0x6f, 0x8b, 0xa7, 0xf9, 0xd5, 0xc4, 0x20, 0x7d, 0xe8, 0xde, 0xcd, 0x7f,
|
||||
0x5c, 0xde, 0xdf, 0x5d, 0x4d, 0x5a, 0xcb, 0x0e, 0xfe, 0x9d, 0x7c, 0xfe, 0x17, 0x00, 0x00, 0xff,
|
||||
0xff, 0x89, 0x3e, 0xbd, 0x1e, 0x5e, 0x04, 0x00, 0x00,
|
||||
}
|
File diff suppressed because it is too large
Load diff
185
v2/js/purchase_pb.js
Normal file
185
v2/js/purchase_pb.js
Normal file
|
@ -0,0 +1,185 @@
|
|||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = Function('return this')();
|
||||
|
||||
goog.exportSymbol('proto.pb.Purchase', null, global);
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
* server response, or constructed directly in Javascript. The array is used
|
||||
* in place and becomes part of the constructed object. It is not cloned.
|
||||
* If no data is provided, the constructed object will be empty, but still
|
||||
* valid.
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.pb.Purchase = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.pb.Purchase, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.pb.Purchase.displayName = 'proto.pb.Purchase';
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto suitable for use in Soy templates.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
||||
* For the list of reserved names please see:
|
||||
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
||||
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
||||
* for transitional soy proto support: http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.pb.Purchase.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.pb.Purchase.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Static version of the {@see toObject} method.
|
||||
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
||||
* instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.pb.Purchase} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.pb.Purchase.toObject = function(includeInstance, msg) {
|
||||
var obj = {
|
||||
claimHash: msg.getClaimHash_asB64()
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.pb.Purchase}
|
||||
*/
|
||||
proto.pb.Purchase.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.pb.Purchase;
|
||||
return proto.pb.Purchase.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.pb.Purchase} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.pb.Purchase}
|
||||
*/
|
||||
proto.pb.Purchase.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
||||
msg.setClaimHash(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.pb.Purchase.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.pb.Purchase.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.pb.Purchase} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.pb.Purchase.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getClaimHash_asU8();
|
||||
if (f.length > 0) {
|
||||
writer.writeBytes(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes claim_hash = 1;
|
||||
* @return {!(string|Uint8Array)}
|
||||
*/
|
||||
proto.pb.Purchase.prototype.getClaimHash = function() {
|
||||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes claim_hash = 1;
|
||||
* This is a type-conversion wrapper around `getClaimHash()`
|
||||
* @return {string}
|
||||
*/
|
||||
proto.pb.Purchase.prototype.getClaimHash_asB64 = function() {
|
||||
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
||||
this.getClaimHash()));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes claim_hash = 1;
|
||||
* Note that Uint8Array is not supported on all browsers.
|
||||
* @see http://caniuse.com/Uint8Array
|
||||
* This is a type-conversion wrapper around `getClaimHash()`
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.pb.Purchase.prototype.getClaimHash_asU8 = function() {
|
||||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
||||
this.getClaimHash()));
|
||||
};
|
||||
|
||||
|
||||
/** @param {!(string|Uint8Array)} value */
|
||||
proto.pb.Purchase.prototype.setClaimHash = function(value) {
|
||||
jspb.Message.setProto3BytesField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.pb);
|
1443
v2/js/result_pb.js
Normal file
1443
v2/js/result_pb.js
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
70
v2/python/purchase_pb2.py
Normal file
70
v2/python/purchase_pb2.py
Normal file
|
@ -0,0 +1,70 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: purchase.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='purchase.proto',
|
||||
package='pb',
|
||||
syntax='proto3',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n\x0epurchase.proto\x12\x02pb\"\x1e\n\x08Purchase\x12\x12\n\nclaim_hash\x18\x01 \x01(\x0c\x62\x06proto3')
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
_PURCHASE = _descriptor.Descriptor(
|
||||
name='Purchase',
|
||||
full_name='pb.Purchase',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='claim_hash', full_name='pb.Purchase.claim_hash', index=0,
|
||||
number=1, type=12, cpp_type=9, label=1,
|
||||
has_default_value=False, default_value=_b(""),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto3',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=22,
|
||||
serialized_end=52,
|
||||
)
|
||||
|
||||
DESCRIPTOR.message_types_by_name['Purchase'] = _PURCHASE
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
Purchase = _reflection.GeneratedProtocolMessageType('Purchase', (_message.Message,), dict(
|
||||
DESCRIPTOR = _PURCHASE,
|
||||
__module__ = 'purchase_pb2'
|
||||
# @@protoc_insertion_point(class_scope:pb.Purchase)
|
||||
))
|
||||
_sym_db.RegisterMessage(Purchase)
|
||||
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
399
v2/python/result_pb2.py
Normal file
399
v2/python/result_pb2.py
Normal file
|
@ -0,0 +1,399 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: result.proto
|
||||
|
||||
import sys
|
||||
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
|
||||
from google.protobuf import descriptor as _descriptor
|
||||
from google.protobuf import message as _message
|
||||
from google.protobuf import reflection as _reflection
|
||||
from google.protobuf import symbol_database as _symbol_database
|
||||
# @@protoc_insertion_point(imports)
|
||||
|
||||
_sym_db = _symbol_database.Default()
|
||||
|
||||
|
||||
|
||||
|
||||
DESCRIPTOR = _descriptor.FileDescriptor(
|
||||
name='result.proto',
|
||||
package='pb',
|
||||
syntax='proto3',
|
||||
serialized_options=None,
|
||||
serialized_pb=_b('\n\x0cresult.proto\x12\x02pb\"b\n\x07Outputs\x12\x18\n\x04txos\x18\x01 \x03(\x0b\x32\n.pb.Output\x12\x1e\n\nextra_txos\x18\x02 \x03(\x0b\x32\n.pb.Output\x12\r\n\x05total\x18\x03 \x01(\r\x12\x0e\n\x06offset\x18\x04 \x01(\r\"{\n\x06Output\x12\x0f\n\x07tx_hash\x18\x01 \x01(\x0c\x12\x0c\n\x04nout\x18\x02 \x01(\r\x12\x0e\n\x06height\x18\x03 \x01(\r\x12\x1e\n\x05\x63laim\x18\x07 \x01(\x0b\x32\r.pb.ClaimMetaH\x00\x12\x1a\n\x05\x65rror\x18\x0f \x01(\x0b\x32\t.pb.ErrorH\x00\x42\x06\n\x04meta\"\xaf\x03\n\tClaimMeta\x12\x1b\n\x07\x63hannel\x18\x01 \x01(\x0b\x32\n.pb.Output\x12\x1a\n\x06repost\x18\x02 \x01(\x0b\x32\n.pb.Output\x12\x11\n\tshort_url\x18\x03 \x01(\t\x12\x15\n\rcanonical_url\x18\x04 \x01(\t\x12\x16\n\x0eis_controlling\x18\x05 \x01(\x08\x12\x18\n\x10take_over_height\x18\x06 \x01(\r\x12\x17\n\x0f\x63reation_height\x18\x07 \x01(\r\x12\x19\n\x11\x61\x63tivation_height\x18\x08 \x01(\r\x12\x19\n\x11\x65xpiration_height\x18\t \x01(\r\x12\x19\n\x11\x63laims_in_channel\x18\n \x01(\r\x12\x10\n\x08reposted\x18\x0b \x01(\r\x12\x18\n\x10\x65\x66\x66\x65\x63tive_amount\x18\x14 \x01(\x04\x12\x16\n\x0esupport_amount\x18\x15 \x01(\x04\x12\x16\n\x0etrending_group\x18\x16 \x01(\r\x12\x16\n\x0etrending_mixed\x18\x17 \x01(\x02\x12\x16\n\x0etrending_local\x18\x18 \x01(\x02\x12\x17\n\x0ftrending_global\x18\x19 \x01(\x02\"i\n\x05\x45rror\x12\x1c\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x0e.pb.Error.Code\x12\x0c\n\x04text\x18\x02 \x01(\t\"4\n\x04\x43ode\x12\x10\n\x0cUNKNOWN_CODE\x10\x00\x12\r\n\tNOT_FOUND\x10\x01\x12\x0b\n\x07INVALID\x10\x02\x62\x06proto3')
|
||||
)
|
||||
|
||||
|
||||
|
||||
_ERROR_CODE = _descriptor.EnumDescriptor(
|
||||
name='Code',
|
||||
full_name='pb.Error.Code',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
values=[
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='UNKNOWN_CODE', index=0, number=0,
|
||||
serialized_options=None,
|
||||
type=None),
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='NOT_FOUND', index=1, number=1,
|
||||
serialized_options=None,
|
||||
type=None),
|
||||
_descriptor.EnumValueDescriptor(
|
||||
name='INVALID', index=2, number=2,
|
||||
serialized_options=None,
|
||||
type=None),
|
||||
],
|
||||
containing_type=None,
|
||||
serialized_options=None,
|
||||
serialized_start=732,
|
||||
serialized_end=784,
|
||||
)
|
||||
_sym_db.RegisterEnumDescriptor(_ERROR_CODE)
|
||||
|
||||
|
||||
_OUTPUTS = _descriptor.Descriptor(
|
||||
name='Outputs',
|
||||
full_name='pb.Outputs',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='txos', full_name='pb.Outputs.txos', index=0,
|
||||
number=1, type=11, cpp_type=10, label=3,
|
||||
has_default_value=False, default_value=[],
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='extra_txos', full_name='pb.Outputs.extra_txos', index=1,
|
||||
number=2, type=11, cpp_type=10, label=3,
|
||||
has_default_value=False, default_value=[],
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='total', full_name='pb.Outputs.total', index=2,
|
||||
number=3, type=13, cpp_type=3, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='offset', full_name='pb.Outputs.offset', index=3,
|
||||
number=4, type=13, cpp_type=3, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto3',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=20,
|
||||
serialized_end=118,
|
||||
)
|
||||
|
||||
|
||||
_OUTPUT = _descriptor.Descriptor(
|
||||
name='Output',
|
||||
full_name='pb.Output',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='tx_hash', full_name='pb.Output.tx_hash', index=0,
|
||||
number=1, type=12, cpp_type=9, label=1,
|
||||
has_default_value=False, default_value=_b(""),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='nout', full_name='pb.Output.nout', index=1,
|
||||
number=2, type=13, cpp_type=3, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='height', full_name='pb.Output.height', index=2,
|
||||
number=3, type=13, cpp_type=3, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='claim', full_name='pb.Output.claim', index=3,
|
||||
number=7, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='error', full_name='pb.Output.error', index=4,
|
||||
number=15, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto3',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
_descriptor.OneofDescriptor(
|
||||
name='meta', full_name='pb.Output.meta',
|
||||
index=0, containing_type=None, fields=[]),
|
||||
],
|
||||
serialized_start=120,
|
||||
serialized_end=243,
|
||||
)
|
||||
|
||||
|
||||
_CLAIMMETA = _descriptor.Descriptor(
|
||||
name='ClaimMeta',
|
||||
full_name='pb.ClaimMeta',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='channel', full_name='pb.ClaimMeta.channel', index=0,
|
||||
number=1, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='repost', full_name='pb.ClaimMeta.repost', index=1,
|
||||
number=2, type=11, cpp_type=10, label=1,
|
||||
has_default_value=False, default_value=None,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='short_url', full_name='pb.ClaimMeta.short_url', index=2,
|
||||
number=3, type=9, cpp_type=9, label=1,
|
||||
has_default_value=False, default_value=_b("").decode('utf-8'),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='canonical_url', full_name='pb.ClaimMeta.canonical_url', index=3,
|
||||
number=4, type=9, cpp_type=9, label=1,
|
||||
has_default_value=False, default_value=_b("").decode('utf-8'),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='is_controlling', full_name='pb.ClaimMeta.is_controlling', index=4,
|
||||
number=5, type=8, cpp_type=7, label=1,
|
||||
has_default_value=False, default_value=False,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='take_over_height', full_name='pb.ClaimMeta.take_over_height', index=5,
|
||||
number=6, type=13, cpp_type=3, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='creation_height', full_name='pb.ClaimMeta.creation_height', index=6,
|
||||
number=7, type=13, cpp_type=3, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='activation_height', full_name='pb.ClaimMeta.activation_height', index=7,
|
||||
number=8, type=13, cpp_type=3, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='expiration_height', full_name='pb.ClaimMeta.expiration_height', index=8,
|
||||
number=9, type=13, cpp_type=3, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='claims_in_channel', full_name='pb.ClaimMeta.claims_in_channel', index=9,
|
||||
number=10, type=13, cpp_type=3, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='reposted', full_name='pb.ClaimMeta.reposted', index=10,
|
||||
number=11, type=13, cpp_type=3, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='effective_amount', full_name='pb.ClaimMeta.effective_amount', index=11,
|
||||
number=20, type=4, cpp_type=4, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='support_amount', full_name='pb.ClaimMeta.support_amount', index=12,
|
||||
number=21, type=4, cpp_type=4, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='trending_group', full_name='pb.ClaimMeta.trending_group', index=13,
|
||||
number=22, type=13, cpp_type=3, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='trending_mixed', full_name='pb.ClaimMeta.trending_mixed', index=14,
|
||||
number=23, type=2, cpp_type=6, label=1,
|
||||
has_default_value=False, default_value=float(0),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='trending_local', full_name='pb.ClaimMeta.trending_local', index=15,
|
||||
number=24, type=2, cpp_type=6, label=1,
|
||||
has_default_value=False, default_value=float(0),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='trending_global', full_name='pb.ClaimMeta.trending_global', index=16,
|
||||
number=25, type=2, cpp_type=6, label=1,
|
||||
has_default_value=False, default_value=float(0),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto3',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=246,
|
||||
serialized_end=677,
|
||||
)
|
||||
|
||||
|
||||
_ERROR = _descriptor.Descriptor(
|
||||
name='Error',
|
||||
full_name='pb.Error',
|
||||
filename=None,
|
||||
file=DESCRIPTOR,
|
||||
containing_type=None,
|
||||
fields=[
|
||||
_descriptor.FieldDescriptor(
|
||||
name='code', full_name='pb.Error.code', index=0,
|
||||
number=1, type=14, cpp_type=8, label=1,
|
||||
has_default_value=False, default_value=0,
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
_descriptor.FieldDescriptor(
|
||||
name='text', full_name='pb.Error.text', index=1,
|
||||
number=2, type=9, cpp_type=9, label=1,
|
||||
has_default_value=False, default_value=_b("").decode('utf-8'),
|
||||
message_type=None, enum_type=None, containing_type=None,
|
||||
is_extension=False, extension_scope=None,
|
||||
serialized_options=None, file=DESCRIPTOR),
|
||||
],
|
||||
extensions=[
|
||||
],
|
||||
nested_types=[],
|
||||
enum_types=[
|
||||
_ERROR_CODE,
|
||||
],
|
||||
serialized_options=None,
|
||||
is_extendable=False,
|
||||
syntax='proto3',
|
||||
extension_ranges=[],
|
||||
oneofs=[
|
||||
],
|
||||
serialized_start=679,
|
||||
serialized_end=784,
|
||||
)
|
||||
|
||||
_OUTPUTS.fields_by_name['txos'].message_type = _OUTPUT
|
||||
_OUTPUTS.fields_by_name['extra_txos'].message_type = _OUTPUT
|
||||
_OUTPUT.fields_by_name['claim'].message_type = _CLAIMMETA
|
||||
_OUTPUT.fields_by_name['error'].message_type = _ERROR
|
||||
_OUTPUT.oneofs_by_name['meta'].fields.append(
|
||||
_OUTPUT.fields_by_name['claim'])
|
||||
_OUTPUT.fields_by_name['claim'].containing_oneof = _OUTPUT.oneofs_by_name['meta']
|
||||
_OUTPUT.oneofs_by_name['meta'].fields.append(
|
||||
_OUTPUT.fields_by_name['error'])
|
||||
_OUTPUT.fields_by_name['error'].containing_oneof = _OUTPUT.oneofs_by_name['meta']
|
||||
_CLAIMMETA.fields_by_name['channel'].message_type = _OUTPUT
|
||||
_CLAIMMETA.fields_by_name['repost'].message_type = _OUTPUT
|
||||
_ERROR.fields_by_name['code'].enum_type = _ERROR_CODE
|
||||
_ERROR_CODE.containing_type = _ERROR
|
||||
DESCRIPTOR.message_types_by_name['Outputs'] = _OUTPUTS
|
||||
DESCRIPTOR.message_types_by_name['Output'] = _OUTPUT
|
||||
DESCRIPTOR.message_types_by_name['ClaimMeta'] = _CLAIMMETA
|
||||
DESCRIPTOR.message_types_by_name['Error'] = _ERROR
|
||||
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
||||
|
||||
Outputs = _reflection.GeneratedProtocolMessageType('Outputs', (_message.Message,), dict(
|
||||
DESCRIPTOR = _OUTPUTS,
|
||||
__module__ = 'result_pb2'
|
||||
# @@protoc_insertion_point(class_scope:pb.Outputs)
|
||||
))
|
||||
_sym_db.RegisterMessage(Outputs)
|
||||
|
||||
Output = _reflection.GeneratedProtocolMessageType('Output', (_message.Message,), dict(
|
||||
DESCRIPTOR = _OUTPUT,
|
||||
__module__ = 'result_pb2'
|
||||
# @@protoc_insertion_point(class_scope:pb.Output)
|
||||
))
|
||||
_sym_db.RegisterMessage(Output)
|
||||
|
||||
ClaimMeta = _reflection.GeneratedProtocolMessageType('ClaimMeta', (_message.Message,), dict(
|
||||
DESCRIPTOR = _CLAIMMETA,
|
||||
__module__ = 'result_pb2'
|
||||
# @@protoc_insertion_point(class_scope:pb.ClaimMeta)
|
||||
))
|
||||
_sym_db.RegisterMessage(ClaimMeta)
|
||||
|
||||
Error = _reflection.GeneratedProtocolMessageType('Error', (_message.Message,), dict(
|
||||
DESCRIPTOR = _ERROR,
|
||||
__module__ = 'result_pb2'
|
||||
# @@protoc_insertion_point(class_scope:pb.Error)
|
||||
))
|
||||
_sym_db.RegisterMessage(Error)
|
||||
|
||||
|
||||
# @@protoc_insertion_point(module_scope)
|
Loading…
Reference in a new issue