-
Notifications
You must be signed in to change notification settings - Fork 1
/
ledger_metadata.pb.go
109 lines (81 loc) · 3.14 KB
/
ledger_metadata.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
package msgs
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
const _ = proto.ProtoPackageIsVersion3
type Status int32
const (
Status_ACTIVE Status = 0
Status_INACTIVE Status = 1
)
var Status_name = map[int32]string{
0: "ACTIVE",
1: "INACTIVE",
}
var Status_value = map[string]int32{
"ACTIVE": 0,
"INACTIVE": 1,
}
func (x Status) String() string {
return proto.EnumName(Status_name, int32(x))
}
func (Status) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_8173a53a47b026a1, []int{0}
}
type LedgerMetadata struct {
Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=msgs.Status" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LedgerMetadata) Reset() { *m = LedgerMetadata{} }
func (m *LedgerMetadata) String() string { return proto.CompactTextString(m) }
func (*LedgerMetadata) ProtoMessage() {}
func (*LedgerMetadata) Descriptor() ([]byte, []int) {
return fileDescriptor_8173a53a47b026a1, []int{0}
}
func (m *LedgerMetadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LedgerMetadata.Unmarshal(m, b)
}
func (m *LedgerMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LedgerMetadata.Marshal(b, m, deterministic)
}
func (m *LedgerMetadata) XXX_Merge(src proto.Message) {
xxx_messageInfo_LedgerMetadata.Merge(m, src)
}
func (m *LedgerMetadata) XXX_Size() int {
return xxx_messageInfo_LedgerMetadata.Size(m)
}
func (m *LedgerMetadata) XXX_DiscardUnknown() {
xxx_messageInfo_LedgerMetadata.DiscardUnknown(m)
}
var xxx_messageInfo_LedgerMetadata proto.InternalMessageInfo
func (m *LedgerMetadata) GetStatus() Status {
if m != nil {
return m.Status
}
return Status_ACTIVE
}
func init() {
proto.RegisterEnum("msgs.Status", Status_name, Status_value)
proto.RegisterType((*LedgerMetadata)(nil), "msgs.LedgerMetadata")
}
func init() { proto.RegisterFile("ledger_metadata.proto", fileDescriptor_8173a53a47b026a1) }
var fileDescriptor_8173a53a47b026a1 = []byte{
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcd, 0x49, 0x4d, 0x49,
0x4f, 0x2d, 0x8a, 0xcf, 0x4d, 0x2d, 0x49, 0x4c, 0x49, 0x2c, 0x49, 0xd4, 0x2b, 0x28, 0xca, 0x2f,
0xc9, 0x17, 0x62, 0xc9, 0x2d, 0x4e, 0x2f, 0x56, 0x32, 0xe3, 0xe2, 0xf3, 0x01, 0x4b, 0xfb, 0x42,
0x65, 0x85, 0x54, 0xb8, 0xd8, 0x8a, 0x4b, 0x12, 0x4b, 0x4a, 0x8b, 0x25, 0x18, 0x15, 0x18, 0x35,
0xf8, 0x8c, 0x78, 0xf4, 0x40, 0x0a, 0xf5, 0x82, 0xc1, 0x62, 0x41, 0x50, 0x39, 0x2d, 0x25, 0x2e,
0x36, 0x88, 0x88, 0x10, 0x17, 0x17, 0x9b, 0xa3, 0x73, 0x88, 0x67, 0x98, 0xab, 0x00, 0x83, 0x10,
0x0f, 0x17, 0x87, 0xa7, 0x1f, 0x94, 0xc7, 0xe8, 0x64, 0x19, 0x65, 0x9e, 0x9e, 0x59, 0x92, 0x51,
0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x9f, 0x51, 0x59, 0x90, 0x5a, 0x04, 0x71, 0x8a, 0x7e, 0x5a,
0x62, 0x52, 0x51, 0x66, 0xb2, 0x7e, 0x72, 0x7e, 0x51, 0xaa, 0x3e, 0x54, 0x28, 0xbb, 0x0c, 0xca,
0x00, 0xd9, 0x96, 0xc4, 0x06, 0x76, 0xa3, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xb2, 0x6b, 0xab,
0x30, 0xbc, 0x00, 0x00, 0x00,
}