github.com/franono/tendermint@v0.32.2-0.20200527150959-749313264ce9/proto/evidence/msgs.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: proto/evidence/msgs.proto 3 4 package evidence 5 6 import ( 7 fmt "fmt" 8 _ "github.com/gogo/protobuf/gogoproto" 9 proto "github.com/gogo/protobuf/proto" 10 types "github.com/franono/tendermint/proto/types" 11 math "math" 12 ) 13 14 // Reference imports to suppress errors if they are not otherwise used. 15 var _ = proto.Marshal 16 var _ = fmt.Errorf 17 var _ = math.Inf 18 19 // This is a compile-time assertion to ensure that this generated file 20 // is compatible with the proto package it is being compiled against. 21 // A compilation error at this line likely means your copy of the 22 // proto package needs to be updated. 23 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 24 25 type List struct { 26 Evidence []types.Evidence `protobuf:"bytes,1,rep,name=evidence,proto3" json:"evidence"` 27 XXX_NoUnkeyedLiteral struct{} `json:"-"` 28 XXX_unrecognized []byte `json:"-"` 29 XXX_sizecache int32 `json:"-"` 30 } 31 32 func (m *List) Reset() { *m = List{} } 33 func (m *List) String() string { return proto.CompactTextString(m) } 34 func (*List) ProtoMessage() {} 35 func (*List) Descriptor() ([]byte, []int) { 36 return fileDescriptor_df8322769b0bd7d6, []int{0} 37 } 38 func (m *List) XXX_Unmarshal(b []byte) error { 39 return xxx_messageInfo_List.Unmarshal(m, b) 40 } 41 func (m *List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 42 return xxx_messageInfo_List.Marshal(b, m, deterministic) 43 } 44 func (m *List) XXX_Merge(src proto.Message) { 45 xxx_messageInfo_List.Merge(m, src) 46 } 47 func (m *List) XXX_Size() int { 48 return xxx_messageInfo_List.Size(m) 49 } 50 func (m *List) XXX_DiscardUnknown() { 51 xxx_messageInfo_List.DiscardUnknown(m) 52 } 53 54 var xxx_messageInfo_List proto.InternalMessageInfo 55 56 func (m *List) GetEvidence() []types.Evidence { 57 if m != nil { 58 return m.Evidence 59 } 60 return nil 61 } 62 63 type Info struct { 64 Committed bool `protobuf:"varint,1,opt,name=committed,proto3" json:"committed,omitempty"` 65 Priority int64 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` 66 Evidence types.Evidence `protobuf:"bytes,3,opt,name=evidence,proto3" json:"evidence"` 67 XXX_NoUnkeyedLiteral struct{} `json:"-"` 68 XXX_unrecognized []byte `json:"-"` 69 XXX_sizecache int32 `json:"-"` 70 } 71 72 func (m *Info) Reset() { *m = Info{} } 73 func (m *Info) String() string { return proto.CompactTextString(m) } 74 func (*Info) ProtoMessage() {} 75 func (*Info) Descriptor() ([]byte, []int) { 76 return fileDescriptor_df8322769b0bd7d6, []int{1} 77 } 78 func (m *Info) XXX_Unmarshal(b []byte) error { 79 return xxx_messageInfo_Info.Unmarshal(m, b) 80 } 81 func (m *Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 82 return xxx_messageInfo_Info.Marshal(b, m, deterministic) 83 } 84 func (m *Info) XXX_Merge(src proto.Message) { 85 xxx_messageInfo_Info.Merge(m, src) 86 } 87 func (m *Info) XXX_Size() int { 88 return xxx_messageInfo_Info.Size(m) 89 } 90 func (m *Info) XXX_DiscardUnknown() { 91 xxx_messageInfo_Info.DiscardUnknown(m) 92 } 93 94 var xxx_messageInfo_Info proto.InternalMessageInfo 95 96 func (m *Info) GetCommitted() bool { 97 if m != nil { 98 return m.Committed 99 } 100 return false 101 } 102 103 func (m *Info) GetPriority() int64 { 104 if m != nil { 105 return m.Priority 106 } 107 return 0 108 } 109 110 func (m *Info) GetEvidence() types.Evidence { 111 if m != nil { 112 return m.Evidence 113 } 114 return types.Evidence{} 115 } 116 117 func init() { 118 proto.RegisterType((*List)(nil), "tendermint.proto.evidence.List") 119 proto.RegisterType((*Info)(nil), "tendermint.proto.evidence.Info") 120 } 121 122 func init() { proto.RegisterFile("proto/evidence/msgs.proto", fileDescriptor_df8322769b0bd7d6) } 123 124 var fileDescriptor_df8322769b0bd7d6 = []byte{ 125 // 228 bytes of a gzipped FileDescriptorProto 126 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2c, 0x28, 0xca, 0x2f, 127 0xc9, 0xd7, 0x4f, 0x2d, 0xcb, 0x4c, 0x49, 0xcd, 0x4b, 0x4e, 0xd5, 0xcf, 0x2d, 0x4e, 0x2f, 0xd6, 128 0x03, 0x8b, 0x09, 0x49, 0x96, 0xa4, 0xe6, 0xa5, 0xa4, 0x16, 0xe5, 0x66, 0xe6, 0x95, 0x40, 0x44, 129 0xf4, 0x60, 0xaa, 0xa4, 0xd4, 0x4a, 0x32, 0x32, 0x8b, 0x52, 0xe2, 0x0b, 0x12, 0x8b, 0x4a, 0x2a, 130 0xf5, 0x21, 0x26, 0xa4, 0xe7, 0xa7, 0xe7, 0x23, 0x58, 0x10, 0x0d, 0x52, 0x52, 0x10, 0x91, 0x92, 131 0xca, 0x82, 0xd4, 0x62, 0xb8, 0x1d, 0x10, 0x39, 0x25, 0x2f, 0x2e, 0x16, 0x9f, 0xcc, 0xe2, 0x12, 132 0x21, 0x27, 0x2e, 0x0e, 0x98, 0x8c, 0x04, 0xa3, 0x02, 0xb3, 0x06, 0xb7, 0x91, 0x82, 0x1e, 0x86, 133 0xcd, 0x60, 0x13, 0xf4, 0x5c, 0xa1, 0xea, 0x9c, 0x58, 0x4e, 0xdc, 0x93, 0x67, 0x08, 0x82, 0xeb, 134 0x53, 0x6a, 0x61, 0xe4, 0x62, 0xf1, 0xcc, 0x4b, 0xcb, 0x17, 0x92, 0xe1, 0xe2, 0x4c, 0xce, 0xcf, 135 0xcd, 0xcd, 0x2c, 0x29, 0x49, 0x4d, 0x91, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x08, 0x42, 0x08, 0x08, 136 0x49, 0x71, 0x71, 0x14, 0x14, 0x65, 0xe6, 0x17, 0x65, 0x96, 0x54, 0x4a, 0x30, 0x29, 0x30, 0x6a, 137 0x30, 0x07, 0xc1, 0xf9, 0x28, 0xce, 0x60, 0x56, 0x60, 0x24, 0xc7, 0x19, 0x4e, 0x86, 0x51, 0xfa, 138 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x08, 0xdd, 0xc8, 0x4c, 0xd4, 139 0xf0, 0x4e, 0x62, 0x03, 0xf3, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0f, 0x66, 0x20, 0x26, 140 0x88, 0x01, 0x00, 0x00, 141 }