Spaces:
Build error
Build error
File size: 1,970 Bytes
84d2a97 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
syntax = "proto3";
package qdrant;
option csharp_namespace = "Qdrant.Client.Grpc";
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 {
string snapshot_name = 1; // Name of the full snapshot
}
message CreateSnapshotRequest {
string collection_name = 1; // Name of the collection
}
message ListSnapshotsRequest {
string collection_name = 1; // Name of the collection
}
message DeleteSnapshotRequest {
string collection_name = 1; // Name of the collection
string snapshot_name = 2; // Name of the collection snapshot
}
message SnapshotDescription {
string name = 1; // Name of the snapshot
google.protobuf.Timestamp creation_time = 2; // Creation time of the snapshot
int64 size = 3; // Size of the snapshot in bytes
optional string checksum = 4; // SHA256 digest of the snapshot file
}
message CreateSnapshotResponse {
SnapshotDescription snapshot_description = 1;
double time = 2; // Time spent to process
}
message ListSnapshotsResponse {
repeated SnapshotDescription snapshot_descriptions = 1;
double time = 2; // Time spent to process
}
message DeleteSnapshotResponse {
double time = 1; // Time spent to process
}
|