004e610d0f
Change-Id: If901d9ff4e5ee6715b963eeeb46513a602a44b3d
105 lines
4.0 KiB
Go
105 lines
4.0 KiB
Go
// 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() {
|
|
proto.RegisterType((*InjuredSegment)(nil), "repair.InjuredSegment")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("datarepair.proto", fileDescriptor_b1b08e6fe9398aa6) }
|
|
|
|
var fileDescriptor_b1b08e6fe9398aa6 = []byte{
|
|
// 226 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x34, 0x8e, 0x41, 0x4e, 0xc3, 0x30,
|
|
0x10, 0x45, 0x31, 0x85, 0x0a, 0xb9, 0x05, 0x21, 0xaf, 0xa2, 0x6c, 0x12, 0x81, 0x90, 0xb2, 0xb2,
|
|
0x25, 0xb8, 0x41, 0x77, 0xdd, 0xa1, 0xc0, 0x8a, 0x4d, 0xe5, 0x90, 0xc1, 0xb8, 0x72, 0x3c, 0x96,
|
|
0x3d, 0xbd, 0x47, 0x8f, 0xc5, 0x29, 0xe0, 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