mirror of
https://github.com/rclone/rclone.git
synced 2024-12-11 17:51:12 +01:00
35 lines
624 B
Protocol Buffer
35 lines
624 B
Protocol Buffer
|
// Copyright (C) 2019 Storj Labs, Inc.
|
||
|
// See LICENSE for copying information.
|
||
|
|
||
|
syntax = "proto3";
|
||
|
option go_package = "storj.io/common/pb";
|
||
|
|
||
|
import "node.proto";
|
||
|
|
||
|
package overlay;
|
||
|
|
||
|
message InfoResponse {
|
||
|
node.NodeType type = 2;
|
||
|
node.NodeOperator operator = 3;
|
||
|
node.NodeCapacity capacity = 4;
|
||
|
node.NodeVersion version = 5;
|
||
|
}
|
||
|
|
||
|
message Restriction {
|
||
|
enum Operator {
|
||
|
LT = 0;
|
||
|
EQ = 1;
|
||
|
GT = 2;
|
||
|
LTE = 3;
|
||
|
GTE = 4;
|
||
|
}
|
||
|
enum Operand {
|
||
|
FREE_BANDWIDTH = 0;
|
||
|
FREE_DISK = 1;
|
||
|
}
|
||
|
|
||
|
Operator operator = 1;
|
||
|
Operand operand = 2;
|
||
|
int64 value = 3;
|
||
|
}
|