mirror of
https://github.com/rclone/rclone.git
synced 2024-12-12 18:21:57 +01:00
e7bd392a69
This fixes an important bug with listing that affects users with more than 500 objects in a listing operation.
104 lines
4.0 KiB
Go
104 lines
4.0 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: datarepair.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
fmt "fmt"
|
|
math "math"
|
|
time "time"
|
|
|
|
proto "github.com/gogo/protobuf/proto"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
var _ = time.Kitchen
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
// InjuredSegment is the queue item used for the data repair queue.
|
|
type InjuredSegment struct {
|
|
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
|
LostPieces []int32 `protobuf:"varint,2,rep,packed,name=lost_pieces,json=lostPieces,proto3" json:"lost_pieces,omitempty"`
|
|
InsertedTime time.Time `protobuf:"bytes,3,opt,name=inserted_time,json=insertedTime,proto3,stdtime" json:"inserted_time"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *InjuredSegment) Reset() { *m = InjuredSegment{} }
|
|
func (m *InjuredSegment) String() string { return proto.CompactTextString(m) }
|
|
func (*InjuredSegment) ProtoMessage() {}
|
|
func (*InjuredSegment) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_b1b08e6fe9398aa6, []int{0}
|
|
}
|
|
func (m *InjuredSegment) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_InjuredSegment.Unmarshal(m, b)
|
|
}
|
|
func (m *InjuredSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_InjuredSegment.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *InjuredSegment) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_InjuredSegment.Merge(m, src)
|
|
}
|
|
func (m *InjuredSegment) XXX_Size() int {
|
|
return xxx_messageInfo_InjuredSegment.Size(m)
|
|
}
|
|
func (m *InjuredSegment) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_InjuredSegment.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_InjuredSegment proto.InternalMessageInfo
|
|
|
|
func (m *InjuredSegment) GetPath() []byte {
|
|
if m != nil {
|
|
return m.Path
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *InjuredSegment) GetLostPieces() []int32 {
|
|
if m != nil {
|
|
return m.LostPieces
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *InjuredSegment) GetInsertedTime() time.Time {
|
|
if m != nil {
|
|
return m.InsertedTime
|
|
}
|
|
return time.Time{}
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*InjuredSegment)(nil), "repair.InjuredSegment")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("datarepair.proto", fileDescriptor_b1b08e6fe9398aa6) }
|
|
|
|
var fileDescriptor_b1b08e6fe9398aa6 = []byte{
|
|
// 217 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x34, 0x8e, 0x3f, 0x4e, 0xc3, 0x30,
|
|
0x14, 0x87, 0x31, 0x85, 0x0a, 0xb9, 0x05, 0x21, 0x8b, 0x21, 0xca, 0x92, 0x88, 0x29, 0x93, 0x2d,
|
|
0xc1, 0x0d, 0xba, 0x75, 0x43, 0x81, 0x89, 0xa5, 0x72, 0x9a, 0x87, 0x71, 0x55, 0xfb, 0x59, 0xf6,
|
|
0xeb, 0x3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