mirror of
https://github.com/hanzoai/vector-go.git
synced 2026-10-30 18:18:35 +00:00
* v1.17.0 Signed-off-by: Anush008 <[email protected]> * chore: Bump to v1.17.0 Signed-off-by: Anush008 <[email protected]> --------- Signed-off-by: Anush008 <[email protected]>
75 lines
1.9 KiB
Protocol Buffer
75 lines
1.9 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package qdrant;
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
service Snapshots {
|
|
// Create collection snapshot
|
|
rpc Create(CreateSnapshotRequest) returns (CreateSnapshotResponse) {}
|
|
// List collection snapshots
|
|
rpc List(ListSnapshotsRequest) returns (ListSnapshotsResponse) {}
|
|
// Delete collection snapshot
|
|
rpc Delete(DeleteSnapshotRequest) returns (DeleteSnapshotResponse) {}
|
|
// Create full storage snapshot
|
|
rpc CreateFull(CreateFullSnapshotRequest) returns (CreateSnapshotResponse) {}
|
|
// List full storage snapshots
|
|
rpc ListFull(ListFullSnapshotsRequest) returns (ListSnapshotsResponse) {}
|
|
// Delete full storage snapshot
|
|
rpc DeleteFull(DeleteFullSnapshotRequest) returns (DeleteSnapshotResponse) {}
|
|
}
|
|
|
|
message CreateFullSnapshotRequest {}
|
|
|
|
message ListFullSnapshotsRequest {}
|
|
|
|
message DeleteFullSnapshotRequest {
|
|
// Name of the full snapshot
|
|
string snapshot_name = 1;
|
|
}
|
|
|
|
message CreateSnapshotRequest {
|
|
// Name of the collection
|
|
string collection_name = 1;
|
|
}
|
|
|
|
message ListSnapshotsRequest {
|
|
// Name of the collection
|
|
string collection_name = 1;
|
|
}
|
|
|
|
message DeleteSnapshotRequest {
|
|
// Name of the collection
|
|
string collection_name = 1;
|
|
// Name of the collection snapshot
|
|
string snapshot_name = 2;
|
|
}
|
|
|
|
message SnapshotDescription {
|
|
// Name of the snapshot
|
|
string name = 1;
|
|
// Creation time of the snapshot
|
|
google.protobuf.Timestamp creation_time = 2;
|
|
// Size of the snapshot in bytes
|
|
int64 size = 3;
|
|
// SHA256 digest of the snapshot file
|
|
optional string checksum = 4;
|
|
}
|
|
|
|
message CreateSnapshotResponse {
|
|
SnapshotDescription snapshot_description = 1;
|
|
// Time spent to process
|
|
double time = 2;
|
|
}
|
|
|
|
message ListSnapshotsResponse {
|
|
repeated SnapshotDescription snapshot_descriptions = 1;
|
|
// Time spent to process
|
|
double time = 2;
|
|
}
|
|
|
|
message DeleteSnapshotResponse {
|
|
// Time spent to process
|
|
double time = 1;
|
|
}
|