2018-11-29 18:39:27 +00:00
|
|
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
|
|
// source: node.proto
|
|
|
|
|
|
|
|
package pb
|
|
|
|
|
2019-06-18 23:22:14 +01:00
|
|
|
import (
|
|
|
|
fmt "fmt"
|
|
|
|
_ "github.com/gogo/protobuf/gogoproto"
|
|
|
|
proto "github.com/gogo/protobuf/proto"
|
2019-07-08 19:24:42 +01:00
|
|
|
_ "github.com/golang/protobuf/ptypes/timestamp"
|
2019-06-18 23:22:14 +01:00
|
|
|
math "math"
|
2019-07-08 19:24:42 +01:00
|
|
|
time "time"
|
2019-06-18 23:22:14 +01:00
|
|
|
)
|
2018-11-29 18:39:27 +00:00
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
2019-07-08 19:24:42 +01:00
|
|
|
var _ = time.Kitchen
|
2018-11-29 18:39:27 +00:00
|
|
|
|
|
|
|
// 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.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
|
|
|
|
// NodeType is an enum of possible node types
|
|
|
|
type NodeType int32
|
|
|
|
|
|
|
|
const (
|
2019-01-02 18:47:34 +00:00
|
|
|
NodeType_INVALID NodeType = 0
|
|
|
|
NodeType_SATELLITE NodeType = 1
|
|
|
|
NodeType_STORAGE NodeType = 2
|
|
|
|
NodeType_UPLINK NodeType = 3
|
2019-10-04 21:48:41 +01:00
|
|
|
NodeType_BOOTSTRAP NodeType = 4 // Deprecated: Do not use.
|
2018-11-29 18:39:27 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
var NodeType_name = map[int32]string{
|
2019-01-02 18:47:34 +00:00
|
|
|
0: "INVALID",
|
|
|
|
1: "SATELLITE",
|
|
|
|
2: "STORAGE",
|
|
|
|
3: "UPLINK",
|
2019-01-09 15:59:51 +00:00
|
|
|
4: "BOOTSTRAP",
|
2018-11-29 18:39:27 +00:00
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
|
2018-11-29 18:39:27 +00:00
|
|
|
var NodeType_value = map[string]int32{
|
2019-01-02 18:47:34 +00:00
|
|
|
"INVALID": 0,
|
|
|
|
"SATELLITE": 1,
|
|
|
|
"STORAGE": 2,
|
|
|
|
"UPLINK": 3,
|
2019-01-09 15:59:51 +00:00
|
|
|
"BOOTSTRAP": 4,
|
2018-11-29 18:39:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x NodeType) String() string {
|
|
|
|
return proto.EnumName(NodeType_name, int32(x))
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
|
2018-11-29 18:39:27 +00:00
|
|
|
func (NodeType) EnumDescriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_0c843d59d2d938e7, []int{0}
|
2018-11-29 18:39:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// NodeTransport is an enum of possible transports for the overlay network
|
|
|
|
type NodeTransport int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
NodeTransport_TCP_TLS_GRPC NodeTransport = 0
|
|
|
|
)
|
|
|
|
|
|
|
|
var NodeTransport_name = map[int32]string{
|
|
|
|
0: "TCP_TLS_GRPC",
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
|
2018-11-29 18:39:27 +00:00
|
|
|
var NodeTransport_value = map[string]int32{
|
|
|
|
"TCP_TLS_GRPC": 0,
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x NodeTransport) String() string {
|
|
|
|
return proto.EnumName(NodeTransport_name, int32(x))
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
|
2018-11-29 18:39:27 +00:00
|
|
|
func (NodeTransport) EnumDescriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_0c843d59d2d938e7, []int{1}
|
2018-11-29 18:39:27 +00:00
|
|
|
}
|
|
|
|
|
2018-12-04 20:18:26 +00:00
|
|
|
// TODO move statdb.Update() stuff out of here
|
2018-11-29 18:39:27 +00:00
|
|
|
// Node represents a node in the overlay network
|
|
|
|
// Node is info for a updating a single storagenode, used in the Update rpc calls
|
|
|
|
type Node struct {
|
2019-04-22 10:07:50 +01:00
|
|
|
Id NodeID `protobuf:"bytes,1,opt,name=id,proto3,customtype=NodeID" json:"id"`
|
|
|
|
Address *NodeAddress `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
2019-05-22 21:06:27 +01:00
|
|
|
LastIp string `protobuf:"bytes,14,opt,name=last_ip,json=lastIp,proto3" json:"last_ip,omitempty"`
|
2019-04-22 10:07:50 +01:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2018-11-29 18:39:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Node) Reset() { *m = Node{} }
|
|
|
|
func (m *Node) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Node) ProtoMessage() {}
|
|
|
|
func (*Node) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_0c843d59d2d938e7, []int{0}
|
2018-11-29 18:39:27 +00:00
|
|
|
}
|
|
|
|
func (m *Node) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Node.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Node.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *Node) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Node.Merge(m, src)
|
2018-11-29 18:39:27 +00:00
|
|
|
}
|
|
|
|
func (m *Node) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Node.Size(m)
|
|
|
|
}
|
|
|
|
func (m *Node) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Node.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_Node proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *Node) GetAddress() *NodeAddress {
|
|
|
|
if m != nil {
|
|
|
|
return m.Address
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-05-22 21:06:27 +01:00
|
|
|
func (m *Node) GetLastIp() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.LastIp
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2018-11-29 18:39:27 +00:00
|
|
|
// NodeAddress contains the information needed to communicate with a node on the network
|
|
|
|
type NodeAddress struct {
|
|
|
|
Transport NodeTransport `protobuf:"varint,1,opt,name=transport,proto3,enum=node.NodeTransport" json:"transport,omitempty"`
|
|
|
|
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeAddress) Reset() { *m = NodeAddress{} }
|
|
|
|
func (m *NodeAddress) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*NodeAddress) ProtoMessage() {}
|
|
|
|
func (*NodeAddress) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_0c843d59d2d938e7, []int{1}
|
2018-11-29 18:39:27 +00:00
|
|
|
}
|
|
|
|
func (m *NodeAddress) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_NodeAddress.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *NodeAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_NodeAddress.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *NodeAddress) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_NodeAddress.Merge(m, src)
|
2018-11-29 18:39:27 +00:00
|
|
|
}
|
|
|
|
func (m *NodeAddress) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_NodeAddress.Size(m)
|
|
|
|
}
|
|
|
|
func (m *NodeAddress) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_NodeAddress.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_NodeAddress proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *NodeAddress) GetTransport() NodeTransport {
|
|
|
|
if m != nil {
|
|
|
|
return m.Transport
|
|
|
|
}
|
|
|
|
return NodeTransport_TCP_TLS_GRPC
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeAddress) GetAddress() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Address
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2019-02-25 18:41:51 +00:00
|
|
|
// NodeOperator contains info about the storage node operator
|
|
|
|
type NodeOperator struct {
|
|
|
|
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
|
|
|
|
Wallet string `protobuf:"bytes,2,opt,name=wallet,proto3" json:"wallet,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeOperator) Reset() { *m = NodeOperator{} }
|
|
|
|
func (m *NodeOperator) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*NodeOperator) ProtoMessage() {}
|
|
|
|
func (*NodeOperator) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_0c843d59d2d938e7, []int{2}
|
2019-02-25 18:41:51 +00:00
|
|
|
}
|
|
|
|
func (m *NodeOperator) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_NodeOperator.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *NodeOperator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_NodeOperator.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *NodeOperator) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_NodeOperator.Merge(m, src)
|
2019-02-25 18:41:51 +00:00
|
|
|
}
|
|
|
|
func (m *NodeOperator) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_NodeOperator.Size(m)
|
|
|
|
}
|
|
|
|
func (m *NodeOperator) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_NodeOperator.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_NodeOperator proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *NodeOperator) GetEmail() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Email
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeOperator) GetWallet() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Wallet
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
// NodeCapacity contains all relevant data about a nodes ability to store data
|
|
|
|
type NodeCapacity struct {
|
|
|
|
FreeBandwidth int64 `protobuf:"varint,1,opt,name=free_bandwidth,json=freeBandwidth,proto3" json:"free_bandwidth,omitempty"`
|
|
|
|
FreeDisk int64 `protobuf:"varint,2,opt,name=free_disk,json=freeDisk,proto3" json:"free_disk,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeCapacity) Reset() { *m = NodeCapacity{} }
|
|
|
|
func (m *NodeCapacity) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*NodeCapacity) ProtoMessage() {}
|
|
|
|
func (*NodeCapacity) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_0c843d59d2d938e7, []int{3}
|
2019-02-25 18:41:51 +00:00
|
|
|
}
|
|
|
|
func (m *NodeCapacity) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_NodeCapacity.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *NodeCapacity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_NodeCapacity.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *NodeCapacity) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_NodeCapacity.Merge(m, src)
|
2019-02-25 18:41:51 +00:00
|
|
|
}
|
|
|
|
func (m *NodeCapacity) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_NodeCapacity.Size(m)
|
|
|
|
}
|
|
|
|
func (m *NodeCapacity) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_NodeCapacity.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_NodeCapacity proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *NodeCapacity) GetFreeBandwidth() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.FreeBandwidth
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeCapacity) GetFreeDisk() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.FreeDisk
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: use NodeOperator instead
|
2018-11-29 18:39:27 +00:00
|
|
|
type NodeMetadata struct {
|
|
|
|
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
|
|
|
|
Wallet string `protobuf:"bytes,2,opt,name=wallet,proto3" json:"wallet,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeMetadata) Reset() { *m = NodeMetadata{} }
|
|
|
|
func (m *NodeMetadata) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*NodeMetadata) ProtoMessage() {}
|
|
|
|
func (*NodeMetadata) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_0c843d59d2d938e7, []int{4}
|
2018-11-29 18:39:27 +00:00
|
|
|
}
|
|
|
|
func (m *NodeMetadata) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_NodeMetadata.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *NodeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_NodeMetadata.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *NodeMetadata) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_NodeMetadata.Merge(m, src)
|
2018-11-29 18:39:27 +00:00
|
|
|
}
|
|
|
|
func (m *NodeMetadata) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_NodeMetadata.Size(m)
|
|
|
|
}
|
|
|
|
func (m *NodeMetadata) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_NodeMetadata.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_NodeMetadata proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *NodeMetadata) GetEmail() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Email
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeMetadata) GetWallet() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Wallet
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2019-02-25 18:41:51 +00:00
|
|
|
// Deprecated: use NodeCapacity instead
|
|
|
|
type NodeRestrictions struct {
|
|
|
|
FreeBandwidth int64 `protobuf:"varint,1,opt,name=free_bandwidth,json=freeBandwidth,proto3" json:"free_bandwidth,omitempty"`
|
|
|
|
FreeDisk int64 `protobuf:"varint,2,opt,name=free_disk,json=freeDisk,proto3" json:"free_disk,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeRestrictions) Reset() { *m = NodeRestrictions{} }
|
|
|
|
func (m *NodeRestrictions) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*NodeRestrictions) ProtoMessage() {}
|
|
|
|
func (*NodeRestrictions) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_0c843d59d2d938e7, []int{5}
|
2019-02-25 18:41:51 +00:00
|
|
|
}
|
|
|
|
func (m *NodeRestrictions) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_NodeRestrictions.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *NodeRestrictions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_NodeRestrictions.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *NodeRestrictions) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_NodeRestrictions.Merge(m, src)
|
2019-02-25 18:41:51 +00:00
|
|
|
}
|
|
|
|
func (m *NodeRestrictions) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_NodeRestrictions.Size(m)
|
|
|
|
}
|
|
|
|
func (m *NodeRestrictions) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_NodeRestrictions.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_NodeRestrictions proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *NodeRestrictions) GetFreeBandwidth() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.FreeBandwidth
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeRestrictions) GetFreeDisk() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.FreeDisk
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2019-04-10 07:04:24 +01:00
|
|
|
// NodeVersion contains
|
|
|
|
type NodeVersion struct {
|
2019-07-08 19:24:42 +01:00
|
|
|
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
CommitHash string `protobuf:"bytes,2,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"`
|
|
|
|
Timestamp time.Time `protobuf:"bytes,3,opt,name=timestamp,proto3,stdtime" json:"timestamp"`
|
|
|
|
Release bool `protobuf:"varint,4,opt,name=release,proto3" json:"release,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2019-04-10 07:04:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeVersion) Reset() { *m = NodeVersion{} }
|
|
|
|
func (m *NodeVersion) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*NodeVersion) ProtoMessage() {}
|
|
|
|
func (*NodeVersion) Descriptor() ([]byte, []int) {
|
2019-06-18 23:22:14 +01:00
|
|
|
return fileDescriptor_0c843d59d2d938e7, []int{6}
|
2019-04-10 07:04:24 +01:00
|
|
|
}
|
|
|
|
func (m *NodeVersion) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_NodeVersion.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *NodeVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_NodeVersion.Marshal(b, m, deterministic)
|
|
|
|
}
|
2019-06-18 23:22:14 +01:00
|
|
|
func (m *NodeVersion) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_NodeVersion.Merge(m, src)
|
2019-04-10 07:04:24 +01:00
|
|
|
}
|
|
|
|
func (m *NodeVersion) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_NodeVersion.Size(m)
|
|
|
|
}
|
|
|
|
func (m *NodeVersion) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_NodeVersion.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_NodeVersion proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *NodeVersion) GetVersion() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Version
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeVersion) GetCommitHash() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.CommitHash
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2019-07-08 19:24:42 +01:00
|
|
|
func (m *NodeVersion) GetTimestamp() time.Time {
|
2019-04-10 07:04:24 +01:00
|
|
|
if m != nil {
|
|
|
|
return m.Timestamp
|
|
|
|
}
|
2019-07-08 19:24:42 +01:00
|
|
|
return time.Time{}
|
2019-04-10 07:04:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *NodeVersion) GetRelease() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Release
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2018-11-29 18:39:27 +00:00
|
|
|
func init() {
|
2019-06-18 23:22:14 +01:00
|
|
|
proto.RegisterEnum("node.NodeType", NodeType_name, NodeType_value)
|
|
|
|
proto.RegisterEnum("node.NodeTransport", NodeTransport_name, NodeTransport_value)
|
2018-11-29 18:39:27 +00:00
|
|
|
proto.RegisterType((*Node)(nil), "node.Node")
|
|
|
|
proto.RegisterType((*NodeAddress)(nil), "node.NodeAddress")
|
2019-02-25 18:41:51 +00:00
|
|
|
proto.RegisterType((*NodeOperator)(nil), "node.NodeOperator")
|
|
|
|
proto.RegisterType((*NodeCapacity)(nil), "node.NodeCapacity")
|
2018-11-29 18:39:27 +00:00
|
|
|
proto.RegisterType((*NodeMetadata)(nil), "node.NodeMetadata")
|
2019-02-25 18:41:51 +00:00
|
|
|
proto.RegisterType((*NodeRestrictions)(nil), "node.NodeRestrictions")
|
2019-04-10 07:04:24 +01:00
|
|
|
proto.RegisterType((*NodeVersion)(nil), "node.NodeVersion")
|
|
|
|
}
|
|
|
|
|
2019-06-18 23:22:14 +01:00
|
|
|
func init() { proto.RegisterFile("node.proto", fileDescriptor_0c843d59d2d938e7) }
|
2019-06-17 21:48:04 +01:00
|
|
|
|
2019-06-18 23:22:14 +01:00
|
|
|
var fileDescriptor_0c843d59d2d938e7 = []byte{
|
2019-10-04 21:48:41 +01:00
|
|
|
// 591 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0xdd, 0x6e, 0xd3, 0x30,
|
|
|
|
0x14, 0x5e, 0xda, 0xac, 0x4d, 0x4e, 0x7f, 0x94, 0x99, 0x09, 0xaa, 0x22, 0xd1, 0x52, 0x09, 0xa9,
|
|
|
|
0x1a, 0x52, 0x27, 0xc6, 0x2d, 0x37, 0x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