protos: update protobufs with go generate (#169)
the import for timestamp and duration should use the path provided by a standard protocol buffer library installation
This commit is contained in:
parent
4cff003ec9
commit
8e7f4f6ebe
@ -1,12 +1,31 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go.
|
||||||
// source: overlay.proto
|
// source: overlay.proto
|
||||||
|
// DO NOT EDIT!
|
||||||
|
|
||||||
|
/*
|
||||||
|
Package overlay is a generated protocol buffer package.
|
||||||
|
|
||||||
|
It is generated from these files:
|
||||||
|
overlay.proto
|
||||||
|
|
||||||
|
It has these top-level messages:
|
||||||
|
LookupRequest
|
||||||
|
LookupResponse
|
||||||
|
FindStorageNodesResponse
|
||||||
|
FindStorageNodesRequest
|
||||||
|
NodeAddress
|
||||||
|
OverlayOptions
|
||||||
|
NodeRep
|
||||||
|
Node
|
||||||
|
QueryRequest
|
||||||
|
QueryResponse
|
||||||
|
*/
|
||||||
package overlay
|
package overlay
|
||||||
|
|
||||||
import proto "github.com/golang/protobuf/proto"
|
import proto "github.com/golang/protobuf/proto"
|
||||||
import fmt "fmt"
|
import fmt "fmt"
|
||||||
import math "math"
|
import math "math"
|
||||||
import duration "github.com/golang/protobuf/ptypes/duration"
|
import google_protobuf "github.com/golang/protobuf/ptypes/duration"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
context "golang.org/x/net/context"
|
context "golang.org/x/net/context"
|
||||||
@ -41,41 +60,17 @@ var NodeTransport_value = map[string]int32{
|
|||||||
func (x NodeTransport) String() string {
|
func (x NodeTransport) String() string {
|
||||||
return proto.EnumName(NodeTransport_name, int32(x))
|
return proto.EnumName(NodeTransport_name, int32(x))
|
||||||
}
|
}
|
||||||
func (NodeTransport) EnumDescriptor() ([]byte, []int) {
|
func (NodeTransport) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||||
return fileDescriptor_overlay_aafd300da6d5535b, []int{0}
|
|
||||||
}
|
|
||||||
|
|
||||||
// LookupRequest is is request message for the lookup rpc call
|
// LookupRequest is is request message for the lookup rpc call
|
||||||
type LookupRequest struct {
|
type LookupRequest struct {
|
||||||
NodeID string `protobuf:"bytes,1,opt,name=nodeID" json:"nodeID,omitempty"`
|
NodeID string `protobuf:"bytes,1,opt,name=nodeID" json:"nodeID,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *LookupRequest) Reset() { *m = LookupRequest{} }
|
func (m *LookupRequest) Reset() { *m = LookupRequest{} }
|
||||||
func (m *LookupRequest) String() string { return proto.CompactTextString(m) }
|
func (m *LookupRequest) String() string { return proto.CompactTextString(m) }
|
||||||
func (*LookupRequest) ProtoMessage() {}
|
func (*LookupRequest) ProtoMessage() {}
|
||||||
func (*LookupRequest) Descriptor() ([]byte, []int) {
|
func (*LookupRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||||
return fileDescriptor_overlay_aafd300da6d5535b, []int{0}
|
|
||||||
}
|
|
||||||
func (m *LookupRequest) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_LookupRequest.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *LookupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_LookupRequest.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *LookupRequest) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_LookupRequest.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *LookupRequest) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_LookupRequest.Size(m)
|
|
||||||
}
|
|
||||||
func (m *LookupRequest) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_LookupRequest.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_LookupRequest proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *LookupRequest) GetNodeID() string {
|
func (m *LookupRequest) GetNodeID() string {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -86,35 +81,13 @@ func (m *LookupRequest) GetNodeID() string {
|
|||||||
|
|
||||||
// LookupResponse is is response message for the lookup rpc call
|
// LookupResponse is is response message for the lookup rpc call
|
||||||
type LookupResponse struct {
|
type LookupResponse struct {
|
||||||
Node *Node `protobuf:"bytes,1,opt,name=node" json:"node,omitempty"`
|
Node *Node `protobuf:"bytes,1,opt,name=node" json:"node,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *LookupResponse) Reset() { *m = LookupResponse{} }
|
func (m *LookupResponse) Reset() { *m = LookupResponse{} }
|
||||||
func (m *LookupResponse) String() string { return proto.CompactTextString(m) }
|
func (m *LookupResponse) String() string { return proto.CompactTextString(m) }
|
||||||
func (*LookupResponse) ProtoMessage() {}
|
func (*LookupResponse) ProtoMessage() {}
|
||||||
func (*LookupResponse) Descriptor() ([]byte, []int) {
|
func (*LookupResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||||
return fileDescriptor_overlay_aafd300da6d5535b, []int{1}
|
|
||||||
}
|
|
||||||
func (m *LookupResponse) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_LookupResponse.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *LookupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_LookupResponse.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *LookupResponse) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_LookupResponse.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *LookupResponse) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_LookupResponse.Size(m)
|
|
||||||
}
|
|
||||||
func (m *LookupResponse) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_LookupResponse.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_LookupResponse proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *LookupResponse) GetNode() *Node {
|
func (m *LookupResponse) GetNode() *Node {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -125,35 +98,13 @@ func (m *LookupResponse) GetNode() *Node {
|
|||||||
|
|
||||||
// FindStorageNodesResponse is is response message for the FindStorageNodes rpc call
|
// FindStorageNodesResponse is is response message for the FindStorageNodes rpc call
|
||||||
type FindStorageNodesResponse struct {
|
type FindStorageNodesResponse struct {
|
||||||
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes" json:"nodes,omitempty"`
|
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes" json:"nodes,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *FindStorageNodesResponse) Reset() { *m = FindStorageNodesResponse{} }
|
func (m *FindStorageNodesResponse) Reset() { *m = FindStorageNodesResponse{} }
|
||||||
func (m *FindStorageNodesResponse) String() string { return proto.CompactTextString(m) }
|
func (m *FindStorageNodesResponse) String() string { return proto.CompactTextString(m) }
|
||||||
func (*FindStorageNodesResponse) ProtoMessage() {}
|
func (*FindStorageNodesResponse) ProtoMessage() {}
|
||||||
func (*FindStorageNodesResponse) Descriptor() ([]byte, []int) {
|
func (*FindStorageNodesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||||
return fileDescriptor_overlay_aafd300da6d5535b, []int{2}
|
|
||||||
}
|
|
||||||
func (m *FindStorageNodesResponse) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_FindStorageNodesResponse.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *FindStorageNodesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_FindStorageNodesResponse.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *FindStorageNodesResponse) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_FindStorageNodesResponse.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *FindStorageNodesResponse) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_FindStorageNodesResponse.Size(m)
|
|
||||||
}
|
|
||||||
func (m *FindStorageNodesResponse) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_FindStorageNodesResponse.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_FindStorageNodesResponse proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *FindStorageNodesResponse) GetNodes() []*Node {
|
func (m *FindStorageNodesResponse) GetNodes() []*Node {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -164,37 +115,15 @@ func (m *FindStorageNodesResponse) GetNodes() []*Node {
|
|||||||
|
|
||||||
// FindStorageNodesRequest is is request message for the FindStorageNodes rpc call
|
// FindStorageNodesRequest is is request message for the FindStorageNodes rpc call
|
||||||
type FindStorageNodesRequest struct {
|
type FindStorageNodesRequest struct {
|
||||||
ObjectSize int64 `protobuf:"varint,1,opt,name=objectSize" json:"objectSize,omitempty"`
|
ObjectSize int64 `protobuf:"varint,1,opt,name=objectSize" json:"objectSize,omitempty"`
|
||||||
ContractLength *duration.Duration `protobuf:"bytes,2,opt,name=contractLength" json:"contractLength,omitempty"`
|
ContractLength *google_protobuf.Duration `protobuf:"bytes,2,opt,name=contractLength" json:"contractLength,omitempty"`
|
||||||
Opts *OverlayOptions `protobuf:"bytes,3,opt,name=opts" json:"opts,omitempty"`
|
Opts *OverlayOptions `protobuf:"bytes,3,opt,name=opts" json:"opts,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *FindStorageNodesRequest) Reset() { *m = FindStorageNodesRequest{} }
|
func (m *FindStorageNodesRequest) Reset() { *m = FindStorageNodesRequest{} }
|
||||||
func (m *FindStorageNodesRequest) String() string { return proto.CompactTextString(m) }
|
func (m *FindStorageNodesRequest) String() string { return proto.CompactTextString(m) }
|
||||||
func (*FindStorageNodesRequest) ProtoMessage() {}
|
func (*FindStorageNodesRequest) ProtoMessage() {}
|
||||||
func (*FindStorageNodesRequest) Descriptor() ([]byte, []int) {
|
func (*FindStorageNodesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||||
return fileDescriptor_overlay_aafd300da6d5535b, []int{3}
|
|
||||||
}
|
|
||||||
func (m *FindStorageNodesRequest) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_FindStorageNodesRequest.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *FindStorageNodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_FindStorageNodesRequest.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *FindStorageNodesRequest) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_FindStorageNodesRequest.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *FindStorageNodesRequest) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_FindStorageNodesRequest.Size(m)
|
|
||||||
}
|
|
||||||
func (m *FindStorageNodesRequest) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_FindStorageNodesRequest.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_FindStorageNodesRequest proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *FindStorageNodesRequest) GetObjectSize() int64 {
|
func (m *FindStorageNodesRequest) GetObjectSize() int64 {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -203,7 +132,7 @@ func (m *FindStorageNodesRequest) GetObjectSize() int64 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *FindStorageNodesRequest) GetContractLength() *duration.Duration {
|
func (m *FindStorageNodesRequest) GetContractLength() *google_protobuf.Duration {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.ContractLength
|
return m.ContractLength
|
||||||
}
|
}
|
||||||
@ -219,36 +148,14 @@ func (m *FindStorageNodesRequest) GetOpts() *OverlayOptions {
|
|||||||
|
|
||||||
// NodeAddress contains the information needed to communicate with a node on the network
|
// NodeAddress contains the information needed to communicate with a node on the network
|
||||||
type NodeAddress struct {
|
type NodeAddress struct {
|
||||||
Transport NodeTransport `protobuf:"varint,1,opt,name=transport,enum=overlay.NodeTransport" json:"transport,omitempty"`
|
Transport NodeTransport `protobuf:"varint,1,opt,name=transport,enum=overlay.NodeTransport" json:"transport,omitempty"`
|
||||||
Address string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
|
Address string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *NodeAddress) Reset() { *m = NodeAddress{} }
|
func (m *NodeAddress) Reset() { *m = NodeAddress{} }
|
||||||
func (m *NodeAddress) String() string { return proto.CompactTextString(m) }
|
func (m *NodeAddress) String() string { return proto.CompactTextString(m) }
|
||||||
func (*NodeAddress) ProtoMessage() {}
|
func (*NodeAddress) ProtoMessage() {}
|
||||||
func (*NodeAddress) Descriptor() ([]byte, []int) {
|
func (*NodeAddress) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||||
return fileDescriptor_overlay_aafd300da6d5535b, []int{4}
|
|
||||||
}
|
|
||||||
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)
|
|
||||||
}
|
|
||||||
func (dst *NodeAddress) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_NodeAddress.Merge(dst, src)
|
|
||||||
}
|
|
||||||
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 {
|
func (m *NodeAddress) GetTransport() NodeTransport {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -266,40 +173,18 @@ func (m *NodeAddress) GetAddress() string {
|
|||||||
|
|
||||||
// OverlayOptions is a set of criteria that a node must meet to be considered for a storage opportunity
|
// OverlayOptions is a set of criteria that a node must meet to be considered for a storage opportunity
|
||||||
type OverlayOptions struct {
|
type OverlayOptions struct {
|
||||||
MaxLatency *duration.Duration `protobuf:"bytes,1,opt,name=maxLatency" json:"maxLatency,omitempty"`
|
MaxLatency *google_protobuf.Duration `protobuf:"bytes,1,opt,name=maxLatency" json:"maxLatency,omitempty"`
|
||||||
MinReputation *NodeRep `protobuf:"bytes,2,opt,name=minReputation" json:"minReputation,omitempty"`
|
MinReputation *NodeRep `protobuf:"bytes,2,opt,name=minReputation" json:"minReputation,omitempty"`
|
||||||
MinSpeedKbps int64 `protobuf:"varint,3,opt,name=minSpeedKbps" json:"minSpeedKbps,omitempty"`
|
MinSpeedKbps int64 `protobuf:"varint,3,opt,name=minSpeedKbps" json:"minSpeedKbps,omitempty"`
|
||||||
Limit int64 `protobuf:"varint,4,opt,name=limit" json:"limit,omitempty"`
|
Limit int64 `protobuf:"varint,4,opt,name=limit" json:"limit,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *OverlayOptions) Reset() { *m = OverlayOptions{} }
|
func (m *OverlayOptions) Reset() { *m = OverlayOptions{} }
|
||||||
func (m *OverlayOptions) String() string { return proto.CompactTextString(m) }
|
func (m *OverlayOptions) String() string { return proto.CompactTextString(m) }
|
||||||
func (*OverlayOptions) ProtoMessage() {}
|
func (*OverlayOptions) ProtoMessage() {}
|
||||||
func (*OverlayOptions) Descriptor() ([]byte, []int) {
|
func (*OverlayOptions) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||||
return fileDescriptor_overlay_aafd300da6d5535b, []int{5}
|
|
||||||
}
|
|
||||||
func (m *OverlayOptions) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_OverlayOptions.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *OverlayOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_OverlayOptions.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *OverlayOptions) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_OverlayOptions.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *OverlayOptions) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_OverlayOptions.Size(m)
|
|
||||||
}
|
|
||||||
func (m *OverlayOptions) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_OverlayOptions.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_OverlayOptions proto.InternalMessageInfo
|
func (m *OverlayOptions) GetMaxLatency() *google_protobuf.Duration {
|
||||||
|
|
||||||
func (m *OverlayOptions) GetMaxLatency() *duration.Duration {
|
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.MaxLatency
|
return m.MaxLatency
|
||||||
}
|
}
|
||||||
@ -329,67 +214,23 @@ func (m *OverlayOptions) GetLimit() int64 {
|
|||||||
|
|
||||||
// NodeRep is the reputation characteristics of a node
|
// NodeRep is the reputation characteristics of a node
|
||||||
type NodeRep struct {
|
type NodeRep struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *NodeRep) Reset() { *m = NodeRep{} }
|
func (m *NodeRep) Reset() { *m = NodeRep{} }
|
||||||
func (m *NodeRep) String() string { return proto.CompactTextString(m) }
|
func (m *NodeRep) String() string { return proto.CompactTextString(m) }
|
||||||
func (*NodeRep) ProtoMessage() {}
|
func (*NodeRep) ProtoMessage() {}
|
||||||
func (*NodeRep) Descriptor() ([]byte, []int) {
|
func (*NodeRep) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||||
return fileDescriptor_overlay_aafd300da6d5535b, []int{6}
|
|
||||||
}
|
|
||||||
func (m *NodeRep) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_NodeRep.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *NodeRep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_NodeRep.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *NodeRep) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_NodeRep.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *NodeRep) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_NodeRep.Size(m)
|
|
||||||
}
|
|
||||||
func (m *NodeRep) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_NodeRep.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_NodeRep proto.InternalMessageInfo
|
|
||||||
|
|
||||||
// Node represents a node in the overlay network
|
// Node represents a node in the overlay network
|
||||||
type Node struct {
|
type Node struct {
|
||||||
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
||||||
Address *NodeAddress `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
|
Address *NodeAddress `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Node) Reset() { *m = Node{} }
|
func (m *Node) Reset() { *m = Node{} }
|
||||||
func (m *Node) String() string { return proto.CompactTextString(m) }
|
func (m *Node) String() string { return proto.CompactTextString(m) }
|
||||||
func (*Node) ProtoMessage() {}
|
func (*Node) ProtoMessage() {}
|
||||||
func (*Node) Descriptor() ([]byte, []int) {
|
func (*Node) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||||
return fileDescriptor_overlay_aafd300da6d5535b, []int{7}
|
|
||||||
}
|
|
||||||
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)
|
|
||||||
}
|
|
||||||
func (dst *Node) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_Node.Merge(dst, src)
|
|
||||||
}
|
|
||||||
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) GetId() string {
|
func (m *Node) GetId() string {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -406,36 +247,14 @@ func (m *Node) GetAddress() *NodeAddress {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type QueryRequest struct {
|
type QueryRequest struct {
|
||||||
Sender *Node `protobuf:"bytes,1,opt,name=sender" json:"sender,omitempty"`
|
Sender *Node `protobuf:"bytes,1,opt,name=sender" json:"sender,omitempty"`
|
||||||
Receiver *Node `protobuf:"bytes,2,opt,name=receiver" json:"receiver,omitempty"`
|
Receiver *Node `protobuf:"bytes,2,opt,name=receiver" json:"receiver,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *QueryRequest) Reset() { *m = QueryRequest{} }
|
func (m *QueryRequest) Reset() { *m = QueryRequest{} }
|
||||||
func (m *QueryRequest) String() string { return proto.CompactTextString(m) }
|
func (m *QueryRequest) String() string { return proto.CompactTextString(m) }
|
||||||
func (*QueryRequest) ProtoMessage() {}
|
func (*QueryRequest) ProtoMessage() {}
|
||||||
func (*QueryRequest) Descriptor() ([]byte, []int) {
|
func (*QueryRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
|
||||||
return fileDescriptor_overlay_aafd300da6d5535b, []int{8}
|
|
||||||
}
|
|
||||||
func (m *QueryRequest) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_QueryRequest.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *QueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_QueryRequest.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *QueryRequest) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_QueryRequest.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *QueryRequest) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_QueryRequest.Size(m)
|
|
||||||
}
|
|
||||||
func (m *QueryRequest) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_QueryRequest.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_QueryRequest proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *QueryRequest) GetSender() *Node {
|
func (m *QueryRequest) GetSender() *Node {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -452,36 +271,14 @@ func (m *QueryRequest) GetReceiver() *Node {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type QueryResponse struct {
|
type QueryResponse struct {
|
||||||
Sender *Node `protobuf:"bytes,1,opt,name=sender" json:"sender,omitempty"`
|
Sender *Node `protobuf:"bytes,1,opt,name=sender" json:"sender,omitempty"`
|
||||||
Response []*Node `protobuf:"bytes,2,rep,name=response" json:"response,omitempty"`
|
Response []*Node `protobuf:"bytes,2,rep,name=response" json:"response,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *QueryResponse) Reset() { *m = QueryResponse{} }
|
func (m *QueryResponse) Reset() { *m = QueryResponse{} }
|
||||||
func (m *QueryResponse) String() string { return proto.CompactTextString(m) }
|
func (m *QueryResponse) String() string { return proto.CompactTextString(m) }
|
||||||
func (*QueryResponse) ProtoMessage() {}
|
func (*QueryResponse) ProtoMessage() {}
|
||||||
func (*QueryResponse) Descriptor() ([]byte, []int) {
|
func (*QueryResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
|
||||||
return fileDescriptor_overlay_aafd300da6d5535b, []int{9}
|
|
||||||
}
|
|
||||||
func (m *QueryResponse) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_QueryResponse.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *QueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_QueryResponse.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *QueryResponse) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_QueryResponse.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *QueryResponse) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_QueryResponse.Size(m)
|
|
||||||
}
|
|
||||||
func (m *QueryResponse) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_QueryResponse.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_QueryResponse proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *QueryResponse) GetSender() *Node {
|
func (m *QueryResponse) GetSender() *Node {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -519,9 +316,8 @@ var _ grpc.ClientConn
|
|||||||
// is compatible with the grpc package it is being compiled against.
|
// is compatible with the grpc package it is being compiled against.
|
||||||
const _ = grpc.SupportPackageIsVersion4
|
const _ = grpc.SupportPackageIsVersion4
|
||||||
|
|
||||||
// OverlayClient is the client API for Overlay service.
|
// Client API for Overlay service
|
||||||
//
|
|
||||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
||||||
type OverlayClient interface {
|
type OverlayClient interface {
|
||||||
// Lookup finds a nodes address from the network
|
// Lookup finds a nodes address from the network
|
||||||
Lookup(ctx context.Context, in *LookupRequest, opts ...grpc.CallOption) (*LookupResponse, error)
|
Lookup(ctx context.Context, in *LookupRequest, opts ...grpc.CallOption) (*LookupResponse, error)
|
||||||
@ -539,7 +335,7 @@ func NewOverlayClient(cc *grpc.ClientConn) OverlayClient {
|
|||||||
|
|
||||||
func (c *overlayClient) Lookup(ctx context.Context, in *LookupRequest, opts ...grpc.CallOption) (*LookupResponse, error) {
|
func (c *overlayClient) Lookup(ctx context.Context, in *LookupRequest, opts ...grpc.CallOption) (*LookupResponse, error) {
|
||||||
out := new(LookupResponse)
|
out := new(LookupResponse)
|
||||||
err := c.cc.Invoke(ctx, "/overlay.Overlay/Lookup", in, out, opts...)
|
err := grpc.Invoke(ctx, "/overlay.Overlay/Lookup", in, out, c.cc, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -548,14 +344,15 @@ func (c *overlayClient) Lookup(ctx context.Context, in *LookupRequest, opts ...g
|
|||||||
|
|
||||||
func (c *overlayClient) FindStorageNodes(ctx context.Context, in *FindStorageNodesRequest, opts ...grpc.CallOption) (*FindStorageNodesResponse, error) {
|
func (c *overlayClient) FindStorageNodes(ctx context.Context, in *FindStorageNodesRequest, opts ...grpc.CallOption) (*FindStorageNodesResponse, error) {
|
||||||
out := new(FindStorageNodesResponse)
|
out := new(FindStorageNodesResponse)
|
||||||
err := c.cc.Invoke(ctx, "/overlay.Overlay/FindStorageNodes", in, out, opts...)
|
err := grpc.Invoke(ctx, "/overlay.Overlay/FindStorageNodes", in, out, c.cc, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// OverlayServer is the server API for Overlay service.
|
// Server API for Overlay service
|
||||||
|
|
||||||
type OverlayServer interface {
|
type OverlayServer interface {
|
||||||
// Lookup finds a nodes address from the network
|
// Lookup finds a nodes address from the network
|
||||||
Lookup(context.Context, *LookupRequest) (*LookupResponse, error)
|
Lookup(context.Context, *LookupRequest) (*LookupResponse, error)
|
||||||
@ -620,9 +417,8 @@ var _Overlay_serviceDesc = grpc.ServiceDesc{
|
|||||||
Metadata: "overlay.proto",
|
Metadata: "overlay.proto",
|
||||||
}
|
}
|
||||||
|
|
||||||
// NodesClient is the client API for Nodes service.
|
// Client API for Nodes service
|
||||||
//
|
|
||||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
||||||
type NodesClient interface {
|
type NodesClient interface {
|
||||||
Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error)
|
Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error)
|
||||||
}
|
}
|
||||||
@ -637,14 +433,15 @@ func NewNodesClient(cc *grpc.ClientConn) NodesClient {
|
|||||||
|
|
||||||
func (c *nodesClient) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error) {
|
func (c *nodesClient) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error) {
|
||||||
out := new(QueryResponse)
|
out := new(QueryResponse)
|
||||||
err := c.cc.Invoke(ctx, "/overlay.Nodes/Query", in, out, opts...)
|
err := grpc.Invoke(ctx, "/overlay.Nodes/Query", in, out, c.cc, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// NodesServer is the server API for Nodes service.
|
// Server API for Nodes service
|
||||||
|
|
||||||
type NodesServer interface {
|
type NodesServer interface {
|
||||||
Query(context.Context, *QueryRequest) (*QueryResponse, error)
|
Query(context.Context, *QueryRequest) (*QueryResponse, error)
|
||||||
}
|
}
|
||||||
@ -684,42 +481,43 @@ var _Nodes_serviceDesc = grpc.ServiceDesc{
|
|||||||
Metadata: "overlay.proto",
|
Metadata: "overlay.proto",
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { proto.RegisterFile("overlay.proto", fileDescriptor_overlay_aafd300da6d5535b) }
|
func init() { proto.RegisterFile("overlay.proto", fileDescriptor0) }
|
||||||
|
|
||||||
var fileDescriptor_overlay_aafd300da6d5535b = []byte{
|
var fileDescriptor0 = []byte{
|
||||||
// 541 bytes of a gzipped FileDescriptorProto
|
// 546 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xdd, 0x6e, 0xd3, 0x4c,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x94, 0x53, 0xed, 0x6e, 0xd3, 0x30,
|
||||||
0x10, 0xfd, 0x9c, 0xdf, 0x2f, 0x93, 0xda, 0x8a, 0x56, 0x25, 0x31, 0xb9, 0x40, 0xa9, 0x11, 0xe2,
|
0x14, 0x25, 0xfd, 0xa4, 0xb7, 0x4b, 0x55, 0x59, 0xa3, 0x0d, 0xfd, 0x31, 0x75, 0x41, 0x88, 0x2f,
|
||||||
0x4f, 0xca, 0x45, 0x8a, 0x2a, 0xf5, 0xaa, 0xaa, 0xa8, 0x2a, 0x21, 0x22, 0x0a, 0x9b, 0x4a, 0x5c,
|
0x29, 0x93, 0x3a, 0x34, 0x69, 0xbf, 0xa6, 0x89, 0x69, 0x12, 0xa2, 0x62, 0xe0, 0x4e, 0xe2, 0x17,
|
||||||
0x21, 0xe1, 0xc4, 0x43, 0x30, 0x24, 0xbb, 0xcb, 0xee, 0xba, 0x22, 0xbc, 0x0b, 0x0f, 0xc0, 0x43,
|
0x12, 0x69, 0x73, 0x29, 0x81, 0xd6, 0x0e, 0xb6, 0x33, 0x51, 0xde, 0x85, 0x07, 0xe0, 0x21, 0x78,
|
||||||
0xf0, 0x6e, 0xc8, 0xbb, 0x1b, 0x27,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0x60, 0xaf, 0x90, 0x78, 0x65, 0xbf, 0x57, 0x22, 0x8f,
|
0x09, 0xdd, 0x6a, 0x20, 0x2f, 0xa0, 0xc6, 0x13, 0x25, 0xbd, 0xaa, 0x6e, 0xec, 0x17, 0x12, 0xaf,
|
||||||
0x52, 0xd4, 0x90, 0xa2, 0x0f, 0xd0, 0xce, 0xf5, 0x9d, 0x27, 0x89, 0x44, 0xa5, 0xc8, 0x0b, 0x68,
|
0xcc, 0xf7, 0x2a, 0xc9, 0xba, 0x24, 0xd5, 0x24, 0xff, 0x23, 0xb4, 0x33, 0x7d, 0xe7, 0x51, 0x24,
|
||||||
0x69, 0x19, 0x33, 0x25, 0xb8, 0xd4, 0x46, 0x5d, 0x30, 0xea, 0x96, 0xde, 0x78, 0xbd, 0x46, 0xe9,
|
0x50, 0x4a, 0xf2, 0x12, 0x5a, 0x4a, 0x84, 0x4c, 0x26, 0x5c, 0x28, 0xad, 0xae, 0x33, 0xea, 0x95,
|
||||||
0x86, 0x48, 0x42, 0x68, 0xc6, 0x36, 0x81, 0x51, 0xdb, 0xa2, 0xeb, 0x63, 0xf4, 0xdb, 0x83, 0xa0,
|
0xce, 0x78, 0x9d, 0xa3, 0x74, 0x4d, 0x24, 0x1e, 0x34, 0x43, 0x33, 0x40, 0xab, 0x6d, 0xd1, 0x7c,
|
||||||
0x5c, 0x97, 0x9c, 0x02, 0x2c, 0xe3, 0xef, 0xe3, 0x58, 0x23, 0x9b, 0xad, 0xdc, 0x1c, 0xee, 0x78,
|
0xe9, 0xff, 0x71, 0xa0, 0x53, 0xde, 0x97, 0x9c, 0x02, 0x2c, 0xc3, 0x1f, 0xe3, 0x50, 0x21, 0x9b,
|
||||||
0xdd, 0x16, 0x99, 0x9c, 0x80, 0xbf, 0x4c, 0x19, 0x45, 0x91, 0x69, 0x03, 0xba, 0xde, 0x74, 0xca,
|
0xad, 0xec, 0x3d, 0xdc, 0x71, 0xba, 0x0d, 0x32, 0x39, 0x01, 0x77, 0x19, 0x33, 0x8a, 0x49, 0xaa,
|
||||||
0x53, 0x40, 0x41, 0xcb, 0x34, 0x12, 0xc1, 0xc1, 0x32, 0x65, 0x13, 0x81, 0x98, 0xbc, 0x9e, 0x0a,
|
0x34, 0x68, 0xbd, 0xe9, 0x96, 0x6f, 0x01, 0x13, 0x5a, 0xa6, 0x11, 0x1f, 0xf6, 0x96, 0x31, 0x9b,
|
||||||
0xdb, 0x99, 0x2a, 0x2d, 0xdd, 0x91, 0x43, 0xa8, 0x2f, 0xd2, 0x65, 0xaa, 0xc3, 0x9a, 0x01, 0xed,
|
0x24, 0x88, 0xd1, 0x9b, 0x69, 0x62, 0x9c, 0xa9, 0xd2, 0x52, 0x8d, 0xec, 0x43, 0x7d, 0x11, 0x2f,
|
||||||
0x21, 0x6a, 0x41, 0xd3, 0xe5, 0x8c, 0x2e, 0xa1, 0x96, 0xff, 0x92, 0x00, 0x2a, 0x69, 0xe2, 0x7c,
|
0x63, 0xe5, 0xd5, 0x34, 0x68, 0x16, 0x7e, 0x0b, 0x9a, 0x76, 0xa6, 0x7f, 0x09, 0xb5, 0xec, 0x97,
|
||||||
0x56, 0x49, 0x13, 0x32, 0x2c, 0x3f, 0xbe, 0x3d, 0x3a, 0x2c, 0xc9, 0x71, 0x9d, 0xdd, 0xb4, 0xe4,
|
0x74, 0xa0, 0x12, 0x47, 0x36, 0x67, 0x95, 0x38, 0x22, 0x41, 0xf9, 0xf0, 0xed, 0xd1, 0x7e, 0x49,
|
||||||
0x23, 0x1c, 0xbc, 0xcb, 0x50, 0xae, 0xd6, 0x8e, 0x78, 0x04, 0x0d, 0x85, 0x2c, 0x41, 0x79, 0xbb,
|
0x8e, 0x75, 0x76, 0x6d, 0xc9, 0x27, 0xd8, 0x7b, 0x9f, 0xa2, 0x58, 0xe5, 0x89, 0x78, 0x0c, 0x0d,
|
||||||
0x27, 0x1d, 0x48, 0x9e, 0xc2, 0xff, 0x12, 0x67, 0x98, 0xde, 0xa0, 0x74, 0x75, 0x76,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xa8, 0x9b, 0x69,
|
||||||
0x57, 0x04, 0x6d, 0xcf, 0xa5, 0xdf, 0xdd, 0xbd, 0xb6, 0x09, 0xa6, 0x0d, 0xe3, 0xd1, 0xe3, 0x3f,
|
0x27, 0x50, 0xd7, 0x2e, 0x91, 0x07, 0x45, 0xd3, 0xe6, 0xbd, 0x0c, 0x7a, 0xdb, 0x65, 0x33, 0x60,
|
||||||
0x01, 0x00, 0x00, 0xff, 0xff, 0x7d, 0xca, 0x38, 0x87, 0xad, 0x04, 0x00, 0x00,
|
0xda, 0xd0, 0x19, 0x3d, 0xfe, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x07, 0x3b, 0x06, 0x74, 0xbd, 0x04,
|
||||||
|
0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
|
|
||||||
import "duration.proto";
|
import "google/protobuf/duration.proto";
|
||||||
|
|
||||||
package overlay;
|
package overlay;
|
||||||
|
|
||||||
@ -77,4 +77,4 @@ message QueryRequest {
|
|||||||
message QueryResponse {
|
message QueryResponse {
|
||||||
overlay.Node sender = 1;
|
overlay.Node sender = 1;
|
||||||
repeated overlay.Node response = 2;
|
repeated overlay.Node response = 2;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,23 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go.
|
||||||
// source: piece_store.proto
|
// source: piece_store.proto
|
||||||
|
// DO NOT EDIT!
|
||||||
|
|
||||||
|
/*
|
||||||
|
Package piecestoreroutes is a generated protocol buffer package.
|
||||||
|
|
||||||
|
It is generated from these files:
|
||||||
|
piece_store.proto
|
||||||
|
|
||||||
|
It has these top-level messages:
|
||||||
|
PieceStore
|
||||||
|
PieceId
|
||||||
|
PieceSummary
|
||||||
|
PieceRetrieval
|
||||||
|
PieceRetrievalStream
|
||||||
|
PieceDelete
|
||||||
|
PieceDeleteSummary
|
||||||
|
PieceStoreSummary
|
||||||
|
*/
|
||||||
package piecestoreroutes
|
package piecestoreroutes
|
||||||
|
|
||||||
import proto "github.com/golang/protobuf/proto"
|
import proto "github.com/golang/protobuf/proto"
|
||||||
@ -24,37 +41,15 @@ var _ = math.Inf
|
|||||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||||
|
|
||||||
type PieceStore struct {
|
type PieceStore struct {
|
||||||
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
||||||
Ttl int64 `protobuf:"varint,2,opt,name=ttl" json:"ttl,omitempty"`
|
Ttl int64 `protobuf:"varint,2,opt,name=ttl" json:"ttl,omitempty"`
|
||||||
Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
|
Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *PieceStore) Reset() { *m = PieceStore{} }
|
func (m *PieceStore) Reset() { *m = PieceStore{} }
|
||||||
func (m *PieceStore) String() string { return proto.CompactTextString(m) }
|
func (m *PieceStore) String() string { return proto.CompactTextString(m) }
|
||||||
func (*PieceStore) ProtoMessage() {}
|
func (*PieceStore) ProtoMessage() {}
|
||||||
func (*PieceStore) Descriptor() ([]byte, []int) {
|
func (*PieceStore) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||||
return fileDescriptor_piece_store_781f19cecf7890b8, []int{0}
|
|
||||||
}
|
|
||||||
func (m *PieceStore) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_PieceStore.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *PieceStore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_PieceStore.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *PieceStore) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_PieceStore.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *PieceStore) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_PieceStore.Size(m)
|
|
||||||
}
|
|
||||||
func (m *PieceStore) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_PieceStore.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_PieceStore proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *PieceStore) GetId() string {
|
func (m *PieceStore) GetId() string {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -78,35 +73,13 @@ func (m *PieceStore) GetContent() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type PieceId struct {
|
type PieceId struct {
|
||||||
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *PieceId) Reset() { *m = PieceId{} }
|
func (m *PieceId) Reset() { *m = PieceId{} }
|
||||||
func (m *PieceId) String() string { return proto.CompactTextString(m) }
|
func (m *PieceId) String() string { return proto.CompactTextString(m) }
|
||||||
func (*PieceId) ProtoMessage() {}
|
func (*PieceId) ProtoMessage() {}
|
||||||
func (*PieceId) Descriptor() ([]byte, []int) {
|
func (*PieceId) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||||
return fileDescriptor_piece_store_781f19cecf7890b8, []int{1}
|
|
||||||
}
|
|
||||||
func (m *PieceId) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_PieceId.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *PieceId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_PieceId.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *PieceId) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_PieceId.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *PieceId) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_PieceId.Size(m)
|
|
||||||
}
|
|
||||||
func (m *PieceId) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_PieceId.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_PieceId proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *PieceId) GetId() string {
|
func (m *PieceId) GetId() string {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -116,37 +89,15 @@ func (m *PieceId) GetId() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type PieceSummary struct {
|
type PieceSummary struct {
|
||||||
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
||||||
Size int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
|
Size int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
|
||||||
Expiration int64 `protobuf:"varint,3,opt,name=expiration" json:"expiration,omitempty"`
|
Expiration int64 `protobuf:"varint,3,opt,name=expiration" json:"expiration,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *PieceSummary) Reset() { *m = PieceSummary{} }
|
func (m *PieceSummary) Reset() { *m = PieceSummary{} }
|
||||||
func (m *PieceSummary) String() string { return proto.CompactTextString(m) }
|
func (m *PieceSummary) String() string { return proto.CompactTextString(m) }
|
||||||
func (*PieceSummary) ProtoMessage() {}
|
func (*PieceSummary) ProtoMessage() {}
|
||||||
func (*PieceSummary) Descriptor() ([]byte, []int) {
|
func (*PieceSummary) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||||
return fileDescriptor_piece_store_781f19cecf7890b8, []int{2}
|
|
||||||
}
|
|
||||||
func (m *PieceSummary) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_PieceSummary.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *PieceSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_PieceSummary.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *PieceSummary) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_PieceSummary.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *PieceSummary) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_PieceSummary.Size(m)
|
|
||||||
}
|
|
||||||
func (m *PieceSummary) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_PieceSummary.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_PieceSummary proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *PieceSummary) GetId() string {
|
func (m *PieceSummary) GetId() string {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -170,37 +121,15 @@ func (m *PieceSummary) GetExpiration() int64 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type PieceRetrieval struct {
|
type PieceRetrieval struct {
|
||||||
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
||||||
Size int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
|
Size int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
|
||||||
Offset int64 `protobuf:"varint,3,opt,name=offset" json:"offset,omitempty"`
|
Offset int64 `protobuf:"varint,3,opt,name=offset" json:"offset,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *PieceRetrieval) Reset() { *m = PieceRetrieval{} }
|
func (m *PieceRetrieval) Reset() { *m = PieceRetrieval{} }
|
||||||
func (m *PieceRetrieval) String() string { return proto.CompactTextString(m) }
|
func (m *PieceRetrieval) String() string { return proto.CompactTextString(m) }
|
||||||
func (*PieceRetrieval) ProtoMessage() {}
|
func (*PieceRetrieval) ProtoMessage() {}
|
||||||
func (*PieceRetrieval) Descriptor() ([]byte, []int) {
|
func (*PieceRetrieval) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||||
return fileDescriptor_piece_store_781f19cecf7890b8, []int{3}
|
|
||||||
}
|
|
||||||
func (m *PieceRetrieval) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_PieceRetrieval.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *PieceRetrieval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_PieceRetrieval.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *PieceRetrieval) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_PieceRetrieval.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *PieceRetrieval) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_PieceRetrieval.Size(m)
|
|
||||||
}
|
|
||||||
func (m *PieceRetrieval) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_PieceRetrieval.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_PieceRetrieval proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *PieceRetrieval) GetId() string {
|
func (m *PieceRetrieval) GetId() string {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -224,36 +153,14 @@ func (m *PieceRetrieval) GetOffset() int64 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type PieceRetrievalStream struct {
|
type PieceRetrievalStream struct {
|
||||||
Size int64 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"`
|
Size int64 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"`
|
||||||
Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
|
Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *PieceRetrievalStream) Reset() { *m = PieceRetrievalStream{} }
|
func (m *PieceRetrievalStream) Reset() { *m = PieceRetrievalStream{} }
|
||||||
func (m *PieceRetrievalStream) String() string { return proto.CompactTextString(m) }
|
func (m *PieceRetrievalStream) String() string { return proto.CompactTextString(m) }
|
||||||
func (*PieceRetrievalStream) ProtoMessage() {}
|
func (*PieceRetrievalStream) ProtoMessage() {}
|
||||||
func (*PieceRetrievalStream) Descriptor() ([]byte, []int) {
|
func (*PieceRetrievalStream) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||||
return fileDescriptor_piece_store_781f19cecf7890b8, []int{4}
|
|
||||||
}
|
|
||||||
func (m *PieceRetrievalStream) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_PieceRetrievalStream.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *PieceRetrievalStream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_PieceRetrievalStream.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *PieceRetrievalStream) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_PieceRetrievalStream.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *PieceRetrievalStream) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_PieceRetrievalStream.Size(m)
|
|
||||||
}
|
|
||||||
func (m *PieceRetrievalStream) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_PieceRetrievalStream.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_PieceRetrievalStream proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *PieceRetrievalStream) GetSize() int64 {
|
func (m *PieceRetrievalStream) GetSize() int64 {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -270,35 +177,13 @@ func (m *PieceRetrievalStream) GetContent() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type PieceDelete struct {
|
type PieceDelete struct {
|
||||||
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *PieceDelete) Reset() { *m = PieceDelete{} }
|
func (m *PieceDelete) Reset() { *m = PieceDelete{} }
|
||||||
func (m *PieceDelete) String() string { return proto.CompactTextString(m) }
|
func (m *PieceDelete) String() string { return proto.CompactTextString(m) }
|
||||||
func (*PieceDelete) ProtoMessage() {}
|
func (*PieceDelete) ProtoMessage() {}
|
||||||
func (*PieceDelete) Descriptor() ([]byte, []int) {
|
func (*PieceDelete) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||||
return fileDescriptor_piece_store_781f19cecf7890b8, []int{5}
|
|
||||||
}
|
|
||||||
func (m *PieceDelete) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_PieceDelete.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *PieceDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_PieceDelete.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *PieceDelete) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_PieceDelete.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *PieceDelete) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_PieceDelete.Size(m)
|
|
||||||
}
|
|
||||||
func (m *PieceDelete) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_PieceDelete.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_PieceDelete proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *PieceDelete) GetId() string {
|
func (m *PieceDelete) GetId() string {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -308,35 +193,13 @@ func (m *PieceDelete) GetId() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type PieceDeleteSummary struct {
|
type PieceDeleteSummary struct {
|
||||||
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
|
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *PieceDeleteSummary) Reset() { *m = PieceDeleteSummary{} }
|
func (m *PieceDeleteSummary) Reset() { *m = PieceDeleteSummary{} }
|
||||||
func (m *PieceDeleteSummary) String() string { return proto.CompactTextString(m) }
|
func (m *PieceDeleteSummary) String() string { return proto.CompactTextString(m) }
|
||||||
func (*PieceDeleteSummary) ProtoMessage() {}
|
func (*PieceDeleteSummary) ProtoMessage() {}
|
||||||
func (*PieceDeleteSummary) Descriptor() ([]byte, []int) {
|
func (*PieceDeleteSummary) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||||
return fileDescriptor_piece_store_781f19cecf7890b8, []int{6}
|
|
||||||
}
|
|
||||||
func (m *PieceDeleteSummary) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_PieceDeleteSummary.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *PieceDeleteSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_PieceDeleteSummary.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *PieceDeleteSummary) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_PieceDeleteSummary.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *PieceDeleteSummary) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_PieceDeleteSummary.Size(m)
|
|
||||||
}
|
|
||||||
func (m *PieceDeleteSummary) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_PieceDeleteSummary.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_PieceDeleteSummary proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *PieceDeleteSummary) GetMessage() string {
|
func (m *PieceDeleteSummary) GetMessage() string {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -346,36 +209,14 @@ func (m *PieceDeleteSummary) GetMessage() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type PieceStoreSummary struct {
|
type PieceStoreSummary struct {
|
||||||
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
|
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
|
||||||
TotalReceived int64 `protobuf:"varint,2,opt,name=totalReceived" json:"totalReceived,omitempty"`
|
TotalReceived int64 `protobuf:"varint,2,opt,name=totalReceived" json:"totalReceived,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *PieceStoreSummary) Reset() { *m = PieceStoreSummary{} }
|
func (m *PieceStoreSummary) Reset() { *m = PieceStoreSummary{} }
|
||||||
func (m *PieceStoreSummary) String() string { return proto.CompactTextString(m) }
|
func (m *PieceStoreSummary) String() string { return proto.CompactTextString(m) }
|
||||||
func (*PieceStoreSummary) ProtoMessage() {}
|
func (*PieceStoreSummary) ProtoMessage() {}
|
||||||
func (*PieceStoreSummary) Descriptor() ([]byte, []int) {
|
func (*PieceStoreSummary) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||||
return fileDescriptor_piece_store_781f19cecf7890b8, []int{7}
|
|
||||||
}
|
|
||||||
func (m *PieceStoreSummary) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_PieceStoreSummary.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *PieceStoreSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_PieceStoreSummary.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *PieceStoreSummary) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_PieceStoreSummary.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *PieceStoreSummary) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_PieceStoreSummary.Size(m)
|
|
||||||
}
|
|
||||||
func (m *PieceStoreSummary) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_PieceStoreSummary.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_PieceStoreSummary proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *PieceStoreSummary) GetMessage() string {
|
func (m *PieceStoreSummary) GetMessage() string {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -635,11 +476,11 @@ var _PieceStoreRoutes_serviceDesc = grpc.ServiceDesc{
|
|||||||
Metadata: "piece_store.proto",
|
Metadata: "piece_store.proto",
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { proto.RegisterFile("piece_store.proto", fileDescriptor_piece_store_781f19cecf7890b8) }
|
func init() { proto.RegisterFile("piece_store.proto", fileDescriptor0) }
|
||||||
|
|
||||||
var fileDescriptor_piece_store_781f19cecf7890b8 = []byte{
|
var fileDescriptor0 = []byte{
|
||||||
// 369 bytes of a gzipped FileDescriptorProto
|
// 369 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x51, 0x4f, 0xe2, 0x40,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x8c, 0x93, 0x51, 0x4f, 0xe2, 0x40,
|
||||||
0x10, 0xc7, 0x69, 0x7b, 0xc0, 0xdd, 0x1c, 0x47, 0x60, 0x73, 0x31, 0xa5, 0x11, 0xd2, 0xac, 0xc4,
|
0x10, 0xc7, 0x69, 0x7b, 0xc0, 0xdd, 0x1c, 0x47, 0x60, 0x73, 0x31, 0xa5, 0x11, 0xd2, 0xac, 0xc4,
|
||||||
0xf4, 0xa9, 0x31, 0xfa, 0x15, 0x78, 0xd0, 0xc4, 0xa8, 0x59, 0x5e, 0x7c, 0x33, 0x95, 0x0e, 0x66,
|
0xf4, 0xa9, 0x31, 0xfa, 0x15, 0x78, 0xd0, 0xc4, 0xa8, 0x59, 0x5e, 0x7c, 0x33, 0x95, 0x0e, 0x66,
|
||||||
0x93, 0x96, 0x25, 0xdb, 0x85, 0xa8, 0x5f, 0xd3, 0x2f, 0x64, 0xba, 0x5d, 0x4a, 0x81, 0x14, 0x7c,
|
0x93, 0x96, 0x25, 0xdb, 0x85, 0xa8, 0x5f, 0xd3, 0x2f, 0x64, 0xba, 0x5d, 0x4a, 0x81, 0x14, 0x7c,
|
||||||
|
@ -1,12 +1,34 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go.
|
||||||
// source: pointerdb.proto
|
// source: pointerdb.proto
|
||||||
|
// DO NOT EDIT!
|
||||||
|
|
||||||
|
/*
|
||||||
|
Package pointerdb is a generated protocol buffer package.
|
||||||
|
|
||||||
|
It is generated from these files:
|
||||||
|
pointerdb.proto
|
||||||
|
|
||||||
|
It has these top-level messages:
|
||||||
|
RedundancyScheme
|
||||||
|
EncryptionScheme
|
||||||
|
RemotePiece
|
||||||
|
RemoteSegment
|
||||||
|
Pointer
|
||||||
|
PutRequest
|
||||||
|
GetRequest
|
||||||
|
ListRequest
|
||||||
|
PutResponse
|
||||||
|
GetResponse
|
||||||
|
ListResponse
|
||||||
|
DeleteRequest
|
||||||
|
DeleteResponse
|
||||||
|
*/
|
||||||
package pointerdb
|
package pointerdb
|
||||||
|
|
||||||
import proto "github.com/golang/protobuf/proto"
|
import proto "github.com/golang/protobuf/proto"
|
||||||
import fmt "fmt"
|
import fmt "fmt"
|
||||||
import math "math"
|
import math "math"
|
||||||
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
import google_protobuf "github.com/golang/protobuf/ptypes/timestamp"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
context "golang.org/x/net/context"
|
context "golang.org/x/net/context"
|
||||||
@ -41,7 +63,7 @@ func (x RedundancyScheme_SchemeType) String() string {
|
|||||||
return proto.EnumName(RedundancyScheme_SchemeType_name, int32(x))
|
return proto.EnumName(RedundancyScheme_SchemeType_name, int32(x))
|
||||||
}
|
}
|
||||||
func (RedundancyScheme_SchemeType) EnumDescriptor() ([]byte, []int) {
|
func (RedundancyScheme_SchemeType) EnumDescriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_pointerdb_45a17dd671bdeff7, []int{0, 0}
|
return fileDescriptor0, []int{0, 0}
|
||||||
}
|
}
|
||||||
|
|
||||||
type EncryptionScheme_EncryptionType int32
|
type EncryptionScheme_EncryptionType int32
|
||||||
@ -64,7 +86,7 @@ func (x EncryptionScheme_EncryptionType) String() string {
|
|||||||
return proto.EnumName(EncryptionScheme_EncryptionType_name, int32(x))
|
return proto.EnumName(EncryptionScheme_EncryptionType_name, int32(x))
|
||||||
}
|
}
|
||||||
func (EncryptionScheme_EncryptionType) EnumDescriptor() ([]byte, []int) {
|
func (EncryptionScheme_EncryptionType) EnumDescriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_pointerdb_45a17dd671bdeff7, []int{1, 0}
|
return fileDescriptor0, []int{1, 0}
|
||||||
}
|
}
|
||||||
|
|
||||||
type Pointer_DataType int32
|
type Pointer_DataType int32
|
||||||
@ -86,45 +108,21 @@ var Pointer_DataType_value = map[string]int32{
|
|||||||
func (x Pointer_DataType) String() string {
|
func (x Pointer_DataType) String() string {
|
||||||
return proto.EnumName(Pointer_DataType_name, int32(x))
|
return proto.EnumName(Pointer_DataType_name, int32(x))
|
||||||
}
|
}
|
||||||
func (Pointer_DataType) EnumDescriptor() ([]byte, []int) {
|
func (Pointer_DataType) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{4, 0} }
|
||||||
return fileDescriptor_pointerdb_45a17dd671bdeff7, []int{4, 0}
|
|
||||||
}
|
|
||||||
|
|
||||||
type RedundancyScheme struct {
|
type RedundancyScheme struct {
|
||||||
Type RedundancyScheme_SchemeType `protobuf:"varint,1,opt,name=type,enum=pointerdb.RedundancyScheme_SchemeType" json:"type,omitempty"`
|
Type RedundancyScheme_SchemeType `protobuf:"varint,1,opt,name=type,enum=pointerdb.RedundancyScheme_SchemeType" json:"type,omitempty"`
|
||||||
// these values apply to RS encoding
|
// these values apply to RS encoding
|
||||||
MinReq int64 `protobuf:"varint,2,opt,name=min_req,json=minReq" json:"min_req,omitempty"`
|
MinReq int64 `protobuf:"varint,2,opt,name=min_req,json=minReq" json:"min_req,omitempty"`
|
||||||
Total int64 `protobuf:"varint,3,opt,name=total" json:"total,omitempty"`
|
Total int64 `protobuf:"varint,3,opt,name=total" json:"total,omitempty"`
|
||||||
RepairThreshold int64 `protobuf:"varint,4,opt,name=repair_threshold,json=repairThreshold" json:"repair_threshold,omitempty"`
|
RepairThreshold int64 `protobuf:"varint,4,opt,name=repair_threshold,json=repairThreshold" json:"repair_threshold,omitempty"`
|
||||||
SuccessThreshold int64 `protobuf:"varint,5,opt,name=success_threshold,json=successThreshold" json:"success_threshold,omitempty"`
|
SuccessThreshold int64 `protobuf:"varint,5,opt,name=success_threshold,json=successThreshold" json:"success_threshold,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *RedundancyScheme) Reset() { *m = RedundancyScheme{} }
|
func (m *RedundancyScheme) Reset() { *m = RedundancyScheme{} }
|
||||||
func (m *RedundancyScheme) String() string { return proto.CompactTextString(m) }
|
func (m *RedundancyScheme) String() string { return proto.CompactTextString(m) }
|
||||||
func (*RedundancyScheme) ProtoMessage() {}
|
func (*RedundancyScheme) ProtoMessage() {}
|
||||||
func (*RedundancyScheme) Descriptor() ([]byte, []int) {
|
func (*RedundancyScheme) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||||
return fileDescriptor_pointerdb_45a17dd671bdeff7, []int{0}
|
|
||||||
}
|
|
||||||
func (m *RedundancyScheme) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_RedundancyScheme.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *RedundancyScheme) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_RedundancyScheme.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *RedundancyScheme) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_RedundancyScheme.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *RedundancyScheme) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_RedundancyScheme.Size(m)
|
|
||||||
}
|
|
||||||
func (m *RedundancyScheme) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_RedundancyScheme.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_RedundancyScheme proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *RedundancyScheme) GetType() RedundancyScheme_SchemeType {
|
func (m *RedundancyScheme) GetType() RedundancyScheme_SchemeType {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -165,34 +163,12 @@ type EncryptionScheme struct {
|
|||||||
Type EncryptionScheme_EncryptionType `protobuf:"varint,1,opt,name=type,enum=pointerdb.EncryptionScheme_EncryptionType" json:"type,omitempty"`
|
Type EncryptionScheme_EncryptionType `protobuf:"varint,1,opt,name=type,enum=pointerdb.EncryptionScheme_EncryptionType" json:"type,omitempty"`
|
||||||
EncryptedEncryptionKey []byte `protobuf:"bytes,2,opt,name=encrypted_encryption_key,json=encryptedEncryptionKey,proto3" json:"encrypted_encryption_key,omitempty"`
|
EncryptedEncryptionKey []byte `protobuf:"bytes,2,opt,name=encrypted_encryption_key,json=encryptedEncryptionKey,proto3" json:"encrypted_encryption_key,omitempty"`
|
||||||
EncryptedStartingNonce []byte `protobuf:"bytes,3,opt,name=encrypted_starting_nonce,json=encryptedStartingNonce,proto3" json:"encrypted_starting_nonce,omitempty"`
|
EncryptedStartingNonce []byte `protobuf:"bytes,3,opt,name=encrypted_starting_nonce,json=encryptedStartingNonce,proto3" json:"encrypted_starting_nonce,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *EncryptionScheme) Reset() { *m = EncryptionScheme{} }
|
func (m *EncryptionScheme) Reset() { *m = EncryptionScheme{} }
|
||||||
func (m *EncryptionScheme) String() string { return proto.CompactTextString(m) }
|
func (m *EncryptionScheme) String() string { return proto.CompactTextString(m) }
|
||||||
func (*EncryptionScheme) ProtoMessage() {}
|
func (*EncryptionScheme) ProtoMessage() {}
|
||||||
func (*EncryptionScheme) Descriptor() ([]byte, []int) {
|
func (*EncryptionScheme) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||||
return fileDescriptor_pointerdb_45a17dd671bdeff7, []int{1}
|
|
||||||
}
|
|
||||||
func (m *EncryptionScheme) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_EncryptionScheme.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *EncryptionScheme) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_EncryptionScheme.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *EncryptionScheme) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_EncryptionScheme.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *EncryptionScheme) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_EncryptionScheme.Size(m)
|
|
||||||
}
|
|
||||||
func (m *EncryptionScheme) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_EncryptionScheme.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_EncryptionScheme proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *EncryptionScheme) GetType() EncryptionScheme_EncryptionType {
|
func (m *EncryptionScheme) GetType() EncryptionScheme_EncryptionType {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -216,36 +192,14 @@ func (m *EncryptionScheme) GetEncryptedStartingNonce() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RemotePiece struct {
|
type RemotePiece struct {
|
||||||
PieceNum int64 `protobuf:"varint,1,opt,name=piece_num,json=pieceNum" json:"piece_num,omitempty"`
|
PieceNum int64 `protobuf:"varint,1,opt,name=piece_num,json=pieceNum" json:"piece_num,omitempty"`
|
||||||
NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId" json:"node_id,omitempty"`
|
NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId" json:"node_id,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *RemotePiece) Reset() { *m = RemotePiece{} }
|
func (m *RemotePiece) Reset() { *m = RemotePiece{} }
|
||||||
func (m *RemotePiece) String() string { return proto.CompactTextString(m) }
|
func (m *RemotePiece) String() string { return proto.CompactTextString(m) }
|
||||||
func (*RemotePiece) ProtoMessage() {}
|
func (*RemotePiece) ProtoMessage() {}
|
||||||
func (*RemotePiece) Descriptor() ([]byte, []int) {
|
func (*RemotePiece) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||||
return fileDescriptor_pointerdb_45a17dd671bdeff7, []int{2}
|
|
||||||
}
|
|
||||||
func (m *RemotePiece) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_RemotePiece.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *RemotePiece) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_RemotePiece.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *RemotePiece) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_RemotePiece.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *RemotePiece) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_RemotePiece.Size(m)
|
|
||||||
}
|
|
||||||
func (m *RemotePiece) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_RemotePiece.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_RemotePiece proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *RemotePiece) GetPieceNum() int64 {
|
func (m *RemotePiece) GetPieceNum() int64 {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -262,38 +216,16 @@ func (m *RemotePiece) GetNodeId() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RemoteSegment struct {
|
type RemoteSegment struct {
|
||||||
Redundancy *RedundancyScheme `protobuf:"bytes,1,opt,name=redundancy" json:"redundancy,omitempty"`
|
Redundancy *RedundancyScheme `protobuf:"bytes,1,opt,name=redundancy" json:"redundancy,omitempty"`
|
||||||
PieceId string `protobuf:"bytes,2,opt,name=piece_id,json=pieceId" json:"piece_id,omitempty"`
|
PieceId string `protobuf:"bytes,2,opt,name=piece_id,json=pieceId" json:"piece_id,omitempty"`
|
||||||
RemotePieces []*RemotePiece `protobuf:"bytes,3,rep,name=remote_pieces,json=remotePieces" json:"remote_pieces,omitempty"`
|
RemotePieces []*RemotePiece `protobuf:"bytes,3,rep,name=remote_pieces,json=remotePieces" json:"remote_pieces,omitempty"`
|
||||||
MerkleRoot []byte `protobuf:"bytes,4,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
|
MerkleRoot []byte `protobuf:"bytes,4,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *RemoteSegment) Reset() { *m = RemoteSegment{} }
|
func (m *RemoteSegment) Reset() { *m = RemoteSegment{} }
|
||||||
func (m *RemoteSegment) String() string { return proto.CompactTextString(m) }
|
func (m *RemoteSegment) String() string { return proto.CompactTextString(m) }
|
||||||
func (*RemoteSegment) ProtoMessage() {}
|
func (*RemoteSegment) ProtoMessage() {}
|
||||||
func (*RemoteSegment) Descriptor() ([]byte, []int) {
|
func (*RemoteSegment) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||||
return fileDescriptor_pointerdb_45a17dd671bdeff7, []int{3}
|
|
||||||
}
|
|
||||||
func (m *RemoteSegment) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_RemoteSegment.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *RemoteSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_RemoteSegment.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *RemoteSegment) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_RemoteSegment.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *RemoteSegment) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_RemoteSegment.Size(m)
|
|
||||||
}
|
|
||||||
func (m *RemoteSegment) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_RemoteSegment.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_RemoteSegment proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *RemoteSegment) GetRedundancy() *RedundancyScheme {
|
func (m *RemoteSegment) GetRedundancy() *RedundancyScheme {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -324,41 +256,19 @@ func (m *RemoteSegment) GetMerkleRoot() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Pointer struct {
|
type Pointer struct {
|
||||||
Type Pointer_DataType `protobuf:"varint,1,opt,name=type,enum=pointerdb.Pointer_DataType" json:"type,omitempty"`
|
Type Pointer_DataType `protobuf:"varint,1,opt,name=type,enum=pointerdb.Pointer_DataType" json:"type,omitempty"`
|
||||||
InlineSegment []byte `protobuf:"bytes,3,opt,name=inline_segment,json=inlineSegment,proto3" json:"inline_segment,omitempty"`
|
InlineSegment []byte `protobuf:"bytes,3,opt,name=inline_segment,json=inlineSegment,proto3" json:"inline_segment,omitempty"`
|
||||||
Remote *RemoteSegment `protobuf:"bytes,4,opt,name=remote" json:"remote,omitempty"`
|
Remote *RemoteSegment `protobuf:"bytes,4,opt,name=remote" json:"remote,omitempty"`
|
||||||
Size int64 `protobuf:"varint,5,opt,name=size" json:"size,omitempty"`
|
Size int64 `protobuf:"varint,5,opt,name=size" json:"size,omitempty"`
|
||||||
CreationDate *timestamp.Timestamp `protobuf:"bytes,6,opt,name=creation_date,json=creationDate" json:"creation_date,omitempty"`
|
CreationDate *google_protobuf.Timestamp `protobuf:"bytes,6,opt,name=creation_date,json=creationDate" json:"creation_date,omitempty"`
|
||||||
ExpirationDate *timestamp.Timestamp `protobuf:"bytes,7,opt,name=expiration_date,json=expirationDate" json:"expiration_date,omitempty"`
|
ExpirationDate *google_protobuf.Timestamp `protobuf:"bytes,7,opt,name=expiration_date,json=expirationDate" json:"expiration_date,omitempty"`
|
||||||
Metadata []byte `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
Metadata []byte `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Pointer) Reset() { *m = Pointer{} }
|
func (m *Pointer) Reset() { *m = Pointer{} }
|
||||||
func (m *Pointer) String() string { return proto.CompactTextString(m) }
|
func (m *Pointer) String() string { return proto.CompactTextString(m) }
|
||||||
func (*Pointer) ProtoMessage() {}
|
func (*Pointer) ProtoMessage() {}
|
||||||
func (*Pointer) Descriptor() ([]byte, []int) {
|
func (*Pointer) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||||
return fileDescriptor_pointerdb_45a17dd671bdeff7, []int{4}
|
|
||||||
}
|
|
||||||
func (m *Pointer) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_Pointer.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *Pointer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_Pointer.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *Pointer) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_Pointer.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *Pointer) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_Pointer.Size(m)
|
|
||||||
}
|
|
||||||
func (m *Pointer) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_Pointer.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_Pointer proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *Pointer) GetType() Pointer_DataType {
|
func (m *Pointer) GetType() Pointer_DataType {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -388,14 +298,14 @@ func (m *Pointer) GetSize() int64 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Pointer) GetCreationDate() *timestamp.Timestamp {
|
func (m *Pointer) GetCreationDate() *google_protobuf.Timestamp {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.CreationDate
|
return m.CreationDate
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Pointer) GetExpirationDate() *timestamp.Timestamp {
|
func (m *Pointer) GetExpirationDate() *google_protobuf.Timestamp {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.ExpirationDate
|
return m.ExpirationDate
|
||||||
}
|
}
|
||||||
@ -411,37 +321,15 @@ func (m *Pointer) GetMetadata() []byte {
|
|||||||
|
|
||||||
// PutRequest is a request message for the Put rpc call
|
// PutRequest is a request message for the Put rpc call
|
||||||
type PutRequest struct {
|
type PutRequest struct {
|
||||||
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||||||
Pointer *Pointer `protobuf:"bytes,2,opt,name=pointer" json:"pointer,omitempty"`
|
Pointer *Pointer `protobuf:"bytes,2,opt,name=pointer" json:"pointer,omitempty"`
|
||||||
APIKey []byte `protobuf:"bytes,3,opt,name=APIKey,proto3" json:"APIKey,omitempty"`
|
APIKey []byte `protobuf:"bytes,3,opt,name=APIKey,json=aPIKey,proto3" json:"APIKey,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *PutRequest) Reset() { *m = PutRequest{} }
|
func (m *PutRequest) Reset() { *m = PutRequest{} }
|
||||||
func (m *PutRequest) String() string { return proto.CompactTextString(m) }
|
func (m *PutRequest) String() string { return proto.CompactTextString(m) }
|
||||||
func (*PutRequest) ProtoMessage() {}
|
func (*PutRequest) ProtoMessage() {}
|
||||||
func (*PutRequest) Descriptor() ([]byte, []int) {
|
func (*PutRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||||
return fileDescriptor_pointerdb_45a17dd671bdeff7, []int{5}
|
|
||||||
}
|
|
||||||
func (m *PutRequest) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_PutRequest.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *PutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_PutRequest.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *PutRequest) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_PutRequest.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *PutRequest) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_PutRequest.Size(m)
|
|
||||||
}
|
|
||||||
func (m *PutRequest) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_PutRequest.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_PutRequest proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *PutRequest) GetPath() []byte {
|
func (m *PutRequest) GetPath() []byte {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -466,36 +354,14 @@ func (m *PutRequest) GetAPIKey() []byte {
|
|||||||
|
|
||||||
// GetRequest is a request message for the Get rpc call
|
// GetRequest is a request message for the Get rpc call
|
||||||
type GetRequest struct {
|
type GetRequest struct {
|
||||||
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||||||
APIKey []byte `protobuf:"bytes,2,opt,name=APIKey,proto3" json:"APIKey,omitempty"`
|
APIKey []byte `protobuf:"bytes,2,opt,name=APIKey,json=aPIKey,proto3" json:"APIKey,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *GetRequest) Reset() { *m = GetRequest{} }
|
func (m *GetRequest) Reset() { *m = GetRequest{} }
|
||||||
func (m *GetRequest) String() string { return proto.CompactTextString(m) }
|
func (m *GetRequest) String() string { return proto.CompactTextString(m) }
|
||||||
func (*GetRequest) ProtoMessage() {}
|
func (*GetRequest) ProtoMessage() {}
|
||||||
func (*GetRequest) Descriptor() ([]byte, []int) {
|
func (*GetRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||||
return fileDescriptor_pointerdb_45a17dd671bdeff7, []int{6}
|
|
||||||
}
|
|
||||||
func (m *GetRequest) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_GetRequest.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_GetRequest.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *GetRequest) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_GetRequest.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *GetRequest) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_GetRequest.Size(m)
|
|
||||||
}
|
|
||||||
func (m *GetRequest) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_GetRequest.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_GetRequest proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *GetRequest) GetPath() []byte {
|
func (m *GetRequest) GetPath() []byte {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -513,37 +379,15 @@ func (m *GetRequest) GetAPIKey() []byte {
|
|||||||
|
|
||||||
// ListRequest is a request message for the List rpc call
|
// ListRequest is a request message for the List rpc call
|
||||||
type ListRequest struct {
|
type ListRequest struct {
|
||||||
StartingPathKey []byte `protobuf:"bytes,1,opt,name=starting_path_key,json=startingPathKey,proto3" json:"starting_path_key,omitempty"`
|
StartingPathKey []byte `protobuf:"bytes,1,opt,name=starting_path_key,json=startingPathKey,proto3" json:"starting_path_key,omitempty"`
|
||||||
Limit int64 `protobuf:"varint,2,opt,name=limit" json:"limit,omitempty"`
|
Limit int64 `protobuf:"varint,2,opt,name=limit" json:"limit,omitempty"`
|
||||||
APIKey []byte `protobuf:"bytes,3,opt,name=APIKey,proto3" json:"APIKey,omitempty"`
|
APIKey []byte `protobuf:"bytes,3,opt,name=APIKey,json=aPIKey,proto3" json:"APIKey,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ListRequest) Reset() { *m = ListRequest{} }
|
func (m *ListRequest) Reset() { *m = ListRequest{} }
|
||||||
func (m *ListRequest) String() string { return proto.CompactTextString(m) }
|
func (m *ListRequest) String() string { return proto.CompactTextString(m) }
|
||||||
func (*ListRequest) ProtoMessage() {}
|
func (*ListRequest) ProtoMessage() {}
|
||||||
func (*ListRequest) Descriptor() ([]byte, []int) {
|
func (*ListRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||||||
return fileDescriptor_pointerdb_45a17dd671bdeff7, []int{7}
|
|
||||||
}
|
|
||||||
func (m *ListRequest) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_ListRequest.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_ListRequest.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *ListRequest) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_ListRequest.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *ListRequest) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_ListRequest.Size(m)
|
|
||||||
}
|
|
||||||
func (m *ListRequest) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_ListRequest.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_ListRequest proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *ListRequest) GetStartingPathKey() []byte {
|
func (m *ListRequest) GetStartingPathKey() []byte {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -568,66 +412,22 @@ func (m *ListRequest) GetAPIKey() []byte {
|
|||||||
|
|
||||||
// PutResponse is a response message for the Put rpc call
|
// PutResponse is a response message for the Put rpc call
|
||||||
type PutResponse struct {
|
type PutResponse struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *PutResponse) Reset() { *m = PutResponse{} }
|
func (m *PutResponse) Reset() { *m = PutResponse{} }
|
||||||
func (m *PutResponse) String() string { return proto.CompactTextString(m) }
|
func (m *PutResponse) String() string { return proto.CompactTextString(m) }
|
||||||
func (*PutResponse) ProtoMessage() {}
|
func (*PutResponse) ProtoMessage() {}
|
||||||
func (*PutResponse) Descriptor() ([]byte, []int) {
|
func (*PutResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
|
||||||
return fileDescriptor_pointerdb_45a17dd671bdeff7, []int{8}
|
|
||||||
}
|
|
||||||
func (m *PutResponse) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_PutResponse.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *PutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_PutResponse.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *PutResponse) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_PutResponse.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *PutResponse) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_PutResponse.Size(m)
|
|
||||||
}
|
|
||||||
func (m *PutResponse) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_PutResponse.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_PutResponse proto.InternalMessageInfo
|
|
||||||
|
|
||||||
// GetResponse is a response message for the Get rpc call
|
// GetResponse is a response message for the Get rpc call
|
||||||
type GetResponse struct {
|
type GetResponse struct {
|
||||||
Pointer []byte `protobuf:"bytes,1,opt,name=pointer,proto3" json:"pointer,omitempty"`
|
Pointer []byte `protobuf:"bytes,1,opt,name=pointer,proto3" json:"pointer,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *GetResponse) Reset() { *m = GetResponse{} }
|
func (m *GetResponse) Reset() { *m = GetResponse{} }
|
||||||
func (m *GetResponse) String() string { return proto.CompactTextString(m) }
|
func (m *GetResponse) String() string { return proto.CompactTextString(m) }
|
||||||
func (*GetResponse) ProtoMessage() {}
|
func (*GetResponse) ProtoMessage() {}
|
||||||
func (*GetResponse) Descriptor() ([]byte, []int) {
|
func (*GetResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
|
||||||
return fileDescriptor_pointerdb_45a17dd671bdeff7, []int{9}
|
|
||||||
}
|
|
||||||
func (m *GetResponse) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_GetResponse.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_GetResponse.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *GetResponse) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_GetResponse.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *GetResponse) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_GetResponse.Size(m)
|
|
||||||
}
|
|
||||||
func (m *GetResponse) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_GetResponse.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_GetResponse proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *GetResponse) GetPointer() []byte {
|
func (m *GetResponse) GetPointer() []byte {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -638,36 +438,14 @@ func (m *GetResponse) GetPointer() []byte {
|
|||||||
|
|
||||||
// ListResponse is a response message for the List rpc call
|
// ListResponse is a response message for the List rpc call
|
||||||
type ListResponse struct {
|
type ListResponse struct {
|
||||||
Paths [][]byte `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
|
Paths [][]byte `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
|
||||||
Truncated bool `protobuf:"varint,2,opt,name=truncated" json:"truncated,omitempty"`
|
Truncated bool `protobuf:"varint,2,opt,name=truncated" json:"truncated,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ListResponse) Reset() { *m = ListResponse{} }
|
func (m *ListResponse) Reset() { *m = ListResponse{} }
|
||||||
func (m *ListResponse) String() string { return proto.CompactTextString(m) }
|
func (m *ListResponse) String() string { return proto.CompactTextString(m) }
|
||||||
func (*ListResponse) ProtoMessage() {}
|
func (*ListResponse) ProtoMessage() {}
|
||||||
func (*ListResponse) Descriptor() ([]byte, []int) {
|
func (*ListResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
|
||||||
return fileDescriptor_pointerdb_45a17dd671bdeff7, []int{10}
|
|
||||||
}
|
|
||||||
func (m *ListResponse) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_ListResponse.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_ListResponse.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *ListResponse) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_ListResponse.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *ListResponse) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_ListResponse.Size(m)
|
|
||||||
}
|
|
||||||
func (m *ListResponse) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_ListResponse.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_ListResponse proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *ListResponse) GetPaths() [][]byte {
|
func (m *ListResponse) GetPaths() [][]byte {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -684,36 +462,14 @@ func (m *ListResponse) GetTruncated() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type DeleteRequest struct {
|
type DeleteRequest struct {
|
||||||
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||||||
APIKey []byte `protobuf:"bytes,2,opt,name=APIKey,proto3" json:"APIKey,omitempty"`
|
APIKey []byte `protobuf:"bytes,2,opt,name=APIKey,json=aPIKey,proto3" json:"APIKey,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *DeleteRequest) Reset() { *m = DeleteRequest{} }
|
func (m *DeleteRequest) Reset() { *m = DeleteRequest{} }
|
||||||
func (m *DeleteRequest) String() string { return proto.CompactTextString(m) }
|
func (m *DeleteRequest) String() string { return proto.CompactTextString(m) }
|
||||||
func (*DeleteRequest) ProtoMessage() {}
|
func (*DeleteRequest) ProtoMessage() {}
|
||||||
func (*DeleteRequest) Descriptor() ([]byte, []int) {
|
func (*DeleteRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
|
||||||
return fileDescriptor_pointerdb_45a17dd671bdeff7, []int{11}
|
|
||||||
}
|
|
||||||
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_DeleteRequest.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_DeleteRequest.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *DeleteRequest) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_DeleteRequest.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *DeleteRequest) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_DeleteRequest.Size(m)
|
|
||||||
}
|
|
||||||
func (m *DeleteRequest) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_DeleteRequest.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_DeleteRequest proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *DeleteRequest) GetPath() []byte {
|
func (m *DeleteRequest) GetPath() []byte {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
@ -731,34 +487,12 @@ func (m *DeleteRequest) GetAPIKey() []byte {
|
|||||||
|
|
||||||
// DeleteResponse is a response message for the Delete rpc call
|
// DeleteResponse is a response message for the Delete rpc call
|
||||||
type DeleteResponse struct {
|
type DeleteResponse struct {
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *DeleteResponse) Reset() { *m = DeleteResponse{} }
|
func (m *DeleteResponse) Reset() { *m = DeleteResponse{} }
|
||||||
func (m *DeleteResponse) String() string { return proto.CompactTextString(m) }
|
func (m *DeleteResponse) String() string { return proto.CompactTextString(m) }
|
||||||
func (*DeleteResponse) ProtoMessage() {}
|
func (*DeleteResponse) ProtoMessage() {}
|
||||||
func (*DeleteResponse) Descriptor() ([]byte, []int) {
|
func (*DeleteResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
|
||||||
return fileDescriptor_pointerdb_45a17dd671bdeff7, []int{12}
|
|
||||||
}
|
|
||||||
func (m *DeleteResponse) XXX_Unmarshal(b []byte) error {
|
|
||||||
return xxx_messageInfo_DeleteResponse.Unmarshal(m, b)
|
|
||||||
}
|
|
||||||
func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_DeleteResponse.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (dst *DeleteResponse) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_DeleteResponse.Merge(dst, src)
|
|
||||||
}
|
|
||||||
func (m *DeleteResponse) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_DeleteResponse.Size(m)
|
|
||||||
}
|
|
||||||
func (m *DeleteResponse) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_DeleteResponse.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_DeleteResponse proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
proto.RegisterType((*RedundancyScheme)(nil), "pointerdb.RedundancyScheme")
|
proto.RegisterType((*RedundancyScheme)(nil), "pointerdb.RedundancyScheme")
|
||||||
@ -787,9 +521,8 @@ var _ grpc.ClientConn
|
|||||||
// is compatible with the grpc package it is being compiled against.
|
// is compatible with the grpc package it is being compiled against.
|
||||||
const _ = grpc.SupportPackageIsVersion4
|
const _ = grpc.SupportPackageIsVersion4
|
||||||
|
|
||||||
// PointerDBClient is the client API for PointerDB service.
|
// Client API for PointerDB service
|
||||||
//
|
|
||||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
||||||
type PointerDBClient interface {
|
type PointerDBClient interface {
|
||||||
// Put formats and hands off a file path to be saved to boltdb
|
// Put formats and hands off a file path to be saved to boltdb
|
||||||
Put(ctx context.Context, in *PutRequest, opts ...grpc.CallOption) (*PutResponse, error)
|
Put(ctx context.Context, in *PutRequest, opts ...grpc.CallOption) (*PutResponse, error)
|
||||||
@ -811,7 +544,7 @@ func NewPointerDBClient(cc *grpc.ClientConn) PointerDBClient {
|
|||||||
|
|
||||||
func (c *pointerDBClient) Put(ctx context.Context, in *PutRequest, opts ...grpc.CallOption) (*PutResponse, error) {
|
func (c *pointerDBClient) Put(ctx context.Context, in *PutRequest, opts ...grpc.CallOption) (*PutResponse, error) {
|
||||||
out := new(PutResponse)
|
out := new(PutResponse)
|
||||||
err := c.cc.Invoke(ctx, "/pointerdb.PointerDB/Put", in, out, opts...)
|
err := grpc.Invoke(ctx, "/pointerdb.PointerDB/Put", in, out, c.cc, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -820,7 +553,7 @@ func (c *pointerDBClient) Put(ctx context.Context, in *PutRequest, opts ...grpc.
|
|||||||
|
|
||||||
func (c *pointerDBClient) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) {
|
func (c *pointerDBClient) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) {
|
||||||
out := new(GetResponse)
|
out := new(GetResponse)
|
||||||
err := c.cc.Invoke(ctx, "/pointerdb.PointerDB/Get", in, out, opts...)
|
err := grpc.Invoke(ctx, "/pointerdb.PointerDB/Get", in, out, c.cc, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -829,7 +562,7 @@ func (c *pointerDBClient) Get(ctx context.Context, in *GetRequest, opts ...grpc.
|
|||||||
|
|
||||||
func (c *pointerDBClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) {
|
func (c *pointerDBClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) {
|
||||||
out := new(ListResponse)
|
out := new(ListResponse)
|
||||||
err := c.cc.Invoke(ctx, "/pointerdb.PointerDB/List", in, out, opts...)
|
err := grpc.Invoke(ctx, "/pointerdb.PointerDB/List", in, out, c.cc, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -838,7 +571,7 @@ func (c *pointerDBClient) List(ctx context.Context, in *ListRequest, opts ...grp
|
|||||||
|
|
||||||
func (c *pointerDBClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) {
|
func (c *pointerDBClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) {
|
||||||
out := new(DeleteResponse)
|
out := new(DeleteResponse)
|
||||||
err := c.cc.Invoke(ctx, "/pointerdb.PointerDB/Delete", in, out, opts...)
|
err := grpc.Invoke(ctx, "/pointerdb.PointerDB/Delete", in, out, c.cc, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -959,62 +692,62 @@ var _PointerDB_serviceDesc = grpc.ServiceDesc{
|
|||||||
Metadata: "pointerdb.proto",
|
Metadata: "pointerdb.proto",
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { proto.RegisterFile("pointerdb.proto", fileDescriptor_pointerdb_45a17dd671bdeff7) }
|
func init() { proto.RegisterFile("pointerdb.proto", fileDescriptor0) }
|
||||||
|
|
||||||
var fileDescriptor_pointerdb_45a17dd671bdeff7 = []byte{
|
var fileDescriptor0 = []byte{
|
||||||
// 851 bytes of a gzipped FileDescriptorProto
|
// 860 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x6d, 0x6f, 0xe3, 0x44,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x54, 0x5f, 0x6f, 0xdb, 0x46,
|
||||||
0x10, 0xae, 0xeb, 0xd6, 0x49, 0xc6, 0x79, 0xf1, 0xad, 0x4a, 0xcf, 0x97, 0x43, 0xa2, 0xb2, 0x04,
|
0x0c, 0x8f, 0xa2, 0x44, 0xb6, 0x29, 0xdb, 0x51, 0x0f, 0x59, 0xaa, 0xba, 0x03, 0x1a, 0x08, 0xd8,
|
||||||
0x94, 0x3b, 0x14, 0x50, 0x38, 0x89, 0x13, 0x15, 0xa0, 0x6b, 0x1b, 0x55, 0xd1, 0xdd, 0xf5, 0xa2,
|
0x96, 0xb5, 0x83, 0x33, 0x78, 0x05, 0x56, 0x2c, 0xd8, 0x86, 0x26, 0x31, 0x02, 0xa3, 0x6d, 0x6a,
|
||||||
0x4d, 0x3e, 0xf0, 0xcd, 0x72, 0xed, 0xb9, 0xc4, 0xba, 0x78, 0xed, 0xda, 0x6b, 0x89, 0xf0, 0xff,
|
0x9c, 0xfd, 0xb0, 0x37, 0xe1, 0x22, 0xb1, 0xb6, 0x50, 0xeb, 0xa4, 0x48, 0x27, 0x60, 0xde, 0xf7,
|
||||||
0xf8, 0x35, 0x08, 0xf1, 0x81, 0x3f, 0x80, 0xbc, 0xbb, 0x7e, 0x6b, 0xa1, 0x48, 0xf7, 0x29, 0x9e,
|
0xdb, 0xa7, 0x19, 0x86, 0x3d, 0xec, 0x0b, 0x0c, 0xba, 0xd3, 0xdf, 0x64, 0xcb, 0x80, 0x3e, 0x59,
|
||||||
0x99, 0xe7, 0x99, 0x9d, 0x79, 0x66, 0x26, 0x30, 0x4a, 0xe2, 0x90, 0x71, 0x4c, 0x83, 0x9b, 0x49,
|
0x24, 0x7f, 0x3f, 0x1e, 0xf9, 0x23, 0x69, 0x38, 0x88, 0xa3, 0x80, 0x0b, 0x4c, 0xfc, 0x9b, 0x71,
|
||||||
0x92, 0xc6, 0x3c, 0x26, 0xbd, 0xca, 0x31, 0x1e, 0xf1, 0x30, 0xc2, 0x8c, 0x7b, 0x51, 0x22, 0x63,
|
0x9c, 0x44, 0x22, 0x22, 0xbd, 0xca, 0x31, 0x7a, 0xb6, 0x8a, 0xa2, 0xd5, 0x06, 0x4f, 0x65, 0xe0,
|
||||||
0xce, 0x1f, 0x1a, 0x58, 0x14, 0x83, 0x9c, 0x05, 0x1e, 0xf3, 0x77, 0x4b, 0x7f, 0x83, 0x11, 0x92,
|
0x26, 0xfb, 0x70, 0x2a, 0x82, 0x10, 0x53, 0xc1, 0xc2, 0x58, 0x61, 0x9d, 0x3f, 0x34, 0xb0, 0x28,
|
||||||
0x1f, 0xe0, 0x80, 0xef, 0x12, 0xb4, 0xb5, 0x13, 0xed, 0x74, 0x38, 0xfd, 0x62, 0x52, 0x27, 0xbc,
|
0xfa, 0x19, 0xf7, 0x19, 0xf7, 0xb6, 0x0b, 0x6f, 0x8d, 0x21, 0x92, 0x1f, 0x60, 0x4f, 0x6c, 0x63,
|
||||||
0x0b, 0x9d, 0xc8, 0x9f, 0xd5, 0x2e, 0x41, 0x2a, 0x38, 0xe4, 0x31, 0x74, 0xa2, 0x90, 0xb9, 0x29,
|
0xb4, 0xb5, 0x63, 0xed, 0x64, 0x38, 0xf9, 0x72, 0x5c, 0x3f, 0x70, 0x17, 0x3a, 0x56, 0x3f, 0xcb,
|
||||||
0xde, 0xda, 0xfb, 0x27, 0xda, 0xa9, 0x4e, 0x8d, 0x28, 0x64, 0x14, 0x6f, 0xc9, 0x11, 0x1c, 0xf2,
|
0x6d, 0x8c, 0x54, 0x72, 0xc8, 0x63, 0xe8, 0x84, 0x01, 0x77, 0x13, 0xbc, 0xb5, 0x77, 0x8f, 0xb5,
|
||||||
0x98, 0x7b, 0x5b, 0x5b, 0x17, 0x6e, 0x69, 0x90, 0xaf, 0xc0, 0x4a, 0x31, 0xf1, 0xc2, 0xd4, 0xe5,
|
0x13, 0x9d, 0x1a, 0x61, 0xc0, 0x29, 0xde, 0x92, 0x43, 0xd8, 0x17, 0x91, 0x60, 0x1b, 0x5b, 0x97,
|
||||||
0x9b, 0x14, 0xb3, 0x4d, 0xbc, 0x0d, 0xec, 0x03, 0x01, 0x18, 0x49, 0xff, 0xaa, 0x74, 0x93, 0xe7,
|
0x6e, 0x65, 0x90, 0xaf, 0xc1, 0x4a, 0x30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, 0xb6, 0x44, 0x19, 0x3f, 0xf9, 0x97, 0x88, 0xa4,
|
0x8c, 0x37, 0xc6, 0x37, 0x7a, 0x7c, 0xcf, 0x5f, 0x10, 0x7f, 0x04, 0x43, 0x35, 0x41, 0x9a, 0xe7,
|
||||||
0xdf, 0x18, 0xe2, 0x56, 0xbe, 0xfb, 0x27, 0x00, 0x00, 0xff, 0xff, 0x55, 0x83, 0x73, 0xdf, 0x5e,
|
0xd8, 0x12, 0x65, 0xf4, 0xe4, 0x5f, 0x22, 0x8a, 0x7e, 0x63, 0xc8, 0x5b, 0xf9, 0xee, 0x9f, 0x00,
|
||||||
0x07, 0x00, 0x00,
|
0x00, 0x00, 0xff, 0xff, 0xb8, 0xf6, 0xf2, 0xf0, 0x6e, 0x07, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package pointerdb;
|
package pointerdb;
|
||||||
|
|
||||||
import "timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
// PointerDB defines the interface for interacting with the network state persistence layer
|
// PointerDB defines the interface for interacting with the network state persistence layer
|
||||||
service PointerDB {
|
service PointerDB {
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
protoc -Iprotos/overlay -Iprotos/google protos/overlay/overlay.proto --go_out=plugins=grpc:protos/overlay/
|
|
Loading…
Reference in New Issue
Block a user