This commit is contained in:
Victor Shyba 2019-03-01 17:08:52 -03:00
parent 04d27d3625
commit 50f8d6a2cb
5 changed files with 1842 additions and 2338 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,13 +1,11 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: claim.proto
// source: claim_schema.proto
package pb
package pb3
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
@ -18,7 +16,7 @@ var _ = math.Inf
// 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
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type Claim_Type int32
@ -31,7 +29,6 @@ var Claim_Type_name = map[int32]string{
0: "STREAM",
1: "CHANNEL",
}
var Claim_Type_value = map[string]int32{
"STREAM": 0,
"CHANNEL": 1,
@ -40,9 +37,8 @@ var Claim_Type_value = map[string]int32{
func (x Claim_Type) String() string {
return proto.EnumName(Claim_Type_name, int32(x))
}
func (Claim_Type) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_bae86789b513b1db, []int{0, 0}
return fileDescriptor_claim_schema_6b5e08f519623944, []int{0, 0}
}
type Fee_Currency int32
@ -56,7 +52,6 @@ var Fee_Currency_name = map[int32]string{
0: "LBC",
1: "USD",
}
var Fee_Currency_value = map[string]int32{
"LBC": 0,
"USD": 1,
@ -65,13 +60,12 @@ var Fee_Currency_value = map[string]int32{
func (x Fee_Currency) String() string {
return proto.EnumName(Fee_Currency_name, int32(x))
}
func (Fee_Currency) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_bae86789b513b1db, []int{3, 0}
return fileDescriptor_claim_schema_6b5e08f519623944, []int{3, 0}
}
type Claim struct {
Type Claim_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.Claim_Type" json:"type,omitempty"`
Type Claim_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb3.Claim_Type" json:"type,omitempty"`
Stream *Stream `protobuf:"bytes,2,opt,name=stream,proto3" json:"stream,omitempty"`
Channel *Channel `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
@ -83,17 +77,16 @@ func (m *Claim) Reset() { *m = Claim{} }
func (m *Claim) String() string { return proto.CompactTextString(m) }
func (*Claim) ProtoMessage() {}
func (*Claim) Descriptor() ([]byte, []int) {
return fileDescriptor_bae86789b513b1db, []int{0}
return fileDescriptor_claim_schema_6b5e08f519623944, []int{0}
}
func (m *Claim) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Claim.Unmarshal(m, b)
}
func (m *Claim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Claim.Marshal(b, m, deterministic)
}
func (m *Claim) XXX_Merge(src proto.Message) {
xxx_messageInfo_Claim.Merge(m, src)
func (dst *Claim) XXX_Merge(src proto.Message) {
xxx_messageInfo_Claim.Merge(dst, src)
}
func (m *Claim) XXX_Size() int {
return xxx_messageInfo_Claim.Size(m)
@ -131,6 +124,7 @@ type Channel struct {
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
ContactEmail string `protobuf:"bytes,4,opt,name=contact_email,json=contactEmail,proto3" json:"contact_email,omitempty"`
HomepageUrl string `protobuf:"bytes,5,opt,name=homepage_url,json=homepageUrl,proto3" json:"homepage_url,omitempty"`
Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
ThumbnailUrl string `protobuf:"bytes,16,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"`
CoverUrl string `protobuf:"bytes,17,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
@ -142,17 +136,16 @@ func (m *Channel) Reset() { *m = Channel{} }
func (m *Channel) String() string { return proto.CompactTextString(m) }
func (*Channel) ProtoMessage() {}
func (*Channel) Descriptor() ([]byte, []int) {
return fileDescriptor_bae86789b513b1db, []int{1}
return fileDescriptor_claim_schema_6b5e08f519623944, []int{1}
}
func (m *Channel) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Channel.Unmarshal(m, b)
}
func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Channel.Marshal(b, m, deterministic)
}
func (m *Channel) XXX_Merge(src proto.Message) {
xxx_messageInfo_Channel.Merge(m, src)
func (dst *Channel) XXX_Merge(src proto.Message) {
xxx_messageInfo_Channel.Merge(dst, src)
}
func (m *Channel) XXX_Size() int {
return xxx_messageInfo_Channel.Size(m)
@ -198,6 +191,13 @@ func (m *Channel) GetHomepageUrl() string {
return ""
}
func (m *Channel) GetTags() []string {
if m != nil {
return m.Tags
}
return nil
}
func (m *Channel) GetThumbnailUrl() string {
if m != nil {
return m.ThumbnailUrl
@ -237,17 +237,16 @@ func (m *Stream) Reset() { *m = Stream{} }
func (m *Stream) String() string { return proto.CompactTextString(m) }
func (*Stream) ProtoMessage() {}
func (*Stream) Descriptor() ([]byte, []int) {
return fileDescriptor_bae86789b513b1db, []int{2}
return fileDescriptor_claim_schema_6b5e08f519623944, []int{2}
}
func (m *Stream) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Stream.Unmarshal(m, b)
}
func (m *Stream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Stream.Marshal(b, m, deterministic)
}
func (m *Stream) XXX_Merge(src proto.Message) {
xxx_messageInfo_Stream.Merge(m, src)
func (dst *Stream) XXX_Merge(src proto.Message) {
xxx_messageInfo_Stream.Merge(dst, src)
}
func (m *Stream) XXX_Size() int {
return xxx_messageInfo_Stream.Size(m)
@ -364,7 +363,7 @@ func (m *Stream) GetVideo() *Video {
}
type Fee struct {
Currency Fee_Currency `protobuf:"varint,1,opt,name=currency,proto3,enum=pb.Fee_Currency" json:"currency,omitempty"`
Currency Fee_Currency `protobuf:"varint,1,opt,name=currency,proto3,enum=pb3.Fee_Currency" json:"currency,omitempty"`
Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
@ -376,17 +375,16 @@ func (m *Fee) Reset() { *m = Fee{} }
func (m *Fee) String() string { return proto.CompactTextString(m) }
func (*Fee) ProtoMessage() {}
func (*Fee) Descriptor() ([]byte, []int) {
return fileDescriptor_bae86789b513b1db, []int{3}
return fileDescriptor_claim_schema_6b5e08f519623944, []int{3}
}
func (m *Fee) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Fee.Unmarshal(m, b)
}
func (m *Fee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Fee.Marshal(b, m, deterministic)
}
func (m *Fee) XXX_Merge(src proto.Message) {
xxx_messageInfo_Fee.Merge(m, src)
func (dst *Fee) XXX_Merge(src proto.Message) {
xxx_messageInfo_Fee.Merge(dst, src)
}
func (m *Fee) XXX_Size() int {
return xxx_messageInfo_Fee.Size(m)
@ -430,17 +428,16 @@ func (m *File) Reset() { *m = File{} }
func (m *File) String() string { return proto.CompactTextString(m) }
func (*File) ProtoMessage() {}
func (*File) Descriptor() ([]byte, []int) {
return fileDescriptor_bae86789b513b1db, []int{4}
return fileDescriptor_claim_schema_6b5e08f519623944, []int{4}
}
func (m *File) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_File.Unmarshal(m, b)
}
func (m *File) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_File.Marshal(b, m, deterministic)
}
func (m *File) XXX_Merge(src proto.Message) {
xxx_messageInfo_File.Merge(m, src)
func (dst *File) XXX_Merge(src proto.Message) {
xxx_messageInfo_File.Merge(dst, src)
}
func (m *File) XXX_Size() int {
return xxx_messageInfo_File.Size(m)
@ -477,17 +474,16 @@ func (m *Video) Reset() { *m = Video{} }
func (m *Video) String() string { return proto.CompactTextString(m) }
func (*Video) ProtoMessage() {}
func (*Video) Descriptor() ([]byte, []int) {
return fileDescriptor_bae86789b513b1db, []int{5}
return fileDescriptor_claim_schema_6b5e08f519623944, []int{5}
}
func (m *Video) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Video.Unmarshal(m, b)
}
func (m *Video) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Video.Marshal(b, m, deterministic)
}
func (m *Video) XXX_Merge(src proto.Message) {
xxx_messageInfo_Video.Merge(m, src)
func (dst *Video) XXX_Merge(src proto.Message) {
xxx_messageInfo_Video.Merge(dst, src)
}
func (m *Video) XXX_Size() int {
return xxx_messageInfo_Video.Size(m)
@ -513,57 +509,58 @@ func (m *Video) GetHeight() uint32 {
}
func init() {
proto.RegisterEnum("pb.Claim_Type", Claim_Type_name, Claim_Type_value)
proto.RegisterEnum("pb.Fee_Currency", Fee_Currency_name, Fee_Currency_value)
proto.RegisterType((*Claim)(nil), "pb.Claim")
proto.RegisterType((*Channel)(nil), "pb.Channel")
proto.RegisterType((*Stream)(nil), "pb.Stream")
proto.RegisterType((*Fee)(nil), "pb.Fee")
proto.RegisterType((*File)(nil), "pb.File")
proto.RegisterType((*Video)(nil), "pb.Video")
proto.RegisterType((*Claim)(nil), "pb3.Claim")
proto.RegisterType((*Channel)(nil), "pb3.Channel")
proto.RegisterType((*Stream)(nil), "pb3.Stream")
proto.RegisterType((*Fee)(nil), "pb3.Fee")
proto.RegisterType((*File)(nil), "pb3.File")
proto.RegisterType((*Video)(nil), "pb3.Video")
proto.RegisterEnum("pb3.Claim_Type", Claim_Type_name, Claim_Type_value)
proto.RegisterEnum("pb3.Fee_Currency", Fee_Currency_name, Fee_Currency_value)
}
func init() { proto.RegisterFile("claim.proto", fileDescriptor_bae86789b513b1db) }
func init() { proto.RegisterFile("claim_schema.proto", fileDescriptor_claim_schema_6b5e08f519623944) }
var fileDescriptor_bae86789b513b1db = []byte{
// 614 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x94, 0xcf, 0x6e, 0xd3, 0x40,
0x10, 0xc6, 0xeb, 0xda, 0x49, 0xec, 0x71, 0x52, 0x85, 0xa5, 0x54, 0xa6, 0xb4, 0x6a, 0x30, 0x42,
0xca, 0x01, 0xe5, 0x50, 0xc4, 0x03, 0x94, 0xd0, 0x0a, 0x89, 0xd2, 0xc3, 0xb6, 0xe5, 0x1a, 0x6d,
0xec, 0x69, 0xbc, 0x62, 0xfd, 0x47, 0xf6, 0xba, 0x28, 0x5c, 0x79, 0x08, 0x5e, 0x84, 0xa7, 0xe2,
0x29, 0xd0, 0x8e, 0x37, 0xa1, 0x82, 0xde, 0x66, 0x7e, 0x33, 0x19, 0xcd, 0xf7, 0xcd, 0x3a, 0x10,
0x26, 0x4a, 0xc8, 0x7c, 0x56, 0xd5, 0xa5, 0x2e, 0xd9, 0x6e, 0xb5, 0x8c, 0x7f, 0x3a, 0xd0, 0x9b,
0x1b, 0xc6, 0x62, 0xf0, 0xf4, 0xba, 0xc2, 0xc8, 0x99, 0x38, 0xd3, 0xbd, 0xd3, 0xbd, 0x59, 0xb5,
0x9c, 0x51, 0x61, 0x76, 0xb3, 0xae, 0x90, 0x53, 0x8d, 0xc5, 0xd0, 0x6f, 0x74, 0x8d, 0x22, 0x8f,
0x76, 0x27, 0xce, 0x34, 0x3c, 0x05, 0xd3, 0x75, 0x4d, 0x84, 0xdb, 0x0a, 0x7b, 0x0d, 0x83, 0x24,
0x13, 0x45, 0x81, 0x2a, 0x72, 0xa9, 0x29, 0xa4, 0x51, 0x1d, 0xe2, 0x9b, 0x5a, 0x7c, 0x02, 0x9e,
0x19, 0xcc, 0x00, 0xfa, 0xd7, 0x37, 0xfc, 0xfc, 0xec, 0xf3, 0x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x8e, 0x09, 0x6e, 0xaf, 0x3f,
0x8c, 0x9d, 0x78, 0x06, 0x9e, 0x31, 0xda, 0xa8, 0x2c, 0x44, 0xde, 0x7d, 0xc1, 0x01, 0xa7, 0xd8,
0xb0, 0x46, 0x7e, 0xef, 0x5e, 0x8d, 0xc7, 0x29, 0x8e, 0xdf, 0x41, 0x8f, 0x54, 0x98, 0xa7, 0xf3,
0x4d, 0xa6, 0xba, 0x7b, 0x6b, 0x23, 0xde, 0x25, 0x66, 0x89, 0x0c, 0xe5, 0x2a, 0xd3, 0xf4, 0xa3,
0x11, 0xb7, 0xd9, 0xb2, 0x4f, 0xff, 0x1a, 0x6f, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xe5, 0xbb,
0x5b, 0xad, 0x44, 0x04, 0x00, 0x00,
var fileDescriptor_claim_schema_6b5e08f519623944 = []byte{
// 632 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x54, 0xdd, 0x4e, 0xdb, 0x4a,
0x10, 0xc6, 0xc7, 0x8e, 0x63, 0x8f, 0x93, 0x73, 0xc2, 0x1e, 0x0e, 0xb2, 0x38, 0x45, 0x04, 0x23,
0x55, 0xb9, 0x69, 0x2e, 0x40, 0x7d, 0x00, 0x9a, 0x82, 0x2a, 0x95, 0x72, 0xb1, 0x40, 0x6f, 0xa3,
0x8d, 0x3d, 0xc4, 0xab, 0xae, 0x7f, 0x64, 0xaf, 0xa9, 0xd2, 0xeb, 0x3e, 0x45, 0x5f, 0xa4, 0x6f,
0x57, 0x55, 0x3b, 0xb6, 0xd3, 0xa8, 0xf4, 0x6e, 0xbe, 0xef, 0x9b, 0x9d, 0xcc, 0x7c, 0x33, 0x0e,
0xb0, 0x58, 0x09, 0x99, 0x2d, 0xeb, 0x38, 0xc5, 0x4c, 0xcc, 0xcb, 0xaa, 0xd0, 0x05, 0xb3, 0xcb,
0xd5, 0x45, 0xf4,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33, 0x0c, 0xff, 0x9b, 0x5a, 0x33, 0x9b, 0x07, 0x1d, 0x77, 0x2f,
0x33, 0x73, 0x57, 0x83, 0x27, 0x99, 0x60, 0x11, 0x1e, 0x52, 0xdb, 0x40, 0x6d, 0x7f, 0x34, 0x0c,
0x6f, 0x85, 0xe8, 0xab, 0x05, 0xf6, 0x35, 0x22, 0x7b, 0x05, 0x5e, 0xdc, 0x54, 0x15, 0xe6, 0xf1,
0xa6, 0xfb, 0xb2, 0xf6, 0xfb, 0x19, 0xe7, 0x8b, 0x4e, 0xe0, 0xdb, 0x14, 0x63, 0xa3, 0x48, 0x92,
0x0a, 0xeb, 0x9a, 0x16, 0x3a, 0xe2, 0x3d, 0xa4, 0xcd, 0x65, 0x45, 0x93, 0x6b, 0x5a, 0xa8, 0xc3,
0x3b, 0x14, 0xbd, 0x00, 0xaf, 0xaf, 0xc3, 0x86, 0x60, 0xdf, 0xbc, 0x59, 0x4c, 0xf6, 0x4c, 0xf0,
0x70, 0xf7, 0x76, 0x62, 0x45, 0x73, 0x70, 0x8c, 0xd7, 0x66, 0xce, 0x5c, 0x64, 0xed, 0xc7, 0xed,
0x73, 0x8a, 0x0d, 0x57, 0xcb, 0x2f, 0xed, 0xe5, 0x38, 0x9c, 0xe2, 0xe8, 0x35, 0x0c, 0x68, 0x0c,
0x73, 0x3e, 0x9f, 0x65, 0xa2, 0xdb, 0x7b, 0x1b, 0xf3, 0x16, 0x98, 0x26, 0x52, 0x94, 0xeb, 0x54,
0xd3, 0xa3, 0x31, 0xef, 0xd0, 0xca, 0xa5, 0x7f, 0x94, 0x8b, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff,
0x81, 0x5b, 0x03, 0x64, 0x67, 0x04, 0x00, 0x00,
}

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: claim.proto
# source: claim_schema.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
@ -16,18 +15,18 @@ _sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor.FileDescriptor(
name='claim.proto',
package='pb',
name='claim_schema.proto',
package='pb3',
syntax='proto3',
serialized_options=None,
serialized_pb=_b('\n\x0b\x63laim.proto\x12\x02pb\"\x80\x01\n\x05\x43laim\x12\x1c\n\x04type\x18\x01 \x01(\x0e\x32\x0e.pb.Claim.Type\x12\x1a\n\x06stream\x18\x02 \x01(\x0b\x32\n.pb.Stream\x12\x1c\n\x07\x63hannel\x18\x03 \x01(\x0b\x32\x0b.pb.Channel\"\x1f\n\x04Type\x12\n\n\x06STREAM\x10\x00\x12\x0b\n\x07\x43HANNEL\x10\x01\"\x98\x01\n\x07\x43hannel\x12\x12\n\npublic_key\x18\x01 \x01(\x0c\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x15\n\rcontact_email\x18\x04 \x01(\t\x12\x14\n\x0chomepage_url\x18\x05 \x01(\t\x12\x15\n\rthumbnail_url\x18\x10 \x01(\t\x12\x11\n\tcover_url\x18\x11 \x01(\t\"\xab\x02\n\x06Stream\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\x10\n\x08language\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x0e\n\x06\x61uthor\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x12\n\nmedia_type\x18\x06 \x01(\t\x12\x0f\n\x07license\x18\x07 \x01(\t\x12\x16\n\x04\x66ile\x18\x08 \x01(\x0b\x32\x08.pb.File\x12\x14\n\x03\x66\x65\x65\x18\x10 \x01(\x0b\x32\x07.pb.Fee\x12\x13\n\x0blicense_url\x18\x11 \x01(\t\x12\x15\n\rthumbnail_url\x18\x12 \x01(\t\x12\x10\n\x08\x64uration\x18\x13 \x01(\r\x12\x0c\n\x04tags\x18\x14 \x03(\t\x12\x14\n\x0crelease_time\x18\x15 \x01(\x03\x12\x18\n\x05video\x18\x16 \x01(\x0b\x32\t.pb.Video\"h\n\x03\x46\x65\x65\x12\"\n\x08\x63urrency\x18\x01 \x01(\x0e\x32\x10.pb.Fee.Currency\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\x0c\x12\x0e\n\x06\x61mount\x18\x03 \x01(\x04\"\x1c\n\x08\x43urrency\x12\x07\n\x03LBC\x10\x00\x12\x07\n\x03USD\x10\x01\"\"\n\x04\x46ile\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04size\x18\x02 \x01(\x04\"&\n\x05Video\x12\r\n\x05width\x18\x01 \x01(\r\x12\x0e\n\x06height\x18\x02 \x01(\rb\x06proto3')
serialized_pb=_b('\n\x12\x63laim_schema.proto\x12\x03pb3\"\x83\x01\n\x05\x43laim\x12\x1d\n\x04type\x18\x01 \x01(\x0e\x32\x0f.pb3.Claim.Type\x12\x1b\n\x06stream\x18\x02 \x01(\x0b\x32\x0b.pb3.Stream\x12\x1d\n\x07\x63hannel\x18\x03 \x01(\x0b\x32\x0c.pb3.Channel\"\x1f\n\x04Type\x12\n\n\x06STREAM\x10\x00\x12\x0b\n\x07\x43HANNEL\x10\x01\"\xa6\x01\n\x07\x43hannel\x12\x12\n\npublic_key\x18\x01 \x01(\x0c\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x15\n\rcontact_email\x18\x04 \x01(\t\x12\x14\n\x0chomepage_url\x18\x05 \x01(\t\x12\x0c\n\x04tags\x18\x06 \x03(\t\x12\x15\n\rthumbnail_url\x18\x10 \x01(\t\x12\x11\n\tcover_url\x18\x11 \x01(\t\"\xae\x02\n\x06Stream\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\x10\n\x08language\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x0e\n\x06\x61uthor\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x12\n\nmedia_type\x18\x06 \x01(\t\x12\x0f\n\x07license\x18\x07 \x01(\t\x12\x17\n\x04\x66ile\x18\x08 \x01(\x0b\x32\t.pb3.File\x12\x15\n\x03\x66\x65\x65\x18\x10 \x01(\x0b\x32\x08.pb3.Fee\x12\x13\n\x0blicense_url\x18\x11 \x01(\t\x12\x15\n\rthumbnail_url\x18\x12 \x01(\t\x12\x10\n\x08\x64uration\x18\x13 \x01(\r\x12\x0c\n\x04tags\x18\x14 \x03(\t\x12\x14\n\x0crelease_time\x18\x15 \x01(\x03\x12\x19\n\x05video\x18\x16 \x01(\x0b\x32\n.pb3.Video\"i\n\x03\x46\x65\x65\x12#\n\x08\x63urrency\x18\x01 \x01(\x0e\x32\x11.pb3.Fee.Currency\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\x0c\x12\x0e\n\x06\x61mount\x18\x03 \x01(\x04\"\x1c\n\x08\x43urrency\x12\x07\n\x03LBC\x10\x00\x12\x07\n\x03USD\x10\x01\"\"\n\x04\x46ile\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04size\x18\x02 \x01(\x04\"&\n\x05Video\x12\r\n\x05width\x18\x01 \x01(\r\x12\x0e\n\x06height\x18\x02 \x01(\rb\x06proto3')
)
_CLAIM_TYPE = _descriptor.EnumDescriptor(
name='Type',
full_name='pb.Claim.Type',
full_name='pb3.Claim.Type',
filename=None,
file=DESCRIPTOR,
values=[
@ -42,14 +41,14 @@ _CLAIM_TYPE = _descriptor.EnumDescriptor(
],
containing_type=None,
serialized_options=None,
serialized_start=117,
serialized_end=148,
serialized_start=128,
serialized_end=159,
)
_sym_db.RegisterEnumDescriptor(_CLAIM_TYPE)
_FEE_CURRENCY = _descriptor.EnumDescriptor(
name='Currency',
full_name='pb.Fee.Currency',
full_name='pb3.Fee.Currency',
filename=None,
file=DESCRIPTOR,
values=[
@ -64,35 +63,35 @@ _FEE_CURRENCY = _descriptor.EnumDescriptor(
],
containing_type=None,
serialized_options=None,
serialized_start=683,
serialized_end=711,
serialized_start=712,
serialized_end=740,
)
_sym_db.RegisterEnumDescriptor(_FEE_CURRENCY)
_CLAIM = _descriptor.Descriptor(
name='Claim',
full_name='pb.Claim',
full_name='pb3.Claim',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='type', full_name='pb.Claim.type', index=0,
name='type', full_name='pb3.Claim.type', 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='stream', full_name='pb.Claim.stream', index=1,
name='stream', full_name='pb3.Claim.stream', 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='channel', full_name='pb.Claim.channel', index=2,
name='channel', full_name='pb3.Claim.channel', 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,
@ -111,62 +110,69 @@ _CLAIM = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=20,
serialized_end=148,
serialized_start=28,
serialized_end=159,
)
_CHANNEL = _descriptor.Descriptor(
name='Channel',
full_name='pb.Channel',
full_name='pb3.Channel',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='public_key', full_name='pb.Channel.public_key', index=0,
name='public_key', full_name='pb3.Channel.public_key', 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='title', full_name='pb.Channel.title', index=1,
name='title', full_name='pb3.Channel.title', 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),
_descriptor.FieldDescriptor(
name='description', full_name='pb.Channel.description', index=2,
name='description', full_name='pb3.Channel.description', 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='contact_email', full_name='pb.Channel.contact_email', index=3,
name='contact_email', full_name='pb3.Channel.contact_email', 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='homepage_url', full_name='pb.Channel.homepage_url', index=4,
name='homepage_url', full_name='pb3.Channel.homepage_url', index=4,
number=5, 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='thumbnail_url', full_name='pb.Channel.thumbnail_url', index=5,
name='tags', full_name='pb3.Channel.tags', index=5,
number=6, type=9, cpp_type=9, 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='thumbnail_url', full_name='pb3.Channel.thumbnail_url', index=6,
number=16, 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='cover_url', full_name='pb.Channel.cover_url', index=6,
name='cover_url', full_name='pb3.Channel.cover_url', index=7,
number=17, 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,
@ -184,118 +190,118 @@ _CHANNEL = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=151,
serialized_end=303,
serialized_start=162,
serialized_end=328,
)
_STREAM = _descriptor.Descriptor(
name='Stream',
full_name='pb.Stream',
full_name='pb3.Stream',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='hash', full_name='pb.Stream.hash', index=0,
name='hash', full_name='pb3.Stream.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='language', full_name='pb.Stream.language', index=1,
name='language', full_name='pb3.Stream.language', 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),
_descriptor.FieldDescriptor(
name='title', full_name='pb.Stream.title', index=2,
name='title', full_name='pb3.Stream.title', 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='author', full_name='pb.Stream.author', index=3,
name='author', full_name='pb3.Stream.author', 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='description', full_name='pb.Stream.description', index=4,
name='description', full_name='pb3.Stream.description', index=4,
number=5, 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='media_type', full_name='pb.Stream.media_type', index=5,
name='media_type', full_name='pb3.Stream.media_type', index=5,
number=6, 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='license', full_name='pb.Stream.license', index=6,
name='license', full_name='pb3.Stream.license', index=6,
number=7, 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='file', full_name='pb.Stream.file', index=7,
name='file', full_name='pb3.Stream.file', 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,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='fee', full_name='pb.Stream.fee', index=8,
name='fee', full_name='pb3.Stream.fee', index=8,
number=16, 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='license_url', full_name='pb.Stream.license_url', index=9,
name='license_url', full_name='pb3.Stream.license_url', index=9,
number=17, 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='thumbnail_url', full_name='pb.Stream.thumbnail_url', index=10,
name='thumbnail_url', full_name='pb3.Stream.thumbnail_url', index=10,
number=18, 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='duration', full_name='pb.Stream.duration', index=11,
name='duration', full_name='pb3.Stream.duration', index=11,
number=19, 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='tags', full_name='pb.Stream.tags', index=12,
name='tags', full_name='pb3.Stream.tags', index=12,
number=20, type=9, cpp_type=9, 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='release_time', full_name='pb.Stream.release_time', index=13,
name='release_time', full_name='pb3.Stream.release_time', index=13,
number=21, type=3, 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),
_descriptor.FieldDescriptor(
name='video', full_name='pb.Stream.video', index=14,
name='video', full_name='pb3.Stream.video', index=14,
number=22, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
@ -313,34 +319,34 @@ _STREAM = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=306,
serialized_end=605,
serialized_start=331,
serialized_end=633,
)
_FEE = _descriptor.Descriptor(
name='Fee',
full_name='pb.Fee',
full_name='pb3.Fee',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='currency', full_name='pb.Fee.currency', index=0,
name='currency', full_name='pb3.Fee.currency', 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='address', full_name='pb.Fee.address', index=1,
name='address', full_name='pb3.Fee.address', index=1,
number=2, 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='amount', full_name='pb.Fee.amount', index=2,
name='amount', full_name='pb3.Fee.amount', index=2,
number=3, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
@ -359,27 +365,27 @@ _FEE = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=607,
serialized_end=711,
serialized_start=635,
serialized_end=740,
)
_FILE = _descriptor.Descriptor(
name='File',
full_name='pb.File',
full_name='pb3.File',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='name', full_name='pb.File.name', index=0,
name='name', full_name='pb3.File.name', index=0,
number=1, 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='size', full_name='pb.File.size', index=1,
name='size', full_name='pb3.File.size', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
@ -397,27 +403,27 @@ _FILE = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=713,
serialized_end=747,
serialized_start=742,
serialized_end=776,
)
_VIDEO = _descriptor.Descriptor(
name='Video',
full_name='pb.Video',
full_name='pb3.Video',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='width', full_name='pb.Video.width', index=0,
name='width', full_name='pb3.Video.width', index=0,
number=1, 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.Video.height', index=1,
name='height', full_name='pb3.Video.height', 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,
@ -435,8 +441,8 @@ _VIDEO = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=749,
serialized_end=787,
serialized_start=778,
serialized_end=816,
)
_CLAIM.fields_by_name['type'].enum_type = _CLAIM_TYPE
@ -458,43 +464,43 @@ _sym_db.RegisterFileDescriptor(DESCRIPTOR)
Claim = _reflection.GeneratedProtocolMessageType('Claim', (_message.Message,), dict(
DESCRIPTOR = _CLAIM,
__module__ = 'claim_pb2'
# @@protoc_insertion_point(class_scope:pb.Claim)
__module__ = 'claim_schema_pb2'
# @@protoc_insertion_point(class_scope:pb3.Claim)
))
_sym_db.RegisterMessage(Claim)
Channel = _reflection.GeneratedProtocolMessageType('Channel', (_message.Message,), dict(
DESCRIPTOR = _CHANNEL,
__module__ = 'claim_pb2'
# @@protoc_insertion_point(class_scope:pb.Channel)
__module__ = 'claim_schema_pb2'
# @@protoc_insertion_point(class_scope:pb3.Channel)
))
_sym_db.RegisterMessage(Channel)
Stream = _reflection.GeneratedProtocolMessageType('Stream', (_message.Message,), dict(
DESCRIPTOR = _STREAM,
__module__ = 'claim_pb2'
# @@protoc_insertion_point(class_scope:pb.Stream)
__module__ = 'claim_schema_pb2'
# @@protoc_insertion_point(class_scope:pb3.Stream)
))
_sym_db.RegisterMessage(Stream)
Fee = _reflection.GeneratedProtocolMessageType('Fee', (_message.Message,), dict(
DESCRIPTOR = _FEE,
__module__ = 'claim_pb2'
# @@protoc_insertion_point(class_scope:pb.Fee)
__module__ = 'claim_schema_pb2'
# @@protoc_insertion_point(class_scope:pb3.Fee)
))
_sym_db.RegisterMessage(Fee)
File = _reflection.GeneratedProtocolMessageType('File', (_message.Message,), dict(
DESCRIPTOR = _FILE,
__module__ = 'claim_pb2'
# @@protoc_insertion_point(class_scope:pb.File)
__module__ = 'claim_schema_pb2'
# @@protoc_insertion_point(class_scope:pb3.File)
))
_sym_db.RegisterMessage(File)
Video = _reflection.GeneratedProtocolMessageType('Video', (_message.Message,), dict(
DESCRIPTOR = _VIDEO,
__module__ = 'claim_pb2'
# @@protoc_insertion_point(class_scope:pb.Video)
__module__ = 'claim_schema_pb2'
# @@protoc_insertion_point(class_scope:pb3.Video)
))
_sym_db.RegisterMessage(Video)