de85d17069
checker_segment_total_count - Number of total segments in pointer during checker iteration checker_segment_healthy_count - Number of healthy segments in pointer during checker iterationn time_since_checker_queue - Seconds elapsed between checker queue and beginning repair time_for_repair - Seconds elapsed between beginning repair and ending repair/dequeueing
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"
|
|
_ "github.com/gogo/protobuf/gogoproto"
|
|
proto "github.com/gogo/protobuf/proto"
|
|
_ "github.com/golang/protobuf/ptypes/timestamp"
|
|
math "math"
|
|
time "time"
|
|
)
|
|
|
|
// 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 string `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() string {
|
|
if m != nil {
|
|
return m.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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{
|
|
// 204 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x48, 0x49, 0x2c, 0x49,
|
|
0x2c, 0x4a, 0x2d, 0x48, 0xcc, 0x2c, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x83, 0xf0,
|
|
0xa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