-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.pb.go
59 lines (48 loc) · 1.37 KB
/
header.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
// Code generated by protoc-gen-gogo.
// source: header.proto
// DO NOT EDIT!
/*
Package pb is a generated protocol buffer package.
It is generated from these files:
header.proto
It has these top-level messages:
Set
*/
package pb
import proto "gx/ipfs/QmZ4Qi3GaRbjcx28Sme5eMH7RQjGkt8wHxt2a65oLaeFEV/gogo-protobuf/proto"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = math.Inf
type Set struct {
// 1 for now, library will refuse to handle entries with an unrecognized version.
Version *uint32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
// how many of the links are subtrees
Fanout *uint32 `protobuf:"varint,2,opt,name=fanout" json:"fanout,omitempty"`
// hash seed for subtree selection, a random number
Seed *uint32 `protobuf:"fixed32,3,opt,name=seed" json:"seed,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Set) Reset() { *m = Set{} }
func (m *Set) String() string { return proto.CompactTextString(m) }
func (*Set) ProtoMessage() {}
func (m *Set) GetVersion() uint32 {
if m != nil && m.Version != nil {
return *m.Version
}
return 0
}
func (m *Set) GetFanout() uint32 {
if m != nil && m.Fanout != nil {
return *m.Fanout
}
return 0
}
func (m *Set) GetSeed() uint32 {
if m != nil && m.Seed != nil {
return *m.Seed
}
return 0
}
func init() {
}