2020-10-30 10:41:22 +00:00
|
|
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
|
|
// source: datarepair.proto
|
|
|
|
|
|
|
|
package internalpb
|
|
|
|
|
|
|
|
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() {
|
2020-10-30 15:31:08 +00:00
|
|
|
proto.RegisterType((*InjuredSegment)(nil), "satellite.repair.InjuredSegment")
|
2020-10-30 10:41:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { proto.RegisterFile("datarepair.proto", fileDescriptor_b1b08e6fe9398aa6) }
|
|
|
|
|
|
|
|
var fileDescriptor_b1b08e6fe9398aa6 = []byte{
|
2020-10-30 15:31:08 +00:00
|
|
|
// 230 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x3c, 0x8f, 0x4d, 0x4e, 0xc3, 0x30,
|
|
|
|
0x10, 0x85, 0x31, 0x05, 0x84, 0xdc, 0x82, 0x2a, 0xaf, 0xa2, 0x6c, 0x12, 0x81, 0x90, 0xb2, 0xb2,
|
2020-10-30 10:41:22 +00:00
|
|
|
0x25, 0xb8, 0x41, 0x77, 0xdd, 0xa1, 0xc0, 0x8a, 0x4d, 0xe5, 0x90, 0xc1, 0xb8, 0x72, 0x3c, 0x96,
|
2020-10-30 15:31:08 +00:00
|
|
|
0x3d, 0xbd, 0x47, 0x8e, 0xc5, 0x29, 0xe0, 0x2a, 0x28, 0x8e, 0xd2, 0xdd, 0x9b, 0xf7, 0xe6, 0xe7,
|
|
|
|
0x1b, 0xbe, 0xed, 0x35, 0xe9, 0x08, 0x41, 0xdb, 0x28, 0x43, 0x44, 0x42, 0xb1, 0x4d, 0x9a, 0xc0,
|
|
|
|
0x39, 0x4b, 0x20, 0x67, 0xbf, 0xe4, 0x06, 0x0d, 0xce, 0x69, 0x59, 0x19, 0x44, 0xe3, 0x40, 0xe5,
|
|
|
|
0xaa, 0x3b, 0x7d, 0x29, 0xb2, 0x03, 0x24, 0xd2, 0x43, 0x98, 0x1b, 0x1e, 0x46, 0xc6, 0xef, 0xf7,
|
|
|
|
0xfe, 0x78, 0x8a, 0xd0, 0xbf, 0x81, 0x19, 0xc0, 0x93, 0x10, 0xfc, 0x2a, 0x68, 0xfa, 0x2e, 0x58,
|
|
|
|
0xcd, 0x9a, 0x4d, 0x9b, 0xb5, 0xa8, 0xf8, 0xda, 0x61, 0xa2, 0x43, 0xb0, 0xf0, 0x09, 0xa9, 0xb8,
|
|
|
|
0xac, 0x57, 0xcd, 0x75, 0xcb, 0x27, 0xeb, 0x35, 0x3b, 0x62, 0xcf, 0xef, 0xac,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