/
bigint.pb.go
56 lines (46 loc) · 1.87 KB
/
bigint.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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: bigint.proto
package sonm
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
var _ = fmt.Errorf
var _ = math.Inf
// BigInt represents multi-precision value stored as a big integer.
type BigInt struct {
Neg bool `protobuf:"varint,1,opt,name=neg" json:"neg,omitempty"`
Abs []byte `protobuf:"bytes,2,opt,name=abs,proto3" json:"abs,omitempty"`
}
func (m *BigInt) Reset() { *m = BigInt{} }
func (m *BigInt) String() string { return proto.CompactTextString(m) }
func (*BigInt) ProtoMessage() {}
func (*BigInt) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
func (m *BigInt) GetNeg() bool {
if m != nil {
return m.Neg
}
return false
}
func (m *BigInt) GetAbs() []byte {
if m != nil {
return m.Abs
}
return nil
}
func init() {
proto.RegisterType((*BigInt)(nil), "sonm.BigInt")
}
func init() { proto.RegisterFile("bigint.proto", fileDescriptor2) }
var fileDescriptor2 = []byte{
// 119 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x49, 0xca, 0x4c, 0xcf,
0xcc, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x29, 0xce, 0xcf, 0xcb, 0x55, 0xd2,
0xe1, 0x62, 0x73, 0xca, 0x4c, 0xf7, 0xcc, 0x2b, 0x11, 0x12, 0xe0, 0x62, 0xce, 0x4b, 0x4d, 0x97,
0x60, 0x54, 0x60, 0xd4, 0xe0, 0x08, 0x02, 0x31, 0x41, 0x22, 0x89, 0x49, 0xc5, 0x12, 0x4c, 0x0a,
0x8c, 0x1a, 0x3c, 0x41, 0x20, 0xa6, 0x93, 0x4a, 0x94, 0x52, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92,
0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xc8, 0x00, 0xdd, 0xcc, 0x7c, 0xfd, 0xe4, 0xfc, 0xa2, 0x54, 0x7d,
0xb0, 0xa1, 0xd6, 0x20, 0xa1, 0x24, 0x36, 0x30, 0xdb, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x10,
0xfb, 0x69, 0xc9, 0x70, 0x00, 0x00, 0x00,
}