2019-02-18 07:43:46 +00:00
|
|
|
{
|
|
|
|
"definitions": [
|
2019-06-04 18:12:27 +01:00
|
|
|
{
|
|
|
|
"protopath": "pkg:/:macaroon:/:types.proto",
|
|
|
|
"def": {
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "Caveat",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "disallow_reads",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "disallow_writes",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "disallow_lists",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "disallow_deletes",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 10,
|
|
|
|
"name": "allowed_paths",
|
|
|
|
"type": "Path",
|
|
|
|
"is_repeated": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 20,
|
|
|
|
"name": "not_after",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 21,
|
|
|
|
"name": "not_before",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 30,
|
|
|
|
"name": "nonce",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "Path",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "encrypted_path_prefix",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"imports": [
|
|
|
|
{
|
|
|
|
"path": "gogo.proto"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "google/protobuf/timestamp.proto"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"package": {
|
|
|
|
"name": "macaroon"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2019-02-18 07:43:46 +00:00
|
|
|
{
|
|
|
|
"protopath": "pkg:/:pb:/:certificate.proto",
|
|
|
|
"def": {
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "SigningRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "auth_token",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "timestamp",
|
|
|
|
"type": "int64"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SigningResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "chain",
|
|
|
|
"type": "bytes",
|
|
|
|
"is_repeated": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"services": [
|
|
|
|
{
|
|
|
|
"name": "Certificates",
|
|
|
|
"rpcs": [
|
|
|
|
{
|
|
|
|
"name": "Sign",
|
|
|
|
"in_type": "SigningRequest",
|
|
|
|
"out_type": "SigningResponse"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"imports": [
|
|
|
|
{
|
|
|
|
"path": "gogo.proto"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"package": {
|
|
|
|
"name": "node"
|
2019-06-04 18:12:27 +01:00
|
|
|
},
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "go_package",
|
|
|
|
"value": "pb"
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"protopath": "pkg:/:pb:/:datarepair.proto",
|
|
|
|
"def": {
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "InjuredSegment",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "path",
|
2019-07-11 18:26:07 +01:00
|
|
|
"type": "bytes"
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "lost_pieces",
|
|
|
|
"type": "int32",
|
|
|
|
"is_repeated": true
|
2019-07-10 22:27:46 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "inserted_time",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2019-07-10 22:27:46 +01:00
|
|
|
"imports": [
|
|
|
|
{
|
|
|
|
"path": "gogo.proto"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "google/protobuf/timestamp.proto"
|
|
|
|
}
|
|
|
|
],
|
2019-02-18 07:43:46 +00:00
|
|
|
"package": {
|
|
|
|
"name": "repair"
|
2019-06-04 18:12:27 +01:00
|
|
|
},
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "go_package",
|
|
|
|
"value": "pb"
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
},
|
2019-07-01 23:17:30 +01:00
|
|
|
{
|
|
|
|
"protopath": "pkg:/:pb:/:encryption.proto",
|
|
|
|
"def": {
|
|
|
|
"enums": [
|
|
|
|
{
|
2019-07-08 23:32:18 +01:00
|
|
|
"name": "CipherSuite",
|
2019-07-01 23:17:30 +01:00
|
|
|
"enum_fields": [
|
|
|
|
{
|
|
|
|
"name": "ENC_UNSPECIFIED"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ENC_NULL",
|
|
|
|
"integer": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ENC_AESGCM",
|
|
|
|
"integer": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ENC_SECRETBOX",
|
|
|
|
"integer": 3
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "EncryptionParameters",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "cipher_suite",
|
|
|
|
"type": "CipherSuite"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "block_size",
|
|
|
|
"type": "int64"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"package": {
|
|
|
|
"name": "encryption"
|
|
|
|
},
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "go_package",
|
|
|
|
"value": "pb"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2019-06-27 18:36:51 +01:00
|
|
|
{
|
2019-06-28 06:18:24 +01:00
|
|
|
"protopath": "pkg:/:pb:/:encryption_access.proto",
|
2019-06-27 18:36:51 +01:00
|
|
|
"def": {
|
|
|
|
"messages": [
|
|
|
|
{
|
2019-06-28 06:18:24 +01:00
|
|
|
"name": "EncryptionAccess",
|
2019-06-27 18:36:51 +01:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "default_key",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "store_entries",
|
|
|
|
"type": "StoreEntry",
|
|
|
|
"is_repeated": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "StoreEntry",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "unencrypted_path",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "encrypted_path",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "key",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"imports": [
|
|
|
|
{
|
|
|
|
"path": "gogo.proto"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"package": {
|
2019-06-28 06:18:24 +01:00
|
|
|
"name": "encryption_access"
|
2019-06-27 18:36:51 +01:00
|
|
|
},
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "go_package",
|
|
|
|
"value": "pb"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2019-02-18 07:43:46 +00:00
|
|
|
{
|
|
|
|
"protopath": "pkg:/:pb:/:gogo.proto",
|
|
|
|
"def": {
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "google.protobuf.EnumOptions",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 62001,
|
|
|
|
"name": "goproto_enum_prefix",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 62021,
|
|
|
|
"name": "goproto_enum_stringer",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 62022,
|
|
|
|
"name": "enum_stringer",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 62023,
|
|
|
|
"name": "enum_customname",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 62024,
|
|
|
|
"name": "enumdecl",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "google.protobuf.EnumValueOptions",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 66001,
|
|
|
|
"name": "enumvalue_customname",
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "google.protobuf.FileOptions",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 63001,
|
|
|
|
"name": "goproto_getters_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63002,
|
|
|
|
"name": "goproto_enum_prefix_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63003,
|
|
|
|
"name": "goproto_stringer_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63004,
|
|
|
|
"name": "verbose_equal_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63005,
|
|
|
|
"name": "face_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63006,
|
|
|
|
"name": "gostring_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63007,
|
|
|
|
"name": "populate_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63008,
|
|
|
|
"name": "stringer_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63009,
|
|
|
|
"name": "onlyone_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63013,
|
|
|
|
"name": "equal_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63014,
|
|
|
|
"name": "description_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63015,
|
|
|
|
"name": "testgen_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63016,
|
|
|
|
"name": "benchgen_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63017,
|
|
|
|
"name": "marshaler_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63018,
|
|
|
|
"name": "unmarshaler_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63019,
|
|
|
|
"name": "stable_marshaler_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63020,
|
|
|
|
"name": "sizer_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63021,
|
|
|
|
"name": "goproto_enum_stringer_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63022,
|
|
|
|
"name": "enum_stringer_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63023,
|
|
|
|
"name": "unsafe_marshaler_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63024,
|
|
|
|
"name": "unsafe_unmarshaler_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63025,
|
|
|
|
"name": "goproto_extensions_map_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63026,
|
|
|
|
"name": "goproto_unrecognized_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63027,
|
|
|
|
"name": "gogoproto_import",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63028,
|
|
|
|
"name": "protosizer_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63029,
|
|
|
|
"name": "compare_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63030,
|
|
|
|
"name": "typedecl_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63031,
|
|
|
|
"name": "enumdecl_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63032,
|
|
|
|
"name": "goproto_registration",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63033,
|
|
|
|
"name": "messagename_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63034,
|
|
|
|
"name": "goproto_sizecache_all",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 63035,
|
|
|
|
"name": "goproto_unkeyed_all",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "google.protobuf.MessageOptions",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 64001,
|
|
|
|
"name": "goproto_getters",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64003,
|
|
|
|
"name": "goproto_stringer",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64004,
|
|
|
|
"name": "verbose_equal",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64005,
|
|
|
|
"name": "face",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64006,
|
|
|
|
"name": "gostring",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64007,
|
|
|
|
"name": "populate",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 67008,
|
|
|
|
"name": "stringer",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64009,
|
|
|
|
"name": "onlyone",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64013,
|
|
|
|
"name": "equal",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64014,
|
|
|
|
"name": "description",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64015,
|
|
|
|
"name": "testgen",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64016,
|
|
|
|
"name": "benchgen",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64017,
|
|
|
|
"name": "marshaler",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64018,
|
|
|
|
"name": "unmarshaler",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64019,
|
|
|
|
"name": "stable_marshaler",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64020,
|
|
|
|
"name": "sizer",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64023,
|
|
|
|
"name": "unsafe_marshaler",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64024,
|
|
|
|
"name": "unsafe_unmarshaler",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64025,
|
|
|
|
"name": "goproto_extensions_map",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64026,
|
|
|
|
"name": "goproto_unrecognized",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64028,
|
|
|
|
"name": "protosizer",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64030,
|
|
|
|
"name": "typedecl",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64033,
|
|
|
|
"name": "messagename",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64034,
|
|
|
|
"name": "goproto_sizecache",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 64035,
|
|
|
|
"name": "goproto_unkeyed",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "google.protobuf.FieldOptions",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 65001,
|
|
|
|
"name": "nullable",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 65002,
|
|
|
|
"name": "embed",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 65003,
|
|
|
|
"name": "customtype",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 65004,
|
|
|
|
"name": "customname",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 65005,
|
|
|
|
"name": "jsontag",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 65006,
|
|
|
|
"name": "moretags",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 65007,
|
|
|
|
"name": "casttype",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 65008,
|
|
|
|
"name": "castkey",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 65009,
|
|
|
|
"name": "castvalue",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 65010,
|
|
|
|
"name": "stdtime",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 65011,
|
|
|
|
"name": "stdduration",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 65012,
|
|
|
|
"name": "wktpointer",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 65013,
|
|
|
|
"name": "compare",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"imports": [
|
|
|
|
{
|
|
|
|
"path": "google/protobuf/descriptor.proto"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"package": {
|
|
|
|
"name": "gogoproto"
|
2019-06-04 18:12:27 +01:00
|
|
|
},
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "java_package",
|
|
|
|
"value": "com.google.protobuf"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "java_outer_classname",
|
|
|
|
"value": "GoGoProtos"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "go_package",
|
|
|
|
"value": "github.com/gogo/protobuf/gogoproto"
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"protopath": "pkg:/:pb:/:inspector.proto",
|
|
|
|
"def": {
|
|
|
|
"messages": [
|
2019-03-18 10:55:06 +00:00
|
|
|
{
|
|
|
|
"name": "ListIrreparableSegmentsRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "limit",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
2019-07-18 17:21:21 +01:00
|
|
|
"name": "last_seen_segment_path",
|
|
|
|
"type": "bytes"
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "IrreparableSegment",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "path",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "segment_detail",
|
|
|
|
"type": "pointerdb.Pointer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "lost_pieces",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "last_repair_attempt",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "repair_attempt_count",
|
|
|
|
"type": "int64"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ListIrreparableSegmentsResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "segments",
|
|
|
|
"type": "IrreparableSegment",
|
|
|
|
"is_repeated": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-02-18 07:43:46 +00:00
|
|
|
{
|
|
|
|
"name": "CountNodesResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "count",
|
|
|
|
"type": "int64"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "CountNodesRequest"
|
|
|
|
},
|
2019-05-22 21:06:27 +01:00
|
|
|
{
|
|
|
|
"name": "GetBucketListRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "GetBucketListResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "buckets",
|
|
|
|
"type": "Bucket",
|
|
|
|
"is_repeated": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "Bucket",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "routing_nodes",
|
|
|
|
"type": "node.Node",
|
|
|
|
"is_repeated": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "cached_nodes",
|
|
|
|
"type": "node.Node",
|
|
|
|
"is_repeated": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-02-18 07:43:46 +00:00
|
|
|
{
|
|
|
|
"name": "GetBucketsRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "GetBucketsResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "total",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "ids",
|
|
|
|
"type": "bytes",
|
|
|
|
"is_repeated": true,
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "GetBucketRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "GetBucketResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "nodes",
|
|
|
|
"type": "node.Node",
|
|
|
|
"is_repeated": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BucketList",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "nodes",
|
|
|
|
"type": "node.Node",
|
|
|
|
"is_repeated": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "PingNodeRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "address",
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "PingNodeResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "ok",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "LookupNodeRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "id",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "address",
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "LookupNodeResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "node",
|
|
|
|
"type": "node.Node"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "meta",
|
|
|
|
"type": "node.NodeMetadata"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-03-05 20:48:37 +00:00
|
|
|
{
|
|
|
|
"name": "NodeInfoRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "address",
|
|
|
|
"type": "node.NodeAddress"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "NodeInfoResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "type",
|
|
|
|
"type": "node.NodeType"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "operator",
|
|
|
|
"type": "node.NodeOperator"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "capacity",
|
|
|
|
"type": "node.NodeCapacity"
|
2019-05-22 21:06:27 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "version",
|
|
|
|
"type": "node.NodeVersion"
|
2019-03-05 20:48:37 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-02-18 07:43:46 +00:00
|
|
|
{
|
|
|
|
"name": "FindNearRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "start",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "limit",
|
|
|
|
"type": "int64"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "FindNearResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "nodes",
|
|
|
|
"type": "node.Node",
|
|
|
|
"is_repeated": true
|
|
|
|
}
|
|
|
|
]
|
2019-03-05 20:48:37 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DumpNodesRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DumpNodesResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "nodes",
|
|
|
|
"type": "node.Node",
|
|
|
|
"is_repeated": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "StatsRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "StatSummaryResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "used_space",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "available_space",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
2019-03-27 19:44:18 +00:00
|
|
|
"name": "used_ingress",
|
2019-03-05 20:48:37 +00:00
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
2019-03-27 19:44:18 +00:00
|
|
|
"name": "used_egress",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "used_bandwidth",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
2019-03-05 20:48:37 +00:00
|
|
|
"name": "available_bandwidth",
|
|
|
|
"type": "int64"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DashboardRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DashboardResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "node_id",
|
2019-03-18 10:55:06 +00:00
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-03-05 20:48:37 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "node_connections",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "bootstrap_address",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "internal_address",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "external_address",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
2019-07-06 14:40:58 +01:00
|
|
|
"name": "dashboard_address",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 7,
|
2019-03-05 20:48:37 +00:00
|
|
|
"name": "stats",
|
|
|
|
"type": "StatSummaryResponse"
|
|
|
|
},
|
|
|
|
{
|
2019-07-06 14:40:58 +01:00
|
|
|
"id": 8,
|
2019-03-22 13:27:59 +00:00
|
|
|
"name": "uptime",
|
|
|
|
"type": "google.protobuf.Duration"
|
2019-03-05 20:48:37 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-06 14:40:58 +01:00
|
|
|
"id": 9,
|
2019-03-22 13:27:59 +00:00
|
|
|
"name": "last_pinged",
|
2019-07-08 15:06:12 +01:00
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-03-22 13:27:59 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-06 14:40:58 +01:00
|
|
|
"id": 10,
|
2019-03-22 13:27:59 +00:00
|
|
|
"name": "last_queried",
|
2019-07-08 15:06:12 +01:00
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-03-05 20:48:37 +00:00
|
|
|
}
|
|
|
|
]
|
2019-05-22 21:06:27 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentHealthRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "encrypted_path",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "segment_index",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "project_id",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentHealth",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
2019-06-18 23:22:14 +01:00
|
|
|
"name": "healthy_ids",
|
|
|
|
"type": "bytes",
|
|
|
|
"is_repeated": true,
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
}
|
|
|
|
]
|
2019-05-22 21:06:27 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
2019-06-18 23:22:14 +01:00
|
|
|
"name": "unhealthy_ids",
|
|
|
|
"type": "bytes",
|
|
|
|
"is_repeated": true,
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "offline_ids",
|
|
|
|
"type": "bytes",
|
|
|
|
"is_repeated": true,
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
2019-05-22 21:06:27 +01:00
|
|
|
"name": "segment",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentHealthResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "health",
|
|
|
|
"type": "SegmentHealth"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "redundancy",
|
|
|
|
"type": "pointerdb.RedundancyScheme"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ObjectHealthRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "encrypted_path",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "bucket",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "project_id",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "start_after_segment",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "end_before_segment",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
|
|
|
"name": "limit",
|
|
|
|
"type": "int32"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ObjectHealthResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "segments",
|
|
|
|
"type": "SegmentHealth",
|
|
|
|
"is_repeated": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "redundancy",
|
|
|
|
"type": "pointerdb.RedundancyScheme"
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"services": [
|
|
|
|
{
|
|
|
|
"name": "KadInspector",
|
|
|
|
"rpcs": [
|
|
|
|
{
|
|
|
|
"name": "CountNodes",
|
|
|
|
"in_type": "CountNodesRequest",
|
|
|
|
"out_type": "CountNodesResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "PingNode",
|
|
|
|
"in_type": "PingNodeRequest",
|
|
|
|
"out_type": "PingNodeResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "LookupNode",
|
|
|
|
"in_type": "LookupNodeRequest",
|
|
|
|
"out_type": "LookupNodeResponse"
|
|
|
|
},
|
2019-03-05 20:48:37 +00:00
|
|
|
{
|
|
|
|
"name": "NodeInfo",
|
|
|
|
"in_type": "NodeInfoRequest",
|
|
|
|
"out_type": "NodeInfoResponse"
|
|
|
|
},
|
2019-02-18 07:43:46 +00:00
|
|
|
{
|
|
|
|
"name": "FindNear",
|
|
|
|
"in_type": "FindNearRequest",
|
|
|
|
"out_type": "FindNearResponse"
|
2019-03-05 20:48:37 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DumpNodes",
|
|
|
|
"in_type": "DumpNodesRequest",
|
|
|
|
"out_type": "DumpNodesResponse"
|
2019-05-22 21:06:27 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "GetBucketList",
|
|
|
|
"in_type": "GetBucketListRequest",
|
|
|
|
"out_type": "GetBucketListResponse"
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "OverlayInspector",
|
|
|
|
"rpcs": [
|
|
|
|
{
|
|
|
|
"name": "CountNodes",
|
|
|
|
"in_type": "CountNodesRequest",
|
|
|
|
"out_type": "CountNodesResponse"
|
2019-03-05 20:48:37 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DumpNodes",
|
|
|
|
"in_type": "DumpNodesRequest",
|
|
|
|
"out_type": "DumpNodesResponse"
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
]
|
2019-03-05 20:48:37 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "PieceStoreInspector",
|
|
|
|
"rpcs": [
|
|
|
|
{
|
|
|
|
"name": "Stats",
|
|
|
|
"in_type": "StatsRequest",
|
|
|
|
"out_type": "StatSummaryResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Dashboard",
|
|
|
|
"in_type": "DashboardRequest",
|
|
|
|
"out_type": "DashboardResponse"
|
|
|
|
}
|
|
|
|
]
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "IrreparableInspector",
|
|
|
|
"rpcs": [
|
|
|
|
{
|
|
|
|
"name": "ListIrreparableSegments",
|
|
|
|
"in_type": "ListIrreparableSegmentsRequest",
|
|
|
|
"out_type": "ListIrreparableSegmentsResponse"
|
|
|
|
}
|
|
|
|
]
|
2019-05-22 21:06:27 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "HealthInspector",
|
|
|
|
"rpcs": [
|
|
|
|
{
|
|
|
|
"name": "ObjectHealth",
|
|
|
|
"in_type": "ObjectHealthRequest",
|
|
|
|
"out_type": "ObjectHealthResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentHealth",
|
|
|
|
"in_type": "SegmentHealthRequest",
|
|
|
|
"out_type": "SegmentHealthResponse"
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"imports": [
|
|
|
|
{
|
|
|
|
"path": "gogo.proto"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "node.proto"
|
2019-03-05 20:48:37 +00:00
|
|
|
},
|
2019-03-18 10:55:06 +00:00
|
|
|
{
|
|
|
|
"path": "pointerdb.proto"
|
|
|
|
},
|
2019-03-05 20:48:37 +00:00
|
|
|
{
|
|
|
|
"path": "google/protobuf/duration.proto"
|
2019-03-22 13:27:59 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "google/protobuf/timestamp.proto"
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"package": {
|
|
|
|
"name": "inspector"
|
2019-06-04 18:12:27 +01:00
|
|
|
},
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "go_package",
|
|
|
|
"value": "pb"
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"protopath": "pkg:/:pb:/:meta.proto",
|
|
|
|
"def": {
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "SerializableMeta",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "content_type",
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"maps": [
|
|
|
|
{
|
|
|
|
"key_type": "string",
|
|
|
|
"field": {
|
|
|
|
"id": 2,
|
|
|
|
"name": "user_defined",
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"package": {
|
|
|
|
"name": "objects"
|
2019-06-04 18:12:27 +01:00
|
|
|
},
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "go_package",
|
|
|
|
"value": "pb"
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"protopath": "pkg:/:pb:/:metainfo.proto",
|
2019-02-18 07:43:46 +00:00
|
|
|
"def": {
|
2019-07-16 11:39:23 +01:00
|
|
|
"enums": [
|
|
|
|
{
|
|
|
|
"name": "Object.Status",
|
|
|
|
"enum_fields": [
|
|
|
|
{
|
|
|
|
"name": "INVALID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "UPLOADING",
|
|
|
|
"integer": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "COMMITTING",
|
|
|
|
"integer": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "COMMITTED",
|
|
|
|
"integer": 3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DELETING",
|
|
|
|
"integer": 4
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2019-03-18 10:55:06 +00:00
|
|
|
"messages": [
|
2019-07-01 23:17:30 +01:00
|
|
|
{
|
2019-07-03 20:44:02 +01:00
|
|
|
"name": "Bucket",
|
2019-07-01 23:17:30 +01:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "name",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "path_cipher",
|
|
|
|
"type": "encryption.CipherSuite"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "created_at",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-12 13:57:02 +01:00
|
|
|
"id": 4,
|
2019-07-01 23:17:30 +01:00
|
|
|
"name": "default_segment_size",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
2019-07-12 13:57:02 +01:00
|
|
|
"id": 5,
|
2019-07-01 23:17:30 +01:00
|
|
|
"name": "default_redundancy_scheme",
|
|
|
|
"type": "pointerdb.RedundancyScheme"
|
|
|
|
},
|
|
|
|
{
|
2019-07-12 13:57:02 +01:00
|
|
|
"id": 6,
|
2019-07-01 23:17:30 +01:00
|
|
|
"name": "default_encryption_parameters",
|
|
|
|
"type": "encryption.EncryptionParameters"
|
2019-07-19 16:17:34 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 7,
|
|
|
|
"name": "partner_id",
|
|
|
|
"type": "bytes"
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BucketListItem",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "name",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "created_at",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BucketCreateRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "name",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "path_cipher",
|
|
|
|
"type": "encryption.CipherSuite"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "default_segment_size",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
2019-07-12 13:57:02 +01:00
|
|
|
"id": 4,
|
2019-07-01 23:17:30 +01:00
|
|
|
"name": "default_redundancy_scheme",
|
|
|
|
"type": "pointerdb.RedundancyScheme"
|
|
|
|
},
|
|
|
|
{
|
2019-07-12 13:57:02 +01:00
|
|
|
"id": 5,
|
2019-07-01 23:17:30 +01:00
|
|
|
"name": "default_encryption_parameters",
|
|
|
|
"type": "encryption.EncryptionParameters"
|
2019-07-19 16:17:34 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
|
|
|
"name": "partner_id",
|
|
|
|
"type": "bytes"
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BucketCreateResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket",
|
2019-07-03 20:44:02 +01:00
|
|
|
"type": "Bucket"
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BucketGetRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "name",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BucketGetResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket",
|
2019-07-03 20:44:02 +01:00
|
|
|
"type": "Bucket"
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BucketDeleteRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "name",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BucketDeleteResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BucketListRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "cursor",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "limit",
|
|
|
|
"type": "int32"
|
2019-07-12 13:57:02 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "direction",
|
|
|
|
"type": "int32"
|
2019-07-01 23:17:30 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BucketListResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "items",
|
|
|
|
"type": "BucketListItem",
|
|
|
|
"is_repeated": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "more",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BucketSetAttributionRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "name",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
2019-08-05 08:07:40 +01:00
|
|
|
"name": "partner_id",
|
2019-07-01 23:17:30 +01:00
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BucketSetAttributionResponse"
|
|
|
|
},
|
2019-02-18 07:43:46 +00:00
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "AddressedOrderLimit",
|
|
|
|
"fields": [
|
2019-02-18 07:43:46 +00:00
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"id": 1,
|
|
|
|
"name": "limit",
|
2019-07-01 16:54:11 +01:00
|
|
|
"type": "orders.OrderLimit"
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"id": 2,
|
|
|
|
"name": "storage_node_address",
|
|
|
|
"type": "node.NodeAddress"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "SegmentWriteRequestOld",
|
2019-03-18 10:55:06 +00:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket",
|
|
|
|
"type": "bytes"
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"id": 2,
|
|
|
|
"name": "path",
|
|
|
|
"type": "bytes"
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"id": 3,
|
|
|
|
"name": "segment",
|
|
|
|
"type": "int64"
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"id": 4,
|
|
|
|
"name": "redundancy",
|
|
|
|
"type": "pointerdb.RedundancyScheme"
|
|
|
|
},
|
2019-02-18 07:43:46 +00:00
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"id": 5,
|
|
|
|
"name": "max_encrypted_segment_size",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
|
|
|
"name": "expiration",
|
2019-07-09 22:54:00 +01:00
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
]
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
2019-02-18 07:43:46 +00:00
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "SegmentWriteResponseOld",
|
2019-02-18 07:43:46 +00:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "addressed_limits",
|
|
|
|
"type": "AddressedOrderLimit",
|
|
|
|
"is_repeated": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "root_piece_id",
|
2019-02-18 07:43:46 +00:00
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
2019-03-18 10:55:06 +00:00
|
|
|
"value": "PieceID"
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-07-11 21:51:40 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "private_key",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "PiecePrivateKey"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "SegmentCommitRequestOld",
|
2019-03-18 10:55:06 +00:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket",
|
|
|
|
"type": "bytes"
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "path",
|
|
|
|
"type": "bytes"
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "segment",
|
|
|
|
"type": "int64"
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "pointer",
|
|
|
|
"type": "pointerdb.Pointer"
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "original_limits",
|
2019-07-01 16:54:11 +01:00
|
|
|
"type": "orders.OrderLimit",
|
2019-03-18 10:55:06 +00:00
|
|
|
"is_repeated": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "SegmentCommitResponseOld",
|
2019-03-18 10:55:06 +00:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "pointer",
|
|
|
|
"type": "pointerdb.Pointer"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "SegmentDownloadRequestOld",
|
2019-03-18 10:55:06 +00:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket",
|
|
|
|
"type": "bytes"
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"id": 2,
|
|
|
|
"name": "path",
|
|
|
|
"type": "bytes"
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"id": 3,
|
|
|
|
"name": "segment",
|
|
|
|
"type": "int64"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "SegmentDownloadResponseOld",
|
2019-03-18 10:55:06 +00:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "addressed_limits",
|
|
|
|
"type": "AddressedOrderLimit",
|
2019-02-18 07:43:46 +00:00
|
|
|
"is_repeated": true
|
|
|
|
},
|
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"id": 2,
|
|
|
|
"name": "pointer",
|
|
|
|
"type": "pointerdb.Pointer"
|
2019-07-11 21:51:40 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "private_key",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "PiecePrivateKey"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "SegmentInfoRequestOld",
|
2019-03-18 10:55:06 +00:00
|
|
|
"fields": [
|
2019-02-18 07:43:46 +00:00
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"id": 1,
|
|
|
|
"name": "bucket",
|
|
|
|
"type": "bytes"
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"id": 2,
|
|
|
|
"name": "path",
|
|
|
|
"type": "bytes"
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"id": 3,
|
|
|
|
"name": "segment",
|
|
|
|
"type": "int64"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "SegmentInfoResponseOld",
|
2019-03-18 10:55:06 +00:00
|
|
|
"fields": [
|
2019-02-18 07:43:46 +00:00
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"id": 2,
|
|
|
|
"name": "pointer",
|
|
|
|
"type": "pointerdb.Pointer"
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "SegmentDeleteRequestOld",
|
2019-02-18 07:43:46 +00:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "bucket",
|
|
|
|
"type": "bytes"
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "path",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "segment",
|
|
|
|
"type": "int64"
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "SegmentDeleteResponseOld",
|
2019-02-18 07:43:46 +00:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "addressed_limits",
|
|
|
|
"type": "AddressedOrderLimit",
|
|
|
|
"is_repeated": true
|
2019-07-11 21:51:40 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "private_key",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "PiecePrivateKey"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "ListSegmentsRequestOld",
|
2019-03-18 10:55:06 +00:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "prefix",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "start_after",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "end_before",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "recursive",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
|
|
|
"name": "limit",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 7,
|
|
|
|
"name": "meta_flags",
|
|
|
|
"type": "fixed32"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "ListSegmentsResponseOld",
|
2019-03-18 10:55:06 +00:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "items",
|
|
|
|
"type": "Item",
|
|
|
|
"is_repeated": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "more",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "Item",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "path",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "pointer",
|
|
|
|
"type": "pointerdb.Pointer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "is_prefix",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2019-06-13 02:35:37 +01:00
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "SetAttributionRequestOld",
|
2019-06-13 02:35:37 +01:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket_name",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "partner_id",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "SetAttributionResponseOld"
|
2019-06-24 18:15:45 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ProjectInfoRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ProjectInfoResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "project_salt",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
2019-07-16 11:39:23 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Object",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "encrypted_path",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "version",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "status",
|
|
|
|
"type": "Status"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "stream_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "StreamID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
|
|
|
"name": "created_at",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 7,
|
|
|
|
"name": "status_at",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 8,
|
|
|
|
"name": "expires_at",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 9,
|
|
|
|
"name": "encrypted_metadata_nonce",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "Nonce"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 10,
|
|
|
|
"name": "encrypted_metadata",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 11,
|
|
|
|
"name": "fixed_segment_size",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 12,
|
|
|
|
"name": "redundancy_scheme",
|
|
|
|
"type": "pointerdb.RedundancyScheme"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 13,
|
|
|
|
"name": "encryption_parameters",
|
|
|
|
"type": "encryption.EncryptionParameters"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 14,
|
|
|
|
"name": "total_size",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 15,
|
|
|
|
"name": "inline_size",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 16,
|
|
|
|
"name": "remote_size",
|
|
|
|
"type": "int64"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ObjectBeginRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "encrypted_path",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "version",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "expires_at",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 7,
|
|
|
|
"name": "redundancy_scheme",
|
|
|
|
"type": "pointerdb.RedundancyScheme"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 8,
|
|
|
|
"name": "encryption_parameters",
|
|
|
|
"type": "encryption.EncryptionParameters"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ObjectBeginResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "encrypted_path",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "version",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "stream_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "StreamID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "redundancy_scheme",
|
|
|
|
"type": "pointerdb.RedundancyScheme"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
|
|
|
"name": "encryption_parameters",
|
|
|
|
"type": "encryption.EncryptionParameters"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ObjectCommitRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "stream_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "StreamID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-08-01 10:04:31 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "encrypted_metadata_nonce",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "Nonce"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "encrypted_metadata",
|
|
|
|
"type": "bytes"
|
2019-07-16 11:39:23 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ObjectCommitResponse"
|
|
|
|
},
|
2019-07-23 12:09:12 +01:00
|
|
|
{
|
|
|
|
"name": "ObjectGetRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "encrypted_path",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "version",
|
|
|
|
"type": "int32"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ObjectGetResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "object",
|
|
|
|
"type": "Object"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-07-16 11:39:23 +01:00
|
|
|
{
|
|
|
|
"name": "ObjectListRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "encrypted_prefix",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "encrypted_cursor",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
2019-08-01 10:04:31 +01:00
|
|
|
"name": "recursive",
|
|
|
|
"type": "bool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
2019-07-16 11:39:23 +01:00
|
|
|
"name": "limit",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
2019-08-01 10:04:31 +01:00
|
|
|
"id": 6,
|
2019-07-16 11:39:23 +01:00
|
|
|
"name": "object_includes",
|
|
|
|
"type": "ObjectListItemIncludes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ObjectListResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "items",
|
|
|
|
"type": "ObjectListItem",
|
|
|
|
"is_repeated": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "more",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ObjectListItem",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "encrypted_path",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "version",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "status",
|
|
|
|
"type": "Object.Status"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "created_at",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "status_at",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
|
|
|
"name": "expires_at",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 7,
|
|
|
|
"name": "encrypted_metadata_nonce",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "Nonce"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 8,
|
|
|
|
"name": "encrypted_metadata",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ObjectListItemIncludes",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "metadata",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ObjectBeginDeleteRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "encrypted_path",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "version",
|
|
|
|
"type": "int32"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ObjectBeginDeleteResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "stream_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "StreamID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ObjectFinishDeleteRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "stream_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "StreamID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ObjectFinishDeleteResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SatStreamID",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "encrypted_path",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "version",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "redundancy",
|
|
|
|
"type": "pointerdb.RedundancyScheme"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "creation_date",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
|
|
|
"name": "expiration_date",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-07-24 12:33:23 +01:00
|
|
|
{
|
|
|
|
"id": 9,
|
2019-07-16 11:39:23 +01:00
|
|
|
"name": "satellite_signature",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
2019-07-22 15:45:18 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Segment",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "stream_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "StreamID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "position",
|
|
|
|
"type": "SegmentPosition"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "encrypted_key_nonce",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "Nonce"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "encrypted_key",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "size_encrypted_data",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
|
|
|
"name": "encrypted_inline_data",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 7,
|
|
|
|
"name": "pieces",
|
|
|
|
"type": "Piece",
|
|
|
|
"is_repeated": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Piece",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "piece_num",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "node",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentPosition",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "part_number",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "index",
|
|
|
|
"type": "int32"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentBeginRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "stream_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "StreamID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "position",
|
|
|
|
"type": "SegmentPosition"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "max_order_limit",
|
|
|
|
"type": "int64"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentBeginResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "segment_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "SegmentID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "addressed_limits",
|
|
|
|
"type": "AddressedOrderLimit",
|
|
|
|
"is_repeated": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "private_key",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "PiecePrivateKey"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentCommitRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "segment_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "SegmentID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "encrypted_key_nonce",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "Nonce"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "encrypted_key",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "size_encrypted_data",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "upload_result",
|
|
|
|
"type": "SegmentPieceUploadResult",
|
|
|
|
"is_repeated": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentPieceUploadResult",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "piece_num",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "node_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "hash",
|
|
|
|
"type": "orders.PieceHash"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SatSegmentID",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "stream_id",
|
|
|
|
"type": "SatStreamID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "part_number",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "index",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "root_piece_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "PieceID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
|
|
|
"name": "original_order_limits",
|
|
|
|
"type": "AddressedOrderLimit",
|
|
|
|
"is_repeated": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 7,
|
|
|
|
"name": "creation_date",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 8,
|
|
|
|
"name": "satellite_signature",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentCommitResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentMakeInlineRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "stream_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "StreamID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "position",
|
|
|
|
"type": "SegmentPosition"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "encrypted_key_nonce",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "Nonce"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "encrypted_key",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "encrypted_inline_data",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentMakeInlineResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentBeginDeleteRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "stream_id",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "position",
|
|
|
|
"type": "SegmentPosition"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentBeginDeleteResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "segment_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "SegmentID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "addressed_limits",
|
|
|
|
"type": "AddressedOrderLimit",
|
|
|
|
"is_repeated": true
|
2019-08-01 10:04:31 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "private_key",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "PiecePrivateKey"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-07-22 15:45:18 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentFinishDeleteRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "segment_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "SegmentID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "results",
|
|
|
|
"type": "SegmentPieceDeleteResult",
|
|
|
|
"is_repeated": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentPieceDeleteResult",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "piece_num",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "node_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "hash",
|
|
|
|
"type": "orders.PieceHash"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentFinishDeleteResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentListRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "stream_id",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "cursor_position",
|
|
|
|
"type": "SegmentPosition"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "limit",
|
|
|
|
"type": "int32"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentListResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "items",
|
|
|
|
"type": "SegmentListItem",
|
|
|
|
"is_repeated": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "more",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentListItem",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "position",
|
|
|
|
"type": "SegmentPosition"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentDownloadRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "stream_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "StreamID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "cursor_position",
|
|
|
|
"type": "SegmentPosition"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SegmentDownloadResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "segment_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "SegmentID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "addressed_limits",
|
|
|
|
"type": "AddressedOrderLimit",
|
|
|
|
"is_repeated": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
2019-08-01 10:04:31 +01:00
|
|
|
"name": "private_key",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "PiecePrivateKey"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
2019-07-22 15:45:18 +01:00
|
|
|
"name": "encrypted_inline_data",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
2019-08-01 10:04:31 +01:00
|
|
|
"id": 5,
|
|
|
|
"name": "segment_size",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
|
|
|
"name": "encrypted_key_nonce",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "Nonce"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 7,
|
|
|
|
"name": "encrypted_key",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 8,
|
2019-07-22 15:45:18 +01:00
|
|
|
"name": "next",
|
|
|
|
"type": "SegmentPosition"
|
|
|
|
}
|
|
|
|
]
|
2019-08-06 15:56:23 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BatchRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "requests",
|
|
|
|
"type": "BatchRequestItem",
|
|
|
|
"is_repeated": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BatchRequestItem",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket_create",
|
|
|
|
"type": "BucketCreateRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "bucket_get",
|
|
|
|
"type": "BucketGetRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "bucket_delete",
|
|
|
|
"type": "BucketDeleteRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "bucket_list",
|
|
|
|
"type": "BucketListRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "bucket_set_attribution",
|
|
|
|
"type": "BucketSetAttributionRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
|
|
|
"name": "object_begin",
|
|
|
|
"type": "ObjectBeginRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 7,
|
|
|
|
"name": "object_commit",
|
|
|
|
"type": "ObjectCommitRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 8,
|
|
|
|
"name": "object_get",
|
|
|
|
"type": "ObjectGetRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 9,
|
|
|
|
"name": "object_list",
|
|
|
|
"type": "ObjectListRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 10,
|
|
|
|
"name": "object_begin_delete",
|
|
|
|
"type": "ObjectBeginDeleteRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 11,
|
|
|
|
"name": "object_finish_delete",
|
|
|
|
"type": "ObjectFinishDeleteRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 12,
|
|
|
|
"name": "segment_begin",
|
|
|
|
"type": "SegmentBeginRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 13,
|
|
|
|
"name": "segment_commit",
|
|
|
|
"type": "SegmentCommitRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 14,
|
|
|
|
"name": "segment_make_inline",
|
|
|
|
"type": "SegmentMakeInlineRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 15,
|
|
|
|
"name": "segment_begin_delete",
|
|
|
|
"type": "SegmentBeginDeleteRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 16,
|
|
|
|
"name": "segment_finish_delete",
|
|
|
|
"type": "SegmentFinishDeleteRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 17,
|
|
|
|
"name": "segment_list",
|
|
|
|
"type": "SegmentListRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 18,
|
|
|
|
"name": "segment_download",
|
|
|
|
"type": "SegmentDownloadRequest"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BatchResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "responses",
|
|
|
|
"type": "BatchResponseItem",
|
|
|
|
"is_repeated": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BatchResponseItem",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "bucket_create",
|
|
|
|
"type": "BucketCreateResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "bucket_get",
|
|
|
|
"type": "BucketGetResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "bucket_delete",
|
|
|
|
"type": "BucketDeleteResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "bucket_list",
|
|
|
|
"type": "BucketListResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "bucket_set_attribution",
|
|
|
|
"type": "BucketSetAttributionResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
|
|
|
"name": "object_begin",
|
|
|
|
"type": "ObjectBeginResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 7,
|
|
|
|
"name": "object_commit",
|
|
|
|
"type": "ObjectCommitResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 8,
|
|
|
|
"name": "object_get",
|
|
|
|
"type": "ObjectGetResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 9,
|
|
|
|
"name": "object_list",
|
|
|
|
"type": "ObjectListResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 10,
|
|
|
|
"name": "object_begin_delete",
|
|
|
|
"type": "ObjectBeginDeleteResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 11,
|
|
|
|
"name": "object_finish_delete",
|
|
|
|
"type": "ObjectFinishDeleteResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 12,
|
|
|
|
"name": "segment_begin",
|
|
|
|
"type": "SegmentBeginResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 13,
|
|
|
|
"name": "segment_commit",
|
|
|
|
"type": "SegmentCommitResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 14,
|
|
|
|
"name": "segment_make_inline",
|
|
|
|
"type": "SegmentMakeInlineResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 15,
|
|
|
|
"name": "segment_begin_delete",
|
|
|
|
"type": "SegmentBeginDeleteResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 16,
|
|
|
|
"name": "segment_finish_delete",
|
|
|
|
"type": "SegmentFinishDeleteResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 17,
|
|
|
|
"name": "segment_list",
|
|
|
|
"type": "SegmentListResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 18,
|
|
|
|
"name": "segment_download",
|
|
|
|
"type": "SegmentDownloadResponse"
|
|
|
|
}
|
|
|
|
]
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"services": [
|
|
|
|
{
|
|
|
|
"name": "Metainfo",
|
|
|
|
"rpcs": [
|
2019-07-01 23:17:30 +01:00
|
|
|
{
|
|
|
|
"name": "CreateBucket",
|
|
|
|
"in_type": "BucketCreateRequest",
|
|
|
|
"out_type": "BucketCreateResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "GetBucket",
|
|
|
|
"in_type": "BucketGetRequest",
|
|
|
|
"out_type": "BucketGetResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DeleteBucket",
|
|
|
|
"in_type": "BucketDeleteRequest",
|
|
|
|
"out_type": "BucketDeleteResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ListBuckets",
|
|
|
|
"in_type": "BucketListRequest",
|
|
|
|
"out_type": "BucketListResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SetBucketAttribution",
|
|
|
|
"in_type": "BucketSetAttributionRequest",
|
|
|
|
"out_type": "BucketSetAttributionResponse"
|
2019-07-16 11:39:23 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BeginObject",
|
|
|
|
"in_type": "ObjectBeginRequest",
|
|
|
|
"out_type": "ObjectBeginResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "CommitObject",
|
|
|
|
"in_type": "ObjectCommitRequest",
|
|
|
|
"out_type": "ObjectCommitResponse"
|
|
|
|
},
|
2019-07-23 12:09:12 +01:00
|
|
|
{
|
|
|
|
"name": "GetObject",
|
|
|
|
"in_type": "ObjectGetRequest",
|
|
|
|
"out_type": "ObjectGetResponse"
|
|
|
|
},
|
2019-07-16 11:39:23 +01:00
|
|
|
{
|
|
|
|
"name": "ListObjects",
|
|
|
|
"in_type": "ObjectListRequest",
|
|
|
|
"out_type": "ObjectListResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BeginDeleteObject",
|
|
|
|
"in_type": "ObjectBeginDeleteRequest",
|
|
|
|
"out_type": "ObjectBeginDeleteResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "FinishDeleteObject",
|
|
|
|
"in_type": "ObjectFinishDeleteRequest",
|
|
|
|
"out_type": "ObjectFinishDeleteResponse"
|
2019-07-22 15:45:18 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BeginSegment",
|
|
|
|
"in_type": "SegmentBeginRequest",
|
|
|
|
"out_type": "SegmentBeginResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "CommitSegment",
|
|
|
|
"in_type": "SegmentCommitRequest",
|
|
|
|
"out_type": "SegmentCommitResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "MakeInlineSegment",
|
|
|
|
"in_type": "SegmentMakeInlineRequest",
|
|
|
|
"out_type": "SegmentMakeInlineResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BeginDeleteSegment",
|
|
|
|
"in_type": "SegmentBeginDeleteRequest",
|
|
|
|
"out_type": "SegmentBeginDeleteResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "FinishDeleteSegment",
|
|
|
|
"in_type": "SegmentFinishDeleteRequest",
|
|
|
|
"out_type": "SegmentFinishDeleteResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ListSegments",
|
|
|
|
"in_type": "SegmentListRequest",
|
|
|
|
"out_type": "SegmentListResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DownloadSegment",
|
|
|
|
"in_type": "SegmentDownloadRequest",
|
|
|
|
"out_type": "SegmentDownloadResponse"
|
2019-08-06 15:56:23 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Batch",
|
|
|
|
"in_type": "BatchRequest",
|
|
|
|
"out_type": "BatchResponse"
|
2019-07-01 23:17:30 +01:00
|
|
|
},
|
2019-03-18 10:55:06 +00:00
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "CreateSegmentOld",
|
|
|
|
"in_type": "SegmentWriteRequestOld",
|
|
|
|
"out_type": "SegmentWriteResponseOld"
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "CommitSegmentOld",
|
|
|
|
"in_type": "SegmentCommitRequestOld",
|
|
|
|
"out_type": "SegmentCommitResponseOld"
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "SegmentInfoOld",
|
|
|
|
"in_type": "SegmentInfoRequestOld",
|
|
|
|
"out_type": "SegmentInfoResponseOld"
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "DownloadSegmentOld",
|
|
|
|
"in_type": "SegmentDownloadRequestOld",
|
|
|
|
"out_type": "SegmentDownloadResponseOld"
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "DeleteSegmentOld",
|
|
|
|
"in_type": "SegmentDeleteRequestOld",
|
|
|
|
"out_type": "SegmentDeleteResponseOld"
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "ListSegmentsOld",
|
|
|
|
"in_type": "ListSegmentsRequestOld",
|
|
|
|
"out_type": "ListSegmentsResponseOld"
|
2019-06-13 02:35:37 +01:00
|
|
|
},
|
|
|
|
{
|
2019-07-08 14:33:15 +01:00
|
|
|
"name": "SetAttributionOld",
|
|
|
|
"in_type": "SetAttributionRequestOld",
|
|
|
|
"out_type": "SetAttributionResponseOld"
|
2019-06-24 18:15:45 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ProjectInfo",
|
|
|
|
"in_type": "ProjectInfoRequest",
|
|
|
|
"out_type": "ProjectInfoResponse"
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"imports": [
|
2019-07-01 23:17:30 +01:00
|
|
|
{
|
|
|
|
"path": "encryption.proto"
|
|
|
|
},
|
2019-03-18 10:55:06 +00:00
|
|
|
{
|
|
|
|
"path": "gogo.proto"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "google/protobuf/timestamp.proto"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "node.proto"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "pointerdb.proto"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "orders.proto"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"package": {
|
|
|
|
"name": "metainfo"
|
2019-06-04 18:12:27 +01:00
|
|
|
},
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "go_package",
|
|
|
|
"value": "pb"
|
|
|
|
}
|
|
|
|
]
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"protopath": "pkg:/:pb:/:node.proto",
|
|
|
|
"def": {
|
|
|
|
"enums": [
|
|
|
|
{
|
|
|
|
"name": "NodeType",
|
|
|
|
"enum_fields": [
|
|
|
|
{
|
|
|
|
"name": "INVALID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SATELLITE",
|
|
|
|
"integer": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "STORAGE",
|
|
|
|
"integer": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "UPLINK",
|
|
|
|
"integer": 3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "BOOTSTRAP",
|
|
|
|
"integer": 4
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "NodeTransport",
|
|
|
|
"enum_fields": [
|
|
|
|
{
|
|
|
|
"name": "TCP_TLS_GRPC"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "Node",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "address",
|
|
|
|
"type": "NodeAddress"
|
|
|
|
},
|
|
|
|
{
|
2019-05-22 21:06:27 +01:00
|
|
|
"id": 14,
|
|
|
|
"name": "last_ip",
|
|
|
|
"type": "string"
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
2019-05-22 21:06:27 +01:00
|
|
|
],
|
|
|
|
"reserved_ids": [
|
|
|
|
3,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13
|
|
|
|
],
|
|
|
|
"reserved_names": [
|
|
|
|
"type",
|
|
|
|
"restrictions",
|
|
|
|
"reputation",
|
|
|
|
"metadata",
|
|
|
|
"latency_list",
|
|
|
|
"audit_success",
|
|
|
|
"is_up",
|
|
|
|
"update_latency",
|
|
|
|
"update_audit_success",
|
|
|
|
"update_uptime",
|
|
|
|
"version"
|
2019-03-18 10:55:06 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "NodeAddress",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "transport",
|
|
|
|
"type": "NodeTransport"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "address",
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "NodeOperator",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "email",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "wallet",
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "NodeCapacity",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "free_bandwidth",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "free_disk",
|
|
|
|
"type": "int64"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "NodeMetadata",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "email",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "wallet",
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "NodeRestrictions",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "free_bandwidth",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "free_disk",
|
|
|
|
"type": "int64"
|
|
|
|
}
|
|
|
|
]
|
2019-05-22 21:06:27 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "NodeVersion",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "version",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "commit_hash",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "timestamp",
|
2019-07-08 19:24:42 +01:00
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-05-22 21:06:27 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "release",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
]
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"imports": [
|
|
|
|
{
|
|
|
|
"path": "gogo.proto"
|
2019-05-22 21:06:27 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "google/protobuf/timestamp.proto"
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"package": {
|
|
|
|
"name": "node"
|
2019-06-04 18:12:27 +01:00
|
|
|
},
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "go_package",
|
|
|
|
"value": "pb"
|
|
|
|
}
|
|
|
|
]
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
},
|
2019-06-25 11:40:32 +01:00
|
|
|
{
|
|
|
|
"protopath": "pkg:/:pb:/:nodestats.proto",
|
|
|
|
"def": {
|
|
|
|
"messages": [
|
2019-07-04 11:41:40 +01:00
|
|
|
{
|
2019-07-08 15:33:43 +01:00
|
|
|
"name": "ReputationStats",
|
2019-07-04 11:41:40 +01:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "total_count",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "success_count",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "reputation_alpha",
|
|
|
|
"type": "double"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "reputation_beta",
|
|
|
|
"type": "double"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "reputation_score",
|
|
|
|
"type": "double"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-06-25 11:40:32 +01:00
|
|
|
{
|
2019-07-08 15:33:43 +01:00
|
|
|
"name": "GetStatsRequest"
|
2019-06-25 11:40:32 +01:00
|
|
|
},
|
|
|
|
{
|
2019-07-08 15:33:43 +01:00
|
|
|
"name": "GetStatsResponse",
|
2019-06-25 11:40:32 +01:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
2019-07-08 15:33:43 +01:00
|
|
|
"name": "uptime_check",
|
|
|
|
"type": "ReputationStats"
|
2019-06-25 11:40:32 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
2019-07-08 15:33:43 +01:00
|
|
|
"name": "audit_check",
|
|
|
|
"type": "ReputationStats"
|
2019-06-25 11:40:32 +01:00
|
|
|
}
|
|
|
|
]
|
2019-07-02 11:42:09 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DailyStorageUsageRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "from",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "to",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DailyStorageUsageResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "node_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "daily_storage_usage",
|
|
|
|
"type": "StorageUsage",
|
|
|
|
"is_repeated": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "StorageUsage",
|
|
|
|
"fields": [
|
|
|
|
{
|
2019-08-08 14:47:04 +01:00
|
|
|
"id": 1,
|
2019-07-02 11:42:09 +01:00
|
|
|
"name": "at_rest_total",
|
|
|
|
"type": "double"
|
|
|
|
},
|
|
|
|
{
|
2019-08-08 14:47:04 +01:00
|
|
|
"id": 2,
|
|
|
|
"name": "timestamp",
|
2019-07-02 11:42:09 +01:00
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2019-06-25 11:40:32 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"services": [
|
|
|
|
{
|
|
|
|
"name": "NodeStats",
|
|
|
|
"rpcs": [
|
2019-07-04 11:41:40 +01:00
|
|
|
{
|
2019-07-08 15:33:43 +01:00
|
|
|
"name": "GetStats",
|
|
|
|
"in_type": "GetStatsRequest",
|
|
|
|
"out_type": "GetStatsResponse"
|
2019-07-02 11:42:09 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DailyStorageUsage",
|
|
|
|
"in_type": "DailyStorageUsageRequest",
|
|
|
|
"out_type": "DailyStorageUsageResponse"
|
2019-06-25 11:40:32 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"imports": [
|
|
|
|
{
|
|
|
|
"path": "gogo.proto"
|
2019-07-02 11:42:09 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "google/protobuf/timestamp.proto"
|
2019-06-25 11:40:32 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"package": {
|
|
|
|
"name": "nodestats"
|
|
|
|
},
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "go_package",
|
|
|
|
"value": "pb"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2019-03-18 10:55:06 +00:00
|
|
|
{
|
|
|
|
"protopath": "pkg:/:pb:/:orders.proto",
|
|
|
|
"def": {
|
|
|
|
"enums": [
|
|
|
|
{
|
|
|
|
"name": "PieceAction",
|
|
|
|
"enum_fields": [
|
|
|
|
{
|
|
|
|
"name": "INVALID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "PUT",
|
|
|
|
"integer": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "GET",
|
|
|
|
"integer": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "GET_AUDIT",
|
|
|
|
"integer": 3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "GET_REPAIR",
|
|
|
|
"integer": 4
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "PUT_REPAIR",
|
|
|
|
"integer": 5
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DELETE",
|
|
|
|
"integer": 6
|
|
|
|
}
|
|
|
|
]
|
2019-03-27 19:44:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SettlementResponse.Status",
|
|
|
|
"enum_fields": [
|
|
|
|
{
|
|
|
|
"name": "INVALID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ACCEPTED",
|
|
|
|
"integer": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "REJECTED",
|
|
|
|
"integer": 2
|
|
|
|
}
|
|
|
|
]
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
{
|
2019-07-01 16:54:11 +01:00
|
|
|
"name": "OrderLimit",
|
2019-03-18 10:55:06 +00:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "serial_number",
|
2019-03-22 13:27:59 +00:00
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "SerialNumber"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "satellite_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
2019-07-11 21:51:40 +01:00
|
|
|
"name": "deprecated_uplink_id",
|
2019-02-18 07:43:46 +00:00
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
2019-07-11 21:51:40 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 13,
|
|
|
|
"name": "uplink_public_key",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "PiecePublicKey"
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "storage_node_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "piece_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "PieceID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "limit",
|
2019-02-18 07:43:46 +00:00
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 7,
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "action",
|
|
|
|
"type": "PieceAction"
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 8,
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "piece_expiration",
|
2019-07-09 22:54:00 +01:00
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
2019-03-05 20:48:37 +00:00
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"id": 9,
|
|
|
|
"name": "order_expiration",
|
2019-07-09 22:54:00 +01:00
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-03-05 20:48:37 +00:00
|
|
|
},
|
2019-07-02 17:06:12 +01:00
|
|
|
{
|
|
|
|
"id": 12,
|
|
|
|
"name": "order_creation",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-03-05 20:48:37 +00:00
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"id": 10,
|
|
|
|
"name": "satellite_signature",
|
|
|
|
"type": "bytes"
|
2019-06-21 10:19:52 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 11,
|
|
|
|
"name": "satellite_address",
|
|
|
|
"type": "node.NodeAddress"
|
2019-03-05 20:48:37 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-07-12 21:41:19 +01:00
|
|
|
{
|
|
|
|
"name": "OrderLimitSigning",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "serial_number",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "SerialNumber"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "satellite_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "deprecated_uplink_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 13,
|
|
|
|
"name": "uplink_public_key",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "PiecePublicKey"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "storage_node_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "piece_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "PieceID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
|
|
|
"name": "limit",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 7,
|
|
|
|
"name": "action",
|
|
|
|
"type": "PieceAction"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 8,
|
|
|
|
"name": "piece_expiration",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 9,
|
|
|
|
"name": "order_expiration",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 12,
|
|
|
|
"name": "order_creation",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 10,
|
|
|
|
"name": "satellite_signature",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 11,
|
|
|
|
"name": "satellite_address",
|
|
|
|
"type": "node.NodeAddress"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-03-05 20:48:37 +00:00
|
|
|
{
|
2019-07-01 16:54:11 +01:00
|
|
|
"name": "Order",
|
2019-03-05 20:48:37 +00:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "serial_number",
|
2019-03-22 13:27:59 +00:00
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "SerialNumber"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-03-05 20:48:37 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "amount",
|
2019-03-05 20:48:37 +00:00
|
|
|
"type": "int64"
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"id": 3,
|
|
|
|
"name": "uplink_signature",
|
|
|
|
"type": "bytes"
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
]
|
2019-03-05 20:48:37 +00:00
|
|
|
},
|
2019-07-12 21:41:19 +01:00
|
|
|
{
|
|
|
|
"name": "OrderSigning",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "serial_number",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "SerialNumber"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "amount",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "uplink_signature",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-03-05 20:48:37 +00:00
|
|
|
{
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "PieceHash",
|
2019-03-05 20:48:37 +00:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "piece_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "PieceID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-03-05 20:48:37 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "hash",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
2019-07-03 17:14:37 +01:00
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "piece_size",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "timestamp",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-07-11 21:51:40 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "signature",
|
|
|
|
"type": "bytes"
|
2019-03-05 20:48:37 +00:00
|
|
|
}
|
|
|
|
]
|
2019-03-27 19:44:18 +00:00
|
|
|
},
|
2019-07-12 21:41:19 +01:00
|
|
|
{
|
|
|
|
"name": "PieceHashSigning",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "piece_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "PieceID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "hash",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "piece_size",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "timestamp",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "signature",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-03-27 19:44:18 +00:00
|
|
|
{
|
|
|
|
"name": "SettlementRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "limit",
|
2019-07-01 16:54:11 +01:00
|
|
|
"type": "OrderLimit"
|
2019-03-27 19:44:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "order",
|
2019-07-01 16:54:11 +01:00
|
|
|
"type": "Order"
|
2019-03-27 19:44:18 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "SettlementResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "serial_number",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "SerialNumber"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "status",
|
|
|
|
"type": "Status"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"services": [
|
|
|
|
{
|
|
|
|
"name": "Orders",
|
|
|
|
"rpcs": [
|
|
|
|
{
|
|
|
|
"name": "Settlement",
|
|
|
|
"in_type": "SettlementRequest",
|
|
|
|
"out_type": "SettlementResponse",
|
|
|
|
"in_streamed": true,
|
|
|
|
"out_streamed": true
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"imports": [
|
|
|
|
{
|
|
|
|
"path": "gogo.proto"
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "google/protobuf/timestamp.proto"
|
2019-06-21 10:19:52 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "node.proto"
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"package": {
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "orders"
|
2019-06-04 18:12:27 +01:00
|
|
|
},
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "go_package",
|
|
|
|
"value": "pb"
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"protopath": "pkg:/:pb:/:overlay.proto",
|
|
|
|
"def": {
|
|
|
|
"enums": [
|
|
|
|
{
|
|
|
|
"name": "Restriction.Operator",
|
|
|
|
"enum_fields": [
|
|
|
|
{
|
|
|
|
"name": "LT"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "EQ",
|
|
|
|
"integer": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "GT",
|
|
|
|
"integer": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "LTE",
|
|
|
|
"integer": 3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "GTE",
|
|
|
|
"integer": 4
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Restriction.Operand",
|
|
|
|
"enum_fields": [
|
|
|
|
{
|
|
|
|
"name": "FREE_BANDWIDTH"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "FREE_DISK",
|
|
|
|
"integer": 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "QueryRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "sender",
|
|
|
|
"type": "node.Node"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "target",
|
|
|
|
"type": "node.Node"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "limit",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "pingback",
|
|
|
|
"type": "bool"
|
2019-07-15 23:02:22 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "vouchers",
|
|
|
|
"type": "vouchers.Voucher",
|
|
|
|
"is_repeated": true
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "QueryResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "sender",
|
|
|
|
"type": "node.Node"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "response",
|
|
|
|
"type": "node.Node",
|
|
|
|
"is_repeated": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "PingRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "PingResponse"
|
|
|
|
},
|
2019-03-05 20:48:37 +00:00
|
|
|
{
|
|
|
|
"name": "InfoRequest"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "InfoResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "type",
|
|
|
|
"type": "node.NodeType"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "operator",
|
|
|
|
"type": "node.NodeOperator"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "capacity",
|
|
|
|
"type": "node.NodeCapacity"
|
2019-05-22 21:06:27 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "version",
|
|
|
|
"type": "node.NodeVersion"
|
2019-03-05 20:48:37 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-02-18 07:43:46 +00:00
|
|
|
{
|
|
|
|
"name": "Restriction",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "operator",
|
|
|
|
"type": "Operator"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "operand",
|
|
|
|
"type": "Operand"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "value",
|
|
|
|
"type": "int64"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"services": [
|
|
|
|
{
|
|
|
|
"name": "Nodes",
|
|
|
|
"rpcs": [
|
|
|
|
{
|
|
|
|
"name": "Query",
|
|
|
|
"in_type": "QueryRequest",
|
|
|
|
"out_type": "QueryResponse"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Ping",
|
|
|
|
"in_type": "PingRequest",
|
|
|
|
"out_type": "PingResponse"
|
2019-03-05 20:48:37 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "RequestInfo",
|
|
|
|
"in_type": "InfoRequest",
|
|
|
|
"out_type": "InfoResponse"
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"imports": [
|
|
|
|
{
|
|
|
|
"path": "gogo.proto"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "node.proto"
|
2019-07-15 23:02:22 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "vouchers.proto"
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"package": {
|
|
|
|
"name": "overlay"
|
2019-06-04 18:12:27 +01:00
|
|
|
},
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "go_package",
|
|
|
|
"value": "pb"
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
},
|
2019-03-18 10:55:06 +00:00
|
|
|
{
|
|
|
|
"protopath": "pkg:/:pb:/:piecestore2.proto",
|
|
|
|
"def": {
|
2019-08-08 02:47:30 +01:00
|
|
|
"enums": [
|
|
|
|
{
|
|
|
|
"name": "PieceHeader.FormatVersion",
|
|
|
|
"enum_fields": [
|
|
|
|
{
|
|
|
|
"name": "FORMAT_V0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "FORMAT_V1",
|
|
|
|
"integer": 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2019-03-18 10:55:06 +00:00
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "PieceUploadRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "limit",
|
2019-07-01 16:54:11 +01:00
|
|
|
"type": "orders.OrderLimit"
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "order",
|
2019-07-01 16:54:11 +01:00
|
|
|
"type": "orders.Order"
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "chunk",
|
|
|
|
"type": "Chunk"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "done",
|
|
|
|
"type": "orders.PieceHash"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "Chunk",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "offset",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "data",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "PieceUploadResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "done",
|
|
|
|
"type": "orders.PieceHash"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "PieceDownloadRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "limit",
|
2019-07-01 16:54:11 +01:00
|
|
|
"type": "orders.OrderLimit"
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "order",
|
2019-07-01 16:54:11 +01:00
|
|
|
"type": "orders.Order"
|
2019-03-18 10:55:06 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "chunk",
|
|
|
|
"type": "Chunk"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "Chunk",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "offset",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "chunk_size",
|
|
|
|
"type": "int64"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "PieceDownloadResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "chunk",
|
|
|
|
"type": "Chunk"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "Chunk",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "offset",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "data",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "PieceDeleteRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "limit",
|
2019-07-01 16:54:11 +01:00
|
|
|
"type": "orders.OrderLimit"
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "PieceDeleteResponse"
|
2019-07-11 21:04:22 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "RetainRequest",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "creation_date",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "filter",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "RetainResponse"
|
2019-08-08 02:47:30 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "PieceHeader",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "format_version",
|
|
|
|
"type": "FormatVersion"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "hash",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "creation_time",
|
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "signature",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "order_limit",
|
|
|
|
"type": "orders.OrderLimit",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"services": [
|
|
|
|
{
|
|
|
|
"name": "Piecestore",
|
|
|
|
"rpcs": [
|
|
|
|
{
|
|
|
|
"name": "Upload",
|
|
|
|
"in_type": "PieceUploadRequest",
|
|
|
|
"out_type": "PieceUploadResponse",
|
|
|
|
"in_streamed": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Download",
|
|
|
|
"in_type": "PieceDownloadRequest",
|
|
|
|
"out_type": "PieceDownloadResponse",
|
|
|
|
"in_streamed": true,
|
|
|
|
"out_streamed": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Delete",
|
|
|
|
"in_type": "PieceDeleteRequest",
|
|
|
|
"out_type": "PieceDeleteResponse"
|
2019-07-11 21:04:22 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Retain",
|
|
|
|
"in_type": "RetainRequest",
|
|
|
|
"out_type": "RetainResponse"
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"imports": [
|
|
|
|
{
|
|
|
|
"path": "gogo.proto"
|
|
|
|
},
|
2019-07-11 21:04:22 +01:00
|
|
|
{
|
|
|
|
"path": "google/protobuf/timestamp.proto"
|
|
|
|
},
|
2019-03-18 10:55:06 +00:00
|
|
|
{
|
|
|
|
"path": "orders.proto"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"package": {
|
|
|
|
"name": "piecestore"
|
2019-06-04 18:12:27 +01:00
|
|
|
},
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "go_package",
|
|
|
|
"value": "pb"
|
|
|
|
}
|
|
|
|
]
|
2019-03-18 10:55:06 +00:00
|
|
|
}
|
|
|
|
},
|
2019-02-18 07:43:46 +00:00
|
|
|
{
|
|
|
|
"protopath": "pkg:/:pb:/:pointerdb.proto",
|
|
|
|
"def": {
|
|
|
|
"enums": [
|
|
|
|
{
|
|
|
|
"name": "RedundancyScheme.SchemeType",
|
|
|
|
"enum_fields": [
|
|
|
|
{
|
2019-07-12 13:57:02 +01:00
|
|
|
"name": "INVALID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "RS",
|
|
|
|
"integer": 1
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Pointer.DataType",
|
|
|
|
"enum_fields": [
|
|
|
|
{
|
|
|
|
"name": "INLINE"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "REMOTE",
|
|
|
|
"integer": 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "RedundancyScheme",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "type",
|
|
|
|
"type": "SchemeType"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "min_req",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "total",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "repair_threshold",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "success_threshold",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
|
|
|
"name": "erasure_share_size",
|
|
|
|
"type": "int32"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "RemotePiece",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "piece_num",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "node_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-03-05 20:48:37 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "hash",
|
2019-03-18 10:55:06 +00:00
|
|
|
"type": "orders.PieceHash"
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "RemoteSegment",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "redundancy",
|
|
|
|
"type": "RedundancyScheme"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
2019-03-18 10:55:06 +00:00
|
|
|
"name": "root_piece_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "PieceID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "remote_pieces",
|
|
|
|
"type": "RemotePiece",
|
|
|
|
"is_repeated": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "merkle_root",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Pointer",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "type",
|
|
|
|
"type": "DataType"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "inline_segment",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "remote",
|
|
|
|
"type": "RemoteSegment"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"name": "segment_size",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
|
|
|
"name": "creation_date",
|
2019-07-08 23:16:50 +01:00
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 7,
|
|
|
|
"name": "expiration_date",
|
2019-07-09 22:54:00 +01:00
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 8,
|
|
|
|
"name": "metadata",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ListResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "items",
|
|
|
|
"type": "Item",
|
|
|
|
"is_repeated": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "more",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "Item",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "path",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "pointer",
|
|
|
|
"type": "Pointer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "is_prefix",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"imports": [
|
|
|
|
{
|
|
|
|
"path": "google/protobuf/timestamp.proto"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "gogo.proto"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "node.proto"
|
|
|
|
},
|
2019-03-18 10:55:06 +00:00
|
|
|
{
|
|
|
|
"path": "orders.proto"
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"package": {
|
|
|
|
"name": "pointerdb"
|
2019-06-04 18:12:27 +01:00
|
|
|
},
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "go_package",
|
|
|
|
"value": "pb"
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
},
|
2019-07-02 16:45:23 +01:00
|
|
|
{
|
|
|
|
"protopath": "pkg:/:pb:/:scope.proto",
|
|
|
|
"def": {
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "Scope",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "satellite_addr",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "api_key",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "encryption_access",
|
|
|
|
"type": "encryption_access.EncryptionAccess"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"imports": [
|
|
|
|
{
|
|
|
|
"path": "gogo.proto"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "encryption_access.proto"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"package": {
|
|
|
|
"name": "scope"
|
|
|
|
},
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "go_package",
|
|
|
|
"value": "pb"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2019-02-18 07:43:46 +00:00
|
|
|
{
|
|
|
|
"protopath": "pkg:/:pb:/:streams.proto",
|
|
|
|
"def": {
|
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "SegmentMeta",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "encrypted_key",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "key_nonce",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "StreamInfo",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "number_of_segments",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "segments_size",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "last_segment_size",
|
|
|
|
"type": "int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "metadata",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "StreamMeta",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "encrypted_stream_info",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "encryption_type",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "encryption_block_size",
|
|
|
|
"type": "int32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "last_segment_meta",
|
|
|
|
"type": "SegmentMeta"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"package": {
|
|
|
|
"name": "streams"
|
2019-06-04 18:12:27 +01:00
|
|
|
},
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "go_package",
|
|
|
|
"value": "pb"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"protopath": "pkg:/:pb:/:vouchers.proto",
|
|
|
|
"def": {
|
2019-06-21 23:48:52 +01:00
|
|
|
"enums": [
|
|
|
|
{
|
|
|
|
"name": "VoucherResponse.Status",
|
|
|
|
"enum_fields": [
|
|
|
|
{
|
|
|
|
"name": "INVALID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ACCEPTED",
|
|
|
|
"integer": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "REJECTED",
|
|
|
|
"integer": 2
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2019-06-04 18:12:27 +01:00
|
|
|
"messages": [
|
|
|
|
{
|
|
|
|
"name": "Voucher",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "satellite_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "storage_node_id",
|
|
|
|
"type": "bytes",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.customtype)",
|
|
|
|
"value": "NodeID"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"name": "expiration",
|
2019-07-08 18:07:30 +01:00
|
|
|
"type": "google.protobuf.Timestamp",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.stdtime)",
|
|
|
|
"value": "true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gogoproto.nullable)",
|
|
|
|
"value": "false"
|
|
|
|
}
|
|
|
|
]
|
2019-06-04 18:12:27 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"name": "satellite_signature",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "VoucherRequest"
|
2019-06-21 23:48:52 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "VoucherResponse",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"name": "voucher",
|
|
|
|
"type": "Voucher"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"name": "status",
|
|
|
|
"type": "Status"
|
|
|
|
}
|
|
|
|
]
|
2019-06-04 18:12:27 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"services": [
|
|
|
|
{
|
|
|
|
"name": "Vouchers",
|
|
|
|
"rpcs": [
|
|
|
|
{
|
|
|
|
"name": "Request",
|
|
|
|
"in_type": "VoucherRequest",
|
2019-06-21 23:48:52 +01:00
|
|
|
"out_type": "VoucherResponse"
|
2019-06-04 18:12:27 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"imports": [
|
|
|
|
{
|
|
|
|
"path": "gogo.proto"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "google/protobuf/timestamp.proto"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"package": {
|
|
|
|
"name": "vouchers"
|
|
|
|
},
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"name": "go_package",
|
|
|
|
"value": "pb"
|
|
|
|
}
|
|
|
|
]
|
2019-02-18 07:43:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|