1// Code generated by protoc-gen-gogo. DO NOT EDIT.
2// source: gracefulexit.proto
3
4package pb
5
6import (
7	fmt "fmt"
8	math "math"
9	time "time"
10
11	proto "github.com/gogo/protobuf/proto"
12)
13
14// Reference imports to suppress errors if they are not otherwise used.
15var _ = proto.Marshal
16var _ = fmt.Errorf
17var _ = math.Inf
18var _ = time.Kitchen
19
20// This is a compile-time assertion to ensure that this generated file
21// is compatible with the proto package it is being compiled against.
22// A compilation error at this line likely means your copy of the
23// proto package needs to be updated.
24const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
25
26type TransferFailed_Error int32
27
28const (
29	TransferFailed_NOT_FOUND                TransferFailed_Error = 0
30	TransferFailed_STORAGE_NODE_UNAVAILABLE TransferFailed_Error = 1
31	TransferFailed_HASH_VERIFICATION        TransferFailed_Error = 2
32	TransferFailed_UNKNOWN                  TransferFailed_Error = 10
33)
34
35var TransferFailed_Error_name = map[int32]string{
36	0:  "NOT_FOUND",
37	1:  "STORAGE_NODE_UNAVAILABLE",
38	2:  "HASH_VERIFICATION",
39	10: "UNKNOWN",
40}
41
42var TransferFailed_Error_value = map[string]int32{
43	"NOT_FOUND":                0,
44	"STORAGE_NODE_UNAVAILABLE": 1,
45	"HASH_VERIFICATION":        2,
46	"UNKNOWN":                  10,
47}
48
49func (x TransferFailed_Error) String() string {
50	return proto.EnumName(TransferFailed_Error_name, int32(x))
51}
52
53func (TransferFailed_Error) EnumDescriptor() ([]byte, []int) {
54	return fileDescriptor_8f0acbf2ce5fa631, []int{3, 0}
55}
56
57type ExitFailed_Reason int32
58
59const (
60	ExitFailed_VERIFICATION_FAILED                 ExitFailed_Reason = 0
61	ExitFailed_INACTIVE_TIMEFRAME_EXCEEDED         ExitFailed_Reason = 1
62	ExitFailed_OVERALL_FAILURE_PERCENTAGE_EXCEEDED ExitFailed_Reason = 2
63)
64
65var ExitFailed_Reason_name = map[int32]string{
66	0: "VERIFICATION_FAILED",
67	1: "INACTIVE_TIMEFRAME_EXCEEDED",
68	2: "OVERALL_FAILURE_PERCENTAGE_EXCEEDED",
69}
70
71var ExitFailed_Reason_value = map[string]int32{
72	"VERIFICATION_FAILED":                 0,
73	"INACTIVE_TIMEFRAME_EXCEEDED":         1,
74	"OVERALL_FAILURE_PERCENTAGE_EXCEEDED": 2,
75}
76
77func (x ExitFailed_Reason) String() string {
78	return proto.EnumName(ExitFailed_Reason_name, int32(x))
79}
80
81func (ExitFailed_Reason) EnumDescriptor() ([]byte, []int) {
82	return fileDescriptor_8f0acbf2ce5fa631, []int{9, 0}
83}
84
85type GracefulExitFeasibilityRequest struct {
86	XXX_NoUnkeyedLiteral struct{} `json:"-"`
87	XXX_unrecognized     []byte   `json:"-"`
88	XXX_sizecache        int32    `json:"-"`
89}
90
91func (m *GracefulExitFeasibilityRequest) Reset()         { *m = GracefulExitFeasibilityRequest{} }
92func (m *GracefulExitFeasibilityRequest) String() string { return proto.CompactTextString(m) }
93func (*GracefulExitFeasibilityRequest) ProtoMessage()    {}
94func (*GracefulExitFeasibilityRequest) Descriptor() ([]byte, []int) {
95	return fileDescriptor_8f0acbf2ce5fa631, []int{0}
96}
97func (m *GracefulExitFeasibilityRequest) XXX_Unmarshal(b []byte) error {
98	return xxx_messageInfo_GracefulExitFeasibilityRequest.Unmarshal(m, b)
99}
100func (m *GracefulExitFeasibilityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
101	return xxx_messageInfo_GracefulExitFeasibilityRequest.Marshal(b, m, deterministic)
102}
103func (m *GracefulExitFeasibilityRequest) XXX_Merge(src proto.Message) {
104	xxx_messageInfo_GracefulExitFeasibilityRequest.Merge(m, src)
105}
106func (m *GracefulExitFeasibilityRequest) XXX_Size() int {
107	return xxx_messageInfo_GracefulExitFeasibilityRequest.Size(m)
108}
109func (m *GracefulExitFeasibilityRequest) XXX_DiscardUnknown() {
110	xxx_messageInfo_GracefulExitFeasibilityRequest.DiscardUnknown(m)
111}
112
113var xxx_messageInfo_GracefulExitFeasibilityRequest proto.InternalMessageInfo
114
115type GracefulExitFeasibilityResponse struct {
116	JoinedAt             time.Time `protobuf:"bytes,1,opt,name=joined_at,json=joinedAt,proto3,stdtime" json:"joined_at"`
117	MonthsRequired       int32     `protobuf:"varint,2,opt,name=months_required,json=monthsRequired,proto3" json:"months_required,omitempty"`
118	IsAllowed            bool      `protobuf:"varint,3,opt,name=is_allowed,json=isAllowed,proto3" json:"is_allowed,omitempty"`
119	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
120	XXX_unrecognized     []byte    `json:"-"`
121	XXX_sizecache        int32     `json:"-"`
122}
123
124func (m *GracefulExitFeasibilityResponse) Reset()         { *m = GracefulExitFeasibilityResponse{} }
125func (m *GracefulExitFeasibilityResponse) String() string { return proto.CompactTextString(m) }
126func (*GracefulExitFeasibilityResponse) ProtoMessage()    {}
127func (*GracefulExitFeasibilityResponse) Descriptor() ([]byte, []int) {
128	return fileDescriptor_8f0acbf2ce5fa631, []int{1}
129}
130func (m *GracefulExitFeasibilityResponse) XXX_Unmarshal(b []byte) error {
131	return xxx_messageInfo_GracefulExitFeasibilityResponse.Unmarshal(m, b)
132}
133func (m *GracefulExitFeasibilityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
134	return xxx_messageInfo_GracefulExitFeasibilityResponse.Marshal(b, m, deterministic)
135}
136func (m *GracefulExitFeasibilityResponse) XXX_Merge(src proto.Message) {
137	xxx_messageInfo_GracefulExitFeasibilityResponse.Merge(m, src)
138}
139func (m *GracefulExitFeasibilityResponse) XXX_Size() int {
140	return xxx_messageInfo_GracefulExitFeasibilityResponse.Size(m)
141}
142func (m *GracefulExitFeasibilityResponse) XXX_DiscardUnknown() {
143	xxx_messageInfo_GracefulExitFeasibilityResponse.DiscardUnknown(m)
144}
145
146var xxx_messageInfo_GracefulExitFeasibilityResponse proto.InternalMessageInfo
147
148func (m *GracefulExitFeasibilityResponse) GetJoinedAt() time.Time {
149	if m != nil {
150		return m.JoinedAt
151	}
152	return time.Time{}
153}
154
155func (m *GracefulExitFeasibilityResponse) GetMonthsRequired() int32 {
156	if m != nil {
157		return m.MonthsRequired
158	}
159	return 0
160}
161
162func (m *GracefulExitFeasibilityResponse) GetIsAllowed() bool {
163	if m != nil {
164		return m.IsAllowed
165	}
166	return false
167}
168
169type TransferSucceeded struct {
170	OriginalOrderLimit   *OrderLimit `protobuf:"bytes,1,opt,name=original_order_limit,json=originalOrderLimit,proto3" json:"original_order_limit,omitempty"`
171	OriginalPieceHash    *PieceHash  `protobuf:"bytes,2,opt,name=original_piece_hash,json=originalPieceHash,proto3" json:"original_piece_hash,omitempty"`
172	ReplacementPieceHash *PieceHash  `protobuf:"bytes,3,opt,name=replacement_piece_hash,json=replacementPieceHash,proto3" json:"replacement_piece_hash,omitempty"`
173	OriginalPieceId      PieceID     `protobuf:"bytes,4,opt,name=original_piece_id,json=originalPieceId,proto3,customtype=PieceID" json:"original_piece_id"`
174	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
175	XXX_unrecognized     []byte      `json:"-"`
176	XXX_sizecache        int32       `json:"-"`
177}
178
179func (m *TransferSucceeded) Reset()         { *m = TransferSucceeded{} }
180func (m *TransferSucceeded) String() string { return proto.CompactTextString(m) }
181func (*TransferSucceeded) ProtoMessage()    {}
182func (*TransferSucceeded) Descriptor() ([]byte, []int) {
183	return fileDescriptor_8f0acbf2ce5fa631, []int{2}
184}
185func (m *TransferSucceeded) XXX_Unmarshal(b []byte) error {
186	return xxx_messageInfo_TransferSucceeded.Unmarshal(m, b)
187}
188func (m *TransferSucceeded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
189	return xxx_messageInfo_TransferSucceeded.Marshal(b, m, deterministic)
190}
191func (m *TransferSucceeded) XXX_Merge(src proto.Message) {
192	xxx_messageInfo_TransferSucceeded.Merge(m, src)
193}
194func (m *TransferSucceeded) XXX_Size() int {
195	return xxx_messageInfo_TransferSucceeded.Size(m)
196}
197func (m *TransferSucceeded) XXX_DiscardUnknown() {
198	xxx_messageInfo_TransferSucceeded.DiscardUnknown(m)
199}
200
201var xxx_messageInfo_TransferSucceeded proto.InternalMessageInfo
202
203func (m *TransferSucceeded) GetOriginalOrderLimit() *OrderLimit {
204	if m != nil {
205		return m.OriginalOrderLimit
206	}
207	return nil
208}
209
210func (m *TransferSucceeded) GetOriginalPieceHash() *PieceHash {
211	if m != nil {
212		return m.OriginalPieceHash
213	}
214	return nil
215}
216
217func (m *TransferSucceeded) GetReplacementPieceHash() *PieceHash {
218	if m != nil {
219		return m.ReplacementPieceHash
220	}
221	return nil
222}
223
224type TransferFailed struct {
225	OriginalPieceId      PieceID              `protobuf:"bytes,1,opt,name=original_piece_id,json=originalPieceId,proto3,customtype=PieceID" json:"original_piece_id"`
226	Error                TransferFailed_Error `protobuf:"varint,2,opt,name=error,proto3,enum=gracefulexit.TransferFailed_Error" json:"error,omitempty"`
227	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
228	XXX_unrecognized     []byte               `json:"-"`
229	XXX_sizecache        int32                `json:"-"`
230}
231
232func (m *TransferFailed) Reset()         { *m = TransferFailed{} }
233func (m *TransferFailed) String() string { return proto.CompactTextString(m) }
234func (*TransferFailed) ProtoMessage()    {}
235func (*TransferFailed) Descriptor() ([]byte, []int) {
236	return fileDescriptor_8f0acbf2ce5fa631, []int{3}
237}
238func (m *TransferFailed) XXX_Unmarshal(b []byte) error {
239	return xxx_messageInfo_TransferFailed.Unmarshal(m, b)
240}
241func (m *TransferFailed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
242	return xxx_messageInfo_TransferFailed.Marshal(b, m, deterministic)
243}
244func (m *TransferFailed) XXX_Merge(src proto.Message) {
245	xxx_messageInfo_TransferFailed.Merge(m, src)
246}
247func (m *TransferFailed) XXX_Size() int {
248	return xxx_messageInfo_TransferFailed.Size(m)
249}
250func (m *TransferFailed) XXX_DiscardUnknown() {
251	xxx_messageInfo_TransferFailed.DiscardUnknown(m)
252}
253
254var xxx_messageInfo_TransferFailed proto.InternalMessageInfo
255
256func (m *TransferFailed) GetError() TransferFailed_Error {
257	if m != nil {
258		return m.Error
259	}
260	return TransferFailed_NOT_FOUND
261}
262
263type StorageNodeMessage struct {
264	// Types that are valid to be assigned to Message:
265	//	*StorageNodeMessage_Succeeded
266	//	*StorageNodeMessage_Failed
267	Message              isStorageNodeMessage_Message `protobuf_oneof:"Message"`
268	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
269	XXX_unrecognized     []byte                       `json:"-"`
270	XXX_sizecache        int32                        `json:"-"`
271}
272
273func (m *StorageNodeMessage) Reset()         { *m = StorageNodeMessage{} }
274func (m *StorageNodeMessage) String() string { return proto.CompactTextString(m) }
275func (*StorageNodeMessage) ProtoMessage()    {}
276func (*StorageNodeMessage) Descriptor() ([]byte, []int) {
277	return fileDescriptor_8f0acbf2ce5fa631, []int{4}
278}
279func (m *StorageNodeMessage) XXX_Unmarshal(b []byte) error {
280	return xxx_messageInfo_StorageNodeMessage.Unmarshal(m, b)
281}
282func (m *StorageNodeMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
283	return xxx_messageInfo_StorageNodeMessage.Marshal(b, m, deterministic)
284}
285func (m *StorageNodeMessage) XXX_Merge(src proto.Message) {
286	xxx_messageInfo_StorageNodeMessage.Merge(m, src)
287}
288func (m *StorageNodeMessage) XXX_Size() int {
289	return xxx_messageInfo_StorageNodeMessage.Size(m)
290}
291func (m *StorageNodeMessage) XXX_DiscardUnknown() {
292	xxx_messageInfo_StorageNodeMessage.DiscardUnknown(m)
293}
294
295var xxx_messageInfo_StorageNodeMessage proto.InternalMessageInfo
296
297type isStorageNodeMessage_Message interface {
298	isStorageNodeMessage_Message()
299}
300
301type StorageNodeMessage_Succeeded struct {
302	Succeeded *TransferSucceeded `protobuf:"bytes,1,opt,name=succeeded,proto3,oneof" json:"succeeded,omitempty"`
303}
304type StorageNodeMessage_Failed struct {
305	Failed *TransferFailed `protobuf:"bytes,2,opt,name=failed,proto3,oneof" json:"failed,omitempty"`
306}
307
308func (*StorageNodeMessage_Succeeded) isStorageNodeMessage_Message() {}
309func (*StorageNodeMessage_Failed) isStorageNodeMessage_Message()    {}
310
311func (m *StorageNodeMessage) GetMessage() isStorageNodeMessage_Message {
312	if m != nil {
313		return m.Message
314	}
315	return nil
316}
317
318func (m *StorageNodeMessage) GetSucceeded() *TransferSucceeded {
319	if x, ok := m.GetMessage().(*StorageNodeMessage_Succeeded); ok {
320		return x.Succeeded
321	}
322	return nil
323}
324
325func (m *StorageNodeMessage) GetFailed() *TransferFailed {
326	if x, ok := m.GetMessage().(*StorageNodeMessage_Failed); ok {
327		return x.Failed
328	}
329	return nil
330}
331
332// XXX_OneofWrappers is for the internal use of the proto package.
333func (*StorageNodeMessage) XXX_OneofWrappers() []interface{} {
334	return []interface{}{
335		(*StorageNodeMessage_Succeeded)(nil),
336		(*StorageNodeMessage_Failed)(nil),
337	}
338}
339
340type NotReady struct {
341	XXX_NoUnkeyedLiteral struct{} `json:"-"`
342	XXX_unrecognized     []byte   `json:"-"`
343	XXX_sizecache        int32    `json:"-"`
344}
345
346func (m *NotReady) Reset()         { *m = NotReady{} }
347func (m *NotReady) String() string { return proto.CompactTextString(m) }
348func (*NotReady) ProtoMessage()    {}
349func (*NotReady) Descriptor() ([]byte, []int) {
350	return fileDescriptor_8f0acbf2ce5fa631, []int{5}
351}
352func (m *NotReady) XXX_Unmarshal(b []byte) error {
353	return xxx_messageInfo_NotReady.Unmarshal(m, b)
354}
355func (m *NotReady) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
356	return xxx_messageInfo_NotReady.Marshal(b, m, deterministic)
357}
358func (m *NotReady) XXX_Merge(src proto.Message) {
359	xxx_messageInfo_NotReady.Merge(m, src)
360}
361func (m *NotReady) XXX_Size() int {
362	return xxx_messageInfo_NotReady.Size(m)
363}
364func (m *NotReady) XXX_DiscardUnknown() {
365	xxx_messageInfo_NotReady.DiscardUnknown(m)
366}
367
368var xxx_messageInfo_NotReady proto.InternalMessageInfo
369
370type TransferPiece struct {
371	OriginalPieceId PieceID         `protobuf:"bytes,1,opt,name=original_piece_id,json=originalPieceId,proto3,customtype=PieceID" json:"original_piece_id"`
372	PrivateKey      PiecePrivateKey `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3,customtype=PiecePrivateKey" json:"private_key"`
373	// addressed_order_limit contains the new piece id.
374	AddressedOrderLimit  *AddressedOrderLimit `protobuf:"bytes,3,opt,name=addressed_order_limit,json=addressedOrderLimit,proto3" json:"addressed_order_limit,omitempty"`
375	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
376	XXX_unrecognized     []byte               `json:"-"`
377	XXX_sizecache        int32                `json:"-"`
378}
379
380func (m *TransferPiece) Reset()         { *m = TransferPiece{} }
381func (m *TransferPiece) String() string { return proto.CompactTextString(m) }
382func (*TransferPiece) ProtoMessage()    {}
383func (*TransferPiece) Descriptor() ([]byte, []int) {
384	return fileDescriptor_8f0acbf2ce5fa631, []int{6}
385}
386func (m *TransferPiece) XXX_Unmarshal(b []byte) error {
387	return xxx_messageInfo_TransferPiece.Unmarshal(m, b)
388}
389func (m *TransferPiece) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
390	return xxx_messageInfo_TransferPiece.Marshal(b, m, deterministic)
391}
392func (m *TransferPiece) XXX_Merge(src proto.Message) {
393	xxx_messageInfo_TransferPiece.Merge(m, src)
394}
395func (m *TransferPiece) XXX_Size() int {
396	return xxx_messageInfo_TransferPiece.Size(m)
397}
398func (m *TransferPiece) XXX_DiscardUnknown() {
399	xxx_messageInfo_TransferPiece.DiscardUnknown(m)
400}
401
402var xxx_messageInfo_TransferPiece proto.InternalMessageInfo
403
404func (m *TransferPiece) GetAddressedOrderLimit() *AddressedOrderLimit {
405	if m != nil {
406		return m.AddressedOrderLimit
407	}
408	return nil
409}
410
411type DeletePiece struct {
412	OriginalPieceId      PieceID  `protobuf:"bytes,1,opt,name=original_piece_id,json=originalPieceId,proto3,customtype=PieceID" json:"original_piece_id"`
413	XXX_NoUnkeyedLiteral struct{} `json:"-"`
414	XXX_unrecognized     []byte   `json:"-"`
415	XXX_sizecache        int32    `json:"-"`
416}
417
418func (m *DeletePiece) Reset()         { *m = DeletePiece{} }
419func (m *DeletePiece) String() string { return proto.CompactTextString(m) }
420func (*DeletePiece) ProtoMessage()    {}
421func (*DeletePiece) Descriptor() ([]byte, []int) {
422	return fileDescriptor_8f0acbf2ce5fa631, []int{7}
423}
424func (m *DeletePiece) XXX_Unmarshal(b []byte) error {
425	return xxx_messageInfo_DeletePiece.Unmarshal(m, b)
426}
427func (m *DeletePiece) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
428	return xxx_messageInfo_DeletePiece.Marshal(b, m, deterministic)
429}
430func (m *DeletePiece) XXX_Merge(src proto.Message) {
431	xxx_messageInfo_DeletePiece.Merge(m, src)
432}
433func (m *DeletePiece) XXX_Size() int {
434	return xxx_messageInfo_DeletePiece.Size(m)
435}
436func (m *DeletePiece) XXX_DiscardUnknown() {
437	xxx_messageInfo_DeletePiece.DiscardUnknown(m)
438}
439
440var xxx_messageInfo_DeletePiece proto.InternalMessageInfo
441
442type ExitCompleted struct {
443	// when everything is completed
444	ExitCompleteSignature []byte `protobuf:"bytes,1,opt,name=exit_complete_signature,json=exitCompleteSignature,proto3" json:"exit_complete_signature,omitempty"`
445	// satellite who issued this exit completed
446	SatelliteId NodeID `protobuf:"bytes,2,opt,name=satellite_id,json=satelliteId,proto3,customtype=NodeID" json:"satellite_id"`
447	// storage node this exit completed was issued to
448	NodeId NodeID `protobuf:"bytes,3,opt,name=node_id,json=nodeId,proto3,customtype=NodeID" json:"node_id"`
449	// timestamp when the exit completed
450	Completed            time.Time `protobuf:"bytes,4,opt,name=completed,proto3,stdtime" json:"completed"`
451	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
452	XXX_unrecognized     []byte    `json:"-"`
453	XXX_sizecache        int32     `json:"-"`
454}
455
456func (m *ExitCompleted) Reset()         { *m = ExitCompleted{} }
457func (m *ExitCompleted) String() string { return proto.CompactTextString(m) }
458func (*ExitCompleted) ProtoMessage()    {}
459func (*ExitCompleted) Descriptor() ([]byte, []int) {
460	return fileDescriptor_8f0acbf2ce5fa631, []int{8}
461}
462func (m *ExitCompleted) XXX_Unmarshal(b []byte) error {
463	return xxx_messageInfo_ExitCompleted.Unmarshal(m, b)
464}
465func (m *ExitCompleted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
466	return xxx_messageInfo_ExitCompleted.Marshal(b, m, deterministic)
467}
468func (m *ExitCompleted) XXX_Merge(src proto.Message) {
469	xxx_messageInfo_ExitCompleted.Merge(m, src)
470}
471func (m *ExitCompleted) XXX_Size() int {
472	return xxx_messageInfo_ExitCompleted.Size(m)
473}
474func (m *ExitCompleted) XXX_DiscardUnknown() {
475	xxx_messageInfo_ExitCompleted.DiscardUnknown(m)
476}
477
478var xxx_messageInfo_ExitCompleted proto.InternalMessageInfo
479
480func (m *ExitCompleted) GetExitCompleteSignature() []byte {
481	if m != nil {
482		return m.ExitCompleteSignature
483	}
484	return nil
485}
486
487func (m *ExitCompleted) GetCompleted() time.Time {
488	if m != nil {
489		return m.Completed
490	}
491	return time.Time{}
492}
493
494type ExitFailed struct {
495	// on failure
496	ExitFailureSignature []byte            `protobuf:"bytes,1,opt,name=exit_failure_signature,json=exitFailureSignature,proto3" json:"exit_failure_signature,omitempty"`
497	Reason               ExitFailed_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=gracefulexit.ExitFailed_Reason" json:"reason,omitempty"`
498	// satellite who issued this exit failed
499	SatelliteId NodeID `protobuf:"bytes,3,opt,name=satellite_id,json=satelliteId,proto3,customtype=NodeID" json:"satellite_id"`
500	// storage node this exit failed was issued to
501	NodeId NodeID `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3,customtype=NodeID" json:"node_id"`
502	// timestamp when the exit failed
503	Failed               time.Time `protobuf:"bytes,5,opt,name=failed,proto3,stdtime" json:"failed"`
504	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
505	XXX_unrecognized     []byte    `json:"-"`
506	XXX_sizecache        int32     `json:"-"`
507}
508
509func (m *ExitFailed) Reset()         { *m = ExitFailed{} }
510func (m *ExitFailed) String() string { return proto.CompactTextString(m) }
511func (*ExitFailed) ProtoMessage()    {}
512func (*ExitFailed) Descriptor() ([]byte, []int) {
513	return fileDescriptor_8f0acbf2ce5fa631, []int{9}
514}
515func (m *ExitFailed) XXX_Unmarshal(b []byte) error {
516	return xxx_messageInfo_ExitFailed.Unmarshal(m, b)
517}
518func (m *ExitFailed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
519	return xxx_messageInfo_ExitFailed.Marshal(b, m, deterministic)
520}
521func (m *ExitFailed) XXX_Merge(src proto.Message) {
522	xxx_messageInfo_ExitFailed.Merge(m, src)
523}
524func (m *ExitFailed) XXX_Size() int {
525	return xxx_messageInfo_ExitFailed.Size(m)
526}
527func (m *ExitFailed) XXX_DiscardUnknown() {
528	xxx_messageInfo_ExitFailed.DiscardUnknown(m)
529}
530
531var xxx_messageInfo_ExitFailed proto.InternalMessageInfo
532
533func (m *ExitFailed) GetExitFailureSignature() []byte {
534	if m != nil {
535		return m.ExitFailureSignature
536	}
537	return nil
538}
539
540func (m *ExitFailed) GetReason() ExitFailed_Reason {
541	if m != nil {
542		return m.Reason
543	}
544	return ExitFailed_VERIFICATION_FAILED
545}
546
547func (m *ExitFailed) GetFailed() time.Time {
548	if m != nil {
549		return m.Failed
550	}
551	return time.Time{}
552}
553
554type SatelliteMessage struct {
555	// Types that are valid to be assigned to Message:
556	//	*SatelliteMessage_NotReady
557	//	*SatelliteMessage_TransferPiece
558	//	*SatelliteMessage_DeletePiece
559	//	*SatelliteMessage_ExitCompleted
560	//	*SatelliteMessage_ExitFailed
561	Message              isSatelliteMessage_Message `protobuf_oneof:"Message"`
562	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
563	XXX_unrecognized     []byte                     `json:"-"`
564	XXX_sizecache        int32                      `json:"-"`
565}
566
567func (m *SatelliteMessage) Reset()         { *m = SatelliteMessage{} }
568func (m *SatelliteMessage) String() string { return proto.CompactTextString(m) }
569func (*SatelliteMessage) ProtoMessage()    {}
570func (*SatelliteMessage) Descriptor() ([]byte, []int) {
571	return fileDescriptor_8f0acbf2ce5fa631, []int{10}
572}
573func (m *SatelliteMessage) XXX_Unmarshal(b []byte) error {
574	return xxx_messageInfo_SatelliteMessage.Unmarshal(m, b)
575}
576func (m *SatelliteMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
577	return xxx_messageInfo_SatelliteMessage.Marshal(b, m, deterministic)
578}
579func (m *SatelliteMessage) XXX_Merge(src proto.Message) {
580	xxx_messageInfo_SatelliteMessage.Merge(m, src)
581}
582func (m *SatelliteMessage) XXX_Size() int {
583	return xxx_messageInfo_SatelliteMessage.Size(m)
584}
585func (m *SatelliteMessage) XXX_DiscardUnknown() {
586	xxx_messageInfo_SatelliteMessage.DiscardUnknown(m)
587}
588
589var xxx_messageInfo_SatelliteMessage proto.InternalMessageInfo
590
591type isSatelliteMessage_Message interface {
592	isSatelliteMessage_Message()
593}
594
595type SatelliteMessage_NotReady struct {
596	NotReady *NotReady `protobuf:"bytes,1,opt,name=not_ready,json=notReady,proto3,oneof" json:"not_ready,omitempty"`
597}
598type SatelliteMessage_TransferPiece struct {
599	TransferPiece *TransferPiece `protobuf:"bytes,2,opt,name=transfer_piece,json=transferPiece,proto3,oneof" json:"transfer_piece,omitempty"`
600}
601type SatelliteMessage_DeletePiece struct {
602	DeletePiece *DeletePiece `protobuf:"bytes,3,opt,name=delete_piece,json=deletePiece,proto3,oneof" json:"delete_piece,omitempty"`
603}
604type SatelliteMessage_ExitCompleted struct {
605	ExitCompleted *ExitCompleted `protobuf:"bytes,4,opt,name=exit_completed,json=exitCompleted,proto3,oneof" json:"exit_completed,omitempty"`
606}
607type SatelliteMessage_ExitFailed struct {
608	ExitFailed *ExitFailed `protobuf:"bytes,5,opt,name=exit_failed,json=exitFailed,proto3,oneof" json:"exit_failed,omitempty"`
609}
610
611func (*SatelliteMessage_NotReady) isSatelliteMessage_Message()      {}
612func (*SatelliteMessage_TransferPiece) isSatelliteMessage_Message() {}
613func (*SatelliteMessage_DeletePiece) isSatelliteMessage_Message()   {}
614func (*SatelliteMessage_ExitCompleted) isSatelliteMessage_Message() {}
615func (*SatelliteMessage_ExitFailed) isSatelliteMessage_Message()    {}
616
617func (m *SatelliteMessage) GetMessage() isSatelliteMessage_Message {
618	if m != nil {
619		return m.Message
620	}
621	return nil
622}
623
624func (m *SatelliteMessage) GetNotReady() *NotReady {
625	if x, ok := m.GetMessage().(*SatelliteMessage_NotReady); ok {
626		return x.NotReady
627	}
628	return nil
629}
630
631func (m *SatelliteMessage) GetTransferPiece() *TransferPiece {
632	if x, ok := m.GetMessage().(*SatelliteMessage_TransferPiece); ok {
633		return x.TransferPiece
634	}
635	return nil
636}
637
638func (m *SatelliteMessage) GetDeletePiece() *DeletePiece {
639	if x, ok := m.GetMessage().(*SatelliteMessage_DeletePiece); ok {
640		return x.DeletePiece
641	}
642	return nil
643}
644
645func (m *SatelliteMessage) GetExitCompleted() *ExitCompleted {
646	if x, ok := m.GetMessage().(*SatelliteMessage_ExitCompleted); ok {
647		return x.ExitCompleted
648	}
649	return nil
650}
651
652func (m *SatelliteMessage) GetExitFailed() *ExitFailed {
653	if x, ok := m.GetMessage().(*SatelliteMessage_ExitFailed); ok {
654		return x.ExitFailed
655	}
656	return nil
657}
658
659// XXX_OneofWrappers is for the internal use of the proto package.
660func (*SatelliteMessage) XXX_OneofWrappers() []interface{} {
661	return []interface{}{
662		(*SatelliteMessage_NotReady)(nil),
663		(*SatelliteMessage_TransferPiece)(nil),
664		(*SatelliteMessage_DeletePiece)(nil),
665		(*SatelliteMessage_ExitCompleted)(nil),
666		(*SatelliteMessage_ExitFailed)(nil),
667	}
668}
669
670func init() {
671	proto.RegisterEnum("gracefulexit.TransferFailed_Error", TransferFailed_Error_name, TransferFailed_Error_value)
672	proto.RegisterEnum("gracefulexit.ExitFailed_Reason", ExitFailed_Reason_name, ExitFailed_Reason_value)
673	proto.RegisterType((*GracefulExitFeasibilityRequest)(nil), "gracefulexit.GracefulExitFeasibilityRequest")
674	proto.RegisterType((*GracefulExitFeasibilityResponse)(nil), "gracefulexit.GracefulExitFeasibilityResponse")
675	proto.RegisterType((*TransferSucceeded)(nil), "gracefulexit.TransferSucceeded")
676	proto.RegisterType((*TransferFailed)(nil), "gracefulexit.TransferFailed")
677	proto.RegisterType((*StorageNodeMessage)(nil), "gracefulexit.StorageNodeMessage")
678	proto.RegisterType((*NotReady)(nil), "gracefulexit.NotReady")
679	proto.RegisterType((*TransferPiece)(nil), "gracefulexit.TransferPiece")
680	proto.RegisterType((*DeletePiece)(nil), "gracefulexit.DeletePiece")
681	proto.RegisterType((*ExitCompleted)(nil), "gracefulexit.ExitCompleted")
682	proto.RegisterType((*ExitFailed)(nil), "gracefulexit.ExitFailed")
683	proto.RegisterType((*SatelliteMessage)(nil), "gracefulexit.SatelliteMessage")
684}
685
686func init() { proto.RegisterFile("gracefulexit.proto", fileDescriptor_8f0acbf2ce5fa631) }
687
688var fileDescriptor_8f0acbf2ce5fa631 = []byte{
689	// 1073 bytes of a gzipped FileDescriptorProto
690	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xcd, 0x52, 0x1b, 0x47,
691	0x10, 0xd6, 0x82, 0x11, 0xa8, 0x25, 0x84, 0x18, 0xfe, 0x14, 0xb0, 0x2d, 0xd5, 0xe6, 0x00, 0x87,
692	0x44, 0x24, 0xe4, 0xb7, 0xca, 0xa9, 0xa4, 0x56, 0x68, 0x85, 0x36, 0x16, 0x2b, 0x32, 0x12, 0xc4,
693	0x95, 0xcb, 0xd6, 0xa2, 0x6d, 0xc4, 0xda, 0xab, 0x1d, 0x79, 0x66, 0xe4, 0x98, 0x6b, 0x9e, 0x20,
694	0xc7, 0x9c, 0x73, 0xce, 0x83, 0xe4, 0x15, 0x92, 0xaa, 0x38, 0xc9, 0x29, 0xaf, 0x91, 0xda, 0x5f,
695	0x24, 0xfe, 0x0a, 0x97, 0x4f, 0x68, 0x7b, 0xbe, 0x6e, 0xbe, 0xee, 0xe9, 0xef, 0xab, 0x01, 0x32,
696	0xe0, 0x76, 0x1f, 0xcf, 0xc6, 0x1e, 0xbe, 0x76, 0x65, 0x6d, 0xc4, 0x99, 0x64, 0xa4, 0x30, 0x19,
697	0xdb, 0x84, 0x01, 0x1b, 0xb0, 0xe8, 0x64, 0xb3, 0x32, 0x60, 0x6c, 0xe0, 0xe1, 0x6e, 0xf8, 0x75,
698	0x3a, 0x3e, 0xdb, 0x95, 0xee, 0x10, 0x85, 0xb4, 0x87, 0xa3, 0x18, 0x50, 0x1c, 0xa2, 0xb4, 0x5d,
699	0xff, 0x2c, 0x49, 0x28, 0x30, 0xee, 0x20, 0x17, 0xd1, 0x97, 0x5a, 0x85, 0xc7, 0x07, 0x71, 0x69,
700	0xfd, 0xb5, 0x2b, 0x9b, 0x68, 0x0b, 0xf7, 0xd4, 0xf5, 0x5c, 0x79, 0x41, 0xf1, 0xe5, 0x18, 0x85,
701	0x54, 0x7f, 0x53, 0xa0, 0x72, 0x2b, 0x44, 0x8c, 0x98, 0x2f, 0x90, 0x68, 0x90, 0x7b, 0xce, 0x5c,
702	0x1f, 0x1d, 0xcb, 0x96, 0x65, 0xa5, 0xaa, 0xec, 0xe4, 0xf7, 0x36, 0x6b, 0x11, 0xb1, 0x5a, 0x42,
703	0xac, 0xd6, 0x4b, 0x88, 0xd5, 0x17, 0x7e, 0x7f, 0x53, 0xc9, 0xfc, 0xfc, 0x77, 0x45, 0xa1, 0x0b,
704	0x51, 0x9a, 0x26, 0xc9, 0x36, 0x2c, 0x0d, 0x99, 0x2f, 0xcf, 0x85, 0xc5, 0xf1, 0xe5, 0xd8, 0xe5,
705	0xe8, 0x94, 0x67, 0xaa, 0xca, 0xce, 0x1c, 0x2d, 0x46, 0x61, 0x1a, 0x47, 0xc9, 0x23, 0x00, 0x57,
706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be, 0x83, 0x35, 0xdb, 0x71, 0x38, 0x0a, 0x81, 0xce,
729	0x94, 0x46, 0xa2, 0xc5, 0x7c, 0x54, 0x4b, 0x7d, 0x44, 0x4b, 0x60, 0x13, 0x72, 0x59, 0xb1, 0xaf,
730	0x07, 0xd5, 0x6f, 0x21, 0xdf, 0x40, 0x0f, 0x25, 0xbe, 0x7b, 0x63, 0xea, 0x7f, 0x0a, 0x2c, 0x06,
731	0xf6, 0xb3, 0xcf, 0x86, 0xa3, 0xa0, 0x64, 0x70, 0x11, 0x1b, 0xc1, 0xc4, 0xad, 0x7e, 0x1c, 0xb1,
732	0x84, 0x3b, 0xf0, 0x6d, 0x39, 0xe6, 0x18, 0x15, 0xa5, 0x6b, 0x38, 0x81, 0xef, 0x26, 0x87, 0xe4,
733	0x63, 0x28, 0x08, 0x5b, 0xa2, 0xe7, 0xb9, 0x32, 0x64, 0x10, 0xcd, 0xa8, 0x18, 0x33, 0xc8, 0x06,
734	0xcb, 0x62, 0x34, 0x68, 0x3e, 0xc5, 0x18, 0x0e, 0xd9, 0x86, 0x79, 0x9f, 0x39, 0x21, 0x7a, 0xf6,
735	0x46, 0x74, 0x36, 0x38, 0x36, 0x1c, 0x52, 0x87, 0x5c, 0x42, 0x27, 0x52, 0xe3, 0x7d, 0x8d, 0xf0,
736	0x32, 0x4d, 0xfd, 0x69, 0x16, 0x20, 0x34, 0xda, 0x48, 0x98, 0x9f, 0xc2, 0x7a, 0xd8, 0x66, 0xb0,
737	0x46, 0x63, 0x7e, 0xbd, 0xcb, 0x55, 0x8c, 0xb1, 0x63, 0x3e, 0xd1, 0xe4, 0x17, 0x90, 0xe5, 0x68,
738	0x0b, 0xe6, 0xc7, 0x92, 0xbc, 0xb2, 0xe3, 0x97, 0xf5, 0x6b, 0x34, 0x84, 0xd1, 0x18, 0x7e, 0x6d,
739	0x3a, 0xb3, 0x6f, 0x35, 0x9d, 0x07, 0x77, 0x4e, 0xe7, 0xab, 0x54, 0x3a, 0x73, 0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