/
vote_asset_contract.pb.go
110 lines (95 loc) · 4.14 KB
/
vote_asset_contract.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: core/contract/vote_asset_contract.proto
package core
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 VoteAssetContract struct {
OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
VoteAddress [][]byte `protobuf:"bytes,2,rep,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"`
Support bool `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"`
Count int32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VoteAssetContract) Reset() { *m = VoteAssetContract{} }
func (m *VoteAssetContract) String() string { return proto.CompactTextString(m) }
func (*VoteAssetContract) ProtoMessage() {}
func (*VoteAssetContract) Descriptor() ([]byte, []int) {
return fileDescriptor_268c0a108a0de374, []int{0}
}
func (m *VoteAssetContract) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VoteAssetContract.Unmarshal(m, b)
}
func (m *VoteAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VoteAssetContract.Marshal(b, m, deterministic)
}
func (m *VoteAssetContract) XXX_Merge(src proto.Message) {
xxx_messageInfo_VoteAssetContract.Merge(m, src)
}
func (m *VoteAssetContract) XXX_Size() int {
return xxx_messageInfo_VoteAssetContract.Size(m)
}
func (m *VoteAssetContract) XXX_DiscardUnknown() {
xxx_messageInfo_VoteAssetContract.DiscardUnknown(m)
}
var xxx_messageInfo_VoteAssetContract proto.InternalMessageInfo
func (m *VoteAssetContract) GetOwnerAddress() []byte {
if m != nil {
return m.OwnerAddress
}
return nil
}
func (m *VoteAssetContract) GetVoteAddress() [][]byte {
if m != nil {
return m.VoteAddress
}
return nil
}
func (m *VoteAssetContract) GetSupport() bool {
if m != nil {
return m.Support
}
return false
}
func (m *VoteAssetContract) GetCount() int32 {
if m != nil {
return m.Count
}
return 0
}
func init() {
proto.RegisterType((*VoteAssetContract)(nil), "protocol.VoteAssetContract")
}
func init() {
proto.RegisterFile("core/contract/vote_asset_contract.proto", fileDescriptor_268c0a108a0de374)
}
var fileDescriptor_268c0a108a0de374 = []byte{
// 211 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x34, 0x8f, 0xb1, 0x4e, 0x04, 0x21,
0x10, 0x86, 0x83, 0x97, 0xd5, 0x0b, 0xae, 0x85, 0x1b, 0x0b, 0x4a, 0x4e, 0x0b, 0xa9, 0xa0, 0xb0,
0xb6, 0x38, 0x7d, 0x03, 0x0a, 0x0b, 0x9b, 0x0d, 0x70, 0xb8, 0x5e, 0xa2, 0xcc, 0x66, 0x98, 0xd5,
0x87, 0xf0, 0xa5, 0x0d, 0xcb, 0x52, 0x4d, 0xfe, 0x2f, 0xdf, 0x64, 0xfe, 0xe1, 0x8f, 0x01, 0x30,
0x9a, 0x00, 0x89, 0xd0, 0x05, 0x32, 0x3f, 0x40, 0x71, 0x74, 0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