From 715efcf7cb108715cf9bdaca998aafe38452f63d Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Tue, 22 Jan 2019 21:36:02 -0300 Subject: [PATCH 1/2] adds releaseTime --- proto/metadata.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/proto/metadata.proto b/proto/metadata.proto index 618a5f2..8175ec6 100644 --- a/proto/metadata.proto +++ b/proto/metadata.proto @@ -211,4 +211,5 @@ message Metadata { optional string thumbnail = 9; optional string preview = 10; optional string licenseUrl = 11; + optional sint64 releaseTime = 12; } -- 2.45.2 From 6f8a56bd83667c6fe4c6f96c982ed043ea04e306 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Tue, 22 Jan 2019 21:38:10 -0300 Subject: [PATCH 2/2] bump build.sh --- cpp/certificate.pb.h | 4 +- cpp/claim.pb.h | 4 +- cpp/fee.pb.h | 4 +- cpp/metadata.pb.cc | 142 ++++++++----- cpp/metadata.pb.h | 44 +++- cpp/signature.pb.h | 4 +- cpp/source.pb.h | 4 +- cpp/stream.pb.h | 4 +- go/metadata.pb.go | 133 ++++++------ js/metadata_pb.js | 43 +++- python/certificate_pb2.py | 26 +-- python/claim_pb2.py | 28 +-- python/fee_pb2.py | 28 +-- python/metadata_pb2.py | 429 +++++++++++++++++++------------------- python/signature_pb2.py | 18 +- python/source_pb2.py | 24 +-- python/stream_pb2.py | 16 +- 17 files changed, 542 insertions(+), 413 deletions(-) diff --git a/cpp/certificate.pb.h b/cpp/certificate.pb.h index abae66c..e2c47f2 100644 --- a/cpp/certificate.pb.h +++ b/cpp/certificate.pb.h @@ -8,12 +8,12 @@ #include -#if GOOGLE_PROTOBUF_VERSION < 3006000 +#if GOOGLE_PROTOBUF_VERSION < 3006001 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif -#if 3006000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. diff --git a/cpp/claim.pb.h b/cpp/claim.pb.h index 9f29c90..8531254 100644 --- a/cpp/claim.pb.h +++ b/cpp/claim.pb.h @@ -8,12 +8,12 @@ #include -#if GOOGLE_PROTOBUF_VERSION < 3006000 +#if GOOGLE_PROTOBUF_VERSION < 3006001 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif -#if 3006000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. diff --git a/cpp/fee.pb.h b/cpp/fee.pb.h index e675435..3040ee5 100644 --- a/cpp/fee.pb.h +++ b/cpp/fee.pb.h @@ -8,12 +8,12 @@ #include -#if GOOGLE_PROTOBUF_VERSION < 3006000 +#if GOOGLE_PROTOBUF_VERSION < 3006001 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif -#if 3006000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. diff --git a/cpp/metadata.pb.cc b/cpp/metadata.pb.cc index c14c70f..2116bd0 100644 --- a/cpp/metadata.pb.cc +++ b/cpp/metadata.pb.cc @@ -69,20 +69,22 @@ const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUT GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pb::Metadata, thumbnail_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pb::Metadata, preview_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pb::Metadata, licenseurl_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::pb::Metadata, releasetime_), 8, 9, 0, 1, 2, 3, - 10, + 11, 7, 4, 5, 6, + 10, }; static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - { 0, 16, sizeof(::pb::Metadata)}, + { 0, 17, sizeof(::pb::Metadata)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -110,58 +112,58 @@ void protobuf_RegisterTypes(const ::std::string&) { void AddDescriptorsImpl() { InitDefaults(); static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - "\n\016metadata.proto\022\002pb\032\tfee.proto\"\347\016\n\010Meta" + "\n\016metadata.proto\022\002pb\032\tfee.proto\"\374\016\n\010Meta" "data\022%\n\007version\030\001 \002(\0162\024.pb.Metadata.Vers" "ion\022\'\n\010language\030\002 \002(\0162\025.pb.Metadata.Lang" "uage\022\r\n\005title\030\003 \002(\t\022\023\n\013description\030\004 \002(\t" "\022\016\n\006author\030\005 \002(\t\022\017\n\007license\030\006 \002(\t\022\014\n\004nsf" "w\030\007 \002(\010\022\024\n\003fee\030\010 \001(\0132\007.pb.Fee\022\021\n\tthumbna" "il\030\t \001(\t\022\017\n\007preview\030\n \001(\t\022\022\n\nlicenseUrl\030" - "\013 \001(\t\"N\n\007Version\022\023\n\017UNKNOWN_VERSION\020\000\022\n\n" - "\006_0_0_1\020\001\022\n\n\006_0_0_2\020\002\022\n\n\006_0_0_3\020\003\022\n\n\006_0_" - "1_0\020\004\"\231\014\n\010Language\022\024\n\020UNKNOWN_LANGUAGE\020\000" - "\022\006\n\002en\020\001\022\006\n\002aa\020\002\022\006\n\002ab\020\003\022\006\n\002ae\020\004\022\006\n\002af\020\005" - "\022\006\n\002ak\020\006\022\006\n\002am\020\007\022\006\n\002an\020\010\022\006\n\002ar\020\t\022\006\n\002as\020\n" - "\022\006\n\002av\020\013\022\006\n\002ay\020\014\022\006\n\002az\020\r\022\006\n\002ba\020\016\022\006\n\002be\020\017" - "\022\006\n\002bg\020\020\022\006\n\002bh\020\021\022\006\n\002bi\020\022\022\006\n\002bm\020\023\022\006\n\002bn\020\024" - "\022\006\n\002bo\020\025\022\006\n\002br\020\026\022\006\n\002bs\020\027\022\006\n\002ca\020\030\022\006\n\002ce\020\031" - "\022\006\n\002ch\020\032\022\006\n\002co\020\033\022\006\n\002cr\020\034\022\006\n\002cs\020\035\022\006\n\002cu\020\036" - "\022\006\n\002cv\020\037\022\006\n\002cy\020 \022\006\n\002da\020!\022\006\n\002de\020\"\022\006\n\002dv\020#" - "\022\006\n\002dz\020$\022\006\n\002ee\020%\022\006\n\002el\020&\022\006\n\002eo\020\'\022\006\n\002es\020(" - "\022\006\n\002et\020)\022\006\n\002eu\020*\022\006\n\002fa\020+\022\006\n\002ff\020,\022\006\n\002fi\020-" - "\022\006\n\002fj\020.\022\006\n\002fo\020/\022\006\n\002fr\0200\022\006\n\002fy\0201\022\006\n\002ga\0202" - "\022\006\n\002gd\0203\022\006\n\002gl\0204\022\006\n\002gn\0205\022\006\n\002gu\0206\022\006\n\002gv\0207" - "\022\006\n\002ha\0208\022\006\n\002he\0209\022\006\n\002hi\020:\022\006\n\002ho\020;\022\006\n\002hr\020<" - "\022\006\n\002ht\020=\022\006\n\002hu\020>\022\006\n\002hy\020\?\022\006\n\002hz\020@\022\006\n\002ia\020A" - "\022\006\n\002id\020B\022\006\n\002ie\020C\022\006\n\002ig\020D\022\006\n\002ii\020E\022\006\n\002ik\020F" - "\022\006\n\002io\020G\022\006\n\002is\020H\022\006\n\002it\020I\022\006\n\002iu\020J\022\006\n\002ja\020K" - "\022\006\n\002jv\020L\022\006\n\002ka\020M\022\006\n\002kg\020N\022\006\n\002ki\020O\022\006\n\002kj\020P" - "\022\006\n\002kk\020Q\022\006\n\002kl\020R\022\006\n\002km\020S\022\006\n\002kn\020T\022\006\n\002ko\020U" - "\022\006\n\002kr\020V\022\006\n\002ks\020W\022\006\n\002ku\020X\022\006\n\002kv\020Y\022\006\n\002kw\020Z" - "\022\006\n\002ky\020[\022\006\n\002la\020\\\022\006\n\002lb\020]\022\006\n\002lg\020^\022\006\n\002li\020_" - "\022\006\n\002ln\020`\022\006\n\002lo\020a\022\006\n\002lt\020b\022\006\n\002lu\020c\022\006\n\002lv\020d" - "\022\006\n\002mg\020e\022\006\n\002mh\020f\022\006\n\002mi\020g\022\006\n\002mk\020h\022\006\n\002ml\020i" - "\022\006\n\002mn\020j\022\006\n\002mr\020k\022\006\n\002ms\020l\022\006\n\002mt\020m\022\006\n\002my\020n" - "\022\006\n\002na\020o\022\006\n\002nb\020p\022\006\n\002nd\020q\022\006\n\002ne\020r\022\006\n\002ng\020s" - "\022\006\n\002nl\020t\022\006\n\002nn\020u\022\006\n\002no\020v\022\006\n\002nr\020w\022\006\n\002nv\020x" - "\022\006\n\002ny\020y\022\006\n\002oc\020z\022\006\n\002oj\020{\022\006\n\002om\020|\022\006\n\002or\020}" - "\022\006\n\002os\020~\022\006\n\002pa\020\177\022\007\n\002pi\020\200\001\022\007\n\002pl\020\201\001\022\007\n\002ps" - "\020\202\001\022\007\n\002pt\020\203\001\022\007\n\002qu\020\204\001\022\007\n\002rm\020\205\001\022\007\n\002rn\020\206\001\022" - "\007\n\002ro\020\207\001\022\007\n\002ru\020\210\001\022\007\n\002rw\020\211\001\022\007\n\002sa\020\212\001\022\007\n\002s" - "c\020\213\001\022\007\n\002sd\020\214\001\022\007\n\002se\020\215\001\022\007\n\002sg\020\216\001\022\007\n\002si\020\217\001" - "\022\007\n\002sk\020\220\001\022\007\n\002sl\020\221\001\022\007\n\002sm\020\222\001\022\007\n\002sn\020\223\001\022\007\n\002" - "so\020\224\001\022\007\n\002sq\020\225\001\022\007\n\002sr\020\226\001\022\007\n\002ss\020\227\001\022\007\n\002st\020\230" - "\001\022\007\n\002su\020\231\001\022\007\n\002sv\020\232\001\022\007\n\002sw\020\233\001\022\007\n\002ta\020\234\001\022\007\n" - "\002te\020\235\001\022\007\n\002tg\020\236\001\022\007\n\002th\020\237\001\022\007\n\002ti\020\240\001\022\007\n\002tk\020" - "\241\001\022\007\n\002tl\020\242\001\022\007\n\002tn\020\243\001\022\007\n\002to\020\244\001\022\007\n\002tr\020\245\001\022\007" - "\n\002ts\020\246\001\022\007\n\002tt\020\247\001\022\007\n\002tw\020\250\001\022\007\n\002ty\020\251\001\022\007\n\002ug" - "\020\252\001\022\007\n\002uk\020\253\001\022\007\n\002ur\020\254\001\022\007\n\002uz\020\255\001\022\007\n\002ve\020\256\001\022" - "\007\n\002vi\020\257\001\022\007\n\002vo\020\260\001\022\007\n\002wa\020\261\001\022\007\n\002wo\020\262\001\022\007\n\002x" - "h\020\263\001\022\007\n\002yi\020\264\001\022\007\n\002yo\020\265\001\022\007\n\002za\020\266\001\022\007\n\002zh\020\267\001" - "\022\007\n\002zu\020\270\001" + "\013 \001(\t\022\023\n\013releaseTime\030\014 \001(\022\"N\n\007Version\022\023\n" + "\017UNKNOWN_VERSION\020\000\022\n\n\006_0_0_1\020\001\022\n\n\006_0_0_2" + "\020\002\022\n\n\006_0_0_3\020\003\022\n\n\006_0_1_0\020\004\"\231\014\n\010Language\022" + "\024\n\020UNKNOWN_LANGUAGE\020\000\022\006\n\002en\020\001\022\006\n\002aa\020\002\022\006\n" + "\002ab\020\003\022\006\n\002ae\020\004\022\006\n\002af\020\005\022\006\n\002ak\020\006\022\006\n\002am\020\007\022\006\n" + "\002an\020\010\022\006\n\002ar\020\t\022\006\n\002as\020\n\022\006\n\002av\020\013\022\006\n\002ay\020\014\022\006\n" + "\002az\020\r\022\006\n\002ba\020\016\022\006\n\002be\020\017\022\006\n\002bg\020\020\022\006\n\002bh\020\021\022\006\n" + "\002bi\020\022\022\006\n\002bm\020\023\022\006\n\002bn\020\024\022\006\n\002bo\020\025\022\006\n\002br\020\026\022\006\n" + "\002bs\020\027\022\006\n\002ca\020\030\022\006\n\002ce\020\031\022\006\n\002ch\020\032\022\006\n\002co\020\033\022\006\n" + "\002cr\020\034\022\006\n\002cs\020\035\022\006\n\002cu\020\036\022\006\n\002cv\020\037\022\006\n\002cy\020 \022\006\n" + "\002da\020!\022\006\n\002de\020\"\022\006\n\002dv\020#\022\006\n\002dz\020$\022\006\n\002ee\020%\022\006\n" + "\002el\020&\022\006\n\002eo\020\'\022\006\n\002es\020(\022\006\n\002et\020)\022\006\n\002eu\020*\022\006\n" + "\002fa\020+\022\006\n\002ff\020,\022\006\n\002fi\020-\022\006\n\002fj\020.\022\006\n\002fo\020/\022\006\n" + "\002fr\0200\022\006\n\002fy\0201\022\006\n\002ga\0202\022\006\n\002gd\0203\022\006\n\002gl\0204\022\006\n" + "\002gn\0205\022\006\n\002gu\0206\022\006\n\002gv\0207\022\006\n\002ha\0208\022\006\n\002he\0209\022\006\n" + "\002hi\020:\022\006\n\002ho\020;\022\006\n\002hr\020<\022\006\n\002ht\020=\022\006\n\002hu\020>\022\006\n" + "\002hy\020\?\022\006\n\002hz\020@\022\006\n\002ia\020A\022\006\n\002id\020B\022\006\n\002ie\020C\022\006\n" + "\002ig\020D\022\006\n\002ii\020E\022\006\n\002ik\020F\022\006\n\002io\020G\022\006\n\002is\020H\022\006\n" + "\002it\020I\022\006\n\002iu\020J\022\006\n\002ja\020K\022\006\n\002jv\020L\022\006\n\002ka\020M\022\006\n" + "\002kg\020N\022\006\n\002ki\020O\022\006\n\002kj\020P\022\006\n\002kk\020Q\022\006\n\002kl\020R\022\006\n" + "\002km\020S\022\006\n\002kn\020T\022\006\n\002ko\020U\022\006\n\002kr\020V\022\006\n\002ks\020W\022\006\n" + "\002ku\020X\022\006\n\002kv\020Y\022\006\n\002kw\020Z\022\006\n\002ky\020[\022\006\n\002la\020\\\022\006\n" + "\002lb\020]\022\006\n\002lg\020^\022\006\n\002li\020_\022\006\n\002ln\020`\022\006\n\002lo\020a\022\006\n" + "\002lt\020b\022\006\n\002lu\020c\022\006\n\002lv\020d\022\006\n\002mg\020e\022\006\n\002mh\020f\022\006\n" + "\002mi\020g\022\006\n\002mk\020h\022\006\n\002ml\020i\022\006\n\002mn\020j\022\006\n\002mr\020k\022\006\n" + "\002ms\020l\022\006\n\002mt\020m\022\006\n\002my\020n\022\006\n\002na\020o\022\006\n\002nb\020p\022\006\n" + "\002nd\020q\022\006\n\002ne\020r\022\006\n\002ng\020s\022\006\n\002nl\020t\022\006\n\002nn\020u\022\006\n" + "\002no\020v\022\006\n\002nr\020w\022\006\n\002nv\020x\022\006\n\002ny\020y\022\006\n\002oc\020z\022\006\n" + "\002oj\020{\022\006\n\002om\020|\022\006\n\002or\020}\022\006\n\002os\020~\022\006\n\002pa\020\177\022\007\n" + "\002pi\020\200\001\022\007\n\002pl\020\201\001\022\007\n\002ps\020\202\001\022\007\n\002pt\020\203\001\022\007\n\002qu\020" + "\204\001\022\007\n\002rm\020\205\001\022\007\n\002rn\020\206\001\022\007\n\002ro\020\207\001\022\007\n\002ru\020\210\001\022\007" + "\n\002rw\020\211\001\022\007\n\002sa\020\212\001\022\007\n\002sc\020\213\001\022\007\n\002sd\020\214\001\022\007\n\002se" + "\020\215\001\022\007\n\002sg\020\216\001\022\007\n\002si\020\217\001\022\007\n\002sk\020\220\001\022\007\n\002sl\020\221\001\022" + "\007\n\002sm\020\222\001\022\007\n\002sn\020\223\001\022\007\n\002so\020\224\001\022\007\n\002sq\020\225\001\022\007\n\002s" + "r\020\226\001\022\007\n\002ss\020\227\001\022\007\n\002st\020\230\001\022\007\n\002su\020\231\001\022\007\n\002sv\020\232\001" + "\022\007\n\002sw\020\233\001\022\007\n\002ta\020\234\001\022\007\n\002te\020\235\001\022\007\n\002tg\020\236\001\022\007\n\002" + "th\020\237\001\022\007\n\002ti\020\240\001\022\007\n\002tk\020\241\001\022\007\n\002tl\020\242\001\022\007\n\002tn\020\243" + "\001\022\007\n\002to\020\244\001\022\007\n\002tr\020\245\001\022\007\n\002ts\020\246\001\022\007\n\002tt\020\247\001\022\007\n" + "\002tw\020\250\001\022\007\n\002ty\020\251\001\022\007\n\002ug\020\252\001\022\007\n\002uk\020\253\001\022\007\n\002ur\020" + "\254\001\022\007\n\002uz\020\255\001\022\007\n\002ve\020\256\001\022\007\n\002vi\020\257\001\022\007\n\002vo\020\260\001\022\007" + "\n\002wa\020\261\001\022\007\n\002wo\020\262\001\022\007\n\002xh\020\263\001\022\007\n\002yi\020\264\001\022\007\n\002yo" + "\020\265\001\022\007\n\002za\020\266\001\022\007\n\002zh\020\267\001\022\007\n\002zu\020\270\001" }; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - descriptor, 1929); + descriptor, 1950); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "metadata.proto", &protobuf_RegisterTypes); ::protobuf_fee_2eproto::AddDescriptors(); @@ -616,6 +618,7 @@ const int Metadata::kFeeFieldNumber; const int Metadata::kThumbnailFieldNumber; const int Metadata::kPreviewFieldNumber; const int Metadata::kLicenseUrlFieldNumber; +const int Metadata::kReleaseTimeFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 Metadata::Metadata() @@ -746,7 +749,7 @@ void Metadata::Clear() { fee_->Clear(); } } - if (cached_has_bits & 1792u) { + if (cached_has_bits & 3840u) { ::memset(&version_, 0, static_cast( reinterpret_cast(&nsfw_) - reinterpret_cast(&version_)) + sizeof(nsfw_)); @@ -943,6 +946,20 @@ bool Metadata::MergePartialFromCodedStream( break; } + // optional sint64 releaseTime = 12; + case 12: { + if (static_cast< ::google::protobuf::uint8>(tag) == + static_cast< ::google::protobuf::uint8>(96u /* 96 & 0xFF */)) { + set_has_releasetime(); + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_SINT64>( + input, &releasetime_))); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -1023,7 +1040,7 @@ void Metadata::SerializeWithCachedSizes( } // required bool nsfw = 7; - if (cached_has_bits & 0x00000400u) { + if (cached_has_bits & 0x00000800u) { ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->nsfw(), output); } @@ -1063,6 +1080,11 @@ void Metadata::SerializeWithCachedSizes( 11, this->licenseurl(), output); } + // optional sint64 releaseTime = 12; + if (cached_has_bits & 0x00000400u) { + ::google::protobuf::internal::WireFormatLite::WriteSInt64(12, this->releasetime(), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -1135,7 +1157,7 @@ void Metadata::SerializeWithCachedSizes( } // required bool nsfw = 7; - if (cached_has_bits & 0x00000400u) { + if (cached_has_bits & 0x00000800u) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->nsfw(), target); } @@ -1179,6 +1201,11 @@ void Metadata::SerializeWithCachedSizes( 11, this->licenseurl(), target); } + // optional sint64 releaseTime = 12; + if (cached_has_bits & 0x00000400u) { + target = ::google::protobuf::internal::WireFormatLite::WriteSInt64ToArray(12, this->releasetime(), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -1247,7 +1274,7 @@ size_t Metadata::ByteSizeLong() const { ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } - if (((_has_bits_[0] & 0x0000070f) ^ 0x0000070f) == 0) { // All required fields are present. + if (((_has_bits_[0] & 0x00000b0f) ^ 0x00000b0f) == 0) { // All required fields are present. // required string title = 3; total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( @@ -1312,6 +1339,13 @@ size_t Metadata::ByteSizeLong() const { } } + // optional sint64 releaseTime = 12; + if (has_releasetime()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::SInt64Size( + this->releasetime()); + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; @@ -1373,7 +1407,7 @@ void Metadata::MergeFrom(const Metadata& from) { mutable_fee()->::pb::Fee::MergeFrom(from.fee()); } } - if (cached_has_bits & 1792u) { + if (cached_has_bits & 3840u) { if (cached_has_bits & 0x00000100u) { version_ = from.version_; } @@ -1381,6 +1415,9 @@ void Metadata::MergeFrom(const Metadata& from) { language_ = from.language_; } if (cached_has_bits & 0x00000400u) { + releasetime_ = from.releasetime_; + } + if (cached_has_bits & 0x00000800u) { nsfw_ = from.nsfw_; } _has_bits_[0] |= cached_has_bits; @@ -1402,7 +1439,7 @@ void Metadata::CopyFrom(const Metadata& from) { } bool Metadata::IsInitialized() const { - if ((_has_bits_[0] & 0x0000070f) != 0x0000070f) return false; + if ((_has_bits_[0] & 0x00000b0f) != 0x00000b0f) return false; if (has_fee()) { if (!this->fee_->IsInitialized()) return false; } @@ -1432,6 +1469,7 @@ void Metadata::InternalSwap(Metadata* other) { swap(fee_, other->fee_); swap(version_, other->version_); swap(language_, other->language_); + swap(releasetime_, other->releasetime_); swap(nsfw_, other->nsfw_); swap(_has_bits_[0], other->_has_bits_[0]); _internal_metadata_.Swap(&other->_internal_metadata_); diff --git a/cpp/metadata.pb.h b/cpp/metadata.pb.h index e028e81..127b5f6 100644 --- a/cpp/metadata.pb.h +++ b/cpp/metadata.pb.h @@ -8,12 +8,12 @@ #include -#if GOOGLE_PROTOBUF_VERSION < 3006000 +#if GOOGLE_PROTOBUF_VERSION < 3006001 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif -#if 3006000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. @@ -934,6 +934,13 @@ class Metadata : public ::google::protobuf::Message /* @@protoc_insertion_point( ::pb::Metadata_Language language() const; void set_language(::pb::Metadata_Language value); + // optional sint64 releaseTime = 12; + bool has_releasetime() const; + void clear_releasetime(); + static const int kReleaseTimeFieldNumber = 12; + ::google::protobuf::int64 releasetime() const; + void set_releasetime(::google::protobuf::int64 value); + // required bool nsfw = 7; bool has_nsfw() const; void clear_nsfw(); @@ -965,6 +972,8 @@ class Metadata : public ::google::protobuf::Message /* @@protoc_insertion_point( void clear_has_preview(); void set_has_licenseurl(); void clear_has_licenseurl(); + void set_has_releasetime(); + void clear_has_releasetime(); // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; @@ -982,6 +991,7 @@ class Metadata : public ::google::protobuf::Message /* @@protoc_insertion_point( ::pb::Fee* fee_; int version_; int language_; + ::google::protobuf::int64 releasetime_; bool nsfw_; friend struct ::protobuf_metadata_2eproto::TableStruct; }; @@ -1312,13 +1322,13 @@ inline void Metadata::set_allocated_license(::std::string* license) { // required bool nsfw = 7; inline bool Metadata::has_nsfw() const { - return (_has_bits_[0] & 0x00000400u) != 0; + return (_has_bits_[0] & 0x00000800u) != 0; } inline void Metadata::set_has_nsfw() { - _has_bits_[0] |= 0x00000400u; + _has_bits_[0] |= 0x00000800u; } inline void Metadata::clear_has_nsfw() { - _has_bits_[0] &= ~0x00000400u; + _has_bits_[0] &= ~0x00000800u; } inline void Metadata::clear_nsfw() { nsfw_ = false; @@ -1586,6 +1596,30 @@ inline void Metadata::set_allocated_licenseurl(::std::string* licenseurl) { // @@protoc_insertion_point(field_set_allocated:pb.Metadata.licenseUrl) } +// optional sint64 releaseTime = 12; +inline bool Metadata::has_releasetime() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void Metadata::set_has_releasetime() { + _has_bits_[0] |= 0x00000400u; +} +inline void Metadata::clear_has_releasetime() { + _has_bits_[0] &= ~0x00000400u; +} +inline void Metadata::clear_releasetime() { + releasetime_ = GOOGLE_LONGLONG(0); + clear_has_releasetime(); +} +inline ::google::protobuf::int64 Metadata::releasetime() const { + // @@protoc_insertion_point(field_get:pb.Metadata.releaseTime) + return releasetime_; +} +inline void Metadata::set_releasetime(::google::protobuf::int64 value) { + set_has_releasetime(); + releasetime_ = value; + // @@protoc_insertion_point(field_set:pb.Metadata.releaseTime) +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ diff --git a/cpp/signature.pb.h b/cpp/signature.pb.h index 01d1311..023aa4c 100644 --- a/cpp/signature.pb.h +++ b/cpp/signature.pb.h @@ -8,12 +8,12 @@ #include -#if GOOGLE_PROTOBUF_VERSION < 3006000 +#if GOOGLE_PROTOBUF_VERSION < 3006001 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif -#if 3006000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. diff --git a/cpp/source.pb.h b/cpp/source.pb.h index 9d90e47..6edd366 100644 --- a/cpp/source.pb.h +++ b/cpp/source.pb.h @@ -8,12 +8,12 @@ #include -#if GOOGLE_PROTOBUF_VERSION < 3006000 +#if GOOGLE_PROTOBUF_VERSION < 3006001 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif -#if 3006000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. diff --git a/cpp/stream.pb.h b/cpp/stream.pb.h index 9027cb0..80636f4 100644 --- a/cpp/stream.pb.h +++ b/cpp/stream.pb.h @@ -8,12 +8,12 @@ #include -#if GOOGLE_PROTOBUF_VERSION < 3006000 +#if GOOGLE_PROTOBUF_VERSION < 3006001 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif -#if 3006000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. diff --git a/go/metadata.pb.go b/go/metadata.pb.go index cc6c601..10ae687 100644 --- a/go/metadata.pb.go +++ b/go/metadata.pb.go @@ -650,6 +650,7 @@ type Metadata struct { Thumbnail *string `protobuf:"bytes,9,opt,name=thumbnail" json:"thumbnail,omitempty"` Preview *string `protobuf:"bytes,10,opt,name=preview" json:"preview,omitempty"` LicenseUrl *string `protobuf:"bytes,11,opt,name=licenseUrl" json:"licenseUrl,omitempty"` + ReleaseTime *int64 `protobuf:"zigzag64,12,opt,name=releaseTime" json:"releaseTime,omitempty"` XXX_unrecognized []byte `json:"-"` } @@ -735,6 +736,13 @@ func (m *Metadata) GetLicenseUrl() string { return "" } +func (m *Metadata) GetReleaseTime() int64 { + if m != nil && m.ReleaseTime != nil { + return *m.ReleaseTime + } + return 0 +} + func init() { proto.RegisterType((*Metadata)(nil), "pb.Metadata") proto.RegisterEnum("pb.Metadata_Version", Metadata_Version_name, Metadata_Version_value) @@ -744,66 +752,67 @@ func init() { func init() { proto.RegisterFile("metadata.proto", fileDescriptor3) } var fileDescriptor3 = []byte{ - // 966 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0xd0, 0xe7, 0x7a, 0x1a, 0x47, - 0x1b, 0xc6, 0x71, 0x83, 0x64, 0x01, 0x2b, 0xbf, 0xf6, 0xfd, 0xae, 0x4b, 0xd6, 0x8e, 0xe3, 0x10, - 0xa5, 0x91, 0x46, 0x24, 0x39, 0xbd, 0x3b, 0x89, 0xac, 0x38, 0x96, 0x51, 0x82, 0x23, 0x39, 0x9d, - 0x0c, 0x30, 0x2c, 0x2b, 0x96, 0x5d, 0xb4, 0x0d, 0x43, 0x7a, 0xef, 0xbd, 0x3a, 0xbd, 0xf7, 0xde, - 0x8f, 0x21, 0x47, 0x95, 0x6b, 0xef, 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xc6, 0x8b, - 0x12, 0x36, 0x5e, 0x92, 0x70, 0xf0, 0xb2, 0x44, 0x07, 0xaf, 0x48, 0xb8, 0x78, 0x55, 0xa2, 0x8b, - 0xd7, 0x24, 0x3c, 0xbc, 0x2e, 0xe1, 0xe3, 0x0d, 0x89, 0x55, 0xbc, 0x29, 0x11, 0xe0, 0x2d, 0x89, - 0x10, 0x6f, 0x4b, 0x44, 0x78, 0x47, 0x22, 0xc6, 0x31, 0x89, 0x04, 0xef, 0x4a, 0xf4, 0xf1, 0x1e, - 0x23, 0x52, 0x78, 0x5f, 0x42, 0xe3, 0x03, 0x09, 0x1b, 0x1f, 0x4a, 0xb4, 0xf1, 0x91, 0x84, 0x83, - 0x8f, 0x25, 0x3a, 0xf8, 0x44, 0xc2, 0xc5, 0xa7, 0x12, 0x1e, 0x3e, 0x93, 0xf0, 0xf1, 0xb9, 0x44, - 0x80, 0x2f, 0x24, 0x42, 0x7c, 0x29, 0x11, 0xe1, 0x2b, 0x89, 0x3e, 0xbe, 0x96, 0x18, 0xe0, 0x1b, - 0x46, 0x6c, 0xe3, 0x5b, 0x89, 0x0e, 0xbe, 0x93, 0x08, 0xf0, 0xbd, 0xc4, 0x10, 0x3f, 0x30, 0x12, - 0x8d, 0x1f, 0x25, 0x1c, 0xfc, 0x24, 0xe1, 0xe3, 0x67, 0x46, 0x5f, 0xe1, 0x17, 0x09, 0x1f, 0xbf, - 0x32, 0x8e, 0xb6, 0xf1, 0x1b, 0x63, 0xe0, 0xe0, 0x77, 0x09, 0x1f, 0x7f, 0x30, 0x86, 0x0a, 0x7f, - 0x4a, 0xb4, 0xf1, 0x97, 0x44, 0x8c, 0xbf, 0x33, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xf4, 0x66, - 0xd9, 0x2b, 0xec, 0x07, 0x00, 0x00, + // 984 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0xd0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 0x80, 0x41, 0xaa, 0xdf, 0xc0, 0x90, 0x2e, 0xe1, 0x01, 0xda, + 0xc5, 0x83, 0x34, 0xc0, 0x43, 0x34, 0xc4, 0xc3, 0xa9, 0x3d, 0x85, 0x47, 0xcc, 0x9c, 0x91, 0xed, + 0x39, 0x78, 0x34, 0xc3, 0x70, 0xf1, 0x98, 0x44, 0x88, 0xc7, 0x25, 0x22, 0x3c, 0xc1, 0x58, 0x8e, + 0xf1, 0x24, 0x23, 0xe8, 0xe2, 0x29, 0x09, 0x0f, 0x4f, 0x4b, 0xf8, 0x78, 0x46, 0x22, 0xc6, 0xb3, + 0x12, 0x7d, 0x3c, 0xc7, 0x08, 0x15, 0x9e, 0x97, 0x68, 0xe0, 0x05, 0x89, 0x26, 0x5e, 0x94, 0xd0, + 0x78, 0x49, 0xc2, 0xc6, 0xcb, 0x12, 0x0e, 0x5e, 0x91, 0xe8, 0xe0, 0x55, 0x09, 0x17, 0xaf, 0x49, + 0x74, 0xf1, 0xba, 0x84, 0x87, 0x37, 0x24, 0x7c, 0xbc, 0x29, 0xb1, 0x8c, 0xb7, 0x24, 0x02, 0xbc, + 0x2d, 0x11, 0xe2, 0x1d, 0x89, 0x08, 0xef, 0x4a, 0xc4, 0x38, 0x2e, 0x91, 0xe0, 0x3d, 0x89, 0x3e, + 0xde, 0x67, 0x44, 0x0a, 0x1f, 0x48, 0x68, 0x7c, 0x28, 0x61, 0xe3, 0x23, 0x89, 0x36, 0x3e, 0x96, + 0x70, 0xf0, 0x89, 0x44, 0x07, 0x9f, 0x4a, 0xb8, 0xf8, 0x4c, 0xc2, 0xc3, 0xe7, 0x12, 0x3e, 0xbe, + 0x90, 0x08, 0xf0, 0xa5, 0x44, 0x88, 0xaf, 0x24, 0x22, 0x7c, 0x2d, 0xd1, 0xc7, 0x37, 0x12, 0x03, + 0x7c, 0xcb, 0x88, 0x6d, 0x7c, 0x27, 0xd1, 0xc1, 0xf7, 0x12, 0x01, 0x7e, 0x90, 0x18, 0xe2, 0x47, + 0x46, 0xa2, 0xf1, 0x93, 0x84, 0x83, 0x9f, 0x25, 0x7c, 0xfc, 0xc2, 0xe8, 0x2b, 0xfc, 0x2a, 0xe1, + 0xe3, 0x37, 0xc6, 0xb1, 0x36, 0x7e, 0x67, 0x0c, 0x1c, 0xfc, 0x21, 0xe1, 0xe3, 0x4f, 0xc6, 0x50, + 0xe1, 0x2f, 0x89, 0x36, 0xfe, 0x96, 0x88, 0xf1, 0x4f, 0xe6, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, + 0xc0, 0x79, 0xbe, 0x78, 0x0e, 0x08, 0x00, 0x00, } diff --git a/js/metadata_pb.js b/js/metadata_pb.js index 7bb120a..fb6c2d4 100644 --- a/js/metadata_pb.js +++ b/js/metadata_pb.js @@ -72,7 +72,8 @@ proto.pb.Metadata.toObject = function(includeInstance, msg) { fee: (f = msg.getFee()) && fee_pb.Fee.toObject(includeInstance, f), thumbnail: jspb.Message.getField(msg, 9), preview: jspb.Message.getField(msg, 10), - licenseurl: jspb.Message.getField(msg, 11) + licenseurl: jspb.Message.getField(msg, 11), + releasetime: jspb.Message.getField(msg, 12) }; if (includeInstance) { @@ -154,6 +155,10 @@ proto.pb.Metadata.deserializeBinaryFromReader = function(msg, reader) { var value = /** @type {string} */ (reader.readString()); msg.setLicenseurl(value); break; + case 12: + var value = /** @type {number} */ (reader.readSint64()); + msg.setReleasetime(value); + break; default: reader.skipField(); break; @@ -261,6 +266,13 @@ proto.pb.Metadata.serializeBinaryToWriter = function(message, writer) { f ); } + f = /** @type {number} */ (jspb.Message.getField(message, 12)); + if (f != null) { + writer.writeSint64( + 12, + f + ); + } }; @@ -788,4 +800,33 @@ proto.pb.Metadata.prototype.hasLicenseurl = function() { }; +/** + * optional sint64 releaseTime = 12; + * @return {number} + */ +proto.pb.Metadata.prototype.getReleasetime = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0)); +}; + + +/** @param {number} value */ +proto.pb.Metadata.prototype.setReleasetime = function(value) { + jspb.Message.setField(this, 12, value); +}; + + +proto.pb.Metadata.prototype.clearReleasetime = function() { + jspb.Message.setField(this, 12, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {!boolean} + */ +proto.pb.Metadata.prototype.hasReleasetime = function() { + return jspb.Message.getField(this, 12) != null; +}; + + goog.object.extend(exports, proto.pb); diff --git a/python/certificate_pb2.py b/python/certificate_pb2.py index 1f5cbb8..176b25f 100644 --- a/python/certificate_pb2.py +++ b/python/certificate_pb2.py @@ -8,7 +8,6 @@ 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 -from google.protobuf import descriptor_pb2 # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,6 +19,7 @@ DESCRIPTOR = _descriptor.FileDescriptor( name='certificate.proto', package='pb', syntax='proto2', + serialized_options=None, serialized_pb=_b('\n\x11\x63\x65rtificate.proto\x12\x02pb\"\x94\x01\n\x0b\x43\x65rtificate\x12(\n\x07version\x18\x01 \x02(\x0e\x32\x17.pb.Certificate.Version\x12\x1c\n\x07keyType\x18\x02 \x02(\x0e\x32\x0b.pb.KeyType\x12\x11\n\tpublicKey\x18\x04 \x02(\x0c\"*\n\x07Version\x12\x13\n\x0fUNKNOWN_VERSION\x10\x00\x12\n\n\x06_0_0_1\x10\x01*Q\n\x07KeyType\x12\x1b\n\x17UNKNOWN_PUBLIC_KEY_TYPE\x10\x00\x12\x0c\n\x08NIST256p\x10\x01\x12\x0c\n\x08NIST384p\x10\x02\x12\r\n\tSECP256k1\x10\x03') ) @@ -31,23 +31,23 @@ _KEYTYPE = _descriptor.EnumDescriptor( values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_PUBLIC_KEY_TYPE', index=0, number=0, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='NIST256p', index=1, number=1, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='NIST384p', index=2, number=2, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='SECP256k1', index=3, number=3, - options=None, + serialized_options=None, type=None), ], containing_type=None, - options=None, + serialized_options=None, serialized_start=176, serialized_end=257, ) @@ -68,15 +68,15 @@ _CERTIFICATE_VERSION = _descriptor.EnumDescriptor( values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_VERSION', index=0, number=0, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='_0_0_1', index=1, number=1, - options=None, + serialized_options=None, type=None), ], containing_type=None, - options=None, + serialized_options=None, serialized_start=132, serialized_end=174, ) @@ -96,21 +96,21 @@ _CERTIFICATE = _descriptor.Descriptor( has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='keyType', full_name='pb.Certificate.keyType', index=1, number=2, type=14, cpp_type=8, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='publicKey', full_name='pb.Certificate.publicKey', index=2, number=4, type=12, cpp_type=9, label=2, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -118,7 +118,7 @@ _CERTIFICATE = _descriptor.Descriptor( enum_types=[ _CERTIFICATE_VERSION, ], - options=None, + serialized_options=None, is_extendable=False, syntax='proto2', extension_ranges=[], diff --git a/python/claim_pb2.py b/python/claim_pb2.py index a60a61a..3a55c85 100644 --- a/python/claim_pb2.py +++ b/python/claim_pb2.py @@ -7,7 +7,6 @@ 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 -from google.protobuf import descriptor_pb2 # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -22,6 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor( name='claim.proto', package='pb', syntax='proto2', + serialized_options=None, serialized_pb=_b('\n\x0b\x63laim.proto\x12\x02pb\x1a\x0cstream.proto\x1a\x11\x63\x65rtificate.proto\x1a\x0fsignature.proto\"\xb6\x02\n\x05\x43laim\x12\"\n\x07version\x18\x01 \x02(\x0e\x32\x11.pb.Claim.Version\x12&\n\tclaimType\x18\x02 \x02(\x0e\x32\x13.pb.Claim.ClaimType\x12\x1a\n\x06stream\x18\x03 \x01(\x0b\x32\n.pb.Stream\x12$\n\x0b\x63\x65rtificate\x18\x04 \x01(\x0b\x32\x0f.pb.Certificate\x12)\n\x12publisherSignature\x18\x05 \x01(\x0b\x32\r.pb.Signature\"*\n\x07Version\x12\x13\n\x0fUNKNOWN_VERSION\x10\x00\x12\n\n\x06_0_0_1\x10\x01\"H\n\tClaimType\x12\x16\n\x12UNKNOWN_CLAIM_TYPE\x10\x00\x12\x0e\n\nstreamType\x10\x01\x12\x13\n\x0f\x63\x65rtificateType\x10\x02') , dependencies=[stream__pb2.DESCRIPTOR,certificate__pb2.DESCRIPTOR,signature__pb2.DESCRIPTOR,]) @@ -36,15 +36,15 @@ _CLAIM_VERSION = _descriptor.EnumDescriptor( values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_VERSION', index=0, number=0, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='_0_0_1', index=1, number=1, - options=None, + serialized_options=None, type=None), ], containing_type=None, - options=None, + serialized_options=None, serialized_start=264, serialized_end=306, ) @@ -58,19 +58,19 @@ _CLAIM_CLAIMTYPE = _descriptor.EnumDescriptor( values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_CLAIM_TYPE', index=0, number=0, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='streamType', index=1, number=1, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='certificateType', index=2, number=2, - options=None, + serialized_options=None, type=None), ], containing_type=None, - options=None, + serialized_options=None, serialized_start=308, serialized_end=380, ) @@ -90,35 +90,35 @@ _CLAIM = _descriptor.Descriptor( has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='claimType', full_name='pb.Claim.claimType', index=1, number=2, type=14, cpp_type=8, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='stream', full_name='pb.Claim.stream', index=2, number=3, 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, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='certificate', full_name='pb.Claim.certificate', index=3, number=4, 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, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='publisherSignature', full_name='pb.Claim.publisherSignature', index=4, number=5, 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, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -127,7 +127,7 @@ _CLAIM = _descriptor.Descriptor( _CLAIM_VERSION, _CLAIM_CLAIMTYPE, ], - options=None, + serialized_options=None, is_extendable=False, syntax='proto2', extension_ranges=[], diff --git a/python/fee_pb2.py b/python/fee_pb2.py index 0251120..a004451 100644 --- a/python/fee_pb2.py +++ b/python/fee_pb2.py @@ -7,7 +7,6 @@ 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 -from google.protobuf import descriptor_pb2 # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,6 +18,7 @@ DESCRIPTOR = _descriptor.FileDescriptor( name='fee.proto', package='pb', syntax='proto2', + serialized_options=None, serialized_pb=_b('\n\tfee.proto\x12\x02pb\"\xd5\x01\n\x03\x46\x65\x65\x12 \n\x07version\x18\x01 \x02(\x0e\x32\x0f.pb.Fee.Version\x12\"\n\x08\x63urrency\x18\x02 \x02(\x0e\x32\x10.pb.Fee.Currency\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x02(\x0c\x12\x0e\n\x06\x61mount\x18\x04 \x02(\x02\"*\n\x07Version\x12\x13\n\x0fUNKNOWN_VERSION\x10\x00\x12\n\n\x06_0_0_1\x10\x01\";\n\x08\x43urrency\x12\x14\n\x10UNKNOWN_CURRENCY\x10\x00\x12\x07\n\x03LBC\x10\x01\x12\x07\n\x03\x42TC\x10\x02\x12\x07\n\x03USD\x10\x03') ) @@ -32,15 +32,15 @@ _FEE_VERSION = _descriptor.EnumDescriptor( values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_VERSION', index=0, number=0, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='_0_0_1', index=1, number=1, - options=None, + serialized_options=None, type=None), ], containing_type=None, - options=None, + serialized_options=None, serialized_start=128, serialized_end=170, ) @@ -54,23 +54,23 @@ _FEE_CURRENCY = _descriptor.EnumDescriptor( values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_CURRENCY', index=0, number=0, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='LBC', index=1, number=1, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='BTC', index=2, number=2, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='USD', index=3, number=3, - options=None, + serialized_options=None, type=None), ], containing_type=None, - options=None, + serialized_options=None, serialized_start=172, serialized_end=231, ) @@ -90,28 +90,28 @@ _FEE = _descriptor.Descriptor( has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='currency', full_name='pb.Fee.currency', index=1, number=2, type=14, cpp_type=8, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='address', full_name='pb.Fee.address', index=2, number=3, type=12, cpp_type=9, label=2, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='amount', full_name='pb.Fee.amount', index=3, number=4, type=2, cpp_type=6, label=2, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -120,7 +120,7 @@ _FEE = _descriptor.Descriptor( _FEE_VERSION, _FEE_CURRENCY, ], - options=None, + serialized_options=None, is_extendable=False, syntax='proto2', extension_ranges=[], diff --git a/python/metadata_pb2.py b/python/metadata_pb2.py index 758213d..cdecb2a 100644 --- a/python/metadata_pb2.py +++ b/python/metadata_pb2.py @@ -7,7 +7,6 @@ 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 -from google.protobuf import descriptor_pb2 # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,7 +19,8 @@ DESCRIPTOR = _descriptor.FileDescriptor( name='metadata.proto', package='pb', syntax='proto2', - serialized_pb=_b('\n\x0emetadata.proto\x12\x02pb\x1a\tfee.proto\"\xe7\x0e\n\x08Metadata\x12%\n\x07version\x18\x01 \x02(\x0e\x32\x14.pb.Metadata.Version\x12\'\n\x08language\x18\x02 \x02(\x0e\x32\x15.pb.Metadata.Language\x12\r\n\x05title\x18\x03 \x02(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x02(\t\x12\x0e\n\x06\x61uthor\x18\x05 \x02(\t\x12\x0f\n\x07license\x18\x06 \x02(\t\x12\x0c\n\x04nsfw\x18\x07 \x02(\x08\x12\x14\n\x03\x66\x65\x65\x18\x08 \x01(\x0b\x32\x07.pb.Fee\x12\x11\n\tthumbnail\x18\t \x01(\t\x12\x0f\n\x07preview\x18\n \x01(\t\x12\x12\n\nlicenseUrl\x18\x0b \x01(\t\"N\n\x07Version\x12\x13\n\x0fUNKNOWN_VERSION\x10\x00\x12\n\n\x06_0_0_1\x10\x01\x12\n\n\x06_0_0_2\x10\x02\x12\n\n\x06_0_0_3\x10\x03\x12\n\n\x06_0_1_0\x10\x04\"\x99\x0c\n\x08Language\x12\x14\n\x10UNKNOWN_LANGUAGE\x10\x00\x12\x06\n\x02\x65n\x10\x01\x12\x06\n\x02\x61\x61\x10\x02\x12\x06\n\x02\x61\x62\x10\x03\x12\x06\n\x02\x61\x65\x10\x04\x12\x06\n\x02\x61\x66\x10\x05\x12\x06\n\x02\x61k\x10\x06\x12\x06\n\x02\x61m\x10\x07\x12\x06\n\x02\x61n\x10\x08\x12\x06\n\x02\x61r\x10\t\x12\x06\n\x02\x61s\x10\n\x12\x06\n\x02\x61v\x10\x0b\x12\x06\n\x02\x61y\x10\x0c\x12\x06\n\x02\x61z\x10\r\x12\x06\n\x02\x62\x61\x10\x0e\x12\x06\n\x02\x62\x65\x10\x0f\x12\x06\n\x02\x62g\x10\x10\x12\x06\n\x02\x62h\x10\x11\x12\x06\n\x02\x62i\x10\x12\x12\x06\n\x02\x62m\x10\x13\x12\x06\n\x02\x62n\x10\x14\x12\x06\n\x02\x62o\x10\x15\x12\x06\n\x02\x62r\x10\x16\x12\x06\n\x02\x62s\x10\x17\x12\x06\n\x02\x63\x61\x10\x18\x12\x06\n\x02\x63\x65\x10\x19\x12\x06\n\x02\x63h\x10\x1a\x12\x06\n\x02\x63o\x10\x1b\x12\x06\n\x02\x63r\x10\x1c\x12\x06\n\x02\x63s\x10\x1d\x12\x06\n\x02\x63u\x10\x1e\x12\x06\n\x02\x63v\x10\x1f\x12\x06\n\x02\x63y\x10 \x12\x06\n\x02\x64\x61\x10!\x12\x06\n\x02\x64\x65\x10\"\x12\x06\n\x02\x64v\x10#\x12\x06\n\x02\x64z\x10$\x12\x06\n\x02\x65\x65\x10%\x12\x06\n\x02\x65l\x10&\x12\x06\n\x02\x65o\x10\'\x12\x06\n\x02\x65s\x10(\x12\x06\n\x02\x65t\x10)\x12\x06\n\x02\x65u\x10*\x12\x06\n\x02\x66\x61\x10+\x12\x06\n\x02\x66\x66\x10,\x12\x06\n\x02\x66i\x10-\x12\x06\n\x02\x66j\x10.\x12\x06\n\x02\x66o\x10/\x12\x06\n\x02\x66r\x10\x30\x12\x06\n\x02\x66y\x10\x31\x12\x06\n\x02ga\x10\x32\x12\x06\n\x02gd\x10\x33\x12\x06\n\x02gl\x10\x34\x12\x06\n\x02gn\x10\x35\x12\x06\n\x02gu\x10\x36\x12\x06\n\x02gv\x10\x37\x12\x06\n\x02ha\x10\x38\x12\x06\n\x02he\x10\x39\x12\x06\n\x02hi\x10:\x12\x06\n\x02ho\x10;\x12\x06\n\x02hr\x10<\x12\x06\n\x02ht\x10=\x12\x06\n\x02hu\x10>\x12\x06\n\x02hy\x10?\x12\x06\n\x02hz\x10@\x12\x06\n\x02ia\x10\x41\x12\x06\n\x02id\x10\x42\x12\x06\n\x02ie\x10\x43\x12\x06\n\x02ig\x10\x44\x12\x06\n\x02ii\x10\x45\x12\x06\n\x02ik\x10\x46\x12\x06\n\x02io\x10G\x12\x06\n\x02is\x10H\x12\x06\n\x02it\x10I\x12\x06\n\x02iu\x10J\x12\x06\n\x02ja\x10K\x12\x06\n\x02jv\x10L\x12\x06\n\x02ka\x10M\x12\x06\n\x02kg\x10N\x12\x06\n\x02ki\x10O\x12\x06\n\x02kj\x10P\x12\x06\n\x02kk\x10Q\x12\x06\n\x02kl\x10R\x12\x06\n\x02km\x10S\x12\x06\n\x02kn\x10T\x12\x06\n\x02ko\x10U\x12\x06\n\x02kr\x10V\x12\x06\n\x02ks\x10W\x12\x06\n\x02ku\x10X\x12\x06\n\x02kv\x10Y\x12\x06\n\x02kw\x10Z\x12\x06\n\x02ky\x10[\x12\x06\n\x02la\x10\\\x12\x06\n\x02lb\x10]\x12\x06\n\x02lg\x10^\x12\x06\n\x02li\x10_\x12\x06\n\x02ln\x10`\x12\x06\n\x02lo\x10\x61\x12\x06\n\x02lt\x10\x62\x12\x06\n\x02lu\x10\x63\x12\x06\n\x02lv\x10\x64\x12\x06\n\x02mg\x10\x65\x12\x06\n\x02mh\x10\x66\x12\x06\n\x02mi\x10g\x12\x06\n\x02mk\x10h\x12\x06\n\x02ml\x10i\x12\x06\n\x02mn\x10j\x12\x06\n\x02mr\x10k\x12\x06\n\x02ms\x10l\x12\x06\n\x02mt\x10m\x12\x06\n\x02my\x10n\x12\x06\n\x02na\x10o\x12\x06\n\x02nb\x10p\x12\x06\n\x02nd\x10q\x12\x06\n\x02ne\x10r\x12\x06\n\x02ng\x10s\x12\x06\n\x02nl\x10t\x12\x06\n\x02nn\x10u\x12\x06\n\x02no\x10v\x12\x06\n\x02nr\x10w\x12\x06\n\x02nv\x10x\x12\x06\n\x02ny\x10y\x12\x06\n\x02oc\x10z\x12\x06\n\x02oj\x10{\x12\x06\n\x02om\x10|\x12\x06\n\x02or\x10}\x12\x06\n\x02os\x10~\x12\x06\n\x02pa\x10\x7f\x12\x07\n\x02pi\x10\x80\x01\x12\x07\n\x02pl\x10\x81\x01\x12\x07\n\x02ps\x10\x82\x01\x12\x07\n\x02pt\x10\x83\x01\x12\x07\n\x02qu\x10\x84\x01\x12\x07\n\x02rm\x10\x85\x01\x12\x07\n\x02rn\x10\x86\x01\x12\x07\n\x02ro\x10\x87\x01\x12\x07\n\x02ru\x10\x88\x01\x12\x07\n\x02rw\x10\x89\x01\x12\x07\n\x02sa\x10\x8a\x01\x12\x07\n\x02sc\x10\x8b\x01\x12\x07\n\x02sd\x10\x8c\x01\x12\x07\n\x02se\x10\x8d\x01\x12\x07\n\x02sg\x10\x8e\x01\x12\x07\n\x02si\x10\x8f\x01\x12\x07\n\x02sk\x10\x90\x01\x12\x07\n\x02sl\x10\x91\x01\x12\x07\n\x02sm\x10\x92\x01\x12\x07\n\x02sn\x10\x93\x01\x12\x07\n\x02so\x10\x94\x01\x12\x07\n\x02sq\x10\x95\x01\x12\x07\n\x02sr\x10\x96\x01\x12\x07\n\x02ss\x10\x97\x01\x12\x07\n\x02st\x10\x98\x01\x12\x07\n\x02su\x10\x99\x01\x12\x07\n\x02sv\x10\x9a\x01\x12\x07\n\x02sw\x10\x9b\x01\x12\x07\n\x02ta\x10\x9c\x01\x12\x07\n\x02te\x10\x9d\x01\x12\x07\n\x02tg\x10\x9e\x01\x12\x07\n\x02th\x10\x9f\x01\x12\x07\n\x02ti\x10\xa0\x01\x12\x07\n\x02tk\x10\xa1\x01\x12\x07\n\x02tl\x10\xa2\x01\x12\x07\n\x02tn\x10\xa3\x01\x12\x07\n\x02to\x10\xa4\x01\x12\x07\n\x02tr\x10\xa5\x01\x12\x07\n\x02ts\x10\xa6\x01\x12\x07\n\x02tt\x10\xa7\x01\x12\x07\n\x02tw\x10\xa8\x01\x12\x07\n\x02ty\x10\xa9\x01\x12\x07\n\x02ug\x10\xaa\x01\x12\x07\n\x02uk\x10\xab\x01\x12\x07\n\x02ur\x10\xac\x01\x12\x07\n\x02uz\x10\xad\x01\x12\x07\n\x02ve\x10\xae\x01\x12\x07\n\x02vi\x10\xaf\x01\x12\x07\n\x02vo\x10\xb0\x01\x12\x07\n\x02wa\x10\xb1\x01\x12\x07\n\x02wo\x10\xb2\x01\x12\x07\n\x02xh\x10\xb3\x01\x12\x07\n\x02yi\x10\xb4\x01\x12\x07\n\x02yo\x10\xb5\x01\x12\x07\n\x02za\x10\xb6\x01\x12\x07\n\x02zh\x10\xb7\x01\x12\x07\n\x02zu\x10\xb8\x01') + serialized_options=None, + serialized_pb=_b('\n\x0emetadata.proto\x12\x02pb\x1a\tfee.proto\"\xfc\x0e\n\x08Metadata\x12%\n\x07version\x18\x01 \x02(\x0e\x32\x14.pb.Metadata.Version\x12\'\n\x08language\x18\x02 \x02(\x0e\x32\x15.pb.Metadata.Language\x12\r\n\x05title\x18\x03 \x02(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x02(\t\x12\x0e\n\x06\x61uthor\x18\x05 \x02(\t\x12\x0f\n\x07license\x18\x06 \x02(\t\x12\x0c\n\x04nsfw\x18\x07 \x02(\x08\x12\x14\n\x03\x66\x65\x65\x18\x08 \x01(\x0b\x32\x07.pb.Fee\x12\x11\n\tthumbnail\x18\t \x01(\t\x12\x0f\n\x07preview\x18\n \x01(\t\x12\x12\n\nlicenseUrl\x18\x0b \x01(\t\x12\x13\n\x0breleaseTime\x18\x0c \x01(\x12\"N\n\x07Version\x12\x13\n\x0fUNKNOWN_VERSION\x10\x00\x12\n\n\x06_0_0_1\x10\x01\x12\n\n\x06_0_0_2\x10\x02\x12\n\n\x06_0_0_3\x10\x03\x12\n\n\x06_0_1_0\x10\x04\"\x99\x0c\n\x08Language\x12\x14\n\x10UNKNOWN_LANGUAGE\x10\x00\x12\x06\n\x02\x65n\x10\x01\x12\x06\n\x02\x61\x61\x10\x02\x12\x06\n\x02\x61\x62\x10\x03\x12\x06\n\x02\x61\x65\x10\x04\x12\x06\n\x02\x61\x66\x10\x05\x12\x06\n\x02\x61k\x10\x06\x12\x06\n\x02\x61m\x10\x07\x12\x06\n\x02\x61n\x10\x08\x12\x06\n\x02\x61r\x10\t\x12\x06\n\x02\x61s\x10\n\x12\x06\n\x02\x61v\x10\x0b\x12\x06\n\x02\x61y\x10\x0c\x12\x06\n\x02\x61z\x10\r\x12\x06\n\x02\x62\x61\x10\x0e\x12\x06\n\x02\x62\x65\x10\x0f\x12\x06\n\x02\x62g\x10\x10\x12\x06\n\x02\x62h\x10\x11\x12\x06\n\x02\x62i\x10\x12\x12\x06\n\x02\x62m\x10\x13\x12\x06\n\x02\x62n\x10\x14\x12\x06\n\x02\x62o\x10\x15\x12\x06\n\x02\x62r\x10\x16\x12\x06\n\x02\x62s\x10\x17\x12\x06\n\x02\x63\x61\x10\x18\x12\x06\n\x02\x63\x65\x10\x19\x12\x06\n\x02\x63h\x10\x1a\x12\x06\n\x02\x63o\x10\x1b\x12\x06\n\x02\x63r\x10\x1c\x12\x06\n\x02\x63s\x10\x1d\x12\x06\n\x02\x63u\x10\x1e\x12\x06\n\x02\x63v\x10\x1f\x12\x06\n\x02\x63y\x10 \x12\x06\n\x02\x64\x61\x10!\x12\x06\n\x02\x64\x65\x10\"\x12\x06\n\x02\x64v\x10#\x12\x06\n\x02\x64z\x10$\x12\x06\n\x02\x65\x65\x10%\x12\x06\n\x02\x65l\x10&\x12\x06\n\x02\x65o\x10\'\x12\x06\n\x02\x65s\x10(\x12\x06\n\x02\x65t\x10)\x12\x06\n\x02\x65u\x10*\x12\x06\n\x02\x66\x61\x10+\x12\x06\n\x02\x66\x66\x10,\x12\x06\n\x02\x66i\x10-\x12\x06\n\x02\x66j\x10.\x12\x06\n\x02\x66o\x10/\x12\x06\n\x02\x66r\x10\x30\x12\x06\n\x02\x66y\x10\x31\x12\x06\n\x02ga\x10\x32\x12\x06\n\x02gd\x10\x33\x12\x06\n\x02gl\x10\x34\x12\x06\n\x02gn\x10\x35\x12\x06\n\x02gu\x10\x36\x12\x06\n\x02gv\x10\x37\x12\x06\n\x02ha\x10\x38\x12\x06\n\x02he\x10\x39\x12\x06\n\x02hi\x10:\x12\x06\n\x02ho\x10;\x12\x06\n\x02hr\x10<\x12\x06\n\x02ht\x10=\x12\x06\n\x02hu\x10>\x12\x06\n\x02hy\x10?\x12\x06\n\x02hz\x10@\x12\x06\n\x02ia\x10\x41\x12\x06\n\x02id\x10\x42\x12\x06\n\x02ie\x10\x43\x12\x06\n\x02ig\x10\x44\x12\x06\n\x02ii\x10\x45\x12\x06\n\x02ik\x10\x46\x12\x06\n\x02io\x10G\x12\x06\n\x02is\x10H\x12\x06\n\x02it\x10I\x12\x06\n\x02iu\x10J\x12\x06\n\x02ja\x10K\x12\x06\n\x02jv\x10L\x12\x06\n\x02ka\x10M\x12\x06\n\x02kg\x10N\x12\x06\n\x02ki\x10O\x12\x06\n\x02kj\x10P\x12\x06\n\x02kk\x10Q\x12\x06\n\x02kl\x10R\x12\x06\n\x02km\x10S\x12\x06\n\x02kn\x10T\x12\x06\n\x02ko\x10U\x12\x06\n\x02kr\x10V\x12\x06\n\x02ks\x10W\x12\x06\n\x02ku\x10X\x12\x06\n\x02kv\x10Y\x12\x06\n\x02kw\x10Z\x12\x06\n\x02ky\x10[\x12\x06\n\x02la\x10\\\x12\x06\n\x02lb\x10]\x12\x06\n\x02lg\x10^\x12\x06\n\x02li\x10_\x12\x06\n\x02ln\x10`\x12\x06\n\x02lo\x10\x61\x12\x06\n\x02lt\x10\x62\x12\x06\n\x02lu\x10\x63\x12\x06\n\x02lv\x10\x64\x12\x06\n\x02mg\x10\x65\x12\x06\n\x02mh\x10\x66\x12\x06\n\x02mi\x10g\x12\x06\n\x02mk\x10h\x12\x06\n\x02ml\x10i\x12\x06\n\x02mn\x10j\x12\x06\n\x02mr\x10k\x12\x06\n\x02ms\x10l\x12\x06\n\x02mt\x10m\x12\x06\n\x02my\x10n\x12\x06\n\x02na\x10o\x12\x06\n\x02nb\x10p\x12\x06\n\x02nd\x10q\x12\x06\n\x02ne\x10r\x12\x06\n\x02ng\x10s\x12\x06\n\x02nl\x10t\x12\x06\n\x02nn\x10u\x12\x06\n\x02no\x10v\x12\x06\n\x02nr\x10w\x12\x06\n\x02nv\x10x\x12\x06\n\x02ny\x10y\x12\x06\n\x02oc\x10z\x12\x06\n\x02oj\x10{\x12\x06\n\x02om\x10|\x12\x06\n\x02or\x10}\x12\x06\n\x02os\x10~\x12\x06\n\x02pa\x10\x7f\x12\x07\n\x02pi\x10\x80\x01\x12\x07\n\x02pl\x10\x81\x01\x12\x07\n\x02ps\x10\x82\x01\x12\x07\n\x02pt\x10\x83\x01\x12\x07\n\x02qu\x10\x84\x01\x12\x07\n\x02rm\x10\x85\x01\x12\x07\n\x02rn\x10\x86\x01\x12\x07\n\x02ro\x10\x87\x01\x12\x07\n\x02ru\x10\x88\x01\x12\x07\n\x02rw\x10\x89\x01\x12\x07\n\x02sa\x10\x8a\x01\x12\x07\n\x02sc\x10\x8b\x01\x12\x07\n\x02sd\x10\x8c\x01\x12\x07\n\x02se\x10\x8d\x01\x12\x07\n\x02sg\x10\x8e\x01\x12\x07\n\x02si\x10\x8f\x01\x12\x07\n\x02sk\x10\x90\x01\x12\x07\n\x02sl\x10\x91\x01\x12\x07\n\x02sm\x10\x92\x01\x12\x07\n\x02sn\x10\x93\x01\x12\x07\n\x02so\x10\x94\x01\x12\x07\n\x02sq\x10\x95\x01\x12\x07\n\x02sr\x10\x96\x01\x12\x07\n\x02ss\x10\x97\x01\x12\x07\n\x02st\x10\x98\x01\x12\x07\n\x02su\x10\x99\x01\x12\x07\n\x02sv\x10\x9a\x01\x12\x07\n\x02sw\x10\x9b\x01\x12\x07\n\x02ta\x10\x9c\x01\x12\x07\n\x02te\x10\x9d\x01\x12\x07\n\x02tg\x10\x9e\x01\x12\x07\n\x02th\x10\x9f\x01\x12\x07\n\x02ti\x10\xa0\x01\x12\x07\n\x02tk\x10\xa1\x01\x12\x07\n\x02tl\x10\xa2\x01\x12\x07\n\x02tn\x10\xa3\x01\x12\x07\n\x02to\x10\xa4\x01\x12\x07\n\x02tr\x10\xa5\x01\x12\x07\n\x02ts\x10\xa6\x01\x12\x07\n\x02tt\x10\xa7\x01\x12\x07\n\x02tw\x10\xa8\x01\x12\x07\n\x02ty\x10\xa9\x01\x12\x07\n\x02ug\x10\xaa\x01\x12\x07\n\x02uk\x10\xab\x01\x12\x07\n\x02ur\x10\xac\x01\x12\x07\n\x02uz\x10\xad\x01\x12\x07\n\x02ve\x10\xae\x01\x12\x07\n\x02vi\x10\xaf\x01\x12\x07\n\x02vo\x10\xb0\x01\x12\x07\n\x02wa\x10\xb1\x01\x12\x07\n\x02wo\x10\xb2\x01\x12\x07\n\x02xh\x10\xb3\x01\x12\x07\n\x02yi\x10\xb4\x01\x12\x07\n\x02yo\x10\xb5\x01\x12\x07\n\x02za\x10\xb6\x01\x12\x07\n\x02zh\x10\xb7\x01\x12\x07\n\x02zu\x10\xb8\x01') , dependencies=[fee__pb2.DESCRIPTOR,]) @@ -34,29 +34,29 @@ _METADATA_VERSION = _descriptor.EnumDescriptor( values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_VERSION', index=0, number=0, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='_0_0_1', index=1, number=1, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='_0_0_2', index=2, number=2, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='_0_0_3', index=3, number=3, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='_0_1_0', index=4, number=4, - options=None, + serialized_options=None, type=None), ], containing_type=None, - options=None, - serialized_start=287, - serialized_end=365, + serialized_options=None, + serialized_start=308, + serialized_end=386, ) _sym_db.RegisterEnumDescriptor(_METADATA_VERSION) @@ -68,749 +68,749 @@ _METADATA_LANGUAGE = _descriptor.EnumDescriptor( values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_LANGUAGE', index=0, number=0, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='en', index=1, number=1, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='aa', index=2, number=2, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ab', index=3, number=3, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ae', index=4, number=4, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='af', index=5, number=5, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ak', index=6, number=6, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='am', index=7, number=7, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='an', index=8, number=8, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ar', index=9, number=9, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='as', index=10, number=10, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='av', index=11, number=11, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ay', index=12, number=12, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='az', index=13, number=13, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ba', index=14, number=14, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='be', index=15, number=15, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='bg', index=16, number=16, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='bh', index=17, number=17, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='bi', index=18, number=18, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='bm', index=19, number=19, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='bn', index=20, number=20, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='bo', index=21, number=21, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='br', index=22, number=22, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='bs', index=23, number=23, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ca', index=24, number=24, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ce', index=25, number=25, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ch', index=26, number=26, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='co', index=27, number=27, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='cr', index=28, number=28, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='cs', index=29, number=29, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='cu', index=30, number=30, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='cv', index=31, number=31, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='cy', index=32, number=32, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='da', index=33, number=33, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='de', index=34, number=34, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='dv', index=35, number=35, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='dz', index=36, number=36, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ee', index=37, number=37, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='el', index=38, number=38, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='eo', index=39, number=39, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='es', index=40, number=40, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='et', index=41, number=41, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='eu', index=42, number=42, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='fa', index=43, number=43, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ff', index=44, number=44, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='fi', index=45, number=45, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='fj', index=46, number=46, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='fo', index=47, number=47, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='fr', index=48, number=48, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='fy', index=49, number=49, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ga', index=50, number=50, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='gd', index=51, number=51, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='gl', index=52, number=52, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='gn', index=53, number=53, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='gu', index=54, number=54, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='gv', index=55, number=55, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ha', index=56, number=56, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='he', index=57, number=57, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='hi', index=58, number=58, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ho', index=59, number=59, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='hr', index=60, number=60, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ht', index=61, number=61, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='hu', index=62, number=62, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='hy', index=63, number=63, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='hz', index=64, number=64, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ia', index=65, number=65, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='id', index=66, number=66, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ie', index=67, number=67, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ig', index=68, number=68, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ii', index=69, number=69, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ik', index=70, number=70, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='io', index=71, number=71, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='is', index=72, number=72, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='it', index=73, number=73, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='iu', index=74, number=74, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ja', index=75, number=75, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='jv', index=76, number=76, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ka', index=77, number=77, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='kg', index=78, number=78, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ki', index=79, number=79, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='kj', index=80, number=80, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='kk', index=81, number=81, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='kl', index=82, number=82, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='km', index=83, number=83, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='kn', index=84, number=84, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ko', index=85, number=85, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='kr', index=86, number=86, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ks', index=87, number=87, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ku', index=88, number=88, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='kv', index=89, number=89, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='kw', index=90, number=90, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ky', index=91, number=91, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='la', index=92, number=92, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='lb', index=93, number=93, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='lg', index=94, number=94, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='li', index=95, number=95, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ln', index=96, number=96, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='lo', index=97, number=97, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='lt', index=98, number=98, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='lu', index=99, number=99, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='lv', index=100, number=100, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='mg', index=101, number=101, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='mh', index=102, number=102, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='mi', index=103, number=103, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='mk', index=104, number=104, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ml', index=105, number=105, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='mn', index=106, number=106, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='mr', index=107, number=107, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ms', index=108, number=108, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='mt', index=109, number=109, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='my', index=110, number=110, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='na', index=111, number=111, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='nb', index=112, number=112, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='nd', index=113, number=113, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ne', index=114, number=114, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ng', index=115, number=115, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='nl', index=116, number=116, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='nn', index=117, number=117, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='no', index=118, number=118, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='nr', index=119, number=119, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='nv', index=120, number=120, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ny', index=121, number=121, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='oc', index=122, number=122, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='oj', index=123, number=123, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='om', index=124, number=124, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='or', index=125, number=125, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='os', index=126, number=126, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='pa', index=127, number=127, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='pi', index=128, number=128, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='pl', index=129, number=129, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ps', index=130, number=130, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='pt', index=131, number=131, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='qu', index=132, number=132, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='rm', index=133, number=133, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='rn', index=134, number=134, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ro', index=135, number=135, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ru', index=136, number=136, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='rw', index=137, number=137, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='sa', index=138, number=138, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='sc', index=139, number=139, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='sd', index=140, number=140, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='se', index=141, number=141, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='sg', index=142, number=142, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='si', index=143, number=143, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='sk', index=144, number=144, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='sl', index=145, number=145, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='sm', index=146, number=146, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='sn', index=147, number=147, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='so', index=148, number=148, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='sq', index=149, number=149, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='sr', index=150, number=150, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ss', index=151, number=151, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='st', index=152, number=152, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='su', index=153, number=153, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='sv', index=154, number=154, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='sw', index=155, number=155, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ta', index=156, number=156, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='te', index=157, number=157, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='tg', index=158, number=158, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='th', index=159, number=159, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ti', index=160, number=160, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='tk', index=161, number=161, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='tl', index=162, number=162, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='tn', index=163, number=163, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='to', index=164, number=164, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='tr', index=165, number=165, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ts', index=166, number=166, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='tt', index=167, number=167, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='tw', index=168, number=168, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ty', index=169, number=169, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ug', index=170, number=170, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='uk', index=171, number=171, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ur', index=172, number=172, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='uz', index=173, number=173, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='ve', index=174, number=174, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='vi', index=175, number=175, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='vo', index=176, number=176, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='wa', index=177, number=177, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='wo', index=178, number=178, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='xh', index=179, number=179, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='yi', index=180, number=180, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='yo', index=181, number=181, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='za', index=182, number=182, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='zh', index=183, number=183, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='zu', index=184, number=184, - options=None, + serialized_options=None, type=None), ], containing_type=None, - options=None, - serialized_start=368, - serialized_end=1929, + serialized_options=None, + serialized_start=389, + serialized_end=1950, ) _sym_db.RegisterEnumDescriptor(_METADATA_LANGUAGE) @@ -828,77 +828,84 @@ _METADATA = _descriptor.Descriptor( has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='language', full_name='pb.Metadata.language', index=1, number=2, type=14, cpp_type=8, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='title', full_name='pb.Metadata.title', index=2, number=3, type=9, cpp_type=9, label=2, 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, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='description', full_name='pb.Metadata.description', index=3, number=4, type=9, cpp_type=9, label=2, 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, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='author', full_name='pb.Metadata.author', index=4, number=5, type=9, cpp_type=9, label=2, 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, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='license', full_name='pb.Metadata.license', index=5, number=6, type=9, cpp_type=9, label=2, 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, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='nsfw', full_name='pb.Metadata.nsfw', index=6, number=7, type=8, cpp_type=7, label=2, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='fee', full_name='pb.Metadata.fee', index=7, number=8, 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, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='thumbnail', full_name='pb.Metadata.thumbnail', index=8, number=9, 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, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='preview', full_name='pb.Metadata.preview', index=9, number=10, 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, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='licenseUrl', full_name='pb.Metadata.licenseUrl', index=10, number=11, 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, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='releaseTime', full_name='pb.Metadata.releaseTime', index=11, + number=12, type=18, cpp_type=2, 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=[ ], @@ -907,14 +914,14 @@ _METADATA = _descriptor.Descriptor( _METADATA_VERSION, _METADATA_LANGUAGE, ], - options=None, + serialized_options=None, is_extendable=False, syntax='proto2', extension_ranges=[], oneofs=[ ], serialized_start=34, - serialized_end=1929, + serialized_end=1950, ) _METADATA.fields_by_name['version'].enum_type = _METADATA_VERSION diff --git a/python/signature_pb2.py b/python/signature_pb2.py index 9189a52..183f6d6 100644 --- a/python/signature_pb2.py +++ b/python/signature_pb2.py @@ -7,7 +7,6 @@ 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 -from google.protobuf import descriptor_pb2 # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -20,6 +19,7 @@ DESCRIPTOR = _descriptor.FileDescriptor( name='signature.proto', package='pb', syntax='proto2', + serialized_options=None, serialized_pb=_b('\n\x0fsignature.proto\x12\x02pb\x1a\x11\x63\x65rtificate.proto\"\xad\x01\n\tSignature\x12&\n\x07version\x18\x01 \x02(\x0e\x32\x15.pb.Signature.Version\x12\"\n\rsignatureType\x18\x02 \x02(\x0e\x32\x0b.pb.KeyType\x12\x11\n\tsignature\x18\x03 \x02(\x0c\x12\x15\n\rcertificateId\x18\x04 \x02(\x0c\"*\n\x07Version\x12\x13\n\x0fUNKNOWN_VERSION\x10\x00\x12\n\n\x06_0_0_1\x10\x01') , dependencies=[certificate__pb2.DESCRIPTOR,]) @@ -34,15 +34,15 @@ _SIGNATURE_VERSION = _descriptor.EnumDescriptor( values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_VERSION', index=0, number=0, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='_0_0_1', index=1, number=1, - options=None, + serialized_options=None, type=None), ], containing_type=None, - options=None, + serialized_options=None, serialized_start=174, serialized_end=216, ) @@ -62,28 +62,28 @@ _SIGNATURE = _descriptor.Descriptor( has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='signatureType', full_name='pb.Signature.signatureType', index=1, number=2, type=14, cpp_type=8, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='signature', full_name='pb.Signature.signature', index=2, number=3, type=12, cpp_type=9, label=2, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='certificateId', full_name='pb.Signature.certificateId', index=3, number=4, type=12, cpp_type=9, label=2, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -91,7 +91,7 @@ _SIGNATURE = _descriptor.Descriptor( enum_types=[ _SIGNATURE_VERSION, ], - options=None, + serialized_options=None, is_extendable=False, syntax='proto2', extension_ranges=[], diff --git a/python/source_pb2.py b/python/source_pb2.py index 2e8384f..76d76f9 100644 --- a/python/source_pb2.py +++ b/python/source_pb2.py @@ -7,7 +7,6 @@ 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 -from google.protobuf import descriptor_pb2 # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,6 +18,7 @@ DESCRIPTOR = _descriptor.FileDescriptor( name='source.proto', package='pb', syntax='proto2', + serialized_options=None, serialized_pb=_b('\n\x0csource.proto\x12\x02pb\"\xe4\x01\n\x06Source\x12#\n\x07version\x18\x01 \x02(\x0e\x32\x12.pb.Source.Version\x12*\n\nsourceType\x18\x02 \x02(\x0e\x32\x16.pb.Source.SourceTypes\x12\x0e\n\x06source\x18\x03 \x02(\x0c\x12\x13\n\x0b\x63ontentType\x18\x04 \x02(\t\"*\n\x07Version\x12\x13\n\x0fUNKNOWN_VERSION\x10\x00\x12\n\n\x06_0_0_1\x10\x01\"8\n\x0bSourceTypes\x12\x17\n\x13UNKNOWN_SOURCE_TYPE\x10\x00\x12\x10\n\x0clbry_sd_hash\x10\x01') ) @@ -32,15 +32,15 @@ _SOURCE_VERSION = _descriptor.EnumDescriptor( values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_VERSION', index=0, number=0, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='_0_0_1', index=1, number=1, - options=None, + serialized_options=None, type=None), ], containing_type=None, - options=None, + serialized_options=None, serialized_start=149, serialized_end=191, ) @@ -54,15 +54,15 @@ _SOURCE_SOURCETYPES = _descriptor.EnumDescriptor( values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_SOURCE_TYPE', index=0, number=0, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='lbry_sd_hash', index=1, number=1, - options=None, + serialized_options=None, type=None), ], containing_type=None, - options=None, + serialized_options=None, serialized_start=193, serialized_end=249, ) @@ -82,28 +82,28 @@ _SOURCE = _descriptor.Descriptor( has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='sourceType', full_name='pb.Source.sourceType', index=1, number=2, type=14, cpp_type=8, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='source', full_name='pb.Source.source', index=2, number=3, type=12, cpp_type=9, label=2, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='contentType', full_name='pb.Source.contentType', index=3, number=4, type=9, cpp_type=9, label=2, 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, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -112,7 +112,7 @@ _SOURCE = _descriptor.Descriptor( _SOURCE_VERSION, _SOURCE_SOURCETYPES, ], - options=None, + serialized_options=None, is_extendable=False, syntax='proto2', extension_ranges=[], diff --git a/python/stream_pb2.py b/python/stream_pb2.py index 3a29306..4a21e83 100644 --- a/python/stream_pb2.py +++ b/python/stream_pb2.py @@ -7,7 +7,6 @@ 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 -from google.protobuf import descriptor_pb2 # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -21,6 +20,7 @@ DESCRIPTOR = _descriptor.FileDescriptor( name='stream.proto', package='pb', syntax='proto2', + serialized_options=None, serialized_pb=_b('\n\x0cstream.proto\x12\x02pb\x1a\x0emetadata.proto\x1a\x0csource.proto\"\x95\x01\n\x06Stream\x12#\n\x07version\x18\x01 \x02(\x0e\x32\x12.pb.Stream.Version\x12\x1e\n\x08metadata\x18\x02 \x02(\x0b\x32\x0c.pb.Metadata\x12\x1a\n\x06source\x18\x03 \x02(\x0b\x32\n.pb.Source\"*\n\x07Version\x12\x13\n\x0fUNKNOWN_VERSION\x10\x00\x12\n\n\x06_0_0_1\x10\x01') , dependencies=[metadata__pb2.DESCRIPTOR,source__pb2.DESCRIPTOR,]) @@ -35,15 +35,15 @@ _STREAM_VERSION = _descriptor.EnumDescriptor( values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_VERSION', index=0, number=0, - options=None, + serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='_0_0_1', index=1, number=1, - options=None, + serialized_options=None, type=None), ], containing_type=None, - options=None, + serialized_options=None, serialized_start=158, serialized_end=200, ) @@ -63,21 +63,21 @@ _STREAM = _descriptor.Descriptor( has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='metadata', full_name='pb.Stream.metadata', index=1, number=2, type=11, cpp_type=10, label=2, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='source', full_name='pb.Stream.source', index=2, number=3, type=11, cpp_type=10, label=2, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -85,7 +85,7 @@ _STREAM = _descriptor.Descriptor( enum_types=[ _STREAM_VERSION, ], - options=None, + serialized_options=None, is_extendable=False, syntax='proto2', extension_ranges=[], -- 2.45.2