2020-10-30 11:12:01 +00:00
|
|
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
|
|
// source: inspector.proto
|
|
|
|
|
|
|
|
package internalpb
|
|
|
|
|
|
|
|
import (
|
|
|
|
fmt "fmt"
|
|
|
|
math "math"
|
|
|
|
|
|
|
|
proto "github.com/gogo/protobuf/proto"
|
|
|
|
|
|
|
|
pb "storj.io/common/pb"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
// 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.
|
2021-02-04 09:01:15 +00:00
|
|
|
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
2020-10-30 11:12:01 +00:00
|
|
|
|
|
|
|
type ListIrreparableSegmentsRequest struct {
|
|
|
|
Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
|
|
LastSeenSegmentPath []byte `protobuf:"bytes,2,opt,name=last_seen_segment_path,json=lastSeenSegmentPath,proto3" json:"last_seen_segment_path,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListIrreparableSegmentsRequest) Reset() { *m = ListIrreparableSegmentsRequest{} }
|
|
|
|
func (m *ListIrreparableSegmentsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListIrreparableSegmentsRequest) ProtoMessage() {}
|
|
|
|
func (*ListIrreparableSegmentsRequest) Descriptor() ([]byte, []int) {
|
2021-03-29 10:04:31 +01:00
|
|
|
return fileDescriptor_a07d9034b2dd9d26, []int{0}
|
2020-10-30 11:12:01 +00:00
|
|
|
}
|
|
|
|
func (m *ListIrreparableSegmentsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ListIrreparableSegmentsRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ListIrreparableSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ListIrreparableSegmentsRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ListIrreparableSegmentsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ListIrreparableSegmentsRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ListIrreparableSegmentsRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ListIrreparableSegmentsRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ListIrreparableSegmentsRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ListIrreparableSegmentsRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ListIrreparableSegmentsRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ListIrreparableSegmentsRequest) GetLimit() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Limit
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListIrreparableSegmentsRequest) GetLastSeenSegmentPath() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.LastSeenSegmentPath
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ListIrreparableSegmentsResponse struct {
|
|
|
|
Segments []*IrreparableSegment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ListIrreparableSegmentsResponse) Reset() { *m = ListIrreparableSegmentsResponse{} }
|
|
|
|
func (m *ListIrreparableSegmentsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ListIrreparableSegmentsResponse) ProtoMessage() {}
|
|
|
|
func (*ListIrreparableSegmentsResponse) Descriptor() ([]byte, []int) {
|
2021-03-29 10:04:31 +01:00
|
|
|
return fileDescriptor_a07d9034b2dd9d26, []int{1}
|
2020-10-30 11:12:01 +00:00
|
|
|
}
|
|
|
|
func (m *ListIrreparableSegmentsResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ListIrreparableSegmentsResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ListIrreparableSegmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ListIrreparableSegmentsResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ListIrreparableSegmentsResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ListIrreparableSegmentsResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ListIrreparableSegmentsResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ListIrreparableSegmentsResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ListIrreparableSegmentsResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ListIrreparableSegmentsResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ListIrreparableSegmentsResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ListIrreparableSegmentsResponse) GetSegments() []*IrreparableSegment {
|
|
|
|
if m != nil {
|
|
|
|
return m.Segments
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type IrreparableSegment struct {
|
|
|
|
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
|
|
|
SegmentDetail *pb.Pointer `protobuf:"bytes,2,opt,name=segment_detail,json=segmentDetail,proto3" json:"segment_detail,omitempty"`
|
|
|
|
LostPieces int32 `protobuf:"varint,3,opt,name=lost_pieces,json=lostPieces,proto3" json:"lost_pieces,omitempty"`
|
|
|
|
LastRepairAttempt int64 `protobuf:"varint,4,opt,name=last_repair_attempt,json=lastRepairAttempt,proto3" json:"last_repair_attempt,omitempty"`
|
|
|
|
RepairAttemptCount int64 `protobuf:"varint,5,opt,name=repair_attempt_count,json=repairAttemptCount,proto3" json:"repair_attempt_count,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *IrreparableSegment) Reset() { *m = IrreparableSegment{} }
|
|
|
|
func (m *IrreparableSegment) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*IrreparableSegment) ProtoMessage() {}
|
|
|
|
func (*IrreparableSegment) Descriptor() ([]byte, []int) {
|
2021-03-29 10:04:31 +01:00
|
|
|
return fileDescriptor_a07d9034b2dd9d26, []int{2}
|
2020-10-30 11:12:01 +00:00
|
|
|
}
|
|
|
|
func (m *IrreparableSegment) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_IrreparableSegment.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *IrreparableSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_IrreparableSegment.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *IrreparableSegment) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_IrreparableSegment.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *IrreparableSegment) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_IrreparableSegment.Size(m)
|
|
|
|
}
|
|
|
|
func (m *IrreparableSegment) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_IrreparableSegment.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_IrreparableSegment proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *IrreparableSegment) GetPath() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Path
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *IrreparableSegment) GetSegmentDetail() *pb.Pointer {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentDetail
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *IrreparableSegment) GetLostPieces() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.LostPieces
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *IrreparableSegment) GetLastRepairAttempt() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.LastRepairAttempt
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *IrreparableSegment) GetRepairAttemptCount() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.RepairAttemptCount
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type ObjectHealthRequest struct {
|
|
|
|
EncryptedPath []byte `protobuf:"bytes,1,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
|
|
|
|
Bucket []byte `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
|
|
ProjectId []byte `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
|
|
|
|
StartAfterSegment int64 `protobuf:"varint,4,opt,name=start_after_segment,json=startAfterSegment,proto3" json:"start_after_segment,omitempty"`
|
|
|
|
EndBeforeSegment int64 `protobuf:"varint,5,opt,name=end_before_segment,json=endBeforeSegment,proto3" json:"end_before_segment,omitempty"`
|
|
|
|
Limit int32 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ObjectHealthRequest) Reset() { *m = ObjectHealthRequest{} }
|
|
|
|
func (m *ObjectHealthRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ObjectHealthRequest) ProtoMessage() {}
|
|
|
|
func (*ObjectHealthRequest) Descriptor() ([]byte, []int) {
|
2021-03-29 10:04:31 +01:00
|
|
|
return fileDescriptor_a07d9034b2dd9d26, []int{3}
|
2020-10-30 11:12:01 +00:00
|
|
|
}
|
|
|
|
func (m *ObjectHealthRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ObjectHealthRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ObjectHealthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ObjectHealthRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ObjectHealthRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ObjectHealthRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ObjectHealthRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ObjectHealthRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ObjectHealthRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ObjectHealthRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ObjectHealthRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ObjectHealthRequest) GetEncryptedPath() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.EncryptedPath
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ObjectHealthRequest) GetBucket() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Bucket
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ObjectHealthRequest) GetProjectId() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.ProjectId
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ObjectHealthRequest) GetStartAfterSegment() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.StartAfterSegment
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ObjectHealthRequest) GetEndBeforeSegment() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.EndBeforeSegment
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ObjectHealthRequest) GetLimit() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Limit
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type ObjectHealthResponse struct {
|
|
|
|
Segments []*SegmentHealth `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"`
|
|
|
|
Redundancy *pb.RedundancyScheme `protobuf:"bytes,2,opt,name=redundancy,proto3" json:"redundancy,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ObjectHealthResponse) Reset() { *m = ObjectHealthResponse{} }
|
|
|
|
func (m *ObjectHealthResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ObjectHealthResponse) ProtoMessage() {}
|
|
|
|
func (*ObjectHealthResponse) Descriptor() ([]byte, []int) {
|
2021-03-29 10:04:31 +01:00
|
|
|
return fileDescriptor_a07d9034b2dd9d26, []int{4}
|
2020-10-30 11:12:01 +00:00
|
|
|
}
|
|
|
|
func (m *ObjectHealthResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_ObjectHealthResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *ObjectHealthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_ObjectHealthResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *ObjectHealthResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_ObjectHealthResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *ObjectHealthResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_ObjectHealthResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *ObjectHealthResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_ObjectHealthResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_ObjectHealthResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *ObjectHealthResponse) GetSegments() []*SegmentHealth {
|
|
|
|
if m != nil {
|
|
|
|
return m.Segments
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ObjectHealthResponse) GetRedundancy() *pb.RedundancyScheme {
|
|
|
|
if m != nil {
|
|
|
|
return m.Redundancy
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SegmentHealthRequest struct {
|
|
|
|
Bucket []byte `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
|
|
EncryptedPath []byte `protobuf:"bytes,2,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
|
|
|
|
SegmentIndex int64 `protobuf:"varint,3,opt,name=segment_index,json=segmentIndex,proto3" json:"segment_index,omitempty"`
|
|
|
|
ProjectId []byte `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentHealthRequest) Reset() { *m = SegmentHealthRequest{} }
|
|
|
|
func (m *SegmentHealthRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentHealthRequest) ProtoMessage() {}
|
|
|
|
func (*SegmentHealthRequest) Descriptor() ([]byte, []int) {
|
2021-03-29 10:04:31 +01:00
|
|
|
return fileDescriptor_a07d9034b2dd9d26, []int{5}
|
2020-10-30 11:12:01 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentHealthRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentHealthRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SegmentHealthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentHealthRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *SegmentHealthRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentHealthRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *SegmentHealthRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentHealthRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentHealthRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentHealthRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SegmentHealthRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SegmentHealthRequest) GetBucket() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Bucket
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentHealthRequest) GetEncryptedPath() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.EncryptedPath
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentHealthRequest) GetSegmentIndex() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.SegmentIndex
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentHealthRequest) GetProjectId() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.ProjectId
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SegmentHealthResponse struct {
|
|
|
|
Health *SegmentHealth `protobuf:"bytes,1,opt,name=health,proto3" json:"health,omitempty"`
|
|
|
|
Redundancy *pb.RedundancyScheme `protobuf:"bytes,2,opt,name=redundancy,proto3" json:"redundancy,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentHealthResponse) Reset() { *m = SegmentHealthResponse{} }
|
|
|
|
func (m *SegmentHealthResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentHealthResponse) ProtoMessage() {}
|
|
|
|
func (*SegmentHealthResponse) Descriptor() ([]byte, []int) {
|
2021-03-29 10:04:31 +01:00
|
|
|
return fileDescriptor_a07d9034b2dd9d26, []int{6}
|
2020-10-30 11:12:01 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentHealthResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentHealthResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SegmentHealthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentHealthResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *SegmentHealthResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentHealthResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *SegmentHealthResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentHealthResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentHealthResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentHealthResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SegmentHealthResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SegmentHealthResponse) GetHealth() *SegmentHealth {
|
|
|
|
if m != nil {
|
|
|
|
return m.Health
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentHealthResponse) GetRedundancy() *pb.RedundancyScheme {
|
|
|
|
if m != nil {
|
|
|
|
return m.Redundancy
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SegmentHealth struct {
|
|
|
|
HealthyIds []NodeID `protobuf:"bytes,1,rep,name=healthy_ids,json=healthyIds,proto3,customtype=NodeID" json:"healthy_ids,omitempty"`
|
|
|
|
UnhealthyIds []NodeID `protobuf:"bytes,2,rep,name=unhealthy_ids,json=unhealthyIds,proto3,customtype=NodeID" json:"unhealthy_ids,omitempty"`
|
|
|
|
OfflineIds []NodeID `protobuf:"bytes,3,rep,name=offline_ids,json=offlineIds,proto3,customtype=NodeID" json:"offline_ids,omitempty"`
|
|
|
|
Segment []byte `protobuf:"bytes,4,opt,name=segment,proto3" json:"segment,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *SegmentHealth) Reset() { *m = SegmentHealth{} }
|
|
|
|
func (m *SegmentHealth) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SegmentHealth) ProtoMessage() {}
|
|
|
|
func (*SegmentHealth) Descriptor() ([]byte, []int) {
|
2021-03-29 10:04:31 +01:00
|
|
|
return fileDescriptor_a07d9034b2dd9d26, []int{7}
|
2020-10-30 11:12:01 +00:00
|
|
|
}
|
|
|
|
func (m *SegmentHealth) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SegmentHealth.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SegmentHealth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SegmentHealth.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *SegmentHealth) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SegmentHealth.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *SegmentHealth) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SegmentHealth.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SegmentHealth) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SegmentHealth.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SegmentHealth proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *SegmentHealth) GetSegment() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Segment
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
2020-10-30 15:31:08 +00:00
|
|
|
proto.RegisterType((*ListIrreparableSegmentsRequest)(nil), "satellite.inspector.ListIrreparableSegmentsRequest")
|
|
|
|
proto.RegisterType((*ListIrreparableSegmentsResponse)(nil), "satellite.inspector.ListIrreparableSegmentsResponse")
|
|
|
|
proto.RegisterType((*IrreparableSegment)(nil), "satellite.inspector.IrreparableSegment")
|
|
|
|
proto.RegisterType((*ObjectHealthRequest)(nil), "satellite.inspector.ObjectHealthRequest")
|
|
|
|
proto.RegisterType((*ObjectHealthResponse)(nil), "satellite.inspector.ObjectHealthResponse")
|
|
|
|
proto.RegisterType((*SegmentHealthRequest)(nil), "satellite.inspector.SegmentHealthRequest")
|
|
|
|
proto.RegisterType((*SegmentHealthResponse)(nil), "satellite.inspector.SegmentHealthResponse")
|
|
|
|
proto.RegisterType((*SegmentHealth)(nil), "satellite.inspector.SegmentHealth")
|
2020-10-30 11:12:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { proto.RegisterFile("inspector.proto", fileDescriptor_a07d9034b2dd9d26) }
|
|
|
|
|
|
|
|
var fileDescriptor_a07d9034b2dd9d26 = []byte{
|
2021-03-29 10:04:31 +01:00
|
|
|
// 726 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xcd, 0x6e, 0xd3, 0x40,
|
|
|
|
0x10, 0x66, 0x9b, 0x36, 0xc0, 0x24, 0x69, 0x61, 0x1b, 0x4a, 0x14, 0x04, 0x8d, 0x5c, 0x55, 0xa4,
|
|
|
|
0x14, 0x25, 0x28, 0xe5, 0x02, 0x48, 0x48, 0xfd, 0x39, 0x10, 0x09, 0x41, 0xe5, 0xde, 0xb8, 0x58,
|
|
|
|
0xfe, 0x99, 0x34, 0x6e, 0x9d, 0x5d, 0xb3, 0xbb, 0x91, 0xe8, 0x9d, 0x07, 0x40, 0xe2, 0xc4, 0x81,
|
|
|
|
0xb7, 0xe0, 0x69, 0x38, 0x70, 0xe0, 0x00, 0xaf, 0x81, 0xbc, 0x5e, 0xbb, 0xce, 0x4f, 0x51, 0x10,
|
|
|
|
0xb7, 0xf5, 0x7c, 0xdf, 0xcc, 0xce, 0x7c, 0xdf, 0x64, 0x03, 0x6b, 0x21, 0x93, 0x31, 0xfa, 0x8a,
|
|
|
|
0x8b, 0x4e, 0x2c, 0xb8, 0xe2, 0x74, 0x5d, 0xba, 0x0a, 0xa3, 0x28,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