mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-08 17:17:10 +00:00
* fix(volume): don't fatal on missing .idx for remote-tiered volume A .vif left behind without its .idx (orphaned by a crashed move, partial copy, or hand-edit) would trip glog.Fatalf in checkIdxFile and take the whole volume server down on boot, killing every healthy volume on it too. For remote-tiered volumes treat it as a per-volume load error so the server can come up and the operator can clean up the stray .vif. Refs #9331. * fix(balance): skip remote-tiered volumes in admin balance detection The admin/worker balance detector had no equivalent of the shell-side guard ("does not move volume in remote storage" in command_volume_balance.go), so it scheduled moves on remote-tiered volumes. The "move" copies .idx/.vif to the destination and then calls Volume.Destroy on the source, which calls backendStorage.DeleteFile — deleting the remote object the destination's new .vif now points at. Populate HasRemoteCopy on the metrics emitted by both the admin maintenance scanner and the worker's master poll, then drop those volumes at the top of Detection. Fixes #9331. * Apply suggestion from @gemini-code-assist[bot] Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * fix(volume): keep remote data on volume-move-driven delete The on-source delete after a volume move (admin/worker balance and shell volume.move) ran Volume.Destroy with no way to opt out of the remote-object cleanup. Volume.Destroy unconditionally calls backendStorage.DeleteFile for remote-tiered volumes, so a successful move would copy .idx/.vif to the destination and then nuke the cloud object the destination's new .vif was already pointing at. Add VolumeDeleteRequest.keep_remote_data and plumb it through Store.DeleteVolume / DiskLocation.DeleteVolume / Volume.Destroy. The balance task and shell volume.move set it to true; the post-tier-upload cleanup of other replicas and the over-replication trim in volume.fix.replication also set it to true since the remote object is still referenced. Other real-delete callers keep the default. The delete-before-receive path in VolumeCopy also sets it: the inbound copy carries a .vif that may reference the same cloud object as the existing volume. Refs #9331. * test(storage): in-process remote-tier integration tests Cover the four operations the user is most likely to run against a cloud-tiered volume — balance/move, vacuum, EC encode, EC decode — by registering a local-disk-backed BackendStorage as the "remote" tier and exercising the real Volume / DiskLocation / EC encoder code paths. Locks in: - Destroy(keepRemoteData=true) preserves the remote object (move case) - Destroy(keepRemoteData=false) deletes it (real-delete case) - Vacuum/compact on a remote-tier volume never deletes the remote object - EC encode requires the local .dat (callers must download first) - EC encode + rebuild round-trips after a tier-down Tests run in-process and finish in under a second total — no cluster, binary, or external storage required. * fix(rust-volume): keep remote data on volume-move-driven delete Mirror the Go fix in seaweed-volume: plumb keep_remote_data through grpc volume_delete → Store.delete_volume → DiskLocation.delete_volume → Volume.destroy, and skip the s3-tier delete_file call when the flag is set. The pre-receive cleanup in volume_copy passes true for the same reason as the Go side: the inbound copy carries a .vif that may reference the same cloud object as the existing volume. The Rust loader already warns rather than fataling on a stray .vif without an .idx (volume.rs load_index_inmemory / load_index_redb), so no counterpart to the Go fatal-on-missing-idx fix is needed. Refs #9331. * fix(volume): preserve remote tier on IO-error eviction; fix EC test target Two review nits: - Store.MaybeAddVolumes' periodic cleanup pass deleted IO-errored volumes with keepRemoteData=false, so a transient local fault on a remote-tiered volume would also nuke the cloud object. Track the delete reason via a parallel slice and pass keepRemoteData=v.HasRemoteFile() for IO-error evictions; TTL-expired evictions still pass false. - TestRemoteTier_ECEncodeDecode_AfterDownload deleted shards 0..3 but called them "parity" — by the klauspost/reedsolomon convention shards 0..DataShardsCount-1 are data and DataShardsCount..TotalShardsCount-1 are parity. Switch the loop to delete the parity range so the intent matches the indices. --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
7614 lines
251 KiB
Go
7614 lines
251 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.6
|
|
// protoc v6.33.4
|
|
// source: volume_server.proto
|
|
|
|
package volume_server_pb
|
|
|
|
import (
|
|
remote_pb "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type VolumeScrubMode int32
|
|
|
|
const (
|
|
VolumeScrubMode_UNKNOWN VolumeScrubMode = 0
|
|
VolumeScrubMode_INDEX VolumeScrubMode = 1
|
|
VolumeScrubMode_FULL VolumeScrubMode = 2
|
|
VolumeScrubMode_LOCAL VolumeScrubMode = 3
|
|
)
|
|
|
|
// Enum value maps for VolumeScrubMode.
|
|
var (
|
|
VolumeScrubMode_name = map[int32]string{
|
|
0: "UNKNOWN",
|
|
1: "INDEX",
|
|
2: "FULL",
|
|
3: "LOCAL",
|
|
}
|
|
VolumeScrubMode_value = map[string]int32{
|
|
"UNKNOWN": 0,
|
|
"INDEX": 1,
|
|
"FULL": 2,
|
|
"LOCAL": 3,
|
|
}
|
|
)
|
|
|
|
func (x VolumeScrubMode) Enum() *VolumeScrubMode {
|
|
p := new(VolumeScrubMode)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x VolumeScrubMode) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (VolumeScrubMode) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_volume_server_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (VolumeScrubMode) Type() protoreflect.EnumType {
|
|
return &file_volume_server_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x VolumeScrubMode) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeScrubMode.Descriptor instead.
|
|
func (VolumeScrubMode) EnumDescriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
// Persistent state for volume servers.
|
|
type VolumeServerState struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// whether the server is in maintenance (i.e. read-only) mode.
|
|
Maintenance bool `protobuf:"varint,1,opt,name=maintenance,proto3" json:"maintenance,omitempty"`
|
|
// incremental version counter
|
|
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeServerState) Reset() {
|
|
*x = VolumeServerState{}
|
|
mi := &file_volume_server_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeServerState) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeServerState) ProtoMessage() {}
|
|
|
|
func (x *VolumeServerState) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeServerState.ProtoReflect.Descriptor instead.
|
|
func (*VolumeServerState) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *VolumeServerState) GetMaintenance() bool {
|
|
if x != nil {
|
|
return x.Maintenance
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *VolumeServerState) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type BatchDeleteRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
FileIds []string `protobuf:"bytes,1,rep,name=file_ids,json=fileIds,proto3" json:"file_ids,omitempty"`
|
|
SkipCookieCheck bool `protobuf:"varint,2,opt,name=skip_cookie_check,json=skipCookieCheck,proto3" json:"skip_cookie_check,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BatchDeleteRequest) Reset() {
|
|
*x = BatchDeleteRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BatchDeleteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BatchDeleteRequest) ProtoMessage() {}
|
|
|
|
func (x *BatchDeleteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BatchDeleteRequest.ProtoReflect.Descriptor instead.
|
|
func (*BatchDeleteRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *BatchDeleteRequest) GetFileIds() []string {
|
|
if x != nil {
|
|
return x.FileIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BatchDeleteRequest) GetSkipCookieCheck() bool {
|
|
if x != nil {
|
|
return x.SkipCookieCheck
|
|
}
|
|
return false
|
|
}
|
|
|
|
type BatchDeleteResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Results []*DeleteResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BatchDeleteResponse) Reset() {
|
|
*x = BatchDeleteResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BatchDeleteResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BatchDeleteResponse) ProtoMessage() {}
|
|
|
|
func (x *BatchDeleteResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BatchDeleteResponse.ProtoReflect.Descriptor instead.
|
|
func (*BatchDeleteResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *BatchDeleteResponse) GetResults() []*DeleteResult {
|
|
if x != nil {
|
|
return x.Results
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteResult struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
|
|
Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
|
|
Size uint32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
|
|
Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteResult) Reset() {
|
|
*x = DeleteResult{}
|
|
mi := &file_volume_server_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteResult) ProtoMessage() {}
|
|
|
|
func (x *DeleteResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteResult.ProtoReflect.Descriptor instead.
|
|
func (*DeleteResult) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DeleteResult) GetFileId() string {
|
|
if x != nil {
|
|
return x.FileId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteResult) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeleteResult) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteResult) GetSize() uint32 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeleteResult) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Empty struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Empty) Reset() {
|
|
*x = Empty{}
|
|
mi := &file_volume_server_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Empty) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Empty) ProtoMessage() {}
|
|
|
|
func (x *Empty) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Empty.ProtoReflect.Descriptor instead.
|
|
func (*Empty) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
type VacuumVolumeCheckRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VacuumVolumeCheckRequest) Reset() {
|
|
*x = VacuumVolumeCheckRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VacuumVolumeCheckRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VacuumVolumeCheckRequest) ProtoMessage() {}
|
|
|
|
func (x *VacuumVolumeCheckRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VacuumVolumeCheckRequest.ProtoReflect.Descriptor instead.
|
|
func (*VacuumVolumeCheckRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *VacuumVolumeCheckRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VacuumVolumeCheckResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GarbageRatio float64 `protobuf:"fixed64,1,opt,name=garbage_ratio,json=garbageRatio,proto3" json:"garbage_ratio,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VacuumVolumeCheckResponse) Reset() {
|
|
*x = VacuumVolumeCheckResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VacuumVolumeCheckResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VacuumVolumeCheckResponse) ProtoMessage() {}
|
|
|
|
func (x *VacuumVolumeCheckResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VacuumVolumeCheckResponse.ProtoReflect.Descriptor instead.
|
|
func (*VacuumVolumeCheckResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *VacuumVolumeCheckResponse) GetGarbageRatio() float64 {
|
|
if x != nil {
|
|
return x.GarbageRatio
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VacuumVolumeCompactRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
Preallocate int64 `protobuf:"varint,2,opt,name=preallocate,proto3" json:"preallocate,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VacuumVolumeCompactRequest) Reset() {
|
|
*x = VacuumVolumeCompactRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VacuumVolumeCompactRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VacuumVolumeCompactRequest) ProtoMessage() {}
|
|
|
|
func (x *VacuumVolumeCompactRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VacuumVolumeCompactRequest.ProtoReflect.Descriptor instead.
|
|
func (*VacuumVolumeCompactRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *VacuumVolumeCompactRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VacuumVolumeCompactRequest) GetPreallocate() int64 {
|
|
if x != nil {
|
|
return x.Preallocate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VacuumVolumeCompactResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ProcessedBytes int64 `protobuf:"varint,1,opt,name=processed_bytes,json=processedBytes,proto3" json:"processed_bytes,omitempty"`
|
|
LoadAvg_1M float32 `protobuf:"fixed32,2,opt,name=load_avg_1m,json=loadAvg1m,proto3" json:"load_avg_1m,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VacuumVolumeCompactResponse) Reset() {
|
|
*x = VacuumVolumeCompactResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VacuumVolumeCompactResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VacuumVolumeCompactResponse) ProtoMessage() {}
|
|
|
|
func (x *VacuumVolumeCompactResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VacuumVolumeCompactResponse.ProtoReflect.Descriptor instead.
|
|
func (*VacuumVolumeCompactResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *VacuumVolumeCompactResponse) GetProcessedBytes() int64 {
|
|
if x != nil {
|
|
return x.ProcessedBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VacuumVolumeCompactResponse) GetLoadAvg_1M() float32 {
|
|
if x != nil {
|
|
return x.LoadAvg_1M
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VacuumVolumeCommitRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VacuumVolumeCommitRequest) Reset() {
|
|
*x = VacuumVolumeCommitRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VacuumVolumeCommitRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VacuumVolumeCommitRequest) ProtoMessage() {}
|
|
|
|
func (x *VacuumVolumeCommitRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VacuumVolumeCommitRequest.ProtoReflect.Descriptor instead.
|
|
func (*VacuumVolumeCommitRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *VacuumVolumeCommitRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VacuumVolumeCommitResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
IsReadOnly bool `protobuf:"varint,1,opt,name=is_read_only,json=isReadOnly,proto3" json:"is_read_only,omitempty"`
|
|
VolumeSize uint64 `protobuf:"varint,2,opt,name=volume_size,json=volumeSize,proto3" json:"volume_size,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VacuumVolumeCommitResponse) Reset() {
|
|
*x = VacuumVolumeCommitResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VacuumVolumeCommitResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VacuumVolumeCommitResponse) ProtoMessage() {}
|
|
|
|
func (x *VacuumVolumeCommitResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VacuumVolumeCommitResponse.ProtoReflect.Descriptor instead.
|
|
func (*VacuumVolumeCommitResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *VacuumVolumeCommitResponse) GetIsReadOnly() bool {
|
|
if x != nil {
|
|
return x.IsReadOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *VacuumVolumeCommitResponse) GetVolumeSize() uint64 {
|
|
if x != nil {
|
|
return x.VolumeSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VacuumVolumeCleanupRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VacuumVolumeCleanupRequest) Reset() {
|
|
*x = VacuumVolumeCleanupRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VacuumVolumeCleanupRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VacuumVolumeCleanupRequest) ProtoMessage() {}
|
|
|
|
func (x *VacuumVolumeCleanupRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VacuumVolumeCleanupRequest.ProtoReflect.Descriptor instead.
|
|
func (*VacuumVolumeCleanupRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *VacuumVolumeCleanupRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VacuumVolumeCleanupResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VacuumVolumeCleanupResponse) Reset() {
|
|
*x = VacuumVolumeCleanupResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VacuumVolumeCleanupResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VacuumVolumeCleanupResponse) ProtoMessage() {}
|
|
|
|
func (x *VacuumVolumeCleanupResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VacuumVolumeCleanupResponse.ProtoReflect.Descriptor instead.
|
|
func (*VacuumVolumeCleanupResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
type DeleteCollectionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteCollectionRequest) Reset() {
|
|
*x = DeleteCollectionRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteCollectionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteCollectionRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteCollectionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteCollectionRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteCollectionRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *DeleteCollectionRequest) GetCollection() string {
|
|
if x != nil {
|
|
return x.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteCollectionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteCollectionResponse) Reset() {
|
|
*x = DeleteCollectionResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteCollectionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteCollectionResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteCollectionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteCollectionResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteCollectionResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
type AllocateVolumeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
Preallocate int64 `protobuf:"varint,3,opt,name=preallocate,proto3" json:"preallocate,omitempty"`
|
|
Replication string `protobuf:"bytes,4,opt,name=replication,proto3" json:"replication,omitempty"`
|
|
Ttl string `protobuf:"bytes,5,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
MemoryMapMaxSizeMb uint32 `protobuf:"varint,6,opt,name=memory_map_max_size_mb,json=memoryMapMaxSizeMb,proto3" json:"memory_map_max_size_mb,omitempty"`
|
|
DiskType string `protobuf:"bytes,7,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
|
|
Version uint32 `protobuf:"varint,8,opt,name=version,proto3" json:"version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AllocateVolumeRequest) Reset() {
|
|
*x = AllocateVolumeRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AllocateVolumeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AllocateVolumeRequest) ProtoMessage() {}
|
|
|
|
func (x *AllocateVolumeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AllocateVolumeRequest.ProtoReflect.Descriptor instead.
|
|
func (*AllocateVolumeRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *AllocateVolumeRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AllocateVolumeRequest) GetCollection() string {
|
|
if x != nil {
|
|
return x.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AllocateVolumeRequest) GetPreallocate() int64 {
|
|
if x != nil {
|
|
return x.Preallocate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AllocateVolumeRequest) GetReplication() string {
|
|
if x != nil {
|
|
return x.Replication
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AllocateVolumeRequest) GetTtl() string {
|
|
if x != nil {
|
|
return x.Ttl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AllocateVolumeRequest) GetMemoryMapMaxSizeMb() uint32 {
|
|
if x != nil {
|
|
return x.MemoryMapMaxSizeMb
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AllocateVolumeRequest) GetDiskType() string {
|
|
if x != nil {
|
|
return x.DiskType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AllocateVolumeRequest) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AllocateVolumeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AllocateVolumeResponse) Reset() {
|
|
*x = AllocateVolumeResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AllocateVolumeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AllocateVolumeResponse) ProtoMessage() {}
|
|
|
|
func (x *AllocateVolumeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AllocateVolumeResponse.ProtoReflect.Descriptor instead.
|
|
func (*AllocateVolumeResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
type VolumeSyncStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeSyncStatusRequest) Reset() {
|
|
*x = VolumeSyncStatusRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeSyncStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeSyncStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeSyncStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeSyncStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeSyncStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *VolumeSyncStatusRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VolumeSyncStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
Replication string `protobuf:"bytes,4,opt,name=replication,proto3" json:"replication,omitempty"`
|
|
Ttl string `protobuf:"bytes,5,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
TailOffset uint64 `protobuf:"varint,6,opt,name=tail_offset,json=tailOffset,proto3" json:"tail_offset,omitempty"`
|
|
CompactRevision uint32 `protobuf:"varint,7,opt,name=compact_revision,json=compactRevision,proto3" json:"compact_revision,omitempty"`
|
|
IdxFileSize uint64 `protobuf:"varint,8,opt,name=idx_file_size,json=idxFileSize,proto3" json:"idx_file_size,omitempty"`
|
|
Version uint32 `protobuf:"varint,9,opt,name=version,proto3" json:"version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeSyncStatusResponse) Reset() {
|
|
*x = VolumeSyncStatusResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeSyncStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeSyncStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeSyncStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeSyncStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeSyncStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *VolumeSyncStatusResponse) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeSyncStatusResponse) GetCollection() string {
|
|
if x != nil {
|
|
return x.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeSyncStatusResponse) GetReplication() string {
|
|
if x != nil {
|
|
return x.Replication
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeSyncStatusResponse) GetTtl() string {
|
|
if x != nil {
|
|
return x.Ttl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeSyncStatusResponse) GetTailOffset() uint64 {
|
|
if x != nil {
|
|
return x.TailOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeSyncStatusResponse) GetCompactRevision() uint32 {
|
|
if x != nil {
|
|
return x.CompactRevision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeSyncStatusResponse) GetIdxFileSize() uint64 {
|
|
if x != nil {
|
|
return x.IdxFileSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeSyncStatusResponse) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VolumeIncrementalCopyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
SinceNs uint64 `protobuf:"varint,2,opt,name=since_ns,json=sinceNs,proto3" json:"since_ns,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeIncrementalCopyRequest) Reset() {
|
|
*x = VolumeIncrementalCopyRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeIncrementalCopyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeIncrementalCopyRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeIncrementalCopyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeIncrementalCopyRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeIncrementalCopyRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *VolumeIncrementalCopyRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeIncrementalCopyRequest) GetSinceNs() uint64 {
|
|
if x != nil {
|
|
return x.SinceNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VolumeIncrementalCopyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
FileContent []byte `protobuf:"bytes,1,opt,name=file_content,json=fileContent,proto3" json:"file_content,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeIncrementalCopyResponse) Reset() {
|
|
*x = VolumeIncrementalCopyResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeIncrementalCopyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeIncrementalCopyResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeIncrementalCopyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeIncrementalCopyResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeIncrementalCopyResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *VolumeIncrementalCopyResponse) GetFileContent() []byte {
|
|
if x != nil {
|
|
return x.FileContent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VolumeMountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeMountRequest) Reset() {
|
|
*x = VolumeMountRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeMountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeMountRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeMountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeMountRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeMountRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *VolumeMountRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VolumeMountResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeMountResponse) Reset() {
|
|
*x = VolumeMountResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeMountResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeMountResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeMountResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeMountResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeMountResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
type VolumeUnmountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeUnmountRequest) Reset() {
|
|
*x = VolumeUnmountRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeUnmountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeUnmountRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeUnmountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeUnmountRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeUnmountRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *VolumeUnmountRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VolumeUnmountResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeUnmountResponse) Reset() {
|
|
*x = VolumeUnmountResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeUnmountResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeUnmountResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeUnmountResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeUnmountResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeUnmountResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
type VolumeDeleteRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
OnlyEmpty bool `protobuf:"varint,2,opt,name=only_empty,json=onlyEmpty,proto3" json:"only_empty,omitempty"`
|
|
// when true, do not remove the cloud-tier object backing the volume.
|
|
// used for moves where another server is taking over the same .vif.
|
|
KeepRemoteData bool `protobuf:"varint,3,opt,name=keep_remote_data,json=keepRemoteData,proto3" json:"keep_remote_data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeDeleteRequest) Reset() {
|
|
*x = VolumeDeleteRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeDeleteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeDeleteRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeDeleteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeDeleteRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeDeleteRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *VolumeDeleteRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeDeleteRequest) GetOnlyEmpty() bool {
|
|
if x != nil {
|
|
return x.OnlyEmpty
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *VolumeDeleteRequest) GetKeepRemoteData() bool {
|
|
if x != nil {
|
|
return x.KeepRemoteData
|
|
}
|
|
return false
|
|
}
|
|
|
|
type VolumeDeleteResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeDeleteResponse) Reset() {
|
|
*x = VolumeDeleteResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeDeleteResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeDeleteResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeDeleteResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[26]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeDeleteResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeDeleteResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
type VolumeMarkReadonlyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
Persist bool `protobuf:"varint,2,opt,name=persist,proto3" json:"persist,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeMarkReadonlyRequest) Reset() {
|
|
*x = VolumeMarkReadonlyRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeMarkReadonlyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeMarkReadonlyRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeMarkReadonlyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeMarkReadonlyRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeMarkReadonlyRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *VolumeMarkReadonlyRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeMarkReadonlyRequest) GetPersist() bool {
|
|
if x != nil {
|
|
return x.Persist
|
|
}
|
|
return false
|
|
}
|
|
|
|
type VolumeMarkReadonlyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeMarkReadonlyResponse) Reset() {
|
|
*x = VolumeMarkReadonlyResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeMarkReadonlyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeMarkReadonlyResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeMarkReadonlyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeMarkReadonlyResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeMarkReadonlyResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
type VolumeMarkWritableRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeMarkWritableRequest) Reset() {
|
|
*x = VolumeMarkWritableRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeMarkWritableRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeMarkWritableRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeMarkWritableRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeMarkWritableRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeMarkWritableRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *VolumeMarkWritableRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VolumeMarkWritableResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeMarkWritableResponse) Reset() {
|
|
*x = VolumeMarkWritableResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeMarkWritableResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeMarkWritableResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeMarkWritableResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[30]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeMarkWritableResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeMarkWritableResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
type VolumeConfigureRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
Replication string `protobuf:"bytes,2,opt,name=replication,proto3" json:"replication,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeConfigureRequest) Reset() {
|
|
*x = VolumeConfigureRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeConfigureRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeConfigureRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeConfigureRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[31]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeConfigureRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeConfigureRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *VolumeConfigureRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeConfigureRequest) GetReplication() string {
|
|
if x != nil {
|
|
return x.Replication
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type VolumeConfigureResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeConfigureResponse) Reset() {
|
|
*x = VolumeConfigureResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeConfigureResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeConfigureResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeConfigureResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[32]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeConfigureResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeConfigureResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *VolumeConfigureResponse) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type VolumeStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeStatusRequest) Reset() {
|
|
*x = VolumeStatusRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[33]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *VolumeStatusRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VolumeStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
IsReadOnly bool `protobuf:"varint,1,opt,name=is_read_only,json=isReadOnly,proto3" json:"is_read_only,omitempty"`
|
|
VolumeSize uint64 `protobuf:"varint,2,opt,name=volume_size,json=volumeSize,proto3" json:"volume_size,omitempty"`
|
|
FileCount uint64 `protobuf:"varint,3,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"`
|
|
FileDeletedCount uint64 `protobuf:"varint,4,opt,name=file_deleted_count,json=fileDeletedCount,proto3" json:"file_deleted_count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeStatusResponse) Reset() {
|
|
*x = VolumeStatusResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[34]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *VolumeStatusResponse) GetIsReadOnly() bool {
|
|
if x != nil {
|
|
return x.IsReadOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *VolumeStatusResponse) GetVolumeSize() uint64 {
|
|
if x != nil {
|
|
return x.VolumeSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeStatusResponse) GetFileCount() uint64 {
|
|
if x != nil {
|
|
return x.FileCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeStatusResponse) GetFileDeletedCount() uint64 {
|
|
if x != nil {
|
|
return x.FileDeletedCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetStateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetStateRequest) Reset() {
|
|
*x = GetStateRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetStateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetStateRequest) ProtoMessage() {}
|
|
|
|
func (x *GetStateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[35]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetStateRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetStateRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
type GetStateResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
State *VolumeServerState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetStateResponse) Reset() {
|
|
*x = GetStateResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetStateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetStateResponse) ProtoMessage() {}
|
|
|
|
func (x *GetStateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[36]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetStateResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetStateResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *GetStateResponse) GetState() *VolumeServerState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetStateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// SetState updates *all* volume server flags at once. Retrieve state with GetState(),
|
|
// modify individual flags as required, then call this RPC to update.
|
|
State *VolumeServerState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetStateRequest) Reset() {
|
|
*x = SetStateRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetStateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetStateRequest) ProtoMessage() {}
|
|
|
|
func (x *SetStateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[37]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetStateRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetStateRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *SetStateRequest) GetState() *VolumeServerState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetStateResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
State *VolumeServerState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetStateResponse) Reset() {
|
|
*x = SetStateResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetStateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetStateResponse) ProtoMessage() {}
|
|
|
|
func (x *SetStateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[38]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetStateResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetStateResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *SetStateResponse) GetState() *VolumeServerState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VolumeCopyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
Replication string `protobuf:"bytes,3,opt,name=replication,proto3" json:"replication,omitempty"`
|
|
Ttl string `protobuf:"bytes,4,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
SourceDataNode string `protobuf:"bytes,5,opt,name=source_data_node,json=sourceDataNode,proto3" json:"source_data_node,omitempty"`
|
|
DiskType string `protobuf:"bytes,6,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
|
|
IoBytePerSecond int64 `protobuf:"varint,7,opt,name=io_byte_per_second,json=ioBytePerSecond,proto3" json:"io_byte_per_second,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeCopyRequest) Reset() {
|
|
*x = VolumeCopyRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeCopyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeCopyRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeCopyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[39]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeCopyRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeCopyRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *VolumeCopyRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeCopyRequest) GetCollection() string {
|
|
if x != nil {
|
|
return x.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeCopyRequest) GetReplication() string {
|
|
if x != nil {
|
|
return x.Replication
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeCopyRequest) GetTtl() string {
|
|
if x != nil {
|
|
return x.Ttl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeCopyRequest) GetSourceDataNode() string {
|
|
if x != nil {
|
|
return x.SourceDataNode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeCopyRequest) GetDiskType() string {
|
|
if x != nil {
|
|
return x.DiskType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeCopyRequest) GetIoBytePerSecond() int64 {
|
|
if x != nil {
|
|
return x.IoBytePerSecond
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VolumeCopyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
LastAppendAtNs uint64 `protobuf:"varint,1,opt,name=last_append_at_ns,json=lastAppendAtNs,proto3" json:"last_append_at_ns,omitempty"`
|
|
ProcessedBytes int64 `protobuf:"varint,2,opt,name=processed_bytes,json=processedBytes,proto3" json:"processed_bytes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeCopyResponse) Reset() {
|
|
*x = VolumeCopyResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeCopyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeCopyResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeCopyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[40]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeCopyResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeCopyResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *VolumeCopyResponse) GetLastAppendAtNs() uint64 {
|
|
if x != nil {
|
|
return x.LastAppendAtNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeCopyResponse) GetProcessedBytes() int64 {
|
|
if x != nil {
|
|
return x.ProcessedBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CopyFileRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
Ext string `protobuf:"bytes,2,opt,name=ext,proto3" json:"ext,omitempty"`
|
|
CompactionRevision uint32 `protobuf:"varint,3,opt,name=compaction_revision,json=compactionRevision,proto3" json:"compaction_revision,omitempty"`
|
|
StopOffset uint64 `protobuf:"varint,4,opt,name=stop_offset,json=stopOffset,proto3" json:"stop_offset,omitempty"`
|
|
Collection string `protobuf:"bytes,5,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
IsEcVolume bool `protobuf:"varint,6,opt,name=is_ec_volume,json=isEcVolume,proto3" json:"is_ec_volume,omitempty"`
|
|
IgnoreSourceFileNotFound bool `protobuf:"varint,7,opt,name=ignore_source_file_not_found,json=ignoreSourceFileNotFound,proto3" json:"ignore_source_file_not_found,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CopyFileRequest) Reset() {
|
|
*x = CopyFileRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CopyFileRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CopyFileRequest) ProtoMessage() {}
|
|
|
|
func (x *CopyFileRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[41]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CopyFileRequest.ProtoReflect.Descriptor instead.
|
|
func (*CopyFileRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *CopyFileRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CopyFileRequest) GetExt() string {
|
|
if x != nil {
|
|
return x.Ext
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CopyFileRequest) GetCompactionRevision() uint32 {
|
|
if x != nil {
|
|
return x.CompactionRevision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CopyFileRequest) GetStopOffset() uint64 {
|
|
if x != nil {
|
|
return x.StopOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CopyFileRequest) GetCollection() string {
|
|
if x != nil {
|
|
return x.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CopyFileRequest) GetIsEcVolume() bool {
|
|
if x != nil {
|
|
return x.IsEcVolume
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CopyFileRequest) GetIgnoreSourceFileNotFound() bool {
|
|
if x != nil {
|
|
return x.IgnoreSourceFileNotFound
|
|
}
|
|
return false
|
|
}
|
|
|
|
type CopyFileResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
FileContent []byte `protobuf:"bytes,1,opt,name=file_content,json=fileContent,proto3" json:"file_content,omitempty"`
|
|
ModifiedTsNs int64 `protobuf:"varint,2,opt,name=modified_ts_ns,json=modifiedTsNs,proto3" json:"modified_ts_ns,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CopyFileResponse) Reset() {
|
|
*x = CopyFileResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CopyFileResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CopyFileResponse) ProtoMessage() {}
|
|
|
|
func (x *CopyFileResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[42]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CopyFileResponse.ProtoReflect.Descriptor instead.
|
|
func (*CopyFileResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *CopyFileResponse) GetFileContent() []byte {
|
|
if x != nil {
|
|
return x.FileContent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CopyFileResponse) GetModifiedTsNs() int64 {
|
|
if x != nil {
|
|
return x.ModifiedTsNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ReceiveFileRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Data:
|
|
//
|
|
// *ReceiveFileRequest_Info
|
|
// *ReceiveFileRequest_FileContent
|
|
Data isReceiveFileRequest_Data `protobuf_oneof:"data"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReceiveFileRequest) Reset() {
|
|
*x = ReceiveFileRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReceiveFileRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReceiveFileRequest) ProtoMessage() {}
|
|
|
|
func (x *ReceiveFileRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[43]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReceiveFileRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReceiveFileRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *ReceiveFileRequest) GetData() isReceiveFileRequest_Data {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ReceiveFileRequest) GetInfo() *ReceiveFileInfo {
|
|
if x != nil {
|
|
if x, ok := x.Data.(*ReceiveFileRequest_Info); ok {
|
|
return x.Info
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ReceiveFileRequest) GetFileContent() []byte {
|
|
if x != nil {
|
|
if x, ok := x.Data.(*ReceiveFileRequest_FileContent); ok {
|
|
return x.FileContent
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isReceiveFileRequest_Data interface {
|
|
isReceiveFileRequest_Data()
|
|
}
|
|
|
|
type ReceiveFileRequest_Info struct {
|
|
Info *ReceiveFileInfo `protobuf:"bytes,1,opt,name=info,proto3,oneof"`
|
|
}
|
|
|
|
type ReceiveFileRequest_FileContent struct {
|
|
FileContent []byte `protobuf:"bytes,2,opt,name=file_content,json=fileContent,proto3,oneof"`
|
|
}
|
|
|
|
func (*ReceiveFileRequest_Info) isReceiveFileRequest_Data() {}
|
|
|
|
func (*ReceiveFileRequest_FileContent) isReceiveFileRequest_Data() {}
|
|
|
|
type ReceiveFileInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
Ext string `protobuf:"bytes,2,opt,name=ext,proto3" json:"ext,omitempty"`
|
|
Collection string `protobuf:"bytes,3,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
IsEcVolume bool `protobuf:"varint,4,opt,name=is_ec_volume,json=isEcVolume,proto3" json:"is_ec_volume,omitempty"`
|
|
ShardId uint32 `protobuf:"varint,5,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
|
|
FileSize uint64 `protobuf:"varint,6,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
|
|
DiskId uint32 `protobuf:"varint,7,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` // EC shard disk; 0 = auto-select (see VolumeEcShardsCopyRequest.disk_id)
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReceiveFileInfo) Reset() {
|
|
*x = ReceiveFileInfo{}
|
|
mi := &file_volume_server_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReceiveFileInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReceiveFileInfo) ProtoMessage() {}
|
|
|
|
func (x *ReceiveFileInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[44]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReceiveFileInfo.ProtoReflect.Descriptor instead.
|
|
func (*ReceiveFileInfo) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *ReceiveFileInfo) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReceiveFileInfo) GetExt() string {
|
|
if x != nil {
|
|
return x.Ext
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReceiveFileInfo) GetCollection() string {
|
|
if x != nil {
|
|
return x.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReceiveFileInfo) GetIsEcVolume() bool {
|
|
if x != nil {
|
|
return x.IsEcVolume
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ReceiveFileInfo) GetShardId() uint32 {
|
|
if x != nil {
|
|
return x.ShardId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReceiveFileInfo) GetFileSize() uint64 {
|
|
if x != nil {
|
|
return x.FileSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReceiveFileInfo) GetDiskId() uint32 {
|
|
if x != nil {
|
|
return x.DiskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ReceiveFileResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
BytesWritten uint64 `protobuf:"varint,1,opt,name=bytes_written,json=bytesWritten,proto3" json:"bytes_written,omitempty"`
|
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReceiveFileResponse) Reset() {
|
|
*x = ReceiveFileResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReceiveFileResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReceiveFileResponse) ProtoMessage() {}
|
|
|
|
func (x *ReceiveFileResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[45]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReceiveFileResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReceiveFileResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *ReceiveFileResponse) GetBytesWritten() uint64 {
|
|
if x != nil {
|
|
return x.BytesWritten
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReceiveFileResponse) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ReadNeedleBlobRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` // actual offset
|
|
Size int32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReadNeedleBlobRequest) Reset() {
|
|
*x = ReadNeedleBlobRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReadNeedleBlobRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReadNeedleBlobRequest) ProtoMessage() {}
|
|
|
|
func (x *ReadNeedleBlobRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[46]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReadNeedleBlobRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReadNeedleBlobRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *ReadNeedleBlobRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadNeedleBlobRequest) GetOffset() int64 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadNeedleBlobRequest) GetSize() int32 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ReadNeedleBlobResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NeedleBlob []byte `protobuf:"bytes,1,opt,name=needle_blob,json=needleBlob,proto3" json:"needle_blob,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReadNeedleBlobResponse) Reset() {
|
|
*x = ReadNeedleBlobResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReadNeedleBlobResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReadNeedleBlobResponse) ProtoMessage() {}
|
|
|
|
func (x *ReadNeedleBlobResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[47]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReadNeedleBlobResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReadNeedleBlobResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *ReadNeedleBlobResponse) GetNeedleBlob() []byte {
|
|
if x != nil {
|
|
return x.NeedleBlob
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ReadNeedleMetaRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
NeedleId uint64 `protobuf:"varint,2,opt,name=needle_id,json=needleId,proto3" json:"needle_id,omitempty"`
|
|
Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` // actual offset
|
|
Size int32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReadNeedleMetaRequest) Reset() {
|
|
*x = ReadNeedleMetaRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReadNeedleMetaRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReadNeedleMetaRequest) ProtoMessage() {}
|
|
|
|
func (x *ReadNeedleMetaRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[48]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReadNeedleMetaRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReadNeedleMetaRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *ReadNeedleMetaRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadNeedleMetaRequest) GetNeedleId() uint64 {
|
|
if x != nil {
|
|
return x.NeedleId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadNeedleMetaRequest) GetOffset() int64 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadNeedleMetaRequest) GetSize() int32 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ReadNeedleMetaResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Cookie uint32 `protobuf:"varint,1,opt,name=cookie,proto3" json:"cookie,omitempty"`
|
|
LastModified uint64 `protobuf:"varint,2,opt,name=last_modified,json=lastModified,proto3" json:"last_modified,omitempty"`
|
|
Crc uint32 `protobuf:"varint,3,opt,name=crc,proto3" json:"crc,omitempty"`
|
|
Ttl string `protobuf:"bytes,4,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
AppendAtNs uint64 `protobuf:"varint,5,opt,name=append_at_ns,json=appendAtNs,proto3" json:"append_at_ns,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReadNeedleMetaResponse) Reset() {
|
|
*x = ReadNeedleMetaResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReadNeedleMetaResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReadNeedleMetaResponse) ProtoMessage() {}
|
|
|
|
func (x *ReadNeedleMetaResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[49]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReadNeedleMetaResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReadNeedleMetaResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
func (x *ReadNeedleMetaResponse) GetCookie() uint32 {
|
|
if x != nil {
|
|
return x.Cookie
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadNeedleMetaResponse) GetLastModified() uint64 {
|
|
if x != nil {
|
|
return x.LastModified
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadNeedleMetaResponse) GetCrc() uint32 {
|
|
if x != nil {
|
|
return x.Crc
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadNeedleMetaResponse) GetTtl() string {
|
|
if x != nil {
|
|
return x.Ttl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReadNeedleMetaResponse) GetAppendAtNs() uint64 {
|
|
if x != nil {
|
|
return x.AppendAtNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type WriteNeedleBlobRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
NeedleId uint64 `protobuf:"varint,2,opt,name=needle_id,json=needleId,proto3" json:"needle_id,omitempty"`
|
|
Size int32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
|
|
NeedleBlob []byte `protobuf:"bytes,4,opt,name=needle_blob,json=needleBlob,proto3" json:"needle_blob,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WriteNeedleBlobRequest) Reset() {
|
|
*x = WriteNeedleBlobRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WriteNeedleBlobRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WriteNeedleBlobRequest) ProtoMessage() {}
|
|
|
|
func (x *WriteNeedleBlobRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[50]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WriteNeedleBlobRequest.ProtoReflect.Descriptor instead.
|
|
func (*WriteNeedleBlobRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *WriteNeedleBlobRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WriteNeedleBlobRequest) GetNeedleId() uint64 {
|
|
if x != nil {
|
|
return x.NeedleId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WriteNeedleBlobRequest) GetSize() int32 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WriteNeedleBlobRequest) GetNeedleBlob() []byte {
|
|
if x != nil {
|
|
return x.NeedleBlob
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type WriteNeedleBlobResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WriteNeedleBlobResponse) Reset() {
|
|
*x = WriteNeedleBlobResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WriteNeedleBlobResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WriteNeedleBlobResponse) ProtoMessage() {}
|
|
|
|
func (x *WriteNeedleBlobResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[51]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WriteNeedleBlobResponse.ProtoReflect.Descriptor instead.
|
|
func (*WriteNeedleBlobResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
type ReadAllNeedlesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeIds []uint32 `protobuf:"varint,1,rep,packed,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReadAllNeedlesRequest) Reset() {
|
|
*x = ReadAllNeedlesRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReadAllNeedlesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReadAllNeedlesRequest) ProtoMessage() {}
|
|
|
|
func (x *ReadAllNeedlesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[52]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReadAllNeedlesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReadAllNeedlesRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
func (x *ReadAllNeedlesRequest) GetVolumeIds() []uint32 {
|
|
if x != nil {
|
|
return x.VolumeIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ReadAllNeedlesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
NeedleId uint64 `protobuf:"varint,2,opt,name=needle_id,json=needleId,proto3" json:"needle_id,omitempty"`
|
|
Cookie uint32 `protobuf:"varint,3,opt,name=cookie,proto3" json:"cookie,omitempty"`
|
|
NeedleBlob []byte `protobuf:"bytes,5,opt,name=needle_blob,json=needleBlob,proto3" json:"needle_blob,omitempty"`
|
|
NeedleBlobCompressed bool `protobuf:"varint,6,opt,name=needle_blob_compressed,json=needleBlobCompressed,proto3" json:"needle_blob_compressed,omitempty"`
|
|
LastModified uint64 `protobuf:"varint,7,opt,name=last_modified,json=lastModified,proto3" json:"last_modified,omitempty"`
|
|
Crc uint32 `protobuf:"varint,8,opt,name=crc,proto3" json:"crc,omitempty"`
|
|
Name []byte `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"`
|
|
Mime []byte `protobuf:"bytes,10,opt,name=mime,proto3" json:"mime,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReadAllNeedlesResponse) Reset() {
|
|
*x = ReadAllNeedlesResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReadAllNeedlesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReadAllNeedlesResponse) ProtoMessage() {}
|
|
|
|
func (x *ReadAllNeedlesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[53]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReadAllNeedlesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReadAllNeedlesResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
func (x *ReadAllNeedlesResponse) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadAllNeedlesResponse) GetNeedleId() uint64 {
|
|
if x != nil {
|
|
return x.NeedleId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadAllNeedlesResponse) GetCookie() uint32 {
|
|
if x != nil {
|
|
return x.Cookie
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadAllNeedlesResponse) GetNeedleBlob() []byte {
|
|
if x != nil {
|
|
return x.NeedleBlob
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ReadAllNeedlesResponse) GetNeedleBlobCompressed() bool {
|
|
if x != nil {
|
|
return x.NeedleBlobCompressed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ReadAllNeedlesResponse) GetLastModified() uint64 {
|
|
if x != nil {
|
|
return x.LastModified
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadAllNeedlesResponse) GetCrc() uint32 {
|
|
if x != nil {
|
|
return x.Crc
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadAllNeedlesResponse) GetName() []byte {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ReadAllNeedlesResponse) GetMime() []byte {
|
|
if x != nil {
|
|
return x.Mime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VolumeTailSenderRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
SinceNs uint64 `protobuf:"varint,2,opt,name=since_ns,json=sinceNs,proto3" json:"since_ns,omitempty"`
|
|
IdleTimeoutSeconds uint32 `protobuf:"varint,3,opt,name=idle_timeout_seconds,json=idleTimeoutSeconds,proto3" json:"idle_timeout_seconds,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeTailSenderRequest) Reset() {
|
|
*x = VolumeTailSenderRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeTailSenderRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeTailSenderRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeTailSenderRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[54]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeTailSenderRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeTailSenderRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
func (x *VolumeTailSenderRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeTailSenderRequest) GetSinceNs() uint64 {
|
|
if x != nil {
|
|
return x.SinceNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeTailSenderRequest) GetIdleTimeoutSeconds() uint32 {
|
|
if x != nil {
|
|
return x.IdleTimeoutSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VolumeTailSenderResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NeedleHeader []byte `protobuf:"bytes,1,opt,name=needle_header,json=needleHeader,proto3" json:"needle_header,omitempty"`
|
|
NeedleBody []byte `protobuf:"bytes,2,opt,name=needle_body,json=needleBody,proto3" json:"needle_body,omitempty"`
|
|
IsLastChunk bool `protobuf:"varint,3,opt,name=is_last_chunk,json=isLastChunk,proto3" json:"is_last_chunk,omitempty"`
|
|
Version uint32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeTailSenderResponse) Reset() {
|
|
*x = VolumeTailSenderResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeTailSenderResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeTailSenderResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeTailSenderResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[55]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeTailSenderResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeTailSenderResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
func (x *VolumeTailSenderResponse) GetNeedleHeader() []byte {
|
|
if x != nil {
|
|
return x.NeedleHeader
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *VolumeTailSenderResponse) GetNeedleBody() []byte {
|
|
if x != nil {
|
|
return x.NeedleBody
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *VolumeTailSenderResponse) GetIsLastChunk() bool {
|
|
if x != nil {
|
|
return x.IsLastChunk
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *VolumeTailSenderResponse) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VolumeTailReceiverRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
SinceNs uint64 `protobuf:"varint,2,opt,name=since_ns,json=sinceNs,proto3" json:"since_ns,omitempty"`
|
|
IdleTimeoutSeconds uint32 `protobuf:"varint,3,opt,name=idle_timeout_seconds,json=idleTimeoutSeconds,proto3" json:"idle_timeout_seconds,omitempty"`
|
|
SourceVolumeServer string `protobuf:"bytes,4,opt,name=source_volume_server,json=sourceVolumeServer,proto3" json:"source_volume_server,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeTailReceiverRequest) Reset() {
|
|
*x = VolumeTailReceiverRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeTailReceiverRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeTailReceiverRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeTailReceiverRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[56]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeTailReceiverRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeTailReceiverRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
func (x *VolumeTailReceiverRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeTailReceiverRequest) GetSinceNs() uint64 {
|
|
if x != nil {
|
|
return x.SinceNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeTailReceiverRequest) GetIdleTimeoutSeconds() uint32 {
|
|
if x != nil {
|
|
return x.IdleTimeoutSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeTailReceiverRequest) GetSourceVolumeServer() string {
|
|
if x != nil {
|
|
return x.SourceVolumeServer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type VolumeTailReceiverResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeTailReceiverResponse) Reset() {
|
|
*x = VolumeTailReceiverResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[57]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeTailReceiverResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeTailReceiverResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeTailReceiverResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[57]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeTailReceiverResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeTailReceiverResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{57}
|
|
}
|
|
|
|
type VolumeEcShardsGenerateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcShardsGenerateRequest) Reset() {
|
|
*x = VolumeEcShardsGenerateRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[58]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcShardsGenerateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcShardsGenerateRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcShardsGenerateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[58]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcShardsGenerateRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcShardsGenerateRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{58}
|
|
}
|
|
|
|
func (x *VolumeEcShardsGenerateRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeEcShardsGenerateRequest) GetCollection() string {
|
|
if x != nil {
|
|
return x.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type VolumeEcShardsGenerateResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcShardsGenerateResponse) Reset() {
|
|
*x = VolumeEcShardsGenerateResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[59]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcShardsGenerateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcShardsGenerateResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcShardsGenerateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[59]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcShardsGenerateResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcShardsGenerateResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{59}
|
|
}
|
|
|
|
type VolumeEcShardsRebuildRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcShardsRebuildRequest) Reset() {
|
|
*x = VolumeEcShardsRebuildRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[60]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcShardsRebuildRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcShardsRebuildRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcShardsRebuildRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[60]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcShardsRebuildRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcShardsRebuildRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{60}
|
|
}
|
|
|
|
func (x *VolumeEcShardsRebuildRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeEcShardsRebuildRequest) GetCollection() string {
|
|
if x != nil {
|
|
return x.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type VolumeEcShardsRebuildResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RebuiltShardIds []uint32 `protobuf:"varint,1,rep,packed,name=rebuilt_shard_ids,json=rebuiltShardIds,proto3" json:"rebuilt_shard_ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcShardsRebuildResponse) Reset() {
|
|
*x = VolumeEcShardsRebuildResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[61]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcShardsRebuildResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcShardsRebuildResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcShardsRebuildResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[61]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcShardsRebuildResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcShardsRebuildResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{61}
|
|
}
|
|
|
|
func (x *VolumeEcShardsRebuildResponse) GetRebuiltShardIds() []uint32 {
|
|
if x != nil {
|
|
return x.RebuiltShardIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VolumeEcShardsCopyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
ShardIds []uint32 `protobuf:"varint,3,rep,packed,name=shard_ids,json=shardIds,proto3" json:"shard_ids,omitempty"`
|
|
CopyEcxFile bool `protobuf:"varint,4,opt,name=copy_ecx_file,json=copyEcxFile,proto3" json:"copy_ecx_file,omitempty"`
|
|
SourceDataNode string `protobuf:"bytes,5,opt,name=source_data_node,json=sourceDataNode,proto3" json:"source_data_node,omitempty"`
|
|
CopyEcjFile bool `protobuf:"varint,6,opt,name=copy_ecj_file,json=copyEcjFile,proto3" json:"copy_ecj_file,omitempty"`
|
|
CopyVifFile bool `protobuf:"varint,7,opt,name=copy_vif_file,json=copyVifFile,proto3" json:"copy_vif_file,omitempty"`
|
|
DiskId uint32 `protobuf:"varint,8,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` // Target disk ID for storing EC shards
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcShardsCopyRequest) Reset() {
|
|
*x = VolumeEcShardsCopyRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[62]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcShardsCopyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcShardsCopyRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcShardsCopyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[62]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcShardsCopyRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcShardsCopyRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{62}
|
|
}
|
|
|
|
func (x *VolumeEcShardsCopyRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeEcShardsCopyRequest) GetCollection() string {
|
|
if x != nil {
|
|
return x.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeEcShardsCopyRequest) GetShardIds() []uint32 {
|
|
if x != nil {
|
|
return x.ShardIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *VolumeEcShardsCopyRequest) GetCopyEcxFile() bool {
|
|
if x != nil {
|
|
return x.CopyEcxFile
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *VolumeEcShardsCopyRequest) GetSourceDataNode() string {
|
|
if x != nil {
|
|
return x.SourceDataNode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeEcShardsCopyRequest) GetCopyEcjFile() bool {
|
|
if x != nil {
|
|
return x.CopyEcjFile
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *VolumeEcShardsCopyRequest) GetCopyVifFile() bool {
|
|
if x != nil {
|
|
return x.CopyVifFile
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *VolumeEcShardsCopyRequest) GetDiskId() uint32 {
|
|
if x != nil {
|
|
return x.DiskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VolumeEcShardsCopyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcShardsCopyResponse) Reset() {
|
|
*x = VolumeEcShardsCopyResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[63]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcShardsCopyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcShardsCopyResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcShardsCopyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[63]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcShardsCopyResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcShardsCopyResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{63}
|
|
}
|
|
|
|
type VolumeEcShardsDeleteRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
ShardIds []uint32 `protobuf:"varint,3,rep,packed,name=shard_ids,json=shardIds,proto3" json:"shard_ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcShardsDeleteRequest) Reset() {
|
|
*x = VolumeEcShardsDeleteRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[64]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcShardsDeleteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcShardsDeleteRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcShardsDeleteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[64]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcShardsDeleteRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcShardsDeleteRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{64}
|
|
}
|
|
|
|
func (x *VolumeEcShardsDeleteRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeEcShardsDeleteRequest) GetCollection() string {
|
|
if x != nil {
|
|
return x.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeEcShardsDeleteRequest) GetShardIds() []uint32 {
|
|
if x != nil {
|
|
return x.ShardIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VolumeEcShardsDeleteResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcShardsDeleteResponse) Reset() {
|
|
*x = VolumeEcShardsDeleteResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[65]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcShardsDeleteResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcShardsDeleteResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcShardsDeleteResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[65]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcShardsDeleteResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcShardsDeleteResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{65}
|
|
}
|
|
|
|
type VolumeEcShardsMountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
ShardIds []uint32 `protobuf:"varint,3,rep,packed,name=shard_ids,json=shardIds,proto3" json:"shard_ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcShardsMountRequest) Reset() {
|
|
*x = VolumeEcShardsMountRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[66]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcShardsMountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcShardsMountRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcShardsMountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[66]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcShardsMountRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcShardsMountRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{66}
|
|
}
|
|
|
|
func (x *VolumeEcShardsMountRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeEcShardsMountRequest) GetCollection() string {
|
|
if x != nil {
|
|
return x.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeEcShardsMountRequest) GetShardIds() []uint32 {
|
|
if x != nil {
|
|
return x.ShardIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VolumeEcShardsMountResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcShardsMountResponse) Reset() {
|
|
*x = VolumeEcShardsMountResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[67]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcShardsMountResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcShardsMountResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcShardsMountResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[67]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcShardsMountResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcShardsMountResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{67}
|
|
}
|
|
|
|
type VolumeEcShardsUnmountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
ShardIds []uint32 `protobuf:"varint,3,rep,packed,name=shard_ids,json=shardIds,proto3" json:"shard_ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcShardsUnmountRequest) Reset() {
|
|
*x = VolumeEcShardsUnmountRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[68]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcShardsUnmountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcShardsUnmountRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcShardsUnmountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[68]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcShardsUnmountRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcShardsUnmountRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{68}
|
|
}
|
|
|
|
func (x *VolumeEcShardsUnmountRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeEcShardsUnmountRequest) GetShardIds() []uint32 {
|
|
if x != nil {
|
|
return x.ShardIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VolumeEcShardsUnmountResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcShardsUnmountResponse) Reset() {
|
|
*x = VolumeEcShardsUnmountResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[69]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcShardsUnmountResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcShardsUnmountResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcShardsUnmountResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[69]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcShardsUnmountResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcShardsUnmountResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{69}
|
|
}
|
|
|
|
type VolumeEcShardReadRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
ShardId uint32 `protobuf:"varint,2,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
|
|
Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
|
|
FileKey uint64 `protobuf:"varint,5,opt,name=file_key,json=fileKey,proto3" json:"file_key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcShardReadRequest) Reset() {
|
|
*x = VolumeEcShardReadRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[70]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcShardReadRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcShardReadRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcShardReadRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[70]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcShardReadRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcShardReadRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{70}
|
|
}
|
|
|
|
func (x *VolumeEcShardReadRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeEcShardReadRequest) GetShardId() uint32 {
|
|
if x != nil {
|
|
return x.ShardId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeEcShardReadRequest) GetOffset() int64 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeEcShardReadRequest) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeEcShardReadRequest) GetFileKey() uint64 {
|
|
if x != nil {
|
|
return x.FileKey
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VolumeEcShardReadResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
|
IsDeleted bool `protobuf:"varint,2,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcShardReadResponse) Reset() {
|
|
*x = VolumeEcShardReadResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[71]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcShardReadResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcShardReadResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcShardReadResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[71]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcShardReadResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcShardReadResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{71}
|
|
}
|
|
|
|
func (x *VolumeEcShardReadResponse) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *VolumeEcShardReadResponse) GetIsDeleted() bool {
|
|
if x != nil {
|
|
return x.IsDeleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
type VolumeEcBlobDeleteRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
FileKey uint64 `protobuf:"varint,3,opt,name=file_key,json=fileKey,proto3" json:"file_key,omitempty"`
|
|
Version uint32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcBlobDeleteRequest) Reset() {
|
|
*x = VolumeEcBlobDeleteRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[72]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcBlobDeleteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcBlobDeleteRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcBlobDeleteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[72]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcBlobDeleteRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcBlobDeleteRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{72}
|
|
}
|
|
|
|
func (x *VolumeEcBlobDeleteRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeEcBlobDeleteRequest) GetCollection() string {
|
|
if x != nil {
|
|
return x.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeEcBlobDeleteRequest) GetFileKey() uint64 {
|
|
if x != nil {
|
|
return x.FileKey
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeEcBlobDeleteRequest) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VolumeEcBlobDeleteResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcBlobDeleteResponse) Reset() {
|
|
*x = VolumeEcBlobDeleteResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[73]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcBlobDeleteResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcBlobDeleteResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcBlobDeleteResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[73]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcBlobDeleteResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcBlobDeleteResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{73}
|
|
}
|
|
|
|
type VolumeEcShardsToVolumeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcShardsToVolumeRequest) Reset() {
|
|
*x = VolumeEcShardsToVolumeRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[74]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcShardsToVolumeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcShardsToVolumeRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcShardsToVolumeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[74]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcShardsToVolumeRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcShardsToVolumeRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{74}
|
|
}
|
|
|
|
func (x *VolumeEcShardsToVolumeRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeEcShardsToVolumeRequest) GetCollection() string {
|
|
if x != nil {
|
|
return x.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type VolumeEcShardsToVolumeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcShardsToVolumeResponse) Reset() {
|
|
*x = VolumeEcShardsToVolumeResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[75]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcShardsToVolumeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcShardsToVolumeResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcShardsToVolumeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[75]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcShardsToVolumeResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcShardsToVolumeResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{75}
|
|
}
|
|
|
|
type VolumeEcShardsInfoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcShardsInfoRequest) Reset() {
|
|
*x = VolumeEcShardsInfoRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[76]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcShardsInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcShardsInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcShardsInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[76]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcShardsInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcShardsInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{76}
|
|
}
|
|
|
|
func (x *VolumeEcShardsInfoRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VolumeEcShardsInfoResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
EcShardInfos []*EcShardInfo `protobuf:"bytes,1,rep,name=ec_shard_infos,json=ecShardInfos,proto3" json:"ec_shard_infos,omitempty"`
|
|
VolumeSize uint64 `protobuf:"varint,2,opt,name=volume_size,json=volumeSize,proto3" json:"volume_size,omitempty"`
|
|
FileCount uint64 `protobuf:"varint,3,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"`
|
|
FileDeletedCount uint64 `protobuf:"varint,4,opt,name=file_deleted_count,json=fileDeletedCount,proto3" json:"file_deleted_count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeEcShardsInfoResponse) Reset() {
|
|
*x = VolumeEcShardsInfoResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[77]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeEcShardsInfoResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeEcShardsInfoResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeEcShardsInfoResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[77]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeEcShardsInfoResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeEcShardsInfoResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{77}
|
|
}
|
|
|
|
func (x *VolumeEcShardsInfoResponse) GetEcShardInfos() []*EcShardInfo {
|
|
if x != nil {
|
|
return x.EcShardInfos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *VolumeEcShardsInfoResponse) GetVolumeSize() uint64 {
|
|
if x != nil {
|
|
return x.VolumeSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeEcShardsInfoResponse) GetFileCount() uint64 {
|
|
if x != nil {
|
|
return x.FileCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeEcShardsInfoResponse) GetFileDeletedCount() uint64 {
|
|
if x != nil {
|
|
return x.FileDeletedCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type EcShardInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
|
|
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
|
|
Collection string `protobuf:"bytes,3,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
VolumeId uint32 `protobuf:"varint,4,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EcShardInfo) Reset() {
|
|
*x = EcShardInfo{}
|
|
mi := &file_volume_server_proto_msgTypes[78]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EcShardInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EcShardInfo) ProtoMessage() {}
|
|
|
|
func (x *EcShardInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[78]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EcShardInfo.ProtoReflect.Descriptor instead.
|
|
func (*EcShardInfo) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{78}
|
|
}
|
|
|
|
func (x *EcShardInfo) GetShardId() uint32 {
|
|
if x != nil {
|
|
return x.ShardId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EcShardInfo) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EcShardInfo) GetCollection() string {
|
|
if x != nil {
|
|
return x.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EcShardInfo) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ReadVolumeFileStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReadVolumeFileStatusRequest) Reset() {
|
|
*x = ReadVolumeFileStatusRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[79]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReadVolumeFileStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReadVolumeFileStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *ReadVolumeFileStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[79]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReadVolumeFileStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReadVolumeFileStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{79}
|
|
}
|
|
|
|
func (x *ReadVolumeFileStatusRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ReadVolumeFileStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
IdxFileTimestampSeconds uint64 `protobuf:"varint,2,opt,name=idx_file_timestamp_seconds,json=idxFileTimestampSeconds,proto3" json:"idx_file_timestamp_seconds,omitempty"`
|
|
IdxFileSize uint64 `protobuf:"varint,3,opt,name=idx_file_size,json=idxFileSize,proto3" json:"idx_file_size,omitempty"`
|
|
DatFileTimestampSeconds uint64 `protobuf:"varint,4,opt,name=dat_file_timestamp_seconds,json=datFileTimestampSeconds,proto3" json:"dat_file_timestamp_seconds,omitempty"`
|
|
DatFileSize uint64 `protobuf:"varint,5,opt,name=dat_file_size,json=datFileSize,proto3" json:"dat_file_size,omitempty"`
|
|
FileCount uint64 `protobuf:"varint,6,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"`
|
|
CompactionRevision uint32 `protobuf:"varint,7,opt,name=compaction_revision,json=compactionRevision,proto3" json:"compaction_revision,omitempty"`
|
|
Collection string `protobuf:"bytes,8,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
DiskType string `protobuf:"bytes,9,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
|
|
VolumeInfo *VolumeInfo `protobuf:"bytes,10,opt,name=volume_info,json=volumeInfo,proto3" json:"volume_info,omitempty"`
|
|
Version uint32 `protobuf:"varint,11,opt,name=version,proto3" json:"version,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReadVolumeFileStatusResponse) Reset() {
|
|
*x = ReadVolumeFileStatusResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[80]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReadVolumeFileStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReadVolumeFileStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *ReadVolumeFileStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[80]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReadVolumeFileStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReadVolumeFileStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{80}
|
|
}
|
|
|
|
func (x *ReadVolumeFileStatusResponse) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadVolumeFileStatusResponse) GetIdxFileTimestampSeconds() uint64 {
|
|
if x != nil {
|
|
return x.IdxFileTimestampSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadVolumeFileStatusResponse) GetIdxFileSize() uint64 {
|
|
if x != nil {
|
|
return x.IdxFileSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadVolumeFileStatusResponse) GetDatFileTimestampSeconds() uint64 {
|
|
if x != nil {
|
|
return x.DatFileTimestampSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadVolumeFileStatusResponse) GetDatFileSize() uint64 {
|
|
if x != nil {
|
|
return x.DatFileSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadVolumeFileStatusResponse) GetFileCount() uint64 {
|
|
if x != nil {
|
|
return x.FileCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadVolumeFileStatusResponse) GetCompactionRevision() uint32 {
|
|
if x != nil {
|
|
return x.CompactionRevision
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadVolumeFileStatusResponse) GetCollection() string {
|
|
if x != nil {
|
|
return x.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReadVolumeFileStatusResponse) GetDiskType() string {
|
|
if x != nil {
|
|
return x.DiskType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReadVolumeFileStatusResponse) GetVolumeInfo() *VolumeInfo {
|
|
if x != nil {
|
|
return x.VolumeInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ReadVolumeFileStatusResponse) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DiskStatus struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Dir string `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"`
|
|
All uint64 `protobuf:"varint,2,opt,name=all,proto3" json:"all,omitempty"`
|
|
Used uint64 `protobuf:"varint,3,opt,name=used,proto3" json:"used,omitempty"`
|
|
Free uint64 `protobuf:"varint,4,opt,name=free,proto3" json:"free,omitempty"`
|
|
PercentFree float32 `protobuf:"fixed32,5,opt,name=percent_free,json=percentFree,proto3" json:"percent_free,omitempty"`
|
|
PercentUsed float32 `protobuf:"fixed32,6,opt,name=percent_used,json=percentUsed,proto3" json:"percent_used,omitempty"`
|
|
DiskType string `protobuf:"bytes,7,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DiskStatus) Reset() {
|
|
*x = DiskStatus{}
|
|
mi := &file_volume_server_proto_msgTypes[81]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DiskStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DiskStatus) ProtoMessage() {}
|
|
|
|
func (x *DiskStatus) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[81]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DiskStatus.ProtoReflect.Descriptor instead.
|
|
func (*DiskStatus) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{81}
|
|
}
|
|
|
|
func (x *DiskStatus) GetDir() string {
|
|
if x != nil {
|
|
return x.Dir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DiskStatus) GetAll() uint64 {
|
|
if x != nil {
|
|
return x.All
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DiskStatus) GetUsed() uint64 {
|
|
if x != nil {
|
|
return x.Used
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DiskStatus) GetFree() uint64 {
|
|
if x != nil {
|
|
return x.Free
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DiskStatus) GetPercentFree() float32 {
|
|
if x != nil {
|
|
return x.PercentFree
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DiskStatus) GetPercentUsed() float32 {
|
|
if x != nil {
|
|
return x.PercentUsed
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DiskStatus) GetDiskType() string {
|
|
if x != nil {
|
|
return x.DiskType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MemStatus struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Goroutines int32 `protobuf:"varint,1,opt,name=goroutines,proto3" json:"goroutines,omitempty"`
|
|
All uint64 `protobuf:"varint,2,opt,name=all,proto3" json:"all,omitempty"`
|
|
Used uint64 `protobuf:"varint,3,opt,name=used,proto3" json:"used,omitempty"`
|
|
Free uint64 `protobuf:"varint,4,opt,name=free,proto3" json:"free,omitempty"`
|
|
Self uint64 `protobuf:"varint,5,opt,name=self,proto3" json:"self,omitempty"`
|
|
Heap uint64 `protobuf:"varint,6,opt,name=heap,proto3" json:"heap,omitempty"`
|
|
Stack uint64 `protobuf:"varint,7,opt,name=stack,proto3" json:"stack,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MemStatus) Reset() {
|
|
*x = MemStatus{}
|
|
mi := &file_volume_server_proto_msgTypes[82]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MemStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MemStatus) ProtoMessage() {}
|
|
|
|
func (x *MemStatus) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[82]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MemStatus.ProtoReflect.Descriptor instead.
|
|
func (*MemStatus) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{82}
|
|
}
|
|
|
|
func (x *MemStatus) GetGoroutines() int32 {
|
|
if x != nil {
|
|
return x.Goroutines
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemStatus) GetAll() uint64 {
|
|
if x != nil {
|
|
return x.All
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemStatus) GetUsed() uint64 {
|
|
if x != nil {
|
|
return x.Used
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemStatus) GetFree() uint64 {
|
|
if x != nil {
|
|
return x.Free
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemStatus) GetSelf() uint64 {
|
|
if x != nil {
|
|
return x.Self
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemStatus) GetHeap() uint64 {
|
|
if x != nil {
|
|
return x.Heap
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemStatus) GetStack() uint64 {
|
|
if x != nil {
|
|
return x.Stack
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// tired storage on volume servers
|
|
type RemoteFile struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
BackendType string `protobuf:"bytes,1,opt,name=backend_type,json=backendType,proto3" json:"backend_type,omitempty"`
|
|
BackendId string `protobuf:"bytes,2,opt,name=backend_id,json=backendId,proto3" json:"backend_id,omitempty"`
|
|
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
|
|
Offset uint64 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
FileSize uint64 `protobuf:"varint,5,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
|
|
ModifiedTime uint64 `protobuf:"varint,6,opt,name=modified_time,json=modifiedTime,proto3" json:"modified_time,omitempty"`
|
|
Extension string `protobuf:"bytes,7,opt,name=extension,proto3" json:"extension,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoteFile) Reset() {
|
|
*x = RemoteFile{}
|
|
mi := &file_volume_server_proto_msgTypes[83]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoteFile) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoteFile) ProtoMessage() {}
|
|
|
|
func (x *RemoteFile) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[83]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RemoteFile.ProtoReflect.Descriptor instead.
|
|
func (*RemoteFile) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{83}
|
|
}
|
|
|
|
func (x *RemoteFile) GetBackendType() string {
|
|
if x != nil {
|
|
return x.BackendType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RemoteFile) GetBackendId() string {
|
|
if x != nil {
|
|
return x.BackendId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RemoteFile) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RemoteFile) GetOffset() uint64 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RemoteFile) GetFileSize() uint64 {
|
|
if x != nil {
|
|
return x.FileSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RemoteFile) GetModifiedTime() uint64 {
|
|
if x != nil {
|
|
return x.ModifiedTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RemoteFile) GetExtension() string {
|
|
if x != nil {
|
|
return x.Extension
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type VolumeInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Files []*RemoteFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
|
|
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
|
|
Replication string `protobuf:"bytes,3,opt,name=replication,proto3" json:"replication,omitempty"`
|
|
BytesOffset uint32 `protobuf:"varint,4,opt,name=bytes_offset,json=bytesOffset,proto3" json:"bytes_offset,omitempty"`
|
|
DatFileSize int64 `protobuf:"varint,5,opt,name=dat_file_size,json=datFileSize,proto3" json:"dat_file_size,omitempty"` // store the original dat file size
|
|
ExpireAtSec uint64 `protobuf:"varint,6,opt,name=expire_at_sec,json=expireAtSec,proto3" json:"expire_at_sec,omitempty"` // expiration time of ec volume
|
|
ReadOnly bool `protobuf:"varint,7,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
|
|
EcShardConfig *EcShardConfig `protobuf:"bytes,8,opt,name=ec_shard_config,json=ecShardConfig,proto3" json:"ec_shard_config,omitempty"` // EC shard configuration (optional, null = use default 10+4)
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeInfo) Reset() {
|
|
*x = VolumeInfo{}
|
|
mi := &file_volume_server_proto_msgTypes[84]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeInfo) ProtoMessage() {}
|
|
|
|
func (x *VolumeInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[84]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeInfo.ProtoReflect.Descriptor instead.
|
|
func (*VolumeInfo) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{84}
|
|
}
|
|
|
|
func (x *VolumeInfo) GetFiles() []*RemoteFile {
|
|
if x != nil {
|
|
return x.Files
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *VolumeInfo) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeInfo) GetReplication() string {
|
|
if x != nil {
|
|
return x.Replication
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeInfo) GetBytesOffset() uint32 {
|
|
if x != nil {
|
|
return x.BytesOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeInfo) GetDatFileSize() int64 {
|
|
if x != nil {
|
|
return x.DatFileSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeInfo) GetExpireAtSec() uint64 {
|
|
if x != nil {
|
|
return x.ExpireAtSec
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeInfo) GetReadOnly() bool {
|
|
if x != nil {
|
|
return x.ReadOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *VolumeInfo) GetEcShardConfig() *EcShardConfig {
|
|
if x != nil {
|
|
return x.EcShardConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// EcShardConfig specifies erasure coding shard configuration
|
|
type EcShardConfig struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
DataShards uint32 `protobuf:"varint,1,opt,name=data_shards,json=dataShards,proto3" json:"data_shards,omitempty"` // Number of data shards (e.g., 10)
|
|
ParityShards uint32 `protobuf:"varint,2,opt,name=parity_shards,json=parityShards,proto3" json:"parity_shards,omitempty"` // Number of parity shards (e.g., 4)
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EcShardConfig) Reset() {
|
|
*x = EcShardConfig{}
|
|
mi := &file_volume_server_proto_msgTypes[85]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EcShardConfig) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EcShardConfig) ProtoMessage() {}
|
|
|
|
func (x *EcShardConfig) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[85]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EcShardConfig.ProtoReflect.Descriptor instead.
|
|
func (*EcShardConfig) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{85}
|
|
}
|
|
|
|
func (x *EcShardConfig) GetDataShards() uint32 {
|
|
if x != nil {
|
|
return x.DataShards
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EcShardConfig) GetParityShards() uint32 {
|
|
if x != nil {
|
|
return x.ParityShards
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type OldVersionVolumeInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Files []*RemoteFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
|
|
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
|
|
Replication string `protobuf:"bytes,3,opt,name=replication,proto3" json:"replication,omitempty"`
|
|
BytesOffset uint32 `protobuf:"varint,4,opt,name=BytesOffset,proto3" json:"BytesOffset,omitempty"`
|
|
DatFileSize int64 `protobuf:"varint,5,opt,name=dat_file_size,json=datFileSize,proto3" json:"dat_file_size,omitempty"` // store the original dat file size
|
|
DestroyTime uint64 `protobuf:"varint,6,opt,name=DestroyTime,proto3" json:"DestroyTime,omitempty"` // expiration time of ec volume
|
|
ReadOnly bool `protobuf:"varint,7,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OldVersionVolumeInfo) Reset() {
|
|
*x = OldVersionVolumeInfo{}
|
|
mi := &file_volume_server_proto_msgTypes[86]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OldVersionVolumeInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OldVersionVolumeInfo) ProtoMessage() {}
|
|
|
|
func (x *OldVersionVolumeInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[86]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OldVersionVolumeInfo.ProtoReflect.Descriptor instead.
|
|
func (*OldVersionVolumeInfo) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{86}
|
|
}
|
|
|
|
func (x *OldVersionVolumeInfo) GetFiles() []*RemoteFile {
|
|
if x != nil {
|
|
return x.Files
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OldVersionVolumeInfo) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OldVersionVolumeInfo) GetReplication() string {
|
|
if x != nil {
|
|
return x.Replication
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OldVersionVolumeInfo) GetBytesOffset() uint32 {
|
|
if x != nil {
|
|
return x.BytesOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OldVersionVolumeInfo) GetDatFileSize() int64 {
|
|
if x != nil {
|
|
return x.DatFileSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OldVersionVolumeInfo) GetDestroyTime() uint64 {
|
|
if x != nil {
|
|
return x.DestroyTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OldVersionVolumeInfo) GetReadOnly() bool {
|
|
if x != nil {
|
|
return x.ReadOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
// tiered storage
|
|
type VolumeTierMoveDatToRemoteRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
DestinationBackendName string `protobuf:"bytes,3,opt,name=destination_backend_name,json=destinationBackendName,proto3" json:"destination_backend_name,omitempty"`
|
|
KeepLocalDatFile bool `protobuf:"varint,4,opt,name=keep_local_dat_file,json=keepLocalDatFile,proto3" json:"keep_local_dat_file,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatToRemoteRequest) Reset() {
|
|
*x = VolumeTierMoveDatToRemoteRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[87]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatToRemoteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeTierMoveDatToRemoteRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeTierMoveDatToRemoteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[87]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeTierMoveDatToRemoteRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeTierMoveDatToRemoteRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{87}
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatToRemoteRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatToRemoteRequest) GetCollection() string {
|
|
if x != nil {
|
|
return x.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatToRemoteRequest) GetDestinationBackendName() string {
|
|
if x != nil {
|
|
return x.DestinationBackendName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatToRemoteRequest) GetKeepLocalDatFile() bool {
|
|
if x != nil {
|
|
return x.KeepLocalDatFile
|
|
}
|
|
return false
|
|
}
|
|
|
|
type VolumeTierMoveDatToRemoteResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Processed int64 `protobuf:"varint,1,opt,name=processed,proto3" json:"processed,omitempty"`
|
|
ProcessedPercentage float32 `protobuf:"fixed32,2,opt,name=processedPercentage,proto3" json:"processedPercentage,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatToRemoteResponse) Reset() {
|
|
*x = VolumeTierMoveDatToRemoteResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[88]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatToRemoteResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeTierMoveDatToRemoteResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeTierMoveDatToRemoteResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[88]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeTierMoveDatToRemoteResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeTierMoveDatToRemoteResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{88}
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatToRemoteResponse) GetProcessed() int64 {
|
|
if x != nil {
|
|
return x.Processed
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatToRemoteResponse) GetProcessedPercentage() float32 {
|
|
if x != nil {
|
|
return x.ProcessedPercentage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VolumeTierMoveDatFromRemoteRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
|
|
KeepRemoteDatFile bool `protobuf:"varint,3,opt,name=keep_remote_dat_file,json=keepRemoteDatFile,proto3" json:"keep_remote_dat_file,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatFromRemoteRequest) Reset() {
|
|
*x = VolumeTierMoveDatFromRemoteRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[89]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatFromRemoteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeTierMoveDatFromRemoteRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeTierMoveDatFromRemoteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[89]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeTierMoveDatFromRemoteRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeTierMoveDatFromRemoteRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{89}
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatFromRemoteRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatFromRemoteRequest) GetCollection() string {
|
|
if x != nil {
|
|
return x.Collection
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatFromRemoteRequest) GetKeepRemoteDatFile() bool {
|
|
if x != nil {
|
|
return x.KeepRemoteDatFile
|
|
}
|
|
return false
|
|
}
|
|
|
|
type VolumeTierMoveDatFromRemoteResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Processed int64 `protobuf:"varint,1,opt,name=processed,proto3" json:"processed,omitempty"`
|
|
ProcessedPercentage float32 `protobuf:"fixed32,2,opt,name=processedPercentage,proto3" json:"processedPercentage,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatFromRemoteResponse) Reset() {
|
|
*x = VolumeTierMoveDatFromRemoteResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[90]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatFromRemoteResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeTierMoveDatFromRemoteResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeTierMoveDatFromRemoteResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[90]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeTierMoveDatFromRemoteResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeTierMoveDatFromRemoteResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{90}
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatFromRemoteResponse) GetProcessed() int64 {
|
|
if x != nil {
|
|
return x.Processed
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeTierMoveDatFromRemoteResponse) GetProcessedPercentage() float32 {
|
|
if x != nil {
|
|
return x.ProcessedPercentage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VolumeServerStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeServerStatusRequest) Reset() {
|
|
*x = VolumeServerStatusRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[91]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeServerStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeServerStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeServerStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[91]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeServerStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeServerStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{91}
|
|
}
|
|
|
|
type VolumeServerStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
DiskStatuses []*DiskStatus `protobuf:"bytes,1,rep,name=disk_statuses,json=diskStatuses,proto3" json:"disk_statuses,omitempty"`
|
|
MemoryStatus *MemStatus `protobuf:"bytes,2,opt,name=memory_status,json=memoryStatus,proto3" json:"memory_status,omitempty"`
|
|
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
|
|
DataCenter string `protobuf:"bytes,4,opt,name=data_center,json=dataCenter,proto3" json:"data_center,omitempty"`
|
|
Rack string `protobuf:"bytes,5,opt,name=rack,proto3" json:"rack,omitempty"`
|
|
State *VolumeServerState `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeServerStatusResponse) Reset() {
|
|
*x = VolumeServerStatusResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[92]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeServerStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeServerStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeServerStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[92]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeServerStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeServerStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{92}
|
|
}
|
|
|
|
func (x *VolumeServerStatusResponse) GetDiskStatuses() []*DiskStatus {
|
|
if x != nil {
|
|
return x.DiskStatuses
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *VolumeServerStatusResponse) GetMemoryStatus() *MemStatus {
|
|
if x != nil {
|
|
return x.MemoryStatus
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *VolumeServerStatusResponse) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeServerStatusResponse) GetDataCenter() string {
|
|
if x != nil {
|
|
return x.DataCenter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeServerStatusResponse) GetRack() string {
|
|
if x != nil {
|
|
return x.Rack
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VolumeServerStatusResponse) GetState() *VolumeServerState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VolumeServerLeaveRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeServerLeaveRequest) Reset() {
|
|
*x = VolumeServerLeaveRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[93]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeServerLeaveRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeServerLeaveRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeServerLeaveRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[93]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeServerLeaveRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeServerLeaveRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{93}
|
|
}
|
|
|
|
type VolumeServerLeaveResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeServerLeaveResponse) Reset() {
|
|
*x = VolumeServerLeaveResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[94]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeServerLeaveResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeServerLeaveResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeServerLeaveResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[94]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeServerLeaveResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeServerLeaveResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{94}
|
|
}
|
|
|
|
// remote storage
|
|
type FetchAndWriteNeedleRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
NeedleId uint64 `protobuf:"varint,2,opt,name=needle_id,json=needleId,proto3" json:"needle_id,omitempty"`
|
|
Cookie uint32 `protobuf:"varint,3,opt,name=cookie,proto3" json:"cookie,omitempty"`
|
|
Offset int64 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
|
|
Replicas []*FetchAndWriteNeedleRequest_Replica `protobuf:"bytes,6,rep,name=replicas,proto3" json:"replicas,omitempty"`
|
|
Auth string `protobuf:"bytes,7,opt,name=auth,proto3" json:"auth,omitempty"`
|
|
DownloadConcurrency int32 `protobuf:"varint,8,opt,name=download_concurrency,json=downloadConcurrency,proto3" json:"download_concurrency,omitempty"` // multipart download concurrency if supported by the remote storage client; for S3, 0 = default (5)
|
|
// remote conf
|
|
RemoteConf *remote_pb.RemoteConf `protobuf:"bytes,15,opt,name=remote_conf,json=remoteConf,proto3" json:"remote_conf,omitempty"`
|
|
RemoteLocation *remote_pb.RemoteStorageLocation `protobuf:"bytes,16,opt,name=remote_location,json=remoteLocation,proto3" json:"remote_location,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleRequest) Reset() {
|
|
*x = FetchAndWriteNeedleRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[95]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FetchAndWriteNeedleRequest) ProtoMessage() {}
|
|
|
|
func (x *FetchAndWriteNeedleRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[95]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FetchAndWriteNeedleRequest.ProtoReflect.Descriptor instead.
|
|
func (*FetchAndWriteNeedleRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{95}
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleRequest) GetNeedleId() uint64 {
|
|
if x != nil {
|
|
return x.NeedleId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleRequest) GetCookie() uint32 {
|
|
if x != nil {
|
|
return x.Cookie
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleRequest) GetOffset() int64 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleRequest) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleRequest) GetReplicas() []*FetchAndWriteNeedleRequest_Replica {
|
|
if x != nil {
|
|
return x.Replicas
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleRequest) GetAuth() string {
|
|
if x != nil {
|
|
return x.Auth
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleRequest) GetDownloadConcurrency() int32 {
|
|
if x != nil {
|
|
return x.DownloadConcurrency
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleRequest) GetRemoteConf() *remote_pb.RemoteConf {
|
|
if x != nil {
|
|
return x.RemoteConf
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleRequest) GetRemoteLocation() *remote_pb.RemoteStorageLocation {
|
|
if x != nil {
|
|
return x.RemoteLocation
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FetchAndWriteNeedleResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ETag string `protobuf:"bytes,1,opt,name=e_tag,json=eTag,proto3" json:"e_tag,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleResponse) Reset() {
|
|
*x = FetchAndWriteNeedleResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[96]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FetchAndWriteNeedleResponse) ProtoMessage() {}
|
|
|
|
func (x *FetchAndWriteNeedleResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[96]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FetchAndWriteNeedleResponse.ProtoReflect.Descriptor instead.
|
|
func (*FetchAndWriteNeedleResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{96}
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleResponse) GetETag() string {
|
|
if x != nil {
|
|
return x.ETag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ScrubVolumeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mode VolumeScrubMode `protobuf:"varint,1,opt,name=mode,proto3,enum=volume_server_pb.VolumeScrubMode" json:"mode,omitempty"`
|
|
// optional list of volume IDs to scrub. if empty, all volumes for the server are scrubbed.
|
|
VolumeIds []uint32 `protobuf:"varint,2,rep,packed,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"`
|
|
MarkBrokenVolumesReadonly bool `protobuf:"varint,3,opt,name=mark_broken_volumes_readonly,json=markBrokenVolumesReadonly,proto3" json:"mark_broken_volumes_readonly,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ScrubVolumeRequest) Reset() {
|
|
*x = ScrubVolumeRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[97]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ScrubVolumeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ScrubVolumeRequest) ProtoMessage() {}
|
|
|
|
func (x *ScrubVolumeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[97]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ScrubVolumeRequest.ProtoReflect.Descriptor instead.
|
|
func (*ScrubVolumeRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{97}
|
|
}
|
|
|
|
func (x *ScrubVolumeRequest) GetMode() VolumeScrubMode {
|
|
if x != nil {
|
|
return x.Mode
|
|
}
|
|
return VolumeScrubMode_UNKNOWN
|
|
}
|
|
|
|
func (x *ScrubVolumeRequest) GetVolumeIds() []uint32 {
|
|
if x != nil {
|
|
return x.VolumeIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ScrubVolumeRequest) GetMarkBrokenVolumesReadonly() bool {
|
|
if x != nil {
|
|
return x.MarkBrokenVolumesReadonly
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ScrubVolumeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TotalVolumes uint64 `protobuf:"varint,1,opt,name=total_volumes,json=totalVolumes,proto3" json:"total_volumes,omitempty"`
|
|
TotalFiles uint64 `protobuf:"varint,2,opt,name=total_files,json=totalFiles,proto3" json:"total_files,omitempty"`
|
|
BrokenVolumeIds []uint32 `protobuf:"varint,3,rep,packed,name=broken_volume_ids,json=brokenVolumeIds,proto3" json:"broken_volume_ids,omitempty"`
|
|
Details []string `protobuf:"bytes,4,rep,name=details,proto3" json:"details,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ScrubVolumeResponse) Reset() {
|
|
*x = ScrubVolumeResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[98]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ScrubVolumeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ScrubVolumeResponse) ProtoMessage() {}
|
|
|
|
func (x *ScrubVolumeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[98]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ScrubVolumeResponse.ProtoReflect.Descriptor instead.
|
|
func (*ScrubVolumeResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{98}
|
|
}
|
|
|
|
func (x *ScrubVolumeResponse) GetTotalVolumes() uint64 {
|
|
if x != nil {
|
|
return x.TotalVolumes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ScrubVolumeResponse) GetTotalFiles() uint64 {
|
|
if x != nil {
|
|
return x.TotalFiles
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ScrubVolumeResponse) GetBrokenVolumeIds() []uint32 {
|
|
if x != nil {
|
|
return x.BrokenVolumeIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ScrubVolumeResponse) GetDetails() []string {
|
|
if x != nil {
|
|
return x.Details
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ScrubEcVolumeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mode VolumeScrubMode `protobuf:"varint,1,opt,name=mode,proto3,enum=volume_server_pb.VolumeScrubMode" json:"mode,omitempty"`
|
|
// optional list of volume IDs to scrub. if empty, all EC volumes for the server are scrubbed.
|
|
VolumeIds []uint32 `protobuf:"varint,2,rep,packed,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ScrubEcVolumeRequest) Reset() {
|
|
*x = ScrubEcVolumeRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[99]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ScrubEcVolumeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ScrubEcVolumeRequest) ProtoMessage() {}
|
|
|
|
func (x *ScrubEcVolumeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[99]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ScrubEcVolumeRequest.ProtoReflect.Descriptor instead.
|
|
func (*ScrubEcVolumeRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{99}
|
|
}
|
|
|
|
func (x *ScrubEcVolumeRequest) GetMode() VolumeScrubMode {
|
|
if x != nil {
|
|
return x.Mode
|
|
}
|
|
return VolumeScrubMode_UNKNOWN
|
|
}
|
|
|
|
func (x *ScrubEcVolumeRequest) GetVolumeIds() []uint32 {
|
|
if x != nil {
|
|
return x.VolumeIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ScrubEcVolumeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TotalVolumes uint64 `protobuf:"varint,1,opt,name=total_volumes,json=totalVolumes,proto3" json:"total_volumes,omitempty"`
|
|
TotalFiles uint64 `protobuf:"varint,2,opt,name=total_files,json=totalFiles,proto3" json:"total_files,omitempty"`
|
|
BrokenVolumeIds []uint32 `protobuf:"varint,3,rep,packed,name=broken_volume_ids,json=brokenVolumeIds,proto3" json:"broken_volume_ids,omitempty"`
|
|
BrokenShardInfos []*EcShardInfo `protobuf:"bytes,4,rep,name=broken_shard_infos,json=brokenShardInfos,proto3" json:"broken_shard_infos,omitempty"`
|
|
Details []string `protobuf:"bytes,5,rep,name=details,proto3" json:"details,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ScrubEcVolumeResponse) Reset() {
|
|
*x = ScrubEcVolumeResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[100]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ScrubEcVolumeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ScrubEcVolumeResponse) ProtoMessage() {}
|
|
|
|
func (x *ScrubEcVolumeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[100]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ScrubEcVolumeResponse.ProtoReflect.Descriptor instead.
|
|
func (*ScrubEcVolumeResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{100}
|
|
}
|
|
|
|
func (x *ScrubEcVolumeResponse) GetTotalVolumes() uint64 {
|
|
if x != nil {
|
|
return x.TotalVolumes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ScrubEcVolumeResponse) GetTotalFiles() uint64 {
|
|
if x != nil {
|
|
return x.TotalFiles
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ScrubEcVolumeResponse) GetBrokenVolumeIds() []uint32 {
|
|
if x != nil {
|
|
return x.BrokenVolumeIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ScrubEcVolumeResponse) GetBrokenShardInfos() []*EcShardInfo {
|
|
if x != nil {
|
|
return x.BrokenShardInfos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ScrubEcVolumeResponse) GetDetails() []string {
|
|
if x != nil {
|
|
return x.Details
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// select on volume servers
|
|
type QueryRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Selections []string `protobuf:"bytes,1,rep,name=selections,proto3" json:"selections,omitempty"`
|
|
FromFileIds []string `protobuf:"bytes,2,rep,name=from_file_ids,json=fromFileIds,proto3" json:"from_file_ids,omitempty"`
|
|
Filter *QueryRequest_Filter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
|
|
InputSerialization *QueryRequest_InputSerialization `protobuf:"bytes,4,opt,name=input_serialization,json=inputSerialization,proto3" json:"input_serialization,omitempty"`
|
|
OutputSerialization *QueryRequest_OutputSerialization `protobuf:"bytes,5,opt,name=output_serialization,json=outputSerialization,proto3" json:"output_serialization,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueryRequest) Reset() {
|
|
*x = QueryRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[101]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueryRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueryRequest) ProtoMessage() {}
|
|
|
|
func (x *QueryRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[101]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.
|
|
func (*QueryRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{101}
|
|
}
|
|
|
|
func (x *QueryRequest) GetSelections() []string {
|
|
if x != nil {
|
|
return x.Selections
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QueryRequest) GetFromFileIds() []string {
|
|
if x != nil {
|
|
return x.FromFileIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QueryRequest) GetFilter() *QueryRequest_Filter {
|
|
if x != nil {
|
|
return x.Filter
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QueryRequest) GetInputSerialization() *QueryRequest_InputSerialization {
|
|
if x != nil {
|
|
return x.InputSerialization
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QueryRequest) GetOutputSerialization() *QueryRequest_OutputSerialization {
|
|
if x != nil {
|
|
return x.OutputSerialization
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type QueriedStripe struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Records []byte `protobuf:"bytes,1,opt,name=records,proto3" json:"records,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueriedStripe) Reset() {
|
|
*x = QueriedStripe{}
|
|
mi := &file_volume_server_proto_msgTypes[102]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueriedStripe) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueriedStripe) ProtoMessage() {}
|
|
|
|
func (x *QueriedStripe) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[102]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueriedStripe.ProtoReflect.Descriptor instead.
|
|
func (*QueriedStripe) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{102}
|
|
}
|
|
|
|
func (x *QueriedStripe) GetRecords() []byte {
|
|
if x != nil {
|
|
return x.Records
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VolumeNeedleStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
|
|
NeedleId uint64 `protobuf:"varint,2,opt,name=needle_id,json=needleId,proto3" json:"needle_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeNeedleStatusRequest) Reset() {
|
|
*x = VolumeNeedleStatusRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[103]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeNeedleStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeNeedleStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *VolumeNeedleStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[103]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeNeedleStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*VolumeNeedleStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{103}
|
|
}
|
|
|
|
func (x *VolumeNeedleStatusRequest) GetVolumeId() uint32 {
|
|
if x != nil {
|
|
return x.VolumeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeNeedleStatusRequest) GetNeedleId() uint64 {
|
|
if x != nil {
|
|
return x.NeedleId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type VolumeNeedleStatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NeedleId uint64 `protobuf:"varint,1,opt,name=needle_id,json=needleId,proto3" json:"needle_id,omitempty"`
|
|
Cookie uint32 `protobuf:"varint,2,opt,name=cookie,proto3" json:"cookie,omitempty"`
|
|
Size uint32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
|
|
LastModified uint64 `protobuf:"varint,4,opt,name=last_modified,json=lastModified,proto3" json:"last_modified,omitempty"`
|
|
Crc uint32 `protobuf:"varint,5,opt,name=crc,proto3" json:"crc,omitempty"`
|
|
Ttl string `protobuf:"bytes,6,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VolumeNeedleStatusResponse) Reset() {
|
|
*x = VolumeNeedleStatusResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[104]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VolumeNeedleStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VolumeNeedleStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *VolumeNeedleStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[104]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VolumeNeedleStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*VolumeNeedleStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{104}
|
|
}
|
|
|
|
func (x *VolumeNeedleStatusResponse) GetNeedleId() uint64 {
|
|
if x != nil {
|
|
return x.NeedleId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeNeedleStatusResponse) GetCookie() uint32 {
|
|
if x != nil {
|
|
return x.Cookie
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeNeedleStatusResponse) GetSize() uint32 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeNeedleStatusResponse) GetLastModified() uint64 {
|
|
if x != nil {
|
|
return x.LastModified
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeNeedleStatusResponse) GetCrc() uint32 {
|
|
if x != nil {
|
|
return x.Crc
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *VolumeNeedleStatusResponse) GetTtl() string {
|
|
if x != nil {
|
|
return x.Ttl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PingRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // default to ping itself
|
|
TargetType string `protobuf:"bytes,2,opt,name=target_type,json=targetType,proto3" json:"target_type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PingRequest) Reset() {
|
|
*x = PingRequest{}
|
|
mi := &file_volume_server_proto_msgTypes[105]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PingRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PingRequest) ProtoMessage() {}
|
|
|
|
func (x *PingRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[105]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
|
|
func (*PingRequest) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{105}
|
|
}
|
|
|
|
func (x *PingRequest) GetTarget() string {
|
|
if x != nil {
|
|
return x.Target
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PingRequest) GetTargetType() string {
|
|
if x != nil {
|
|
return x.TargetType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PingResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
StartTimeNs int64 `protobuf:"varint,1,opt,name=start_time_ns,json=startTimeNs,proto3" json:"start_time_ns,omitempty"`
|
|
RemoteTimeNs int64 `protobuf:"varint,2,opt,name=remote_time_ns,json=remoteTimeNs,proto3" json:"remote_time_ns,omitempty"`
|
|
StopTimeNs int64 `protobuf:"varint,3,opt,name=stop_time_ns,json=stopTimeNs,proto3" json:"stop_time_ns,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PingResponse) Reset() {
|
|
*x = PingResponse{}
|
|
mi := &file_volume_server_proto_msgTypes[106]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PingResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PingResponse) ProtoMessage() {}
|
|
|
|
func (x *PingResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[106]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
|
|
func (*PingResponse) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{106}
|
|
}
|
|
|
|
func (x *PingResponse) GetStartTimeNs() int64 {
|
|
if x != nil {
|
|
return x.StartTimeNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PingResponse) GetRemoteTimeNs() int64 {
|
|
if x != nil {
|
|
return x.RemoteTimeNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PingResponse) GetStopTimeNs() int64 {
|
|
if x != nil {
|
|
return x.StopTimeNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FetchAndWriteNeedleRequest_Replica struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
|
PublicUrl string `protobuf:"bytes,2,opt,name=public_url,json=publicUrl,proto3" json:"public_url,omitempty"`
|
|
GrpcPort int32 `protobuf:"varint,3,opt,name=grpc_port,json=grpcPort,proto3" json:"grpc_port,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleRequest_Replica) Reset() {
|
|
*x = FetchAndWriteNeedleRequest_Replica{}
|
|
mi := &file_volume_server_proto_msgTypes[107]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleRequest_Replica) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FetchAndWriteNeedleRequest_Replica) ProtoMessage() {}
|
|
|
|
func (x *FetchAndWriteNeedleRequest_Replica) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[107]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FetchAndWriteNeedleRequest_Replica.ProtoReflect.Descriptor instead.
|
|
func (*FetchAndWriteNeedleRequest_Replica) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{95, 0}
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleRequest_Replica) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleRequest_Replica) GetPublicUrl() string {
|
|
if x != nil {
|
|
return x.PublicUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FetchAndWriteNeedleRequest_Replica) GetGrpcPort() int32 {
|
|
if x != nil {
|
|
return x.GrpcPort
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type QueryRequest_Filter struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
|
|
Operand string `protobuf:"bytes,2,opt,name=operand,proto3" json:"operand,omitempty"`
|
|
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueryRequest_Filter) Reset() {
|
|
*x = QueryRequest_Filter{}
|
|
mi := &file_volume_server_proto_msgTypes[108]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueryRequest_Filter) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueryRequest_Filter) ProtoMessage() {}
|
|
|
|
func (x *QueryRequest_Filter) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[108]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueryRequest_Filter.ProtoReflect.Descriptor instead.
|
|
func (*QueryRequest_Filter) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{101, 0}
|
|
}
|
|
|
|
func (x *QueryRequest_Filter) GetField() string {
|
|
if x != nil {
|
|
return x.Field
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueryRequest_Filter) GetOperand() string {
|
|
if x != nil {
|
|
return x.Operand
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueryRequest_Filter) GetValue() string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type QueryRequest_InputSerialization struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// NONE | GZIP | BZIP2
|
|
CompressionType string `protobuf:"bytes,1,opt,name=compression_type,json=compressionType,proto3" json:"compression_type,omitempty"`
|
|
CsvInput *QueryRequest_InputSerialization_CSVInput `protobuf:"bytes,2,opt,name=csv_input,json=csvInput,proto3" json:"csv_input,omitempty"`
|
|
JsonInput *QueryRequest_InputSerialization_JSONInput `protobuf:"bytes,3,opt,name=json_input,json=jsonInput,proto3" json:"json_input,omitempty"`
|
|
ParquetInput *QueryRequest_InputSerialization_ParquetInput `protobuf:"bytes,4,opt,name=parquet_input,json=parquetInput,proto3" json:"parquet_input,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization) Reset() {
|
|
*x = QueryRequest_InputSerialization{}
|
|
mi := &file_volume_server_proto_msgTypes[109]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueryRequest_InputSerialization) ProtoMessage() {}
|
|
|
|
func (x *QueryRequest_InputSerialization) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[109]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueryRequest_InputSerialization.ProtoReflect.Descriptor instead.
|
|
func (*QueryRequest_InputSerialization) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{101, 1}
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization) GetCompressionType() string {
|
|
if x != nil {
|
|
return x.CompressionType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization) GetCsvInput() *QueryRequest_InputSerialization_CSVInput {
|
|
if x != nil {
|
|
return x.CsvInput
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization) GetJsonInput() *QueryRequest_InputSerialization_JSONInput {
|
|
if x != nil {
|
|
return x.JsonInput
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization) GetParquetInput() *QueryRequest_InputSerialization_ParquetInput {
|
|
if x != nil {
|
|
return x.ParquetInput
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type QueryRequest_OutputSerialization struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CsvOutput *QueryRequest_OutputSerialization_CSVOutput `protobuf:"bytes,2,opt,name=csv_output,json=csvOutput,proto3" json:"csv_output,omitempty"`
|
|
JsonOutput *QueryRequest_OutputSerialization_JSONOutput `protobuf:"bytes,3,opt,name=json_output,json=jsonOutput,proto3" json:"json_output,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueryRequest_OutputSerialization) Reset() {
|
|
*x = QueryRequest_OutputSerialization{}
|
|
mi := &file_volume_server_proto_msgTypes[110]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueryRequest_OutputSerialization) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueryRequest_OutputSerialization) ProtoMessage() {}
|
|
|
|
func (x *QueryRequest_OutputSerialization) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[110]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueryRequest_OutputSerialization.ProtoReflect.Descriptor instead.
|
|
func (*QueryRequest_OutputSerialization) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{101, 2}
|
|
}
|
|
|
|
func (x *QueryRequest_OutputSerialization) GetCsvOutput() *QueryRequest_OutputSerialization_CSVOutput {
|
|
if x != nil {
|
|
return x.CsvOutput
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QueryRequest_OutputSerialization) GetJsonOutput() *QueryRequest_OutputSerialization_JSONOutput {
|
|
if x != nil {
|
|
return x.JsonOutput
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type QueryRequest_InputSerialization_CSVInput struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
FileHeaderInfo string `protobuf:"bytes,1,opt,name=file_header_info,json=fileHeaderInfo,proto3" json:"file_header_info,omitempty"` // Valid values: NONE | USE | IGNORE
|
|
RecordDelimiter string `protobuf:"bytes,2,opt,name=record_delimiter,json=recordDelimiter,proto3" json:"record_delimiter,omitempty"` // Default: \n
|
|
FieldDelimiter string `protobuf:"bytes,3,opt,name=field_delimiter,json=fieldDelimiter,proto3" json:"field_delimiter,omitempty"` // Default: ,
|
|
QuoteCharacter string `protobuf:"bytes,4,opt,name=quote_character,json=quoteCharacter,proto3" json:"quote_character,omitempty"` // Default: "
|
|
QuoteEscapeCharacter string `protobuf:"bytes,5,opt,name=quote_escape_character,json=quoteEscapeCharacter,proto3" json:"quote_escape_character,omitempty"` // Default: "
|
|
Comments string `protobuf:"bytes,6,opt,name=comments,proto3" json:"comments,omitempty"` // Default: #
|
|
// If true, records might contain record delimiters within quote characters
|
|
AllowQuotedRecordDelimiter bool `protobuf:"varint,7,opt,name=allow_quoted_record_delimiter,json=allowQuotedRecordDelimiter,proto3" json:"allow_quoted_record_delimiter,omitempty"` // default False.
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization_CSVInput) Reset() {
|
|
*x = QueryRequest_InputSerialization_CSVInput{}
|
|
mi := &file_volume_server_proto_msgTypes[111]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization_CSVInput) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueryRequest_InputSerialization_CSVInput) ProtoMessage() {}
|
|
|
|
func (x *QueryRequest_InputSerialization_CSVInput) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[111]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueryRequest_InputSerialization_CSVInput.ProtoReflect.Descriptor instead.
|
|
func (*QueryRequest_InputSerialization_CSVInput) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{101, 1, 0}
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization_CSVInput) GetFileHeaderInfo() string {
|
|
if x != nil {
|
|
return x.FileHeaderInfo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization_CSVInput) GetRecordDelimiter() string {
|
|
if x != nil {
|
|
return x.RecordDelimiter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization_CSVInput) GetFieldDelimiter() string {
|
|
if x != nil {
|
|
return x.FieldDelimiter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization_CSVInput) GetQuoteCharacter() string {
|
|
if x != nil {
|
|
return x.QuoteCharacter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization_CSVInput) GetQuoteEscapeCharacter() string {
|
|
if x != nil {
|
|
return x.QuoteEscapeCharacter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization_CSVInput) GetComments() string {
|
|
if x != nil {
|
|
return x.Comments
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization_CSVInput) GetAllowQuotedRecordDelimiter() bool {
|
|
if x != nil {
|
|
return x.AllowQuotedRecordDelimiter
|
|
}
|
|
return false
|
|
}
|
|
|
|
type QueryRequest_InputSerialization_JSONInput struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Valid values: DOCUMENT | LINES
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization_JSONInput) Reset() {
|
|
*x = QueryRequest_InputSerialization_JSONInput{}
|
|
mi := &file_volume_server_proto_msgTypes[112]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization_JSONInput) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueryRequest_InputSerialization_JSONInput) ProtoMessage() {}
|
|
|
|
func (x *QueryRequest_InputSerialization_JSONInput) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[112]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueryRequest_InputSerialization_JSONInput.ProtoReflect.Descriptor instead.
|
|
func (*QueryRequest_InputSerialization_JSONInput) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{101, 1, 1}
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization_JSONInput) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type QueryRequest_InputSerialization_ParquetInput struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization_ParquetInput) Reset() {
|
|
*x = QueryRequest_InputSerialization_ParquetInput{}
|
|
mi := &file_volume_server_proto_msgTypes[113]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueryRequest_InputSerialization_ParquetInput) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueryRequest_InputSerialization_ParquetInput) ProtoMessage() {}
|
|
|
|
func (x *QueryRequest_InputSerialization_ParquetInput) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[113]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueryRequest_InputSerialization_ParquetInput.ProtoReflect.Descriptor instead.
|
|
func (*QueryRequest_InputSerialization_ParquetInput) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{101, 1, 2}
|
|
}
|
|
|
|
type QueryRequest_OutputSerialization_CSVOutput struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
QuoteFields string `protobuf:"bytes,1,opt,name=quote_fields,json=quoteFields,proto3" json:"quote_fields,omitempty"` // Valid values: ALWAYS | ASNEEDED
|
|
RecordDelimiter string `protobuf:"bytes,2,opt,name=record_delimiter,json=recordDelimiter,proto3" json:"record_delimiter,omitempty"` // Default: \n
|
|
FieldDelimiter string `protobuf:"bytes,3,opt,name=field_delimiter,json=fieldDelimiter,proto3" json:"field_delimiter,omitempty"` // Default: ,
|
|
QuoteCharacter string `protobuf:"bytes,4,opt,name=quote_character,json=quoteCharacter,proto3" json:"quote_character,omitempty"` // Default: "
|
|
QuoteEscapeCharacter string `protobuf:"bytes,5,opt,name=quote_escape_character,json=quoteEscapeCharacter,proto3" json:"quote_escape_character,omitempty"` // Default: "
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueryRequest_OutputSerialization_CSVOutput) Reset() {
|
|
*x = QueryRequest_OutputSerialization_CSVOutput{}
|
|
mi := &file_volume_server_proto_msgTypes[114]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueryRequest_OutputSerialization_CSVOutput) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueryRequest_OutputSerialization_CSVOutput) ProtoMessage() {}
|
|
|
|
func (x *QueryRequest_OutputSerialization_CSVOutput) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[114]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueryRequest_OutputSerialization_CSVOutput.ProtoReflect.Descriptor instead.
|
|
func (*QueryRequest_OutputSerialization_CSVOutput) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{101, 2, 0}
|
|
}
|
|
|
|
func (x *QueryRequest_OutputSerialization_CSVOutput) GetQuoteFields() string {
|
|
if x != nil {
|
|
return x.QuoteFields
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueryRequest_OutputSerialization_CSVOutput) GetRecordDelimiter() string {
|
|
if x != nil {
|
|
return x.RecordDelimiter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueryRequest_OutputSerialization_CSVOutput) GetFieldDelimiter() string {
|
|
if x != nil {
|
|
return x.FieldDelimiter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueryRequest_OutputSerialization_CSVOutput) GetQuoteCharacter() string {
|
|
if x != nil {
|
|
return x.QuoteCharacter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueryRequest_OutputSerialization_CSVOutput) GetQuoteEscapeCharacter() string {
|
|
if x != nil {
|
|
return x.QuoteEscapeCharacter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type QueryRequest_OutputSerialization_JSONOutput struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RecordDelimiter string `protobuf:"bytes,1,opt,name=record_delimiter,json=recordDelimiter,proto3" json:"record_delimiter,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueryRequest_OutputSerialization_JSONOutput) Reset() {
|
|
*x = QueryRequest_OutputSerialization_JSONOutput{}
|
|
mi := &file_volume_server_proto_msgTypes[115]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueryRequest_OutputSerialization_JSONOutput) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueryRequest_OutputSerialization_JSONOutput) ProtoMessage() {}
|
|
|
|
func (x *QueryRequest_OutputSerialization_JSONOutput) ProtoReflect() protoreflect.Message {
|
|
mi := &file_volume_server_proto_msgTypes[115]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueryRequest_OutputSerialization_JSONOutput.ProtoReflect.Descriptor instead.
|
|
func (*QueryRequest_OutputSerialization_JSONOutput) Descriptor() ([]byte, []int) {
|
|
return file_volume_server_proto_rawDescGZIP(), []int{101, 2, 1}
|
|
}
|
|
|
|
func (x *QueryRequest_OutputSerialization_JSONOutput) GetRecordDelimiter() string {
|
|
if x != nil {
|
|
return x.RecordDelimiter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_volume_server_proto protoreflect.FileDescriptor
|
|
|
|
const file_volume_server_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x13volume_server.proto\x12\x10volume_server_pb\x1a\fremote.proto\"O\n" +
|
|
"\x11VolumeServerState\x12 \n" +
|
|
"\vmaintenance\x18\x01 \x01(\bR\vmaintenance\x12\x18\n" +
|
|
"\aversion\x18\x02 \x01(\rR\aversion\"[\n" +
|
|
"\x12BatchDeleteRequest\x12\x19\n" +
|
|
"\bfile_ids\x18\x01 \x03(\tR\afileIds\x12*\n" +
|
|
"\x11skip_cookie_check\x18\x02 \x01(\bR\x0fskipCookieCheck\"O\n" +
|
|
"\x13BatchDeleteResponse\x128\n" +
|
|
"\aresults\x18\x01 \x03(\v2\x1e.volume_server_pb.DeleteResultR\aresults\"\x83\x01\n" +
|
|
"\fDeleteResult\x12\x17\n" +
|
|
"\afile_id\x18\x01 \x01(\tR\x06fileId\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\x05R\x06status\x12\x14\n" +
|
|
"\x05error\x18\x03 \x01(\tR\x05error\x12\x12\n" +
|
|
"\x04size\x18\x04 \x01(\rR\x04size\x12\x18\n" +
|
|
"\aversion\x18\x05 \x01(\rR\aversion\"\a\n" +
|
|
"\x05Empty\"7\n" +
|
|
"\x18VacuumVolumeCheckRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\"@\n" +
|
|
"\x19VacuumVolumeCheckResponse\x12#\n" +
|
|
"\rgarbage_ratio\x18\x01 \x01(\x01R\fgarbageRatio\"[\n" +
|
|
"\x1aVacuumVolumeCompactRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12 \n" +
|
|
"\vpreallocate\x18\x02 \x01(\x03R\vpreallocate\"f\n" +
|
|
"\x1bVacuumVolumeCompactResponse\x12'\n" +
|
|
"\x0fprocessed_bytes\x18\x01 \x01(\x03R\x0eprocessedBytes\x12\x1e\n" +
|
|
"\vload_avg_1m\x18\x02 \x01(\x02R\tloadAvg1m\"8\n" +
|
|
"\x19VacuumVolumeCommitRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\"_\n" +
|
|
"\x1aVacuumVolumeCommitResponse\x12 \n" +
|
|
"\fis_read_only\x18\x01 \x01(\bR\n" +
|
|
"isReadOnly\x12\x1f\n" +
|
|
"\vvolume_size\x18\x02 \x01(\x04R\n" +
|
|
"volumeSize\"9\n" +
|
|
"\x1aVacuumVolumeCleanupRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\"\x1d\n" +
|
|
"\x1bVacuumVolumeCleanupResponse\"9\n" +
|
|
"\x17DeleteCollectionRequest\x12\x1e\n" +
|
|
"\n" +
|
|
"collection\x18\x01 \x01(\tR\n" +
|
|
"collection\"\x1a\n" +
|
|
"\x18DeleteCollectionResponse\"\x95\x02\n" +
|
|
"\x15AllocateVolumeRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" +
|
|
"\n" +
|
|
"collection\x18\x02 \x01(\tR\n" +
|
|
"collection\x12 \n" +
|
|
"\vpreallocate\x18\x03 \x01(\x03R\vpreallocate\x12 \n" +
|
|
"\vreplication\x18\x04 \x01(\tR\vreplication\x12\x10\n" +
|
|
"\x03ttl\x18\x05 \x01(\tR\x03ttl\x122\n" +
|
|
"\x16memory_map_max_size_mb\x18\x06 \x01(\rR\x12memoryMapMaxSizeMb\x12\x1b\n" +
|
|
"\tdisk_type\x18\a \x01(\tR\bdiskType\x12\x18\n" +
|
|
"\aversion\x18\b \x01(\rR\aversion\"\x18\n" +
|
|
"\x16AllocateVolumeResponse\"6\n" +
|
|
"\x17VolumeSyncStatusRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\"\x95\x02\n" +
|
|
"\x18VolumeSyncStatusResponse\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" +
|
|
"\n" +
|
|
"collection\x18\x02 \x01(\tR\n" +
|
|
"collection\x12 \n" +
|
|
"\vreplication\x18\x04 \x01(\tR\vreplication\x12\x10\n" +
|
|
"\x03ttl\x18\x05 \x01(\tR\x03ttl\x12\x1f\n" +
|
|
"\vtail_offset\x18\x06 \x01(\x04R\n" +
|
|
"tailOffset\x12)\n" +
|
|
"\x10compact_revision\x18\a \x01(\rR\x0fcompactRevision\x12\"\n" +
|
|
"\ridx_file_size\x18\b \x01(\x04R\vidxFileSize\x12\x18\n" +
|
|
"\aversion\x18\t \x01(\rR\aversion\"V\n" +
|
|
"\x1cVolumeIncrementalCopyRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x19\n" +
|
|
"\bsince_ns\x18\x02 \x01(\x04R\asinceNs\"B\n" +
|
|
"\x1dVolumeIncrementalCopyResponse\x12!\n" +
|
|
"\ffile_content\x18\x01 \x01(\fR\vfileContent\"1\n" +
|
|
"\x12VolumeMountRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\"\x15\n" +
|
|
"\x13VolumeMountResponse\"3\n" +
|
|
"\x14VolumeUnmountRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\"\x17\n" +
|
|
"\x15VolumeUnmountResponse\"{\n" +
|
|
"\x13VolumeDeleteRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1d\n" +
|
|
"\n" +
|
|
"only_empty\x18\x02 \x01(\bR\tonlyEmpty\x12(\n" +
|
|
"\x10keep_remote_data\x18\x03 \x01(\bR\x0ekeepRemoteData\"\x16\n" +
|
|
"\x14VolumeDeleteResponse\"R\n" +
|
|
"\x19VolumeMarkReadonlyRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x18\n" +
|
|
"\apersist\x18\x02 \x01(\bR\apersist\"\x1c\n" +
|
|
"\x1aVolumeMarkReadonlyResponse\"8\n" +
|
|
"\x19VolumeMarkWritableRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\"\x1c\n" +
|
|
"\x1aVolumeMarkWritableResponse\"W\n" +
|
|
"\x16VolumeConfigureRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12 \n" +
|
|
"\vreplication\x18\x02 \x01(\tR\vreplication\"/\n" +
|
|
"\x17VolumeConfigureResponse\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\"2\n" +
|
|
"\x13VolumeStatusRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\"\xa6\x01\n" +
|
|
"\x14VolumeStatusResponse\x12 \n" +
|
|
"\fis_read_only\x18\x01 \x01(\bR\n" +
|
|
"isReadOnly\x12\x1f\n" +
|
|
"\vvolume_size\x18\x02 \x01(\x04R\n" +
|
|
"volumeSize\x12\x1d\n" +
|
|
"\n" +
|
|
"file_count\x18\x03 \x01(\x04R\tfileCount\x12,\n" +
|
|
"\x12file_deleted_count\x18\x04 \x01(\x04R\x10fileDeletedCount\"\x11\n" +
|
|
"\x0fGetStateRequest\"M\n" +
|
|
"\x10GetStateResponse\x129\n" +
|
|
"\x05state\x18\x01 \x01(\v2#.volume_server_pb.VolumeServerStateR\x05state\"L\n" +
|
|
"\x0fSetStateRequest\x129\n" +
|
|
"\x05state\x18\x01 \x01(\v2#.volume_server_pb.VolumeServerStateR\x05state\"M\n" +
|
|
"\x10SetStateResponse\x129\n" +
|
|
"\x05state\x18\x01 \x01(\v2#.volume_server_pb.VolumeServerStateR\x05state\"\xf8\x01\n" +
|
|
"\x11VolumeCopyRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" +
|
|
"\n" +
|
|
"collection\x18\x02 \x01(\tR\n" +
|
|
"collection\x12 \n" +
|
|
"\vreplication\x18\x03 \x01(\tR\vreplication\x12\x10\n" +
|
|
"\x03ttl\x18\x04 \x01(\tR\x03ttl\x12(\n" +
|
|
"\x10source_data_node\x18\x05 \x01(\tR\x0esourceDataNode\x12\x1b\n" +
|
|
"\tdisk_type\x18\x06 \x01(\tR\bdiskType\x12+\n" +
|
|
"\x12io_byte_per_second\x18\a \x01(\x03R\x0fioBytePerSecond\"h\n" +
|
|
"\x12VolumeCopyResponse\x12)\n" +
|
|
"\x11last_append_at_ns\x18\x01 \x01(\x04R\x0elastAppendAtNs\x12'\n" +
|
|
"\x0fprocessed_bytes\x18\x02 \x01(\x03R\x0eprocessedBytes\"\x94\x02\n" +
|
|
"\x0fCopyFileRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x10\n" +
|
|
"\x03ext\x18\x02 \x01(\tR\x03ext\x12/\n" +
|
|
"\x13compaction_revision\x18\x03 \x01(\rR\x12compactionRevision\x12\x1f\n" +
|
|
"\vstop_offset\x18\x04 \x01(\x04R\n" +
|
|
"stopOffset\x12\x1e\n" +
|
|
"\n" +
|
|
"collection\x18\x05 \x01(\tR\n" +
|
|
"collection\x12 \n" +
|
|
"\fis_ec_volume\x18\x06 \x01(\bR\n" +
|
|
"isEcVolume\x12>\n" +
|
|
"\x1cignore_source_file_not_found\x18\a \x01(\bR\x18ignoreSourceFileNotFound\"[\n" +
|
|
"\x10CopyFileResponse\x12!\n" +
|
|
"\ffile_content\x18\x01 \x01(\fR\vfileContent\x12$\n" +
|
|
"\x0emodified_ts_ns\x18\x02 \x01(\x03R\fmodifiedTsNs\"z\n" +
|
|
"\x12ReceiveFileRequest\x127\n" +
|
|
"\x04info\x18\x01 \x01(\v2!.volume_server_pb.ReceiveFileInfoH\x00R\x04info\x12#\n" +
|
|
"\ffile_content\x18\x02 \x01(\fH\x00R\vfileContentB\x06\n" +
|
|
"\x04data\"\xd3\x01\n" +
|
|
"\x0fReceiveFileInfo\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x10\n" +
|
|
"\x03ext\x18\x02 \x01(\tR\x03ext\x12\x1e\n" +
|
|
"\n" +
|
|
"collection\x18\x03 \x01(\tR\n" +
|
|
"collection\x12 \n" +
|
|
"\fis_ec_volume\x18\x04 \x01(\bR\n" +
|
|
"isEcVolume\x12\x19\n" +
|
|
"\bshard_id\x18\x05 \x01(\rR\ashardId\x12\x1b\n" +
|
|
"\tfile_size\x18\x06 \x01(\x04R\bfileSize\x12\x17\n" +
|
|
"\adisk_id\x18\a \x01(\rR\x06diskId\"P\n" +
|
|
"\x13ReceiveFileResponse\x12#\n" +
|
|
"\rbytes_written\x18\x01 \x01(\x04R\fbytesWritten\x12\x14\n" +
|
|
"\x05error\x18\x02 \x01(\tR\x05error\"`\n" +
|
|
"\x15ReadNeedleBlobRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x16\n" +
|
|
"\x06offset\x18\x03 \x01(\x03R\x06offset\x12\x12\n" +
|
|
"\x04size\x18\x04 \x01(\x05R\x04size\"9\n" +
|
|
"\x16ReadNeedleBlobResponse\x12\x1f\n" +
|
|
"\vneedle_blob\x18\x01 \x01(\fR\n" +
|
|
"needleBlob\"}\n" +
|
|
"\x15ReadNeedleMetaRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1b\n" +
|
|
"\tneedle_id\x18\x02 \x01(\x04R\bneedleId\x12\x16\n" +
|
|
"\x06offset\x18\x03 \x01(\x03R\x06offset\x12\x12\n" +
|
|
"\x04size\x18\x04 \x01(\x05R\x04size\"\x9b\x01\n" +
|
|
"\x16ReadNeedleMetaResponse\x12\x16\n" +
|
|
"\x06cookie\x18\x01 \x01(\rR\x06cookie\x12#\n" +
|
|
"\rlast_modified\x18\x02 \x01(\x04R\flastModified\x12\x10\n" +
|
|
"\x03crc\x18\x03 \x01(\rR\x03crc\x12\x10\n" +
|
|
"\x03ttl\x18\x04 \x01(\tR\x03ttl\x12 \n" +
|
|
"\fappend_at_ns\x18\x05 \x01(\x04R\n" +
|
|
"appendAtNs\"\x87\x01\n" +
|
|
"\x16WriteNeedleBlobRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1b\n" +
|
|
"\tneedle_id\x18\x02 \x01(\x04R\bneedleId\x12\x12\n" +
|
|
"\x04size\x18\x03 \x01(\x05R\x04size\x12\x1f\n" +
|
|
"\vneedle_blob\x18\x04 \x01(\fR\n" +
|
|
"needleBlob\"\x19\n" +
|
|
"\x17WriteNeedleBlobResponse\"6\n" +
|
|
"\x15ReadAllNeedlesRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"volume_ids\x18\x01 \x03(\rR\tvolumeIds\"\xa0\x02\n" +
|
|
"\x16ReadAllNeedlesResponse\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1b\n" +
|
|
"\tneedle_id\x18\x02 \x01(\x04R\bneedleId\x12\x16\n" +
|
|
"\x06cookie\x18\x03 \x01(\rR\x06cookie\x12\x1f\n" +
|
|
"\vneedle_blob\x18\x05 \x01(\fR\n" +
|
|
"needleBlob\x124\n" +
|
|
"\x16needle_blob_compressed\x18\x06 \x01(\bR\x14needleBlobCompressed\x12#\n" +
|
|
"\rlast_modified\x18\a \x01(\x04R\flastModified\x12\x10\n" +
|
|
"\x03crc\x18\b \x01(\rR\x03crc\x12\x12\n" +
|
|
"\x04name\x18\t \x01(\fR\x04name\x12\x12\n" +
|
|
"\x04mime\x18\n" +
|
|
" \x01(\fR\x04mime\"\x83\x01\n" +
|
|
"\x17VolumeTailSenderRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x19\n" +
|
|
"\bsince_ns\x18\x02 \x01(\x04R\asinceNs\x120\n" +
|
|
"\x14idle_timeout_seconds\x18\x03 \x01(\rR\x12idleTimeoutSeconds\"\x9e\x01\n" +
|
|
"\x18VolumeTailSenderResponse\x12#\n" +
|
|
"\rneedle_header\x18\x01 \x01(\fR\fneedleHeader\x12\x1f\n" +
|
|
"\vneedle_body\x18\x02 \x01(\fR\n" +
|
|
"needleBody\x12\"\n" +
|
|
"\ris_last_chunk\x18\x03 \x01(\bR\visLastChunk\x12\x18\n" +
|
|
"\aversion\x18\x04 \x01(\rR\aversion\"\xb7\x01\n" +
|
|
"\x19VolumeTailReceiverRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x19\n" +
|
|
"\bsince_ns\x18\x02 \x01(\x04R\asinceNs\x120\n" +
|
|
"\x14idle_timeout_seconds\x18\x03 \x01(\rR\x12idleTimeoutSeconds\x120\n" +
|
|
"\x14source_volume_server\x18\x04 \x01(\tR\x12sourceVolumeServer\"\x1c\n" +
|
|
"\x1aVolumeTailReceiverResponse\"\\\n" +
|
|
"\x1dVolumeEcShardsGenerateRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" +
|
|
"\n" +
|
|
"collection\x18\x02 \x01(\tR\n" +
|
|
"collection\" \n" +
|
|
"\x1eVolumeEcShardsGenerateResponse\"[\n" +
|
|
"\x1cVolumeEcShardsRebuildRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" +
|
|
"\n" +
|
|
"collection\x18\x02 \x01(\tR\n" +
|
|
"collection\"K\n" +
|
|
"\x1dVolumeEcShardsRebuildResponse\x12*\n" +
|
|
"\x11rebuilt_shard_ids\x18\x01 \x03(\rR\x0frebuiltShardIds\"\xa4\x02\n" +
|
|
"\x19VolumeEcShardsCopyRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" +
|
|
"\n" +
|
|
"collection\x18\x02 \x01(\tR\n" +
|
|
"collection\x12\x1b\n" +
|
|
"\tshard_ids\x18\x03 \x03(\rR\bshardIds\x12\"\n" +
|
|
"\rcopy_ecx_file\x18\x04 \x01(\bR\vcopyEcxFile\x12(\n" +
|
|
"\x10source_data_node\x18\x05 \x01(\tR\x0esourceDataNode\x12\"\n" +
|
|
"\rcopy_ecj_file\x18\x06 \x01(\bR\vcopyEcjFile\x12\"\n" +
|
|
"\rcopy_vif_file\x18\a \x01(\bR\vcopyVifFile\x12\x17\n" +
|
|
"\adisk_id\x18\b \x01(\rR\x06diskId\"\x1c\n" +
|
|
"\x1aVolumeEcShardsCopyResponse\"w\n" +
|
|
"\x1bVolumeEcShardsDeleteRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" +
|
|
"\n" +
|
|
"collection\x18\x02 \x01(\tR\n" +
|
|
"collection\x12\x1b\n" +
|
|
"\tshard_ids\x18\x03 \x03(\rR\bshardIds\"\x1e\n" +
|
|
"\x1cVolumeEcShardsDeleteResponse\"v\n" +
|
|
"\x1aVolumeEcShardsMountRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" +
|
|
"\n" +
|
|
"collection\x18\x02 \x01(\tR\n" +
|
|
"collection\x12\x1b\n" +
|
|
"\tshard_ids\x18\x03 \x03(\rR\bshardIds\"\x1d\n" +
|
|
"\x1bVolumeEcShardsMountResponse\"X\n" +
|
|
"\x1cVolumeEcShardsUnmountRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1b\n" +
|
|
"\tshard_ids\x18\x03 \x03(\rR\bshardIds\"\x1f\n" +
|
|
"\x1dVolumeEcShardsUnmountResponse\"\x99\x01\n" +
|
|
"\x18VolumeEcShardReadRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x19\n" +
|
|
"\bshard_id\x18\x02 \x01(\rR\ashardId\x12\x16\n" +
|
|
"\x06offset\x18\x03 \x01(\x03R\x06offset\x12\x12\n" +
|
|
"\x04size\x18\x04 \x01(\x03R\x04size\x12\x19\n" +
|
|
"\bfile_key\x18\x05 \x01(\x04R\afileKey\"N\n" +
|
|
"\x19VolumeEcShardReadResponse\x12\x12\n" +
|
|
"\x04data\x18\x01 \x01(\fR\x04data\x12\x1d\n" +
|
|
"\n" +
|
|
"is_deleted\x18\x02 \x01(\bR\tisDeleted\"\x8d\x01\n" +
|
|
"\x19VolumeEcBlobDeleteRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" +
|
|
"\n" +
|
|
"collection\x18\x02 \x01(\tR\n" +
|
|
"collection\x12\x19\n" +
|
|
"\bfile_key\x18\x03 \x01(\x04R\afileKey\x12\x18\n" +
|
|
"\aversion\x18\x04 \x01(\rR\aversion\"\x1c\n" +
|
|
"\x1aVolumeEcBlobDeleteResponse\"\\\n" +
|
|
"\x1dVolumeEcShardsToVolumeRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" +
|
|
"\n" +
|
|
"collection\x18\x02 \x01(\tR\n" +
|
|
"collection\" \n" +
|
|
"\x1eVolumeEcShardsToVolumeResponse\"8\n" +
|
|
"\x19VolumeEcShardsInfoRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\"\xcf\x01\n" +
|
|
"\x1aVolumeEcShardsInfoResponse\x12C\n" +
|
|
"\x0eec_shard_infos\x18\x01 \x03(\v2\x1d.volume_server_pb.EcShardInfoR\fecShardInfos\x12\x1f\n" +
|
|
"\vvolume_size\x18\x02 \x01(\x04R\n" +
|
|
"volumeSize\x12\x1d\n" +
|
|
"\n" +
|
|
"file_count\x18\x03 \x01(\x04R\tfileCount\x12,\n" +
|
|
"\x12file_deleted_count\x18\x04 \x01(\x04R\x10fileDeletedCount\"y\n" +
|
|
"\vEcShardInfo\x12\x19\n" +
|
|
"\bshard_id\x18\x01 \x01(\rR\ashardId\x12\x12\n" +
|
|
"\x04size\x18\x02 \x01(\x03R\x04size\x12\x1e\n" +
|
|
"\n" +
|
|
"collection\x18\x03 \x01(\tR\n" +
|
|
"collection\x12\x1b\n" +
|
|
"\tvolume_id\x18\x04 \x01(\rR\bvolumeId\":\n" +
|
|
"\x1bReadVolumeFileStatusRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\"\xe3\x03\n" +
|
|
"\x1cReadVolumeFileStatusResponse\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12;\n" +
|
|
"\x1aidx_file_timestamp_seconds\x18\x02 \x01(\x04R\x17idxFileTimestampSeconds\x12\"\n" +
|
|
"\ridx_file_size\x18\x03 \x01(\x04R\vidxFileSize\x12;\n" +
|
|
"\x1adat_file_timestamp_seconds\x18\x04 \x01(\x04R\x17datFileTimestampSeconds\x12\"\n" +
|
|
"\rdat_file_size\x18\x05 \x01(\x04R\vdatFileSize\x12\x1d\n" +
|
|
"\n" +
|
|
"file_count\x18\x06 \x01(\x04R\tfileCount\x12/\n" +
|
|
"\x13compaction_revision\x18\a \x01(\rR\x12compactionRevision\x12\x1e\n" +
|
|
"\n" +
|
|
"collection\x18\b \x01(\tR\n" +
|
|
"collection\x12\x1b\n" +
|
|
"\tdisk_type\x18\t \x01(\tR\bdiskType\x12=\n" +
|
|
"\vvolume_info\x18\n" +
|
|
" \x01(\v2\x1c.volume_server_pb.VolumeInfoR\n" +
|
|
"volumeInfo\x12\x18\n" +
|
|
"\aversion\x18\v \x01(\rR\aversion\"\xbb\x01\n" +
|
|
"\n" +
|
|
"DiskStatus\x12\x10\n" +
|
|
"\x03dir\x18\x01 \x01(\tR\x03dir\x12\x10\n" +
|
|
"\x03all\x18\x02 \x01(\x04R\x03all\x12\x12\n" +
|
|
"\x04used\x18\x03 \x01(\x04R\x04used\x12\x12\n" +
|
|
"\x04free\x18\x04 \x01(\x04R\x04free\x12!\n" +
|
|
"\fpercent_free\x18\x05 \x01(\x02R\vpercentFree\x12!\n" +
|
|
"\fpercent_used\x18\x06 \x01(\x02R\vpercentUsed\x12\x1b\n" +
|
|
"\tdisk_type\x18\a \x01(\tR\bdiskType\"\xa3\x01\n" +
|
|
"\tMemStatus\x12\x1e\n" +
|
|
"\n" +
|
|
"goroutines\x18\x01 \x01(\x05R\n" +
|
|
"goroutines\x12\x10\n" +
|
|
"\x03all\x18\x02 \x01(\x04R\x03all\x12\x12\n" +
|
|
"\x04used\x18\x03 \x01(\x04R\x04used\x12\x12\n" +
|
|
"\x04free\x18\x04 \x01(\x04R\x04free\x12\x12\n" +
|
|
"\x04self\x18\x05 \x01(\x04R\x04self\x12\x12\n" +
|
|
"\x04heap\x18\x06 \x01(\x04R\x04heap\x12\x14\n" +
|
|
"\x05stack\x18\a \x01(\x04R\x05stack\"\xd8\x01\n" +
|
|
"\n" +
|
|
"RemoteFile\x12!\n" +
|
|
"\fbackend_type\x18\x01 \x01(\tR\vbackendType\x12\x1d\n" +
|
|
"\n" +
|
|
"backend_id\x18\x02 \x01(\tR\tbackendId\x12\x10\n" +
|
|
"\x03key\x18\x03 \x01(\tR\x03key\x12\x16\n" +
|
|
"\x06offset\x18\x04 \x01(\x04R\x06offset\x12\x1b\n" +
|
|
"\tfile_size\x18\x05 \x01(\x04R\bfileSize\x12#\n" +
|
|
"\rmodified_time\x18\x06 \x01(\x04R\fmodifiedTime\x12\x1c\n" +
|
|
"\textension\x18\a \x01(\tR\textension\"\xcd\x02\n" +
|
|
"\n" +
|
|
"VolumeInfo\x122\n" +
|
|
"\x05files\x18\x01 \x03(\v2\x1c.volume_server_pb.RemoteFileR\x05files\x12\x18\n" +
|
|
"\aversion\x18\x02 \x01(\rR\aversion\x12 \n" +
|
|
"\vreplication\x18\x03 \x01(\tR\vreplication\x12!\n" +
|
|
"\fbytes_offset\x18\x04 \x01(\rR\vbytesOffset\x12\"\n" +
|
|
"\rdat_file_size\x18\x05 \x01(\x03R\vdatFileSize\x12\"\n" +
|
|
"\rexpire_at_sec\x18\x06 \x01(\x04R\vexpireAtSec\x12\x1b\n" +
|
|
"\tread_only\x18\a \x01(\bR\breadOnly\x12G\n" +
|
|
"\x0fec_shard_config\x18\b \x01(\v2\x1f.volume_server_pb.EcShardConfigR\recShardConfig\"U\n" +
|
|
"\rEcShardConfig\x12\x1f\n" +
|
|
"\vdata_shards\x18\x01 \x01(\rR\n" +
|
|
"dataShards\x12#\n" +
|
|
"\rparity_shards\x18\x02 \x01(\rR\fparityShards\"\x8b\x02\n" +
|
|
"\x14OldVersionVolumeInfo\x122\n" +
|
|
"\x05files\x18\x01 \x03(\v2\x1c.volume_server_pb.RemoteFileR\x05files\x12\x18\n" +
|
|
"\aversion\x18\x02 \x01(\rR\aversion\x12 \n" +
|
|
"\vreplication\x18\x03 \x01(\tR\vreplication\x12 \n" +
|
|
"\vBytesOffset\x18\x04 \x01(\rR\vBytesOffset\x12\"\n" +
|
|
"\rdat_file_size\x18\x05 \x01(\x03R\vdatFileSize\x12 \n" +
|
|
"\vDestroyTime\x18\x06 \x01(\x04R\vDestroyTime\x12\x1b\n" +
|
|
"\tread_only\x18\a \x01(\bR\breadOnly\"\xc8\x01\n" +
|
|
" VolumeTierMoveDatToRemoteRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" +
|
|
"\n" +
|
|
"collection\x18\x02 \x01(\tR\n" +
|
|
"collection\x128\n" +
|
|
"\x18destination_backend_name\x18\x03 \x01(\tR\x16destinationBackendName\x12-\n" +
|
|
"\x13keep_local_dat_file\x18\x04 \x01(\bR\x10keepLocalDatFile\"s\n" +
|
|
"!VolumeTierMoveDatToRemoteResponse\x12\x1c\n" +
|
|
"\tprocessed\x18\x01 \x01(\x03R\tprocessed\x120\n" +
|
|
"\x13processedPercentage\x18\x02 \x01(\x02R\x13processedPercentage\"\x92\x01\n" +
|
|
"\"VolumeTierMoveDatFromRemoteRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1e\n" +
|
|
"\n" +
|
|
"collection\x18\x02 \x01(\tR\n" +
|
|
"collection\x12/\n" +
|
|
"\x14keep_remote_dat_file\x18\x03 \x01(\bR\x11keepRemoteDatFile\"u\n" +
|
|
"#VolumeTierMoveDatFromRemoteResponse\x12\x1c\n" +
|
|
"\tprocessed\x18\x01 \x01(\x03R\tprocessed\x120\n" +
|
|
"\x13processedPercentage\x18\x02 \x01(\x02R\x13processedPercentage\"\x1b\n" +
|
|
"\x19VolumeServerStatusRequest\"\xab\x02\n" +
|
|
"\x1aVolumeServerStatusResponse\x12A\n" +
|
|
"\rdisk_statuses\x18\x01 \x03(\v2\x1c.volume_server_pb.DiskStatusR\fdiskStatuses\x12@\n" +
|
|
"\rmemory_status\x18\x02 \x01(\v2\x1b.volume_server_pb.MemStatusR\fmemoryStatus\x12\x18\n" +
|
|
"\aversion\x18\x03 \x01(\tR\aversion\x12\x1f\n" +
|
|
"\vdata_center\x18\x04 \x01(\tR\n" +
|
|
"dataCenter\x12\x12\n" +
|
|
"\x04rack\x18\x05 \x01(\tR\x04rack\x129\n" +
|
|
"\x05state\x18\x06 \x01(\v2#.volume_server_pb.VolumeServerStateR\x05state\"\x1a\n" +
|
|
"\x18VolumeServerLeaveRequest\"\x1b\n" +
|
|
"\x19VolumeServerLeaveResponse\"\x8f\x04\n" +
|
|
"\x1aFetchAndWriteNeedleRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1b\n" +
|
|
"\tneedle_id\x18\x02 \x01(\x04R\bneedleId\x12\x16\n" +
|
|
"\x06cookie\x18\x03 \x01(\rR\x06cookie\x12\x16\n" +
|
|
"\x06offset\x18\x04 \x01(\x03R\x06offset\x12\x12\n" +
|
|
"\x04size\x18\x05 \x01(\x03R\x04size\x12P\n" +
|
|
"\breplicas\x18\x06 \x03(\v24.volume_server_pb.FetchAndWriteNeedleRequest.ReplicaR\breplicas\x12\x12\n" +
|
|
"\x04auth\x18\a \x01(\tR\x04auth\x121\n" +
|
|
"\x14download_concurrency\x18\b \x01(\x05R\x13downloadConcurrency\x126\n" +
|
|
"\vremote_conf\x18\x0f \x01(\v2\x15.remote_pb.RemoteConfR\n" +
|
|
"remoteConf\x12I\n" +
|
|
"\x0fremote_location\x18\x10 \x01(\v2 .remote_pb.RemoteStorageLocationR\x0eremoteLocation\x1aW\n" +
|
|
"\aReplica\x12\x10\n" +
|
|
"\x03url\x18\x01 \x01(\tR\x03url\x12\x1d\n" +
|
|
"\n" +
|
|
"public_url\x18\x02 \x01(\tR\tpublicUrl\x12\x1b\n" +
|
|
"\tgrpc_port\x18\x03 \x01(\x05R\bgrpcPort\"2\n" +
|
|
"\x1bFetchAndWriteNeedleResponse\x12\x13\n" +
|
|
"\x05e_tag\x18\x01 \x01(\tR\x04eTag\"\xab\x01\n" +
|
|
"\x12ScrubVolumeRequest\x125\n" +
|
|
"\x04mode\x18\x01 \x01(\x0e2!.volume_server_pb.VolumeScrubModeR\x04mode\x12\x1d\n" +
|
|
"\n" +
|
|
"volume_ids\x18\x02 \x03(\rR\tvolumeIds\x12?\n" +
|
|
"\x1cmark_broken_volumes_readonly\x18\x03 \x01(\bR\x19markBrokenVolumesReadonly\"\xa1\x01\n" +
|
|
"\x13ScrubVolumeResponse\x12#\n" +
|
|
"\rtotal_volumes\x18\x01 \x01(\x04R\ftotalVolumes\x12\x1f\n" +
|
|
"\vtotal_files\x18\x02 \x01(\x04R\n" +
|
|
"totalFiles\x12*\n" +
|
|
"\x11broken_volume_ids\x18\x03 \x03(\rR\x0fbrokenVolumeIds\x12\x18\n" +
|
|
"\adetails\x18\x04 \x03(\tR\adetails\"l\n" +
|
|
"\x14ScrubEcVolumeRequest\x125\n" +
|
|
"\x04mode\x18\x01 \x01(\x0e2!.volume_server_pb.VolumeScrubModeR\x04mode\x12\x1d\n" +
|
|
"\n" +
|
|
"volume_ids\x18\x02 \x03(\rR\tvolumeIds\"\xf0\x01\n" +
|
|
"\x15ScrubEcVolumeResponse\x12#\n" +
|
|
"\rtotal_volumes\x18\x01 \x01(\x04R\ftotalVolumes\x12\x1f\n" +
|
|
"\vtotal_files\x18\x02 \x01(\x04R\n" +
|
|
"totalFiles\x12*\n" +
|
|
"\x11broken_volume_ids\x18\x03 \x03(\rR\x0fbrokenVolumeIds\x12K\n" +
|
|
"\x12broken_shard_infos\x18\x04 \x03(\v2\x1d.volume_server_pb.EcShardInfoR\x10brokenShardInfos\x12\x18\n" +
|
|
"\adetails\x18\x05 \x03(\tR\adetails\"\xf4\f\n" +
|
|
"\fQueryRequest\x12\x1e\n" +
|
|
"\n" +
|
|
"selections\x18\x01 \x03(\tR\n" +
|
|
"selections\x12\"\n" +
|
|
"\rfrom_file_ids\x18\x02 \x03(\tR\vfromFileIds\x12=\n" +
|
|
"\x06filter\x18\x03 \x01(\v2%.volume_server_pb.QueryRequest.FilterR\x06filter\x12b\n" +
|
|
"\x13input_serialization\x18\x04 \x01(\v21.volume_server_pb.QueryRequest.InputSerializationR\x12inputSerialization\x12e\n" +
|
|
"\x14output_serialization\x18\x05 \x01(\v22.volume_server_pb.QueryRequest.OutputSerializationR\x13outputSerialization\x1aN\n" +
|
|
"\x06Filter\x12\x14\n" +
|
|
"\x05field\x18\x01 \x01(\tR\x05field\x12\x18\n" +
|
|
"\aoperand\x18\x02 \x01(\tR\aoperand\x12\x14\n" +
|
|
"\x05value\x18\x03 \x01(\tR\x05value\x1a\xd3\x05\n" +
|
|
"\x12InputSerialization\x12)\n" +
|
|
"\x10compression_type\x18\x01 \x01(\tR\x0fcompressionType\x12W\n" +
|
|
"\tcsv_input\x18\x02 \x01(\v2:.volume_server_pb.QueryRequest.InputSerialization.CSVInputR\bcsvInput\x12Z\n" +
|
|
"\n" +
|
|
"json_input\x18\x03 \x01(\v2;.volume_server_pb.QueryRequest.InputSerialization.JSONInputR\tjsonInput\x12c\n" +
|
|
"\rparquet_input\x18\x04 \x01(\v2>.volume_server_pb.QueryRequest.InputSerialization.ParquetInputR\fparquetInput\x1a\xc6\x02\n" +
|
|
"\bCSVInput\x12(\n" +
|
|
"\x10file_header_info\x18\x01 \x01(\tR\x0efileHeaderInfo\x12)\n" +
|
|
"\x10record_delimiter\x18\x02 \x01(\tR\x0frecordDelimiter\x12'\n" +
|
|
"\x0ffield_delimiter\x18\x03 \x01(\tR\x0efieldDelimiter\x12'\n" +
|
|
"\x0fquote_character\x18\x04 \x01(\tR\x0equoteCharacter\x124\n" +
|
|
"\x16quote_escape_character\x18\x05 \x01(\tR\x14quoteEscapeCharacter\x12\x1a\n" +
|
|
"\bcomments\x18\x06 \x01(\tR\bcomments\x12A\n" +
|
|
"\x1dallow_quoted_record_delimiter\x18\a \x01(\bR\x1aallowQuotedRecordDelimiter\x1a\x1f\n" +
|
|
"\tJSONInput\x12\x12\n" +
|
|
"\x04type\x18\x01 \x01(\tR\x04type\x1a\x0e\n" +
|
|
"\fParquetInput\x1a\xef\x03\n" +
|
|
"\x13OutputSerialization\x12[\n" +
|
|
"\n" +
|
|
"csv_output\x18\x02 \x01(\v2<.volume_server_pb.QueryRequest.OutputSerialization.CSVOutputR\tcsvOutput\x12^\n" +
|
|
"\vjson_output\x18\x03 \x01(\v2=.volume_server_pb.QueryRequest.OutputSerialization.JSONOutputR\n" +
|
|
"jsonOutput\x1a\xe1\x01\n" +
|
|
"\tCSVOutput\x12!\n" +
|
|
"\fquote_fields\x18\x01 \x01(\tR\vquoteFields\x12)\n" +
|
|
"\x10record_delimiter\x18\x02 \x01(\tR\x0frecordDelimiter\x12'\n" +
|
|
"\x0ffield_delimiter\x18\x03 \x01(\tR\x0efieldDelimiter\x12'\n" +
|
|
"\x0fquote_character\x18\x04 \x01(\tR\x0equoteCharacter\x124\n" +
|
|
"\x16quote_escape_character\x18\x05 \x01(\tR\x14quoteEscapeCharacter\x1a7\n" +
|
|
"\n" +
|
|
"JSONOutput\x12)\n" +
|
|
"\x10record_delimiter\x18\x01 \x01(\tR\x0frecordDelimiter\")\n" +
|
|
"\rQueriedStripe\x12\x18\n" +
|
|
"\arecords\x18\x01 \x01(\fR\arecords\"U\n" +
|
|
"\x19VolumeNeedleStatusRequest\x12\x1b\n" +
|
|
"\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x1b\n" +
|
|
"\tneedle_id\x18\x02 \x01(\x04R\bneedleId\"\xae\x01\n" +
|
|
"\x1aVolumeNeedleStatusResponse\x12\x1b\n" +
|
|
"\tneedle_id\x18\x01 \x01(\x04R\bneedleId\x12\x16\n" +
|
|
"\x06cookie\x18\x02 \x01(\rR\x06cookie\x12\x12\n" +
|
|
"\x04size\x18\x03 \x01(\rR\x04size\x12#\n" +
|
|
"\rlast_modified\x18\x04 \x01(\x04R\flastModified\x12\x10\n" +
|
|
"\x03crc\x18\x05 \x01(\rR\x03crc\x12\x10\n" +
|
|
"\x03ttl\x18\x06 \x01(\tR\x03ttl\"F\n" +
|
|
"\vPingRequest\x12\x16\n" +
|
|
"\x06target\x18\x01 \x01(\tR\x06target\x12\x1f\n" +
|
|
"\vtarget_type\x18\x02 \x01(\tR\n" +
|
|
"targetType\"z\n" +
|
|
"\fPingResponse\x12\"\n" +
|
|
"\rstart_time_ns\x18\x01 \x01(\x03R\vstartTimeNs\x12$\n" +
|
|
"\x0eremote_time_ns\x18\x02 \x01(\x03R\fremoteTimeNs\x12 \n" +
|
|
"\fstop_time_ns\x18\x03 \x01(\x03R\n" +
|
|
"stopTimeNs*>\n" +
|
|
"\x0fVolumeScrubMode\x12\v\n" +
|
|
"\aUNKNOWN\x10\x00\x12\t\n" +
|
|
"\x05INDEX\x10\x01\x12\b\n" +
|
|
"\x04FULL\x10\x02\x12\t\n" +
|
|
"\x05LOCAL\x10\x032\xfb(\n" +
|
|
"\fVolumeServer\x12\\\n" +
|
|
"\vBatchDelete\x12$.volume_server_pb.BatchDeleteRequest\x1a%.volume_server_pb.BatchDeleteResponse\"\x00\x12n\n" +
|
|
"\x11VacuumVolumeCheck\x12*.volume_server_pb.VacuumVolumeCheckRequest\x1a+.volume_server_pb.VacuumVolumeCheckResponse\"\x00\x12v\n" +
|
|
"\x13VacuumVolumeCompact\x12,.volume_server_pb.VacuumVolumeCompactRequest\x1a-.volume_server_pb.VacuumVolumeCompactResponse\"\x000\x01\x12q\n" +
|
|
"\x12VacuumVolumeCommit\x12+.volume_server_pb.VacuumVolumeCommitRequest\x1a,.volume_server_pb.VacuumVolumeCommitResponse\"\x00\x12t\n" +
|
|
"\x13VacuumVolumeCleanup\x12,.volume_server_pb.VacuumVolumeCleanupRequest\x1a-.volume_server_pb.VacuumVolumeCleanupResponse\"\x00\x12k\n" +
|
|
"\x10DeleteCollection\x12).volume_server_pb.DeleteCollectionRequest\x1a*.volume_server_pb.DeleteCollectionResponse\"\x00\x12e\n" +
|
|
"\x0eAllocateVolume\x12'.volume_server_pb.AllocateVolumeRequest\x1a(.volume_server_pb.AllocateVolumeResponse\"\x00\x12k\n" +
|
|
"\x10VolumeSyncStatus\x12).volume_server_pb.VolumeSyncStatusRequest\x1a*.volume_server_pb.VolumeSyncStatusResponse\"\x00\x12|\n" +
|
|
"\x15VolumeIncrementalCopy\x12..volume_server_pb.VolumeIncrementalCopyRequest\x1a/.volume_server_pb.VolumeIncrementalCopyResponse\"\x000\x01\x12\\\n" +
|
|
"\vVolumeMount\x12$.volume_server_pb.VolumeMountRequest\x1a%.volume_server_pb.VolumeMountResponse\"\x00\x12b\n" +
|
|
"\rVolumeUnmount\x12&.volume_server_pb.VolumeUnmountRequest\x1a'.volume_server_pb.VolumeUnmountResponse\"\x00\x12_\n" +
|
|
"\fVolumeDelete\x12%.volume_server_pb.VolumeDeleteRequest\x1a&.volume_server_pb.VolumeDeleteResponse\"\x00\x12q\n" +
|
|
"\x12VolumeMarkReadonly\x12+.volume_server_pb.VolumeMarkReadonlyRequest\x1a,.volume_server_pb.VolumeMarkReadonlyResponse\"\x00\x12q\n" +
|
|
"\x12VolumeMarkWritable\x12+.volume_server_pb.VolumeMarkWritableRequest\x1a,.volume_server_pb.VolumeMarkWritableResponse\"\x00\x12h\n" +
|
|
"\x0fVolumeConfigure\x12(.volume_server_pb.VolumeConfigureRequest\x1a).volume_server_pb.VolumeConfigureResponse\"\x00\x12_\n" +
|
|
"\fVolumeStatus\x12%.volume_server_pb.VolumeStatusRequest\x1a&.volume_server_pb.VolumeStatusResponse\"\x00\x12S\n" +
|
|
"\bGetState\x12!.volume_server_pb.GetStateRequest\x1a\".volume_server_pb.GetStateResponse\"\x00\x12S\n" +
|
|
"\bSetState\x12!.volume_server_pb.SetStateRequest\x1a\".volume_server_pb.SetStateResponse\"\x00\x12[\n" +
|
|
"\n" +
|
|
"VolumeCopy\x12#.volume_server_pb.VolumeCopyRequest\x1a$.volume_server_pb.VolumeCopyResponse\"\x000\x01\x12w\n" +
|
|
"\x14ReadVolumeFileStatus\x12-.volume_server_pb.ReadVolumeFileStatusRequest\x1a..volume_server_pb.ReadVolumeFileStatusResponse\"\x00\x12U\n" +
|
|
"\bCopyFile\x12!.volume_server_pb.CopyFileRequest\x1a\".volume_server_pb.CopyFileResponse\"\x000\x01\x12^\n" +
|
|
"\vReceiveFile\x12$.volume_server_pb.ReceiveFileRequest\x1a%.volume_server_pb.ReceiveFileResponse\"\x00(\x01\x12e\n" +
|
|
"\x0eReadNeedleBlob\x12'.volume_server_pb.ReadNeedleBlobRequest\x1a(.volume_server_pb.ReadNeedleBlobResponse\"\x00\x12e\n" +
|
|
"\x0eReadNeedleMeta\x12'.volume_server_pb.ReadNeedleMetaRequest\x1a(.volume_server_pb.ReadNeedleMetaResponse\"\x00\x12h\n" +
|
|
"\x0fWriteNeedleBlob\x12(.volume_server_pb.WriteNeedleBlobRequest\x1a).volume_server_pb.WriteNeedleBlobResponse\"\x00\x12g\n" +
|
|
"\x0eReadAllNeedles\x12'.volume_server_pb.ReadAllNeedlesRequest\x1a(.volume_server_pb.ReadAllNeedlesResponse\"\x000\x01\x12m\n" +
|
|
"\x10VolumeTailSender\x12).volume_server_pb.VolumeTailSenderRequest\x1a*.volume_server_pb.VolumeTailSenderResponse\"\x000\x01\x12q\n" +
|
|
"\x12VolumeTailReceiver\x12+.volume_server_pb.VolumeTailReceiverRequest\x1a,.volume_server_pb.VolumeTailReceiverResponse\"\x00\x12}\n" +
|
|
"\x16VolumeEcShardsGenerate\x12/.volume_server_pb.VolumeEcShardsGenerateRequest\x1a0.volume_server_pb.VolumeEcShardsGenerateResponse\"\x00\x12z\n" +
|
|
"\x15VolumeEcShardsRebuild\x12..volume_server_pb.VolumeEcShardsRebuildRequest\x1a/.volume_server_pb.VolumeEcShardsRebuildResponse\"\x00\x12q\n" +
|
|
"\x12VolumeEcShardsCopy\x12+.volume_server_pb.VolumeEcShardsCopyRequest\x1a,.volume_server_pb.VolumeEcShardsCopyResponse\"\x00\x12w\n" +
|
|
"\x14VolumeEcShardsDelete\x12-.volume_server_pb.VolumeEcShardsDeleteRequest\x1a..volume_server_pb.VolumeEcShardsDeleteResponse\"\x00\x12t\n" +
|
|
"\x13VolumeEcShardsMount\x12,.volume_server_pb.VolumeEcShardsMountRequest\x1a-.volume_server_pb.VolumeEcShardsMountResponse\"\x00\x12z\n" +
|
|
"\x15VolumeEcShardsUnmount\x12..volume_server_pb.VolumeEcShardsUnmountRequest\x1a/.volume_server_pb.VolumeEcShardsUnmountResponse\"\x00\x12p\n" +
|
|
"\x11VolumeEcShardRead\x12*.volume_server_pb.VolumeEcShardReadRequest\x1a+.volume_server_pb.VolumeEcShardReadResponse\"\x000\x01\x12q\n" +
|
|
"\x12VolumeEcBlobDelete\x12+.volume_server_pb.VolumeEcBlobDeleteRequest\x1a,.volume_server_pb.VolumeEcBlobDeleteResponse\"\x00\x12}\n" +
|
|
"\x16VolumeEcShardsToVolume\x12/.volume_server_pb.VolumeEcShardsToVolumeRequest\x1a0.volume_server_pb.VolumeEcShardsToVolumeResponse\"\x00\x12q\n" +
|
|
"\x12VolumeEcShardsInfo\x12+.volume_server_pb.VolumeEcShardsInfoRequest\x1a,.volume_server_pb.VolumeEcShardsInfoResponse\"\x00\x12\x88\x01\n" +
|
|
"\x19VolumeTierMoveDatToRemote\x122.volume_server_pb.VolumeTierMoveDatToRemoteRequest\x1a3.volume_server_pb.VolumeTierMoveDatToRemoteResponse\"\x000\x01\x12\x8e\x01\n" +
|
|
"\x1bVolumeTierMoveDatFromRemote\x124.volume_server_pb.VolumeTierMoveDatFromRemoteRequest\x1a5.volume_server_pb.VolumeTierMoveDatFromRemoteResponse\"\x000\x01\x12q\n" +
|
|
"\x12VolumeServerStatus\x12+.volume_server_pb.VolumeServerStatusRequest\x1a,.volume_server_pb.VolumeServerStatusResponse\"\x00\x12n\n" +
|
|
"\x11VolumeServerLeave\x12*.volume_server_pb.VolumeServerLeaveRequest\x1a+.volume_server_pb.VolumeServerLeaveResponse\"\x00\x12t\n" +
|
|
"\x13FetchAndWriteNeedle\x12,.volume_server_pb.FetchAndWriteNeedleRequest\x1a-.volume_server_pb.FetchAndWriteNeedleResponse\"\x00\x12\\\n" +
|
|
"\vScrubVolume\x12$.volume_server_pb.ScrubVolumeRequest\x1a%.volume_server_pb.ScrubVolumeResponse\"\x00\x12b\n" +
|
|
"\rScrubEcVolume\x12&.volume_server_pb.ScrubEcVolumeRequest\x1a'.volume_server_pb.ScrubEcVolumeResponse\"\x00\x12L\n" +
|
|
"\x05Query\x12\x1e.volume_server_pb.QueryRequest\x1a\x1f.volume_server_pb.QueriedStripe\"\x000\x01\x12q\n" +
|
|
"\x12VolumeNeedleStatus\x12+.volume_server_pb.VolumeNeedleStatusRequest\x1a,.volume_server_pb.VolumeNeedleStatusResponse\"\x00\x12G\n" +
|
|
"\x04Ping\x12\x1d.volume_server_pb.PingRequest\x1a\x1e.volume_server_pb.PingResponse\"\x00B9Z7github.com/seaweedfs/seaweedfs/weed/pb/volume_server_pbb\x06proto3"
|
|
|
|
var (
|
|
file_volume_server_proto_rawDescOnce sync.Once
|
|
file_volume_server_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_volume_server_proto_rawDescGZIP() []byte {
|
|
file_volume_server_proto_rawDescOnce.Do(func() {
|
|
file_volume_server_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_volume_server_proto_rawDesc), len(file_volume_server_proto_rawDesc)))
|
|
})
|
|
return file_volume_server_proto_rawDescData
|
|
}
|
|
|
|
var file_volume_server_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_volume_server_proto_msgTypes = make([]protoimpl.MessageInfo, 116)
|
|
var file_volume_server_proto_goTypes = []any{
|
|
(VolumeScrubMode)(0), // 0: volume_server_pb.VolumeScrubMode
|
|
(*VolumeServerState)(nil), // 1: volume_server_pb.VolumeServerState
|
|
(*BatchDeleteRequest)(nil), // 2: volume_server_pb.BatchDeleteRequest
|
|
(*BatchDeleteResponse)(nil), // 3: volume_server_pb.BatchDeleteResponse
|
|
(*DeleteResult)(nil), // 4: volume_server_pb.DeleteResult
|
|
(*Empty)(nil), // 5: volume_server_pb.Empty
|
|
(*VacuumVolumeCheckRequest)(nil), // 6: volume_server_pb.VacuumVolumeCheckRequest
|
|
(*VacuumVolumeCheckResponse)(nil), // 7: volume_server_pb.VacuumVolumeCheckResponse
|
|
(*VacuumVolumeCompactRequest)(nil), // 8: volume_server_pb.VacuumVolumeCompactRequest
|
|
(*VacuumVolumeCompactResponse)(nil), // 9: volume_server_pb.VacuumVolumeCompactResponse
|
|
(*VacuumVolumeCommitRequest)(nil), // 10: volume_server_pb.VacuumVolumeCommitRequest
|
|
(*VacuumVolumeCommitResponse)(nil), // 11: volume_server_pb.VacuumVolumeCommitResponse
|
|
(*VacuumVolumeCleanupRequest)(nil), // 12: volume_server_pb.VacuumVolumeCleanupRequest
|
|
(*VacuumVolumeCleanupResponse)(nil), // 13: volume_server_pb.VacuumVolumeCleanupResponse
|
|
(*DeleteCollectionRequest)(nil), // 14: volume_server_pb.DeleteCollectionRequest
|
|
(*DeleteCollectionResponse)(nil), // 15: volume_server_pb.DeleteCollectionResponse
|
|
(*AllocateVolumeRequest)(nil), // 16: volume_server_pb.AllocateVolumeRequest
|
|
(*AllocateVolumeResponse)(nil), // 17: volume_server_pb.AllocateVolumeResponse
|
|
(*VolumeSyncStatusRequest)(nil), // 18: volume_server_pb.VolumeSyncStatusRequest
|
|
(*VolumeSyncStatusResponse)(nil), // 19: volume_server_pb.VolumeSyncStatusResponse
|
|
(*VolumeIncrementalCopyRequest)(nil), // 20: volume_server_pb.VolumeIncrementalCopyRequest
|
|
(*VolumeIncrementalCopyResponse)(nil), // 21: volume_server_pb.VolumeIncrementalCopyResponse
|
|
(*VolumeMountRequest)(nil), // 22: volume_server_pb.VolumeMountRequest
|
|
(*VolumeMountResponse)(nil), // 23: volume_server_pb.VolumeMountResponse
|
|
(*VolumeUnmountRequest)(nil), // 24: volume_server_pb.VolumeUnmountRequest
|
|
(*VolumeUnmountResponse)(nil), // 25: volume_server_pb.VolumeUnmountResponse
|
|
(*VolumeDeleteRequest)(nil), // 26: volume_server_pb.VolumeDeleteRequest
|
|
(*VolumeDeleteResponse)(nil), // 27: volume_server_pb.VolumeDeleteResponse
|
|
(*VolumeMarkReadonlyRequest)(nil), // 28: volume_server_pb.VolumeMarkReadonlyRequest
|
|
(*VolumeMarkReadonlyResponse)(nil), // 29: volume_server_pb.VolumeMarkReadonlyResponse
|
|
(*VolumeMarkWritableRequest)(nil), // 30: volume_server_pb.VolumeMarkWritableRequest
|
|
(*VolumeMarkWritableResponse)(nil), // 31: volume_server_pb.VolumeMarkWritableResponse
|
|
(*VolumeConfigureRequest)(nil), // 32: volume_server_pb.VolumeConfigureRequest
|
|
(*VolumeConfigureResponse)(nil), // 33: volume_server_pb.VolumeConfigureResponse
|
|
(*VolumeStatusRequest)(nil), // 34: volume_server_pb.VolumeStatusRequest
|
|
(*VolumeStatusResponse)(nil), // 35: volume_server_pb.VolumeStatusResponse
|
|
(*GetStateRequest)(nil), // 36: volume_server_pb.GetStateRequest
|
|
(*GetStateResponse)(nil), // 37: volume_server_pb.GetStateResponse
|
|
(*SetStateRequest)(nil), // 38: volume_server_pb.SetStateRequest
|
|
(*SetStateResponse)(nil), // 39: volume_server_pb.SetStateResponse
|
|
(*VolumeCopyRequest)(nil), // 40: volume_server_pb.VolumeCopyRequest
|
|
(*VolumeCopyResponse)(nil), // 41: volume_server_pb.VolumeCopyResponse
|
|
(*CopyFileRequest)(nil), // 42: volume_server_pb.CopyFileRequest
|
|
(*CopyFileResponse)(nil), // 43: volume_server_pb.CopyFileResponse
|
|
(*ReceiveFileRequest)(nil), // 44: volume_server_pb.ReceiveFileRequest
|
|
(*ReceiveFileInfo)(nil), // 45: volume_server_pb.ReceiveFileInfo
|
|
(*ReceiveFileResponse)(nil), // 46: volume_server_pb.ReceiveFileResponse
|
|
(*ReadNeedleBlobRequest)(nil), // 47: volume_server_pb.ReadNeedleBlobRequest
|
|
(*ReadNeedleBlobResponse)(nil), // 48: volume_server_pb.ReadNeedleBlobResponse
|
|
(*ReadNeedleMetaRequest)(nil), // 49: volume_server_pb.ReadNeedleMetaRequest
|
|
(*ReadNeedleMetaResponse)(nil), // 50: volume_server_pb.ReadNeedleMetaResponse
|
|
(*WriteNeedleBlobRequest)(nil), // 51: volume_server_pb.WriteNeedleBlobRequest
|
|
(*WriteNeedleBlobResponse)(nil), // 52: volume_server_pb.WriteNeedleBlobResponse
|
|
(*ReadAllNeedlesRequest)(nil), // 53: volume_server_pb.ReadAllNeedlesRequest
|
|
(*ReadAllNeedlesResponse)(nil), // 54: volume_server_pb.ReadAllNeedlesResponse
|
|
(*VolumeTailSenderRequest)(nil), // 55: volume_server_pb.VolumeTailSenderRequest
|
|
(*VolumeTailSenderResponse)(nil), // 56: volume_server_pb.VolumeTailSenderResponse
|
|
(*VolumeTailReceiverRequest)(nil), // 57: volume_server_pb.VolumeTailReceiverRequest
|
|
(*VolumeTailReceiverResponse)(nil), // 58: volume_server_pb.VolumeTailReceiverResponse
|
|
(*VolumeEcShardsGenerateRequest)(nil), // 59: volume_server_pb.VolumeEcShardsGenerateRequest
|
|
(*VolumeEcShardsGenerateResponse)(nil), // 60: volume_server_pb.VolumeEcShardsGenerateResponse
|
|
(*VolumeEcShardsRebuildRequest)(nil), // 61: volume_server_pb.VolumeEcShardsRebuildRequest
|
|
(*VolumeEcShardsRebuildResponse)(nil), // 62: volume_server_pb.VolumeEcShardsRebuildResponse
|
|
(*VolumeEcShardsCopyRequest)(nil), // 63: volume_server_pb.VolumeEcShardsCopyRequest
|
|
(*VolumeEcShardsCopyResponse)(nil), // 64: volume_server_pb.VolumeEcShardsCopyResponse
|
|
(*VolumeEcShardsDeleteRequest)(nil), // 65: volume_server_pb.VolumeEcShardsDeleteRequest
|
|
(*VolumeEcShardsDeleteResponse)(nil), // 66: volume_server_pb.VolumeEcShardsDeleteResponse
|
|
(*VolumeEcShardsMountRequest)(nil), // 67: volume_server_pb.VolumeEcShardsMountRequest
|
|
(*VolumeEcShardsMountResponse)(nil), // 68: volume_server_pb.VolumeEcShardsMountResponse
|
|
(*VolumeEcShardsUnmountRequest)(nil), // 69: volume_server_pb.VolumeEcShardsUnmountRequest
|
|
(*VolumeEcShardsUnmountResponse)(nil), // 70: volume_server_pb.VolumeEcShardsUnmountResponse
|
|
(*VolumeEcShardReadRequest)(nil), // 71: volume_server_pb.VolumeEcShardReadRequest
|
|
(*VolumeEcShardReadResponse)(nil), // 72: volume_server_pb.VolumeEcShardReadResponse
|
|
(*VolumeEcBlobDeleteRequest)(nil), // 73: volume_server_pb.VolumeEcBlobDeleteRequest
|
|
(*VolumeEcBlobDeleteResponse)(nil), // 74: volume_server_pb.VolumeEcBlobDeleteResponse
|
|
(*VolumeEcShardsToVolumeRequest)(nil), // 75: volume_server_pb.VolumeEcShardsToVolumeRequest
|
|
(*VolumeEcShardsToVolumeResponse)(nil), // 76: volume_server_pb.VolumeEcShardsToVolumeResponse
|
|
(*VolumeEcShardsInfoRequest)(nil), // 77: volume_server_pb.VolumeEcShardsInfoRequest
|
|
(*VolumeEcShardsInfoResponse)(nil), // 78: volume_server_pb.VolumeEcShardsInfoResponse
|
|
(*EcShardInfo)(nil), // 79: volume_server_pb.EcShardInfo
|
|
(*ReadVolumeFileStatusRequest)(nil), // 80: volume_server_pb.ReadVolumeFileStatusRequest
|
|
(*ReadVolumeFileStatusResponse)(nil), // 81: volume_server_pb.ReadVolumeFileStatusResponse
|
|
(*DiskStatus)(nil), // 82: volume_server_pb.DiskStatus
|
|
(*MemStatus)(nil), // 83: volume_server_pb.MemStatus
|
|
(*RemoteFile)(nil), // 84: volume_server_pb.RemoteFile
|
|
(*VolumeInfo)(nil), // 85: volume_server_pb.VolumeInfo
|
|
(*EcShardConfig)(nil), // 86: volume_server_pb.EcShardConfig
|
|
(*OldVersionVolumeInfo)(nil), // 87: volume_server_pb.OldVersionVolumeInfo
|
|
(*VolumeTierMoveDatToRemoteRequest)(nil), // 88: volume_server_pb.VolumeTierMoveDatToRemoteRequest
|
|
(*VolumeTierMoveDatToRemoteResponse)(nil), // 89: volume_server_pb.VolumeTierMoveDatToRemoteResponse
|
|
(*VolumeTierMoveDatFromRemoteRequest)(nil), // 90: volume_server_pb.VolumeTierMoveDatFromRemoteRequest
|
|
(*VolumeTierMoveDatFromRemoteResponse)(nil), // 91: volume_server_pb.VolumeTierMoveDatFromRemoteResponse
|
|
(*VolumeServerStatusRequest)(nil), // 92: volume_server_pb.VolumeServerStatusRequest
|
|
(*VolumeServerStatusResponse)(nil), // 93: volume_server_pb.VolumeServerStatusResponse
|
|
(*VolumeServerLeaveRequest)(nil), // 94: volume_server_pb.VolumeServerLeaveRequest
|
|
(*VolumeServerLeaveResponse)(nil), // 95: volume_server_pb.VolumeServerLeaveResponse
|
|
(*FetchAndWriteNeedleRequest)(nil), // 96: volume_server_pb.FetchAndWriteNeedleRequest
|
|
(*FetchAndWriteNeedleResponse)(nil), // 97: volume_server_pb.FetchAndWriteNeedleResponse
|
|
(*ScrubVolumeRequest)(nil), // 98: volume_server_pb.ScrubVolumeRequest
|
|
(*ScrubVolumeResponse)(nil), // 99: volume_server_pb.ScrubVolumeResponse
|
|
(*ScrubEcVolumeRequest)(nil), // 100: volume_server_pb.ScrubEcVolumeRequest
|
|
(*ScrubEcVolumeResponse)(nil), // 101: volume_server_pb.ScrubEcVolumeResponse
|
|
(*QueryRequest)(nil), // 102: volume_server_pb.QueryRequest
|
|
(*QueriedStripe)(nil), // 103: volume_server_pb.QueriedStripe
|
|
(*VolumeNeedleStatusRequest)(nil), // 104: volume_server_pb.VolumeNeedleStatusRequest
|
|
(*VolumeNeedleStatusResponse)(nil), // 105: volume_server_pb.VolumeNeedleStatusResponse
|
|
(*PingRequest)(nil), // 106: volume_server_pb.PingRequest
|
|
(*PingResponse)(nil), // 107: volume_server_pb.PingResponse
|
|
(*FetchAndWriteNeedleRequest_Replica)(nil), // 108: volume_server_pb.FetchAndWriteNeedleRequest.Replica
|
|
(*QueryRequest_Filter)(nil), // 109: volume_server_pb.QueryRequest.Filter
|
|
(*QueryRequest_InputSerialization)(nil), // 110: volume_server_pb.QueryRequest.InputSerialization
|
|
(*QueryRequest_OutputSerialization)(nil), // 111: volume_server_pb.QueryRequest.OutputSerialization
|
|
(*QueryRequest_InputSerialization_CSVInput)(nil), // 112: volume_server_pb.QueryRequest.InputSerialization.CSVInput
|
|
(*QueryRequest_InputSerialization_JSONInput)(nil), // 113: volume_server_pb.QueryRequest.InputSerialization.JSONInput
|
|
(*QueryRequest_InputSerialization_ParquetInput)(nil), // 114: volume_server_pb.QueryRequest.InputSerialization.ParquetInput
|
|
(*QueryRequest_OutputSerialization_CSVOutput)(nil), // 115: volume_server_pb.QueryRequest.OutputSerialization.CSVOutput
|
|
(*QueryRequest_OutputSerialization_JSONOutput)(nil), // 116: volume_server_pb.QueryRequest.OutputSerialization.JSONOutput
|
|
(*remote_pb.RemoteConf)(nil), // 117: remote_pb.RemoteConf
|
|
(*remote_pb.RemoteStorageLocation)(nil), // 118: remote_pb.RemoteStorageLocation
|
|
}
|
|
var file_volume_server_proto_depIdxs = []int32{
|
|
4, // 0: volume_server_pb.BatchDeleteResponse.results:type_name -> volume_server_pb.DeleteResult
|
|
1, // 1: volume_server_pb.GetStateResponse.state:type_name -> volume_server_pb.VolumeServerState
|
|
1, // 2: volume_server_pb.SetStateRequest.state:type_name -> volume_server_pb.VolumeServerState
|
|
1, // 3: volume_server_pb.SetStateResponse.state:type_name -> volume_server_pb.VolumeServerState
|
|
45, // 4: volume_server_pb.ReceiveFileRequest.info:type_name -> volume_server_pb.ReceiveFileInfo
|
|
79, // 5: volume_server_pb.VolumeEcShardsInfoResponse.ec_shard_infos:type_name -> volume_server_pb.EcShardInfo
|
|
85, // 6: volume_server_pb.ReadVolumeFileStatusResponse.volume_info:type_name -> volume_server_pb.VolumeInfo
|
|
84, // 7: volume_server_pb.VolumeInfo.files:type_name -> volume_server_pb.RemoteFile
|
|
86, // 8: volume_server_pb.VolumeInfo.ec_shard_config:type_name -> volume_server_pb.EcShardConfig
|
|
84, // 9: volume_server_pb.OldVersionVolumeInfo.files:type_name -> volume_server_pb.RemoteFile
|
|
82, // 10: volume_server_pb.VolumeServerStatusResponse.disk_statuses:type_name -> volume_server_pb.DiskStatus
|
|
83, // 11: volume_server_pb.VolumeServerStatusResponse.memory_status:type_name -> volume_server_pb.MemStatus
|
|
1, // 12: volume_server_pb.VolumeServerStatusResponse.state:type_name -> volume_server_pb.VolumeServerState
|
|
108, // 13: volume_server_pb.FetchAndWriteNeedleRequest.replicas:type_name -> volume_server_pb.FetchAndWriteNeedleRequest.Replica
|
|
117, // 14: volume_server_pb.FetchAndWriteNeedleRequest.remote_conf:type_name -> remote_pb.RemoteConf
|
|
118, // 15: volume_server_pb.FetchAndWriteNeedleRequest.remote_location:type_name -> remote_pb.RemoteStorageLocation
|
|
0, // 16: volume_server_pb.ScrubVolumeRequest.mode:type_name -> volume_server_pb.VolumeScrubMode
|
|
0, // 17: volume_server_pb.ScrubEcVolumeRequest.mode:type_name -> volume_server_pb.VolumeScrubMode
|
|
79, // 18: volume_server_pb.ScrubEcVolumeResponse.broken_shard_infos:type_name -> volume_server_pb.EcShardInfo
|
|
109, // 19: volume_server_pb.QueryRequest.filter:type_name -> volume_server_pb.QueryRequest.Filter
|
|
110, // 20: volume_server_pb.QueryRequest.input_serialization:type_name -> volume_server_pb.QueryRequest.InputSerialization
|
|
111, // 21: volume_server_pb.QueryRequest.output_serialization:type_name -> volume_server_pb.QueryRequest.OutputSerialization
|
|
112, // 22: volume_server_pb.QueryRequest.InputSerialization.csv_input:type_name -> volume_server_pb.QueryRequest.InputSerialization.CSVInput
|
|
113, // 23: volume_server_pb.QueryRequest.InputSerialization.json_input:type_name -> volume_server_pb.QueryRequest.InputSerialization.JSONInput
|
|
114, // 24: volume_server_pb.QueryRequest.InputSerialization.parquet_input:type_name -> volume_server_pb.QueryRequest.InputSerialization.ParquetInput
|
|
115, // 25: volume_server_pb.QueryRequest.OutputSerialization.csv_output:type_name -> volume_server_pb.QueryRequest.OutputSerialization.CSVOutput
|
|
116, // 26: volume_server_pb.QueryRequest.OutputSerialization.json_output:type_name -> volume_server_pb.QueryRequest.OutputSerialization.JSONOutput
|
|
2, // 27: volume_server_pb.VolumeServer.BatchDelete:input_type -> volume_server_pb.BatchDeleteRequest
|
|
6, // 28: volume_server_pb.VolumeServer.VacuumVolumeCheck:input_type -> volume_server_pb.VacuumVolumeCheckRequest
|
|
8, // 29: volume_server_pb.VolumeServer.VacuumVolumeCompact:input_type -> volume_server_pb.VacuumVolumeCompactRequest
|
|
10, // 30: volume_server_pb.VolumeServer.VacuumVolumeCommit:input_type -> volume_server_pb.VacuumVolumeCommitRequest
|
|
12, // 31: volume_server_pb.VolumeServer.VacuumVolumeCleanup:input_type -> volume_server_pb.VacuumVolumeCleanupRequest
|
|
14, // 32: volume_server_pb.VolumeServer.DeleteCollection:input_type -> volume_server_pb.DeleteCollectionRequest
|
|
16, // 33: volume_server_pb.VolumeServer.AllocateVolume:input_type -> volume_server_pb.AllocateVolumeRequest
|
|
18, // 34: volume_server_pb.VolumeServer.VolumeSyncStatus:input_type -> volume_server_pb.VolumeSyncStatusRequest
|
|
20, // 35: volume_server_pb.VolumeServer.VolumeIncrementalCopy:input_type -> volume_server_pb.VolumeIncrementalCopyRequest
|
|
22, // 36: volume_server_pb.VolumeServer.VolumeMount:input_type -> volume_server_pb.VolumeMountRequest
|
|
24, // 37: volume_server_pb.VolumeServer.VolumeUnmount:input_type -> volume_server_pb.VolumeUnmountRequest
|
|
26, // 38: volume_server_pb.VolumeServer.VolumeDelete:input_type -> volume_server_pb.VolumeDeleteRequest
|
|
28, // 39: volume_server_pb.VolumeServer.VolumeMarkReadonly:input_type -> volume_server_pb.VolumeMarkReadonlyRequest
|
|
30, // 40: volume_server_pb.VolumeServer.VolumeMarkWritable:input_type -> volume_server_pb.VolumeMarkWritableRequest
|
|
32, // 41: volume_server_pb.VolumeServer.VolumeConfigure:input_type -> volume_server_pb.VolumeConfigureRequest
|
|
34, // 42: volume_server_pb.VolumeServer.VolumeStatus:input_type -> volume_server_pb.VolumeStatusRequest
|
|
36, // 43: volume_server_pb.VolumeServer.GetState:input_type -> volume_server_pb.GetStateRequest
|
|
38, // 44: volume_server_pb.VolumeServer.SetState:input_type -> volume_server_pb.SetStateRequest
|
|
40, // 45: volume_server_pb.VolumeServer.VolumeCopy:input_type -> volume_server_pb.VolumeCopyRequest
|
|
80, // 46: volume_server_pb.VolumeServer.ReadVolumeFileStatus:input_type -> volume_server_pb.ReadVolumeFileStatusRequest
|
|
42, // 47: volume_server_pb.VolumeServer.CopyFile:input_type -> volume_server_pb.CopyFileRequest
|
|
44, // 48: volume_server_pb.VolumeServer.ReceiveFile:input_type -> volume_server_pb.ReceiveFileRequest
|
|
47, // 49: volume_server_pb.VolumeServer.ReadNeedleBlob:input_type -> volume_server_pb.ReadNeedleBlobRequest
|
|
49, // 50: volume_server_pb.VolumeServer.ReadNeedleMeta:input_type -> volume_server_pb.ReadNeedleMetaRequest
|
|
51, // 51: volume_server_pb.VolumeServer.WriteNeedleBlob:input_type -> volume_server_pb.WriteNeedleBlobRequest
|
|
53, // 52: volume_server_pb.VolumeServer.ReadAllNeedles:input_type -> volume_server_pb.ReadAllNeedlesRequest
|
|
55, // 53: volume_server_pb.VolumeServer.VolumeTailSender:input_type -> volume_server_pb.VolumeTailSenderRequest
|
|
57, // 54: volume_server_pb.VolumeServer.VolumeTailReceiver:input_type -> volume_server_pb.VolumeTailReceiverRequest
|
|
59, // 55: volume_server_pb.VolumeServer.VolumeEcShardsGenerate:input_type -> volume_server_pb.VolumeEcShardsGenerateRequest
|
|
61, // 56: volume_server_pb.VolumeServer.VolumeEcShardsRebuild:input_type -> volume_server_pb.VolumeEcShardsRebuildRequest
|
|
63, // 57: volume_server_pb.VolumeServer.VolumeEcShardsCopy:input_type -> volume_server_pb.VolumeEcShardsCopyRequest
|
|
65, // 58: volume_server_pb.VolumeServer.VolumeEcShardsDelete:input_type -> volume_server_pb.VolumeEcShardsDeleteRequest
|
|
67, // 59: volume_server_pb.VolumeServer.VolumeEcShardsMount:input_type -> volume_server_pb.VolumeEcShardsMountRequest
|
|
69, // 60: volume_server_pb.VolumeServer.VolumeEcShardsUnmount:input_type -> volume_server_pb.VolumeEcShardsUnmountRequest
|
|
71, // 61: volume_server_pb.VolumeServer.VolumeEcShardRead:input_type -> volume_server_pb.VolumeEcShardReadRequest
|
|
73, // 62: volume_server_pb.VolumeServer.VolumeEcBlobDelete:input_type -> volume_server_pb.VolumeEcBlobDeleteRequest
|
|
75, // 63: volume_server_pb.VolumeServer.VolumeEcShardsToVolume:input_type -> volume_server_pb.VolumeEcShardsToVolumeRequest
|
|
77, // 64: volume_server_pb.VolumeServer.VolumeEcShardsInfo:input_type -> volume_server_pb.VolumeEcShardsInfoRequest
|
|
88, // 65: volume_server_pb.VolumeServer.VolumeTierMoveDatToRemote:input_type -> volume_server_pb.VolumeTierMoveDatToRemoteRequest
|
|
90, // 66: volume_server_pb.VolumeServer.VolumeTierMoveDatFromRemote:input_type -> volume_server_pb.VolumeTierMoveDatFromRemoteRequest
|
|
92, // 67: volume_server_pb.VolumeServer.VolumeServerStatus:input_type -> volume_server_pb.VolumeServerStatusRequest
|
|
94, // 68: volume_server_pb.VolumeServer.VolumeServerLeave:input_type -> volume_server_pb.VolumeServerLeaveRequest
|
|
96, // 69: volume_server_pb.VolumeServer.FetchAndWriteNeedle:input_type -> volume_server_pb.FetchAndWriteNeedleRequest
|
|
98, // 70: volume_server_pb.VolumeServer.ScrubVolume:input_type -> volume_server_pb.ScrubVolumeRequest
|
|
100, // 71: volume_server_pb.VolumeServer.ScrubEcVolume:input_type -> volume_server_pb.ScrubEcVolumeRequest
|
|
102, // 72: volume_server_pb.VolumeServer.Query:input_type -> volume_server_pb.QueryRequest
|
|
104, // 73: volume_server_pb.VolumeServer.VolumeNeedleStatus:input_type -> volume_server_pb.VolumeNeedleStatusRequest
|
|
106, // 74: volume_server_pb.VolumeServer.Ping:input_type -> volume_server_pb.PingRequest
|
|
3, // 75: volume_server_pb.VolumeServer.BatchDelete:output_type -> volume_server_pb.BatchDeleteResponse
|
|
7, // 76: volume_server_pb.VolumeServer.VacuumVolumeCheck:output_type -> volume_server_pb.VacuumVolumeCheckResponse
|
|
9, // 77: volume_server_pb.VolumeServer.VacuumVolumeCompact:output_type -> volume_server_pb.VacuumVolumeCompactResponse
|
|
11, // 78: volume_server_pb.VolumeServer.VacuumVolumeCommit:output_type -> volume_server_pb.VacuumVolumeCommitResponse
|
|
13, // 79: volume_server_pb.VolumeServer.VacuumVolumeCleanup:output_type -> volume_server_pb.VacuumVolumeCleanupResponse
|
|
15, // 80: volume_server_pb.VolumeServer.DeleteCollection:output_type -> volume_server_pb.DeleteCollectionResponse
|
|
17, // 81: volume_server_pb.VolumeServer.AllocateVolume:output_type -> volume_server_pb.AllocateVolumeResponse
|
|
19, // 82: volume_server_pb.VolumeServer.VolumeSyncStatus:output_type -> volume_server_pb.VolumeSyncStatusResponse
|
|
21, // 83: volume_server_pb.VolumeServer.VolumeIncrementalCopy:output_type -> volume_server_pb.VolumeIncrementalCopyResponse
|
|
23, // 84: volume_server_pb.VolumeServer.VolumeMount:output_type -> volume_server_pb.VolumeMountResponse
|
|
25, // 85: volume_server_pb.VolumeServer.VolumeUnmount:output_type -> volume_server_pb.VolumeUnmountResponse
|
|
27, // 86: volume_server_pb.VolumeServer.VolumeDelete:output_type -> volume_server_pb.VolumeDeleteResponse
|
|
29, // 87: volume_server_pb.VolumeServer.VolumeMarkReadonly:output_type -> volume_server_pb.VolumeMarkReadonlyResponse
|
|
31, // 88: volume_server_pb.VolumeServer.VolumeMarkWritable:output_type -> volume_server_pb.VolumeMarkWritableResponse
|
|
33, // 89: volume_server_pb.VolumeServer.VolumeConfigure:output_type -> volume_server_pb.VolumeConfigureResponse
|
|
35, // 90: volume_server_pb.VolumeServer.VolumeStatus:output_type -> volume_server_pb.VolumeStatusResponse
|
|
37, // 91: volume_server_pb.VolumeServer.GetState:output_type -> volume_server_pb.GetStateResponse
|
|
39, // 92: volume_server_pb.VolumeServer.SetState:output_type -> volume_server_pb.SetStateResponse
|
|
41, // 93: volume_server_pb.VolumeServer.VolumeCopy:output_type -> volume_server_pb.VolumeCopyResponse
|
|
81, // 94: volume_server_pb.VolumeServer.ReadVolumeFileStatus:output_type -> volume_server_pb.ReadVolumeFileStatusResponse
|
|
43, // 95: volume_server_pb.VolumeServer.CopyFile:output_type -> volume_server_pb.CopyFileResponse
|
|
46, // 96: volume_server_pb.VolumeServer.ReceiveFile:output_type -> volume_server_pb.ReceiveFileResponse
|
|
48, // 97: volume_server_pb.VolumeServer.ReadNeedleBlob:output_type -> volume_server_pb.ReadNeedleBlobResponse
|
|
50, // 98: volume_server_pb.VolumeServer.ReadNeedleMeta:output_type -> volume_server_pb.ReadNeedleMetaResponse
|
|
52, // 99: volume_server_pb.VolumeServer.WriteNeedleBlob:output_type -> volume_server_pb.WriteNeedleBlobResponse
|
|
54, // 100: volume_server_pb.VolumeServer.ReadAllNeedles:output_type -> volume_server_pb.ReadAllNeedlesResponse
|
|
56, // 101: volume_server_pb.VolumeServer.VolumeTailSender:output_type -> volume_server_pb.VolumeTailSenderResponse
|
|
58, // 102: volume_server_pb.VolumeServer.VolumeTailReceiver:output_type -> volume_server_pb.VolumeTailReceiverResponse
|
|
60, // 103: volume_server_pb.VolumeServer.VolumeEcShardsGenerate:output_type -> volume_server_pb.VolumeEcShardsGenerateResponse
|
|
62, // 104: volume_server_pb.VolumeServer.VolumeEcShardsRebuild:output_type -> volume_server_pb.VolumeEcShardsRebuildResponse
|
|
64, // 105: volume_server_pb.VolumeServer.VolumeEcShardsCopy:output_type -> volume_server_pb.VolumeEcShardsCopyResponse
|
|
66, // 106: volume_server_pb.VolumeServer.VolumeEcShardsDelete:output_type -> volume_server_pb.VolumeEcShardsDeleteResponse
|
|
68, // 107: volume_server_pb.VolumeServer.VolumeEcShardsMount:output_type -> volume_server_pb.VolumeEcShardsMountResponse
|
|
70, // 108: volume_server_pb.VolumeServer.VolumeEcShardsUnmount:output_type -> volume_server_pb.VolumeEcShardsUnmountResponse
|
|
72, // 109: volume_server_pb.VolumeServer.VolumeEcShardRead:output_type -> volume_server_pb.VolumeEcShardReadResponse
|
|
74, // 110: volume_server_pb.VolumeServer.VolumeEcBlobDelete:output_type -> volume_server_pb.VolumeEcBlobDeleteResponse
|
|
76, // 111: volume_server_pb.VolumeServer.VolumeEcShardsToVolume:output_type -> volume_server_pb.VolumeEcShardsToVolumeResponse
|
|
78, // 112: volume_server_pb.VolumeServer.VolumeEcShardsInfo:output_type -> volume_server_pb.VolumeEcShardsInfoResponse
|
|
89, // 113: volume_server_pb.VolumeServer.VolumeTierMoveDatToRemote:output_type -> volume_server_pb.VolumeTierMoveDatToRemoteResponse
|
|
91, // 114: volume_server_pb.VolumeServer.VolumeTierMoveDatFromRemote:output_type -> volume_server_pb.VolumeTierMoveDatFromRemoteResponse
|
|
93, // 115: volume_server_pb.VolumeServer.VolumeServerStatus:output_type -> volume_server_pb.VolumeServerStatusResponse
|
|
95, // 116: volume_server_pb.VolumeServer.VolumeServerLeave:output_type -> volume_server_pb.VolumeServerLeaveResponse
|
|
97, // 117: volume_server_pb.VolumeServer.FetchAndWriteNeedle:output_type -> volume_server_pb.FetchAndWriteNeedleResponse
|
|
99, // 118: volume_server_pb.VolumeServer.ScrubVolume:output_type -> volume_server_pb.ScrubVolumeResponse
|
|
101, // 119: volume_server_pb.VolumeServer.ScrubEcVolume:output_type -> volume_server_pb.ScrubEcVolumeResponse
|
|
103, // 120: volume_server_pb.VolumeServer.Query:output_type -> volume_server_pb.QueriedStripe
|
|
105, // 121: volume_server_pb.VolumeServer.VolumeNeedleStatus:output_type -> volume_server_pb.VolumeNeedleStatusResponse
|
|
107, // 122: volume_server_pb.VolumeServer.Ping:output_type -> volume_server_pb.PingResponse
|
|
75, // [75:123] is the sub-list for method output_type
|
|
27, // [27:75] is the sub-list for method input_type
|
|
27, // [27:27] is the sub-list for extension type_name
|
|
27, // [27:27] is the sub-list for extension extendee
|
|
0, // [0:27] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_volume_server_proto_init() }
|
|
func file_volume_server_proto_init() {
|
|
if File_volume_server_proto != nil {
|
|
return
|
|
}
|
|
file_volume_server_proto_msgTypes[43].OneofWrappers = []any{
|
|
(*ReceiveFileRequest_Info)(nil),
|
|
(*ReceiveFileRequest_FileContent)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_volume_server_proto_rawDesc), len(file_volume_server_proto_rawDesc)),
|
|
NumEnums: 1,
|
|
NumMessages: 116,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_volume_server_proto_goTypes,
|
|
DependencyIndexes: file_volume_server_proto_depIdxs,
|
|
EnumInfos: file_volume_server_proto_enumTypes,
|
|
MessageInfos: file_volume_server_proto_msgTypes,
|
|
}.Build()
|
|
File_volume_server_proto = out.File
|
|
file_volume_server_proto_goTypes = nil
|
|
file_volume_server_proto_depIdxs = nil
|
|
}
|