// Code generated by protoc-gen-go. DO NOT EDIT. // source: result.proto package pb import ( fmt "fmt" proto "github.com/golang/protobuf/proto" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type Error_Code int32 const ( Error_UNKNOWN_CODE Error_Code = 0 Error_NOT_FOUND Error_Code = 1 Error_INVALID Error_Code = 2 ) var Error_Code_name = map[int32]string{ 0: "UNKNOWN_CODE", 1: "NOT_FOUND", 2: "INVALID", } var Error_Code_value = map[string]int32{ "UNKNOWN_CODE": 0, "NOT_FOUND": 1, "INVALID": 2, } func (x Error_Code) String() string { return proto.EnumName(Error_Code_name, int32(x)) } func (Error_Code) EnumDescriptor() ([]byte, []int) { return fileDescriptor_4feee897733d2100, []int{3, 0} } type Outputs struct { Txos []*Output `protobuf:"bytes,1,rep,name=txos,proto3" json:"txos"` ExtraTxos []*Output `protobuf:"bytes,2,rep,name=extra_txos,json=extraTxos,proto3" json:"extra_txos"` Total uint32 `protobuf:"varint,3,opt,name=total,proto3" json:"total"` Offset uint32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Outputs) Reset() { *m = Outputs{} } func (m *Outputs) String() string { return proto.CompactTextString(m) } func (*Outputs) ProtoMessage() {} func (*Outputs) Descriptor() ([]byte, []int) { return fileDescriptor_4feee897733d2100, []int{0} } func (m *Outputs) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Outputs.Unmarshal(m, b) } func (m *Outputs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Outputs.Marshal(b, m, deterministic) } func (m *Outputs) XXX_Merge(src proto.Message) { xxx_messageInfo_Outputs.Merge(m, src) } func (m *Outputs) XXX_Size() int { return xxx_messageInfo_Outputs.Size(m) } func (m *Outputs) XXX_DiscardUnknown() { xxx_messageInfo_Outputs.DiscardUnknown(m) } var xxx_messageInfo_Outputs proto.InternalMessageInfo func (m *Outputs) GetTxos() []*Output { if m != nil { return m.Txos } return nil } func (m *Outputs) GetExtraTxos() []*Output { if m != nil { return m.ExtraTxos } return nil } func (m *Outputs) GetTotal() uint32 { if m != nil { return m.Total } return 0 } func (m *Outputs) GetOffset() uint32 { if m != nil { return m.Offset } return 0 } type Output struct { TxHash []byte `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash"` Nout uint32 `protobuf:"varint,2,opt,name=nout,proto3" json:"nout"` Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height"` // Types that are valid to be assigned to Meta: // *Output_Claim // *Output_Error Meta isOutput_Meta `protobuf_oneof:"meta"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Output) Reset() { *m = Output{} } func (m *Output) String() string { return proto.CompactTextString(m) } func (*Output) ProtoMessage() {} func (*Output) Descriptor() ([]byte, []int) { return fileDescriptor_4feee897733d2100, []int{1} } func (m *Output) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Output.Unmarshal(m, b) } func (m *Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Output.Marshal(b, m, deterministic) } func (m *Output) XXX_Merge(src proto.Message) { xxx_messageInfo_Output.Merge(m, src) } func (m *Output) XXX_Size() int { return xxx_messageInfo_Output.Size(m) } func (m *Output) XXX_DiscardUnknown() { xxx_messageInfo_Output.DiscardUnknown(m) } var xxx_messageInfo_Output proto.InternalMessageInfo func (m *Output) GetTxHash() []byte { if m != nil { return m.TxHash } return nil } func (m *Output) GetNout() uint32 { if m != nil { return m.Nout } return 0 } func (m *Output) GetHeight() uint32 { if m != nil { return m.Height } return 0 } type isOutput_Meta interface { isOutput_Meta() } type Output_Claim struct { Claim *ClaimMeta `protobuf:"bytes,7,opt,name=claim,proto3,oneof"` } type Output_Error struct { Error *Error `protobuf:"bytes,15,opt,name=error,proto3,oneof"` } func (*Output_Claim) isOutput_Meta() {} func (*Output_Error) isOutput_Meta() {} func (m *Output) GetMeta() isOutput_Meta { if m != nil { return m.Meta } return nil } func (m *Output) GetClaim() *ClaimMeta { if x, ok := m.GetMeta().(*Output_Claim); ok { return x.Claim } return nil } func (m *Output) GetError() *Error { if x, ok := m.GetMeta().(*Output_Error); ok { return x.Error } return nil } // XXX_OneofWrappers is for the internal use of the proto package. func (*Output) XXX_OneofWrappers() []interface{} { return []interface{}{ (*Output_Claim)(nil), (*Output_Error)(nil), } } type ClaimMeta struct { Channel *Output `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel"` Repost *Output `protobuf:"bytes,2,opt,name=repost,proto3" json:"repost"` ShortUrl string `protobuf:"bytes,3,opt,name=short_url,json=shortUrl,proto3" json:"short_url"` CanonicalUrl string `protobuf:"bytes,4,opt,name=canonical_url,json=canonicalUrl,proto3" json:"canonical_url"` IsControlling bool `protobuf:"varint,5,opt,name=is_controlling,json=isControlling,proto3" json:"is_controlling"` TakeOverHeight uint32 `protobuf:"varint,6,opt,name=take_over_height,json=takeOverHeight,proto3" json:"take_over_height"` CreationHeight uint32 `protobuf:"varint,7,opt,name=creation_height,json=creationHeight,proto3" json:"creation_height"` ActivationHeight uint32 `protobuf:"varint,8,opt,name=activation_height,json=activationHeight,proto3" json:"activation_height"` ExpirationHeight uint32 `protobuf:"varint,9,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height"` ClaimsInChannel uint32 `protobuf:"varint,10,opt,name=claims_in_channel,json=claimsInChannel,proto3" json:"claims_in_channel"` Reposted uint32 `protobuf:"varint,11,opt,name=reposted,proto3" json:"reposted"` EffectiveAmount uint64 `protobuf:"varint,20,opt,name=effective_amount,json=effectiveAmount,proto3" json:"effective_amount"` SupportAmount uint64 `protobuf:"varint,21,opt,name=support_amount,json=supportAmount,proto3" json:"support_amount"` TrendingGroup uint32 `protobuf:"varint,22,opt,name=trending_group,json=trendingGroup,proto3" json:"trending_group"` TrendingMixed float32 `protobuf:"fixed32,23,opt,name=trending_mixed,json=trendingMixed,proto3" json:"trending_mixed"` TrendingLocal float32 `protobuf:"fixed32,24,opt,name=trending_local,json=trendingLocal,proto3" json:"trending_local"` TrendingGlobal float32 `protobuf:"fixed32,25,opt,name=trending_global,json=trendingGlobal,proto3" json:"trending_global"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ClaimMeta) Reset() { *m = ClaimMeta{} } func (m *ClaimMeta) String() string { return proto.CompactTextString(m) } func (*ClaimMeta) ProtoMessage() {} func (*ClaimMeta) Descriptor() ([]byte, []int) { return fileDescriptor_4feee897733d2100, []int{2} } func (m *ClaimMeta) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClaimMeta.Unmarshal(m, b) } func (m *ClaimMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClaimMeta.Marshal(b, m, deterministic) } func (m *ClaimMeta) XXX_Merge(src proto.Message) { xxx_messageInfo_ClaimMeta.Merge(m, src) } func (m *ClaimMeta) XXX_Size() int { return xxx_messageInfo_ClaimMeta.Size(m) } func (m *ClaimMeta) XXX_DiscardUnknown() { xxx_messageInfo_ClaimMeta.DiscardUnknown(m) } var xxx_messageInfo_ClaimMeta proto.InternalMessageInfo func (m *ClaimMeta) GetChannel() *Output { if m != nil { return m.Channel } return nil } func (m *ClaimMeta) GetRepost() *Output { if m != nil { return m.Repost } return nil } func (m *ClaimMeta) GetShortUrl() string { if m != nil { return m.ShortUrl } return "" } func (m *ClaimMeta) GetCanonicalUrl() string { if m != nil { return m.CanonicalUrl } return "" } func (m *ClaimMeta) GetIsControlling() bool { if m != nil { return m.IsControlling } return false } func (m *ClaimMeta) GetTakeOverHeight() uint32 { if m != nil { return m.TakeOverHeight } return 0 } func (m *ClaimMeta) GetCreationHeight() uint32 { if m != nil { return m.CreationHeight } return 0 } func (m *ClaimMeta) GetActivationHeight() uint32 { if m != nil { return m.ActivationHeight } return 0 } func (m *ClaimMeta) GetExpirationHeight() uint32 { if m != nil { return m.ExpirationHeight } return 0 } func (m *ClaimMeta) GetClaimsInChannel() uint32 { if m != nil { return m.ClaimsInChannel } return 0 } func (m *ClaimMeta) GetReposted() uint32 { if m != nil { return m.Reposted } return 0 } func (m *ClaimMeta) GetEffectiveAmount() uint64 { if m != nil { return m.EffectiveAmount } return 0 } func (m *ClaimMeta) GetSupportAmount() uint64 { if m != nil { return m.SupportAmount } return 0 } func (m *ClaimMeta) GetTrendingGroup() uint32 { if m != nil { return m.TrendingGroup } return 0 } func (m *ClaimMeta) GetTrendingMixed() float32 { if m != nil { return m.TrendingMixed } return 0 } func (m *ClaimMeta) GetTrendingLocal() float32 { if m != nil { return m.TrendingLocal } return 0 } func (m *ClaimMeta) GetTrendingGlobal() float32 { if m != nil { return m.TrendingGlobal } return 0 } type Error struct { Code Error_Code `protobuf:"varint,1,opt,name=code,proto3,enum=pb.Error_Code" json:"code"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Error) Reset() { *m = Error{} } func (m *Error) String() string { return proto.CompactTextString(m) } func (*Error) ProtoMessage() {} func (*Error) Descriptor() ([]byte, []int) { return fileDescriptor_4feee897733d2100, []int{3} } func (m *Error) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Error.Unmarshal(m, b) } func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Error.Marshal(b, m, deterministic) } func (m *Error) XXX_Merge(src proto.Message) { xxx_messageInfo_Error.Merge(m, src) } func (m *Error) XXX_Size() int { return xxx_messageInfo_Error.Size(m) } func (m *Error) XXX_DiscardUnknown() { xxx_messageInfo_Error.DiscardUnknown(m) } var xxx_messageInfo_Error proto.InternalMessageInfo func (m *Error) GetCode() Error_Code { if m != nil { return m.Code } return Error_UNKNOWN_CODE } func (m *Error) GetText() string { if m != nil { return m.Text } return "" } func init() { proto.RegisterEnum("pb.Error_Code", Error_Code_name, Error_Code_value) proto.RegisterType((*Outputs)(nil), "pb.Outputs") proto.RegisterType((*Output)(nil), "pb.Output") proto.RegisterType((*ClaimMeta)(nil), "pb.ClaimMeta") proto.RegisterType((*Error)(nil), "pb.Error") } func init() { proto.RegisterFile("result.proto", fileDescriptor_4feee897733d2100) } var fileDescriptor_4feee897733d2100 = []byte{ // 617 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x94, 0xdd, 0x6e, 0xd3, 0x30, 0x18, 0x86, 0x97, 0x2e, 0xfd, 0xc9, 0xd7, 0xdf, 0x59, 0x63, 0x33, 0x20, 0xa1, 0x10, 0x98, 0xc8, 0x40, 0xea, 0xc1, 0xe0, 0x06, 0x46, 0x37, 0xb6, 0x89, 0xad, 0x95, 0xa2, 0x0d, 0x0e, 0x23, 0x37, 0x75, 0x9b, 0x88, 0x34, 0x8e, 0x1c, 0x67, 0xca, 0x31, 0x37, 0xc2, 0x01, 0x37, 0x8a, 0xfc, 0x25, 0x6d, 0x14, 0x71, 0x16, 0x3f, 0xef, 0xe3, 0x1f, 0xbd, 0x76, 0x0b, 0x03, 0xc9, 0xb3, 0x3c, 0x56, 0xd3, 0x54, 0x0a, 0x25, 0x48, 0x2b, 0x5d, 0x3a, 0xbf, 0x0d, 0xe8, 0x2e, 0x72, 0x95, 0xe6, 0x2a, 0x23, 0x6f, 0xc0, 0x54, 0x85, 0xc8, 0xa8, 0x61, 0x1f, 0xba, 0xfd, 0x0b, 0x98, 0xa6, 0xcb, 0x69, 0x19, 0x79, 0xc8, 0xc9, 0x39, 0x00, 0x2f, 0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