1// Code generated by protoc-gen-gogo. DO NOT EDIT.
2// source: github.com/containerd/containerd/api/services/tasks/v1/tasks.proto
3
4package tasks
5
6import (
7	context "context"
8	fmt "fmt"
9	types "github.com/containerd/containerd/api/types"
10	task "github.com/containerd/containerd/api/types/task"
11	proto "github.com/gogo/protobuf/proto"
12	github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
13	github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
14	types1 "github.com/gogo/protobuf/types"
15	github_com_opencontainers_go_digest "github.com/opencontainers/go-digest"
16	grpc "google.golang.org/grpc"
17	codes "google.golang.org/grpc/codes"
18	status "google.golang.org/grpc/status"
19	io "io"
20	math "math"
21	math_bits "math/bits"
22	reflect "reflect"
23	strings "strings"
24	time "time"
25)
26
27// Reference imports to suppress errors if they are not otherwise used.
28var _ = proto.Marshal
29var _ = fmt.Errorf
30var _ = math.Inf
31var _ = time.Kitchen
32
33// This is a compile-time assertion to ensure that this generated file
34// is compatible with the proto package it is being compiled against.
35// A compilation error at this line likely means your copy of the
36// proto package needs to be updated.
37const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
38
39type CreateTaskRequest struct {
40	ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
41	// RootFS provides the pre-chroot mounts to perform in the shim before
42	// executing the container task.
43	//
44	// These are for mounts that cannot be performed in the user namespace.
45	// Typically, these mounts should be resolved from snapshots specified on
46	// the container object.
47	Rootfs               []*types.Mount    `protobuf:"bytes,3,rep,name=rootfs,proto3" json:"rootfs,omitempty"`
48	Stdin                string            `protobuf:"bytes,4,opt,name=stdin,proto3" json:"stdin,omitempty"`
49	Stdout               string            `protobuf:"bytes,5,opt,name=stdout,proto3" json:"stdout,omitempty"`
50	Stderr               string            `protobuf:"bytes,6,opt,name=stderr,proto3" json:"stderr,omitempty"`
51	Terminal             bool              `protobuf:"varint,7,opt,name=terminal,proto3" json:"terminal,omitempty"`
52	Checkpoint           *types.Descriptor `protobuf:"bytes,8,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"`
53	Options              *types1.Any       `protobuf:"bytes,9,opt,name=options,proto3" json:"options,omitempty"`
54	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
55	XXX_unrecognized     []byte            `json:"-"`
56	XXX_sizecache        int32             `json:"-"`
57}
58
59func (m *CreateTaskRequest) Reset()      { *m = CreateTaskRequest{} }
60func (*CreateTaskRequest) ProtoMessage() {}
61func (*CreateTaskRequest) Descriptor() ([]byte, []int) {
62	return fileDescriptor_310e7127b8a26f14, []int{0}
63}
64func (m *CreateTaskRequest) XXX_Unmarshal(b []byte) error {
65	return m.Unmarshal(b)
66}
67func (m *CreateTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
68	if deterministic {
69		return xxx_messageInfo_CreateTaskRequest.Marshal(b, m, deterministic)
70	} else {
71		b = b[:cap(b)]
72		n, err := m.MarshalToSizedBuffer(b)
73		if err != nil {
74			return nil, err
75		}
76		return b[:n], nil
77	}
78}
79func (m *CreateTaskRequest) XXX_Merge(src proto.Message) {
80	xxx_messageInfo_CreateTaskRequest.Merge(m, src)
81}
82func (m *CreateTaskRequest) XXX_Size() int {
83	return m.Size()
84}
85func (m *CreateTaskRequest) XXX_DiscardUnknown() {
86	xxx_messageInfo_CreateTaskRequest.DiscardUnknown(m)
87}
88
89var xxx_messageInfo_CreateTaskRequest proto.InternalMessageInfo
90
91type CreateTaskResponse struct {
92	ContainerID          string   `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
93	Pid                  uint32   `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
94	XXX_NoUnkeyedLiteral struct{} `json:"-"`
95	XXX_unrecognized     []byte   `json:"-"`
96	XXX_sizecache        int32    `json:"-"`
97}
98
99func (m *CreateTaskResponse) Reset()      { *m = CreateTaskResponse{} }
100func (*CreateTaskResponse) ProtoMessage() {}
101func (*CreateTaskResponse) Descriptor() ([]byte, []int) {
102	return fileDescriptor_310e7127b8a26f14, []int{1}
103}
104func (m *CreateTaskResponse) XXX_Unmarshal(b []byte) error {
105	return m.Unmarshal(b)
106}
107func (m *CreateTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
108	if deterministic {
109		return xxx_messageInfo_CreateTaskResponse.Marshal(b, m, deterministic)
110	} else {
111		b = b[:cap(b)]
112		n, err := m.MarshalToSizedBuffer(b)
113		if err != nil {
114			return nil, err
115		}
116		return b[:n], nil
117	}
118}
119func (m *CreateTaskResponse) XXX_Merge(src proto.Message) {
120	xxx_messageInfo_CreateTaskResponse.Merge(m, src)
121}
122func (m *CreateTaskResponse) XXX_Size() int {
123	return m.Size()
124}
125func (m *CreateTaskResponse) XXX_DiscardUnknown() {
126	xxx_messageInfo_CreateTaskResponse.DiscardUnknown(m)
127}
128
129var xxx_messageInfo_CreateTaskResponse proto.InternalMessageInfo
130
131type StartRequest struct {
132	ContainerID          string   `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
133	ExecID               string   `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
134	XXX_NoUnkeyedLiteral struct{} `json:"-"`
135	XXX_unrecognized     []byte   `json:"-"`
136	XXX_sizecache        int32    `json:"-"`
137}
138
139func (m *StartRequest) Reset()      { *m = StartRequest{} }
140func (*StartRequest) ProtoMessage() {}
141func (*StartRequest) Descriptor() ([]byte, []int) {
142	return fileDescriptor_310e7127b8a26f14, []int{2}
143}
144func (m *StartRequest) XXX_Unmarshal(b []byte) error {
145	return m.Unmarshal(b)
146}
147func (m *StartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
148	if deterministic {
149		return xxx_messageInfo_StartRequest.Marshal(b, m, deterministic)
150	} else {
151		b = b[:cap(b)]
152		n, err := m.MarshalToSizedBuffer(b)
153		if err != nil {
154			return nil, err
155		}
156		return b[:n], nil
157	}
158}
159func (m *StartRequest) XXX_Merge(src proto.Message) {
160	xxx_messageInfo_StartRequest.Merge(m, src)
161}
162func (m *StartRequest) XXX_Size() int {
163	return m.Size()
164}
165func (m *StartRequest) XXX_DiscardUnknown() {
166	xxx_messageInfo_StartRequest.DiscardUnknown(m)
167}
168
169var xxx_messageInfo_StartRequest proto.InternalMessageInfo
170
171type StartResponse struct {
172	Pid                  uint32   `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
173	XXX_NoUnkeyedLiteral struct{} `json:"-"`
174	XXX_unrecognized     []byte   `json:"-"`
175	XXX_sizecache        int32    `json:"-"`
176}
177
178func (m *StartResponse) Reset()      { *m = StartResponse{} }
179func (*StartResponse) ProtoMessage() {}
180func (*StartResponse) Descriptor() ([]byte, []int) {
181	return fileDescriptor_310e7127b8a26f14, []int{3}
182}
183func (m *StartResponse) XXX_Unmarshal(b []byte) error {
184	return m.Unmarshal(b)
185}
186func (m *StartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
187	if deterministic {
188		return xxx_messageInfo_StartResponse.Marshal(b, m, deterministic)
189	} else {
190		b = b[:cap(b)]
191		n, err := m.MarshalToSizedBuffer(b)
192		if err != nil {
193			return nil, err
194		}
195		return b[:n], nil
196	}
197}
198func (m *StartResponse) XXX_Merge(src proto.Message) {
199	xxx_messageInfo_StartResponse.Merge(m, src)
200}
201func (m *StartResponse) XXX_Size() int {
202	return m.Size()
203}
204func (m *StartResponse) XXX_DiscardUnknown() {
205	xxx_messageInfo_StartResponse.DiscardUnknown(m)
206}
207
208var xxx_messageInfo_StartResponse proto.InternalMessageInfo
209
210type DeleteTaskRequest struct {
211	ContainerID          string   `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
212	XXX_NoUnkeyedLiteral struct{} `json:"-"`
213	XXX_unrecognized     []byte   `json:"-"`
214	XXX_sizecache        int32    `json:"-"`
215}
216
217func (m *DeleteTaskRequest) Reset()      { *m = DeleteTaskRequest{} }
218func (*DeleteTaskRequest) ProtoMessage() {}
219func (*DeleteTaskRequest) Descriptor() ([]byte, []int) {
220	return fileDescriptor_310e7127b8a26f14, []int{4}
221}
222func (m *DeleteTaskRequest) XXX_Unmarshal(b []byte) error {
223	return m.Unmarshal(b)
224}
225func (m *DeleteTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
226	if deterministic {
227		return xxx_messageInfo_DeleteTaskRequest.Marshal(b, m, deterministic)
228	} else {
229		b = b[:cap(b)]
230		n, err := m.MarshalToSizedBuffer(b)
231		if err != nil {
232			return nil, err
233		}
234		return b[:n], nil
235	}
236}
237func (m *DeleteTaskRequest) XXX_Merge(src proto.Message) {
238	xxx_messageInfo_DeleteTaskRequest.Merge(m, src)
239}
240func (m *DeleteTaskRequest) XXX_Size() int {
241	return m.Size()
242}
243func (m *DeleteTaskRequest) XXX_DiscardUnknown() {
244	xxx_messageInfo_DeleteTaskRequest.DiscardUnknown(m)
245}
246
247var xxx_messageInfo_DeleteTaskRequest proto.InternalMessageInfo
248
249type DeleteResponse struct {
250	ID                   string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
251	Pid                  uint32    `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
252	ExitStatus           uint32    `protobuf:"varint,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"`
253	ExitedAt             time.Time `protobuf:"bytes,4,opt,name=exited_at,json=exitedAt,proto3,stdtime" json:"exited_at"`
254	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
255	XXX_unrecognized     []byte    `json:"-"`
256	XXX_sizecache        int32     `json:"-"`
257}
258
259func (m *DeleteResponse) Reset()      { *m = DeleteResponse{} }
260func (*DeleteResponse) ProtoMessage() {}
261func (*DeleteResponse) Descriptor() ([]byte, []int) {
262	return fileDescriptor_310e7127b8a26f14, []int{5}
263}
264func (m *DeleteResponse) XXX_Unmarshal(b []byte) error {
265	return m.Unmarshal(b)
266}
267func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
268	if deterministic {
269		return xxx_messageInfo_DeleteResponse.Marshal(b, m, deterministic)
270	} else {
271		b = b[:cap(b)]
272		n, err := m.MarshalToSizedBuffer(b)
273		if err != nil {
274			return nil, err
275		}
276		return b[:n], nil
277	}
278}
279func (m *DeleteResponse) XXX_Merge(src proto.Message) {
280	xxx_messageInfo_DeleteResponse.Merge(m, src)
281}
282func (m *DeleteResponse) XXX_Size() int {
283	return m.Size()
284}
285func (m *DeleteResponse) XXX_DiscardUnknown() {
286	xxx_messageInfo_DeleteResponse.DiscardUnknown(m)
287}
288
289var xxx_messageInfo_DeleteResponse proto.InternalMessageInfo
290
291type DeleteProcessRequest struct {
292	ContainerID          string   `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
293	ExecID               string   `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
294	XXX_NoUnkeyedLiteral struct{} `json:"-"`
295	XXX_unrecognized     []byte   `json:"-"`
296	XXX_sizecache        int32    `json:"-"`
297}
298
299func (m *DeleteProcessRequest) Reset()      { *m = DeleteProcessRequest{} }
300func (*DeleteProcessRequest) ProtoMessage() {}
301func (*DeleteProcessRequest) Descriptor() ([]byte, []int) {
302	return fileDescriptor_310e7127b8a26f14, []int{6}
303}
304func (m *DeleteProcessRequest) XXX_Unmarshal(b []byte) error {
305	return m.Unmarshal(b)
306}
307func (m *DeleteProcessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
308	if deterministic {
309		return xxx_messageInfo_DeleteProcessRequest.Marshal(b, m, deterministic)
310	} else {
311		b = b[:cap(b)]
312		n, err := m.MarshalToSizedBuffer(b)
313		if err != nil {
314			return nil, err
315		}
316		return b[:n], nil
317	}
318}
319func (m *DeleteProcessRequest) XXX_Merge(src proto.Message) {
320	xxx_messageInfo_DeleteProcessRequest.Merge(m, src)
321}
322func (m *DeleteProcessRequest) XXX_Size() int {
323	return m.Size()
324}
325func (m *DeleteProcessRequest) XXX_DiscardUnknown() {
326	xxx_messageInfo_DeleteProcessRequest.DiscardUnknown(m)
327}
328
329var xxx_messageInfo_DeleteProcessRequest proto.InternalMessageInfo
330
331type GetRequest struct {
332	ContainerID          string   `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
333	ExecID               string   `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
334	XXX_NoUnkeyedLiteral struct{} `json:"-"`
335	XXX_unrecognized     []byte   `json:"-"`
336	XXX_sizecache        int32    `json:"-"`
337}
338
339func (m *GetRequest) Reset()      { *m = GetRequest{} }
340func (*GetRequest) ProtoMessage() {}
341func (*GetRequest) Descriptor() ([]byte, []int) {
342	return fileDescriptor_310e7127b8a26f14, []int{7}
343}
344func (m *GetRequest) XXX_Unmarshal(b []byte) error {
345	return m.Unmarshal(b)
346}
347func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
348	if deterministic {
349		return xxx_messageInfo_GetRequest.Marshal(b, m, deterministic)
350	} else {
351		b = b[:cap(b)]
352		n, err := m.MarshalToSizedBuffer(b)
353		if err != nil {
354			return nil, err
355		}
356		return b[:n], nil
357	}
358}
359func (m *GetRequest) XXX_Merge(src proto.Message) {
360	xxx_messageInfo_GetRequest.Merge(m, src)
361}
362func (m *GetRequest) XXX_Size() int {
363	return m.Size()
364}
365func (m *GetRequest) XXX_DiscardUnknown() {
366	xxx_messageInfo_GetRequest.DiscardUnknown(m)
367}
368
369var xxx_messageInfo_GetRequest proto.InternalMessageInfo
370
371type GetResponse struct {
372	Process              *task.Process `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"`
373	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
374	XXX_unrecognized     []byte        `json:"-"`
375	XXX_sizecache        int32         `json:"-"`
376}
377
378func (m *GetResponse) Reset()      { *m = GetResponse{} }
379func (*GetResponse) ProtoMessage() {}
380func (*GetResponse) Descriptor() ([]byte, []int) {
381	return fileDescriptor_310e7127b8a26f14, []int{8}
382}
383func (m *GetResponse) XXX_Unmarshal(b []byte) error {
384	return m.Unmarshal(b)
385}
386func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
387	if deterministic {
388		return xxx_messageInfo_GetResponse.Marshal(b, m, deterministic)
389	} else {
390		b = b[:cap(b)]
391		n, err := m.MarshalToSizedBuffer(b)
392		if err != nil {
393			return nil, err
394		}
395		return b[:n], nil
396	}
397}
398func (m *GetResponse) XXX_Merge(src proto.Message) {
399	xxx_messageInfo_GetResponse.Merge(m, src)
400}
401func (m *GetResponse) XXX_Size() int {
402	return m.Size()
403}
404func (m *GetResponse) XXX_DiscardUnknown() {
405	xxx_messageInfo_GetResponse.DiscardUnknown(m)
406}
407
408var xxx_messageInfo_GetResponse proto.InternalMessageInfo
409
410type ListTasksRequest struct {
411	Filter               string   `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
412	XXX_NoUnkeyedLiteral struct{} `json:"-"`
413	XXX_unrecognized     []byte   `json:"-"`
414	XXX_sizecache        int32    `json:"-"`
415}
416
417func (m *ListTasksRequest) Reset()      { *m = ListTasksRequest{} }
418func (*ListTasksRequest) ProtoMessage() {}
419func (*ListTasksRequest) Descriptor() ([]byte, []int) {
420	return fileDescriptor_310e7127b8a26f14, []int{9}
421}
422func (m *ListTasksRequest) XXX_Unmarshal(b []byte) error {
423	return m.Unmarshal(b)
424}
425func (m *ListTasksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
426	if deterministic {
427		return xxx_messageInfo_ListTasksRequest.Marshal(b, m, deterministic)
428	} else {
429		b = b[:cap(b)]
430		n, err := m.MarshalToSizedBuffer(b)
431		if err != nil {
432			return nil, err
433		}
434		return b[:n], nil
435	}
436}
437func (m *ListTasksRequest) XXX_Merge(src proto.Message) {
438	xxx_messageInfo_ListTasksRequest.Merge(m, src)
439}
440func (m *ListTasksRequest) XXX_Size() int {
441	return m.Size()
442}
443func (m *ListTasksRequest) XXX_DiscardUnknown() {
444	xxx_messageInfo_ListTasksRequest.DiscardUnknown(m)
445}
446
447var xxx_messageInfo_ListTasksRequest proto.InternalMessageInfo
448
449type ListTasksResponse struct {
450	Tasks                []*task.Process `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
451	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
452	XXX_unrecognized     []byte          `json:"-"`
453	XXX_sizecache        int32           `json:"-"`
454}
455
456func (m *ListTasksResponse) Reset()      { *m = ListTasksResponse{} }
457func (*ListTasksResponse) ProtoMessage() {}
458func (*ListTasksResponse) Descriptor() ([]byte, []int) {
459	return fileDescriptor_310e7127b8a26f14, []int{10}
460}
461func (m *ListTasksResponse) XXX_Unmarshal(b []byte) error {
462	return m.Unmarshal(b)
463}
464func (m *ListTasksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
465	if deterministic {
466		return xxx_messageInfo_ListTasksResponse.Marshal(b, m, deterministic)
467	} else {
468		b = b[:cap(b)]
469		n, err := m.MarshalToSizedBuffer(b)
470		if err != nil {
471			return nil, err
472		}
473		return b[:n], nil
474	}
475}
476func (m *ListTasksResponse) XXX_Merge(src proto.Message) {
477	xxx_messageInfo_ListTasksResponse.Merge(m, src)
478}
479func (m *ListTasksResponse) XXX_Size() int {
480	return m.Size()
481}
482func (m *ListTasksResponse) XXX_DiscardUnknown() {
483	xxx_messageInfo_ListTasksResponse.DiscardUnknown(m)
484}
485
486var xxx_messageInfo_ListTasksResponse proto.InternalMessageInfo
487
488type KillRequest struct {
489	ContainerID          string   `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
490	ExecID               string   `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
491	Signal               uint32   `protobuf:"varint,3,opt,name=signal,proto3" json:"signal,omitempty"`
492	All                  bool     `protobuf:"varint,4,opt,name=all,proto3" json:"all,omitempty"`
493	XXX_NoUnkeyedLiteral struct{} `json:"-"`
494	XXX_unrecognized     []byte   `json:"-"`
495	XXX_sizecache        int32    `json:"-"`
496}
497
498func (m *KillRequest) Reset()      { *m = KillRequest{} }
499func (*KillRequest) ProtoMessage() {}
500func (*KillRequest) Descriptor() ([]byte, []int) {
501	return fileDescriptor_310e7127b8a26f14, []int{11}
502}
503func (m *KillRequest) XXX_Unmarshal(b []byte) error {
504	return m.Unmarshal(b)
505}
506func (m *KillRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
507	if deterministic {
508		return xxx_messageInfo_KillRequest.Marshal(b, m, deterministic)
509	} else {
510		b = b[:cap(b)]
511		n, err := m.MarshalToSizedBuffer(b)
512		if err != nil {
513			return nil, err
514		}
515		return b[:n], nil
516	}
517}
518func (m *KillRequest) XXX_Merge(src proto.Message) {
519	xxx_messageInfo_KillRequest.Merge(m, src)
520}
521func (m *KillRequest) XXX_Size() int {
522	return m.Size()
523}
524func (m *KillRequest) XXX_DiscardUnknown() {
525	xxx_messageInfo_KillRequest.DiscardUnknown(m)
526}
527
528var xxx_messageInfo_KillRequest proto.InternalMessageInfo
529
530type ExecProcessRequest struct {
531	ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
532	Stdin       string `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"`
533	Stdout      string `protobuf:"bytes,3,opt,name=stdout,proto3" json:"stdout,omitempty"`
534	Stderr      string `protobuf:"bytes,4,opt,name=stderr,proto3" json:"stderr,omitempty"`
535	Terminal    bool   `protobuf:"varint,5,opt,name=terminal,proto3" json:"terminal,omitempty"`
536	// Spec for starting a process in the target container.
537	//
538	// For runc, this is a process spec, for example.
539	Spec *types1.Any `protobuf:"bytes,6,opt,name=spec,proto3" json:"spec,omitempty"`
540	// id of the exec process
541	ExecID               string   `protobuf:"bytes,7,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
542	XXX_NoUnkeyedLiteral struct{} `json:"-"`
543	XXX_unrecognized     []byte   `json:"-"`
544	XXX_sizecache        int32    `json:"-"`
545}
546
547func (m *ExecProcessRequest) Reset()      { *m = ExecProcessRequest{} }
548func (*ExecProcessRequest) ProtoMessage() {}
549func (*ExecProcessRequest) Descriptor() ([]byte, []int) {
550	return fileDescriptor_310e7127b8a26f14, []int{12}
551}
552func (m *ExecProcessRequest) XXX_Unmarshal(b []byte) error {
553	return m.Unmarshal(b)
554}
555func (m *ExecProcessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
556	if deterministic {
557		return xxx_messageInfo_ExecProcessRequest.Marshal(b, m, deterministic)
558	} else {
559		b = b[:cap(b)]
560		n, err := m.MarshalToSizedBuffer(b)
561		if err != nil {
562			return nil, err
563		}
564		return b[:n], nil
565	}
566}
567func (m *ExecProcessRequest) XXX_Merge(src proto.Message) {
568	xxx_messageInfo_ExecProcessRequest.Merge(m, src)
569}
570func (m *ExecProcessRequest) XXX_Size() int {
571	return m.Size()
572}
573func (m *ExecProcessRequest) XXX_DiscardUnknown() {
574	xxx_messageInfo_ExecProcessRequest.DiscardUnknown(m)
575}
576
577var xxx_messageInfo_ExecProcessRequest proto.InternalMessageInfo
578
579type ExecProcessResponse struct {
580	XXX_NoUnkeyedLiteral struct{} `json:"-"`
581	XXX_unrecognized     []byte   `json:"-"`
582	XXX_sizecache        int32    `json:"-"`
583}
584
585func (m *ExecProcessResponse) Reset()      { *m = ExecProcessResponse{} }
586func (*ExecProcessResponse) ProtoMessage() {}
587func (*ExecProcessResponse) Descriptor() ([]byte, []int) {
588	return fileDescriptor_310e7127b8a26f14, []int{13}
589}
590func (m *ExecProcessResponse) XXX_Unmarshal(b []byte) error {
591	return m.Unmarshal(b)
592}
593func (m *ExecProcessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
594	if deterministic {
595		return xxx_messageInfo_ExecProcessResponse.Marshal(b, m, deterministic)
596	} else {
597		b = b[:cap(b)]
598		n, err := m.MarshalToSizedBuffer(b)
599		if err != nil {
600			return nil, err
601		}
602		return b[:n], nil
603	}
604}
605func (m *ExecProcessResponse) XXX_Merge(src proto.Message) {
606	xxx_messageInfo_ExecProcessResponse.Merge(m, src)
607}
608func (m *ExecProcessResponse) XXX_Size() int {
609	return m.Size()
610}
611func (m *ExecProcessResponse) XXX_DiscardUnknown() {
612	xxx_messageInfo_ExecProcessResponse.DiscardUnknown(m)
613}
614
615var xxx_messageInfo_ExecProcessResponse proto.InternalMessageInfo
616
617type ResizePtyRequest struct {
618	ContainerID          string   `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
619	ExecID               string   `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
620	Width                uint32   `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
621	Height               uint32   `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
622	XXX_NoUnkeyedLiteral struct{} `json:"-"`
623	XXX_unrecognized     []byte   `json:"-"`
624	XXX_sizecache        int32    `json:"-"`
625}
626
627func (m *ResizePtyRequest) Reset()      { *m = ResizePtyRequest{} }
628func (*ResizePtyRequest) ProtoMessage() {}
629func (*ResizePtyRequest) Descriptor() ([]byte, []int) {
630	return fileDescriptor_310e7127b8a26f14, []int{14}
631}
632func (m *ResizePtyRequest) XXX_Unmarshal(b []byte) error {
633	return m.Unmarshal(b)
634}
635func (m *ResizePtyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
636	if deterministic {
637		return xxx_messageInfo_ResizePtyRequest.Marshal(b, m, deterministic)
638	} else {
639		b = b[:cap(b)]
640		n, err := m.MarshalToSizedBuffer(b)
641		if err != nil {
642			return nil, err
643		}
644		return b[:n], nil
645	}
646}
647func (m *ResizePtyRequest) XXX_Merge(src proto.Message) {
648	xxx_messageInfo_ResizePtyRequest.Merge(m, src)
649}
650func (m *ResizePtyRequest) XXX_Size() int {
651	return m.Size()
652}
653func (m *ResizePtyRequest) XXX_DiscardUnknown() {
654	xxx_messageInfo_ResizePtyRequest.DiscardUnknown(m)
655}
656
657var xxx_messageInfo_ResizePtyRequest proto.InternalMessageInfo
658
659type CloseIORequest struct {
660	ContainerID          string   `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
661	ExecID               string   `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
662	Stdin                bool     `protobuf:"varint,3,opt,name=stdin,proto3" json:"stdin,omitempty"`
663	XXX_NoUnkeyedLiteral struct{} `json:"-"`
664	XXX_unrecognized     []byte   `json:"-"`
665	XXX_sizecache        int32    `json:"-"`
666}
667
668func (m *CloseIORequest) Reset()      { *m = CloseIORequest{} }
669func (*CloseIORequest) ProtoMessage() {}
670func (*CloseIORequest) Descriptor() ([]byte, []int) {
671	return fileDescriptor_310e7127b8a26f14, []int{15}
672}
673func (m *CloseIORequest) XXX_Unmarshal(b []byte) error {
674	return m.Unmarshal(b)
675}
676func (m *CloseIORequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
677	if deterministic {
678		return xxx_messageInfo_CloseIORequest.Marshal(b, m, deterministic)
679	} else {
680		b = b[:cap(b)]
681		n, err := m.MarshalToSizedBuffer(b)
682		if err != nil {
683			return nil, err
684		}
685		return b[:n], nil
686	}
687}
688func (m *CloseIORequest) XXX_Merge(src proto.Message) {
689	xxx_messageInfo_CloseIORequest.Merge(m, src)
690}
691func (m *CloseIORequest) XXX_Size() int {
692	return m.Size()
693}
694func (m *CloseIORequest) XXX_DiscardUnknown() {
695	xxx_messageInfo_CloseIORequest.DiscardUnknown(m)
696}
697
698var xxx_messageInfo_CloseIORequest proto.InternalMessageInfo
699
700type PauseTaskRequest struct {
701	ContainerID          string   `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
702	XXX_NoUnkeyedLiteral struct{} `json:"-"`
703	XXX_unrecognized     []byte   `json:"-"`
704	XXX_sizecache        int32    `json:"-"`
705}
706
707func (m *PauseTaskRequest) Reset()      { *m = PauseTaskRequest{} }
708func (*PauseTaskRequest) ProtoMessage() {}
709func (*PauseTaskRequest) Descriptor() ([]byte, []int) {
710	return fileDescriptor_310e7127b8a26f14, []int{16}
711}
712func (m *PauseTaskRequest) XXX_Unmarshal(b []byte) error {
713	return m.Unmarshal(b)
714}
715func (m *PauseTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
716	if deterministic {
717		return xxx_messageInfo_PauseTaskRequest.Marshal(b, m, deterministic)
718	} else {
719		b = b[:cap(b)]
720		n, err := m.MarshalToSizedBuffer(b)
721		if err != nil {
722			return nil, err
723		}
724		return b[:n], nil
725	}
726}
727func (m *PauseTaskRequest) XXX_Merge(src proto.Message) {
728	xxx_messageInfo_PauseTaskRequest.Merge(m, src)
729}
730func (m *PauseTaskRequest) XXX_Size() int {
731	return m.Size()
732}
733func (m *PauseTaskRequest) XXX_DiscardUnknown() {
734	xxx_messageInfo_PauseTaskRequest.DiscardUnknown(m)
735}
736
737var xxx_messageInfo_PauseTaskRequest proto.InternalMessageInfo
738
739type ResumeTaskRequest struct {
740	ContainerID          string   `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
741	XXX_NoUnkeyedLiteral struct{} `json:"-"`
742	XXX_unrecognized     []byte   `json:"-"`
743	XXX_sizecache        int32    `json:"-"`
744}
745
746func (m *ResumeTaskRequest) Reset()      { *m = ResumeTaskRequest{} }
747func (*ResumeTaskRequest) ProtoMessage() {}
748func (*ResumeTaskRequest) Descriptor() ([]byte, []int) {
749	return fileDescriptor_310e7127b8a26f14, []int{17}
750}
751func (m *ResumeTaskRequest) XXX_Unmarshal(b []byte) error {
752	return m.Unmarshal(b)
753}
754func (m *ResumeTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
755	if deterministic {
756		return xxx_messageInfo_ResumeTaskRequest.Marshal(b, m, deterministic)
757	} else {
758		b = b[:cap(b)]
759		n, err := m.MarshalToSizedBuffer(b)
760		if err != nil {
761			return nil, err
762		}
763		return b[:n], nil
764	}
765}
766func (m *ResumeTaskRequest) XXX_Merge(src proto.Message) {
767	xxx_messageInfo_ResumeTaskRequest.Merge(m, src)
768}
769func (m *ResumeTaskRequest) XXX_Size() int {
770	return m.Size()
771}
772func (m *ResumeTaskRequest) XXX_DiscardUnknown() {
773	xxx_messageInfo_ResumeTaskRequest.DiscardUnknown(m)
774}
775
776var xxx_messageInfo_ResumeTaskRequest proto.InternalMessageInfo
777
778type ListPidsRequest struct {
779	ContainerID          string   `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
780	XXX_NoUnkeyedLiteral struct{} `json:"-"`
781	XXX_unrecognized     []byte   `json:"-"`
782	XXX_sizecache        int32    `json:"-"`
783}
784
785func (m *ListPidsRequest) Reset()      { *m = ListPidsRequest{} }
786func (*ListPidsRequest) ProtoMessage() {}
787func (*ListPidsRequest) Descriptor() ([]byte, []int) {
788	return fileDescriptor_310e7127b8a26f14, []int{18}
789}
790func (m *ListPidsRequest) XXX_Unmarshal(b []byte) error {
791	return m.Unmarshal(b)
792}
793func (m *ListPidsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
794	if deterministic {
795		return xxx_messageInfo_ListPidsRequest.Marshal(b, m, deterministic)
796	} else {
797		b = b[:cap(b)]
798		n, err := m.MarshalToSizedBuffer(b)
799		if err != nil {
800			return nil, err
801		}
802		return b[:n], nil
803	}
804}
805func (m *ListPidsRequest) XXX_Merge(src proto.Message) {
806	xxx_messageInfo_ListPidsRequest.Merge(m, src)
807}
808func (m *ListPidsRequest) XXX_Size() int {
809	return m.Size()
810}
811func (m *ListPidsRequest) XXX_DiscardUnknown() {
812	xxx_messageInfo_ListPidsRequest.DiscardUnknown(m)
813}
814
815var xxx_messageInfo_ListPidsRequest proto.InternalMessageInfo
816
817type ListPidsResponse struct {
818	// Processes includes the process ID and additional process information
819	Processes            []*task.ProcessInfo `protobuf:"bytes,1,rep,name=processes,proto3" json:"processes,omitempty"`
820	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
821	XXX_unrecognized     []byte              `json:"-"`
822	XXX_sizecache        int32               `json:"-"`
823}
824
825func (m *ListPidsResponse) Reset()      { *m = ListPidsResponse{} }
826func (*ListPidsResponse) ProtoMessage() {}
827func (*ListPidsResponse) Descriptor() ([]byte, []int) {
828	return fileDescriptor_310e7127b8a26f14, []int{19}
829}
830func (m *ListPidsResponse) XXX_Unmarshal(b []byte) error {
831	return m.Unmarshal(b)
832}
833func (m *ListPidsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
834	if deterministic {
835		return xxx_messageInfo_ListPidsResponse.Marshal(b, m, deterministic)
836	} else {
837		b = b[:cap(b)]
838		n, err := m.MarshalToSizedBuffer(b)
839		if err != nil {
840			return nil, err
841		}
842		return b[:n], nil
843	}
844}
845func (m *ListPidsResponse) XXX_Merge(src proto.Message) {
846	xxx_messageInfo_ListPidsResponse.Merge(m, src)
847}
848func (m *ListPidsResponse) XXX_Size() int {
849	return m.Size()
850}
851func (m *ListPidsResponse) XXX_DiscardUnknown() {
852	xxx_messageInfo_ListPidsResponse.DiscardUnknown(m)
853}
854
855var xxx_messageInfo_ListPidsResponse proto.InternalMessageInfo
856
857type CheckpointTaskRequest struct {
858	ContainerID          string                                     `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
859	ParentCheckpoint     github_com_opencontainers_go_digest.Digest `protobuf:"bytes,2,opt,name=parent_checkpoint,json=parentCheckpoint,proto3,customtype=github.com/opencontainers/go-digest.Digest" json:"parent_checkpoint"`
860	Options              *types1.Any                                `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"`
861	XXX_NoUnkeyedLiteral struct{}                                   `json:"-"`
862	XXX_unrecognized     []byte                                     `json:"-"`
863	XXX_sizecache        int32                                      `json:"-"`
864}
865
866func (m *CheckpointTaskRequest) Reset()      { *m = CheckpointTaskRequest{} }
867func (*CheckpointTaskRequest) ProtoMessage() {}
868func (*CheckpointTaskRequest) Descriptor() ([]byte, []int) {
869	return fileDescriptor_310e7127b8a26f14, []int{20}
870}
871func (m *CheckpointTaskRequest) XXX_Unmarshal(b []byte) error {
872	return m.Unmarshal(b)
873}
874func (m *CheckpointTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
875	if deterministic {
876		return xxx_messageInfo_CheckpointTaskRequest.Marshal(b, m, deterministic)
877	} else {
878		b = b[:cap(b)]
879		n, err := m.MarshalToSizedBuffer(b)
880		if err != nil {
881			return nil, err
882		}
883		return b[:n], nil
884	}
885}
886func (m *CheckpointTaskRequest) XXX_Merge(src proto.Message) {
887	xxx_messageInfo_CheckpointTaskRequest.Merge(m, src)
888}
889func (m *CheckpointTaskRequest) XXX_Size() int {
890	return m.Size()
891}
892func (m *CheckpointTaskRequest) XXX_DiscardUnknown() {
893	xxx_messageInfo_CheckpointTaskRequest.DiscardUnknown(m)
894}
895
896var xxx_messageInfo_CheckpointTaskRequest proto.InternalMessageInfo
897
898type CheckpointTaskResponse struct {
899	Descriptors          []*types.Descriptor `protobuf:"bytes,1,rep,name=descriptors,proto3" json:"descriptors,omitempty"`
900	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
901	XXX_unrecognized     []byte              `json:"-"`
902	XXX_sizecache        int32               `json:"-"`
903}
904
905func (m *CheckpointTaskResponse) Reset()      { *m = CheckpointTaskResponse{} }
906func (*CheckpointTaskResponse) ProtoMessage() {}
907func (*CheckpointTaskResponse) Descriptor() ([]byte, []int) {
908	return fileDescriptor_310e7127b8a26f14, []int{21}
909}
910func (m *CheckpointTaskResponse) XXX_Unmarshal(b []byte) error {
911	return m.Unmarshal(b)
912}
913func (m *CheckpointTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
914	if deterministic {
915		return xxx_messageInfo_CheckpointTaskResponse.Marshal(b, m, deterministic)
916	} else {
917		b = b[:cap(b)]
918		n, err := m.MarshalToSizedBuffer(b)
919		if err != nil {
920			return nil, err
921		}
922		return b[:n], nil
923	}
924}
925func (m *CheckpointTaskResponse) XXX_Merge(src proto.Message) {
926	xxx_messageInfo_CheckpointTaskResponse.Merge(m, src)
927}
928func (m *CheckpointTaskResponse) XXX_Size() int {
929	return m.Size()
930}
931func (m *CheckpointTaskResponse) XXX_DiscardUnknown() {
932	xxx_messageInfo_CheckpointTaskResponse.DiscardUnknown(m)
933}
934
935var xxx_messageInfo_CheckpointTaskResponse proto.InternalMessageInfo
936
937type UpdateTaskRequest struct {
938	ContainerID          string            `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
939	Resources            *types1.Any       `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"`
940	Annotations          map[string]string `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
941	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
942	XXX_unrecognized     []byte            `json:"-"`
943	XXX_sizecache        int32             `json:"-"`
944}
945
946func (m *UpdateTaskRequest) Reset()      { *m = UpdateTaskRequest{} }
947func (*UpdateTaskRequest) ProtoMessage() {}
948func (*UpdateTaskRequest) Descriptor() ([]byte, []int) {
949	return fileDescriptor_310e7127b8a26f14, []int{22}
950}
951func (m *UpdateTaskRequest) XXX_Unmarshal(b []byte) error {
952	return m.Unmarshal(b)
953}
954func (m *UpdateTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
955	if deterministic {
956		return xxx_messageInfo_UpdateTaskRequest.Marshal(b, m, deterministic)
957	} else {
958		b = b[:cap(b)]
959		n, err := m.MarshalToSizedBuffer(b)
960		if err != nil {
961			return nil, err
962		}
963		return b[:n], nil
964	}
965}
966func (m *UpdateTaskRequest) XXX_Merge(src proto.Message) {
967	xxx_messageInfo_UpdateTaskRequest.Merge(m, src)
968}
969func (m *UpdateTaskRequest) XXX_Size() int {
970	return m.Size()
971}
972func (m *UpdateTaskRequest) XXX_DiscardUnknown() {
973	xxx_messageInfo_UpdateTaskRequest.DiscardUnknown(m)
974}
975
976var xxx_messageInfo_UpdateTaskRequest proto.InternalMessageInfo
977
978type MetricsRequest struct {
979	Filters              []string `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
980	XXX_NoUnkeyedLiteral struct{} `json:"-"`
981	XXX_unrecognized     []byte   `json:"-"`
982	XXX_sizecache        int32    `json:"-"`
983}
984
985func (m *MetricsRequest) Reset()      { *m = MetricsRequest{} }
986func (*MetricsRequest) ProtoMessage() {}
987func (*MetricsRequest) Descriptor() ([]byte, []int) {
988	return fileDescriptor_310e7127b8a26f14, []int{23}
989}
990func (m *MetricsRequest) XXX_Unmarshal(b []byte) error {
991	return m.Unmarshal(b)
992}
993func (m *MetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
994	if deterministic {
995		return xxx_messageInfo_MetricsRequest.Marshal(b, m, deterministic)
996	} else {
997		b = b[:cap(b)]
998		n, err := m.MarshalToSizedBuffer(b)
999		if err != nil {
1000			return nil, err
1001		}
1002		return b[:n], nil
1003	}
1004}
1005func (m *MetricsRequest) XXX_Merge(src proto.Message) {
1006	xxx_messageInfo_MetricsRequest.Merge(m, src)
1007}
1008func (m *MetricsRequest) XXX_Size() int {
1009	return m.Size()
1010}
1011func (m *MetricsRequest) XXX_DiscardUnknown() {
1012	xxx_messageInfo_MetricsRequest.DiscardUnknown(m)
1013}
1014
1015var xxx_messageInfo_MetricsRequest proto.InternalMessageInfo
1016
1017type MetricsResponse struct {
1018	Metrics              []*types.Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
1019	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
1020	XXX_unrecognized     []byte          `json:"-"`
1021	XXX_sizecache        int32           `json:"-"`
1022}
1023
1024func (m *MetricsResponse) Reset()      { *m = MetricsResponse{} }
1025func (*MetricsResponse) ProtoMessage() {}
1026func (*MetricsResponse) Descriptor() ([]byte, []int) {
1027	return fileDescriptor_310e7127b8a26f14, []int{24}
1028}
1029func (m *MetricsResponse) XXX_Unmarshal(b []byte) error {
1030	return m.Unmarshal(b)
1031}
1032func (m *MetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1033	if deterministic {
1034		return xxx_messageInfo_MetricsResponse.Marshal(b, m, deterministic)
1035	} else {
1036		b = b[:cap(b)]
1037		n, err := m.MarshalToSizedBuffer(b)
1038		if err != nil {
1039			return nil, err
1040		}
1041		return b[:n], nil
1042	}
1043}
1044func (m *MetricsResponse) XXX_Merge(src proto.Message) {
1045	xxx_messageInfo_MetricsResponse.Merge(m, src)
1046}
1047func (m *MetricsResponse) XXX_Size() int {
1048	return m.Size()
1049}
1050func (m *MetricsResponse) XXX_DiscardUnknown() {
1051	xxx_messageInfo_MetricsResponse.DiscardUnknown(m)
1052}
1053
1054var xxx_messageInfo_MetricsResponse proto.InternalMessageInfo
1055
1056type WaitRequest struct {
1057	ContainerID          string   `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
1058	ExecID               string   `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
1059	XXX_NoUnkeyedLiteral struct{} `json:"-"`
1060	XXX_unrecognized     []byte   `json:"-"`
1061	XXX_sizecache        int32    `json:"-"`
1062}
1063
1064func (m *WaitRequest) Reset()      { *m = WaitRequest{} }
1065func (*WaitRequest) ProtoMessage() {}
1066func (*WaitRequest) Descriptor() ([]byte, []int) {
1067	return fileDescriptor_310e7127b8a26f14, []int{25}
1068}
1069func (m *WaitRequest) XXX_Unmarshal(b []byte) error {
1070	return m.Unmarshal(b)
1071}
1072func (m *WaitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1073	if deterministic {
1074		return xxx_messageInfo_WaitRequest.Marshal(b, m, deterministic)
1075	} else {
1076		b = b[:cap(b)]
1077		n, err := m.MarshalToSizedBuffer(b)
1078		if err != nil {
1079			return nil, err
1080		}
1081		return b[:n], nil
1082	}
1083}
1084func (m *WaitRequest) XXX_Merge(src proto.Message) {
1085	xxx_messageInfo_WaitRequest.Merge(m, src)
1086}
1087func (m *WaitRequest) XXX_Size() int {
1088	return m.Size()
1089}
1090func (m *WaitRequest) XXX_DiscardUnknown() {
1091	xxx_messageInfo_WaitRequest.DiscardUnknown(m)
1092}
1093
1094var xxx_messageInfo_WaitRequest proto.InternalMessageInfo
1095
1096type WaitResponse struct {
1097	ExitStatus           uint32    `protobuf:"varint,1,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"`
1098	ExitedAt             time.Time `protobuf:"bytes,2,opt,name=exited_at,json=exitedAt,proto3,stdtime" json:"exited_at"`
1099	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
1100	XXX_unrecognized     []byte    `json:"-"`
1101	XXX_sizecache        int32     `json:"-"`
1102}
1103
1104func (m *WaitResponse) Reset()      { *m = WaitResponse{} }
1105func (*WaitResponse) ProtoMessage() {}
1106func (*WaitResponse) Descriptor() ([]byte, []int) {
1107	return fileDescriptor_310e7127b8a26f14, []int{26}
1108}
1109func (m *WaitResponse) XXX_Unmarshal(b []byte) error {
1110	return m.Unmarshal(b)
1111}
1112func (m *WaitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1113	if deterministic {
1114		return xxx_messageInfo_WaitResponse.Marshal(b, m, deterministic)
1115	} else {
1116		b = b[:cap(b)]
1117		n, err := m.MarshalToSizedBuffer(b)
1118		if err != nil {
1119			return nil, err
1120		}
1121		return b[:n], nil
1122	}
1123}
1124func (m *WaitResponse) XXX_Merge(src proto.Message) {
1125	xxx_messageInfo_WaitResponse.Merge(m, src)
1126}
1127func (m *WaitResponse) XXX_Size() int {
1128	return m.Size()
1129}
1130func (m *WaitResponse) XXX_DiscardUnknown() {
1131	xxx_messageInfo_WaitResponse.DiscardUnknown(m)
1132}
1133
1134var xxx_messageInfo_WaitResponse proto.InternalMessageInfo
1135
1136func init() {
1137	proto.RegisterType((*CreateTaskRequest)(nil), "containerd.services.tasks.v1.CreateTaskRequest")
1138	proto.RegisterType((*CreateTaskResponse)(nil), "containerd.services.tasks.v1.CreateTaskResponse")
1139	proto.RegisterType((*StartRequest)(nil), "containerd.services.tasks.v1.StartRequest")
1140	proto.RegisterType((*StartResponse)(nil), "containerd.services.tasks.v1.StartResponse")
1141	proto.RegisterType((*DeleteTaskRequest)(nil), "containerd.services.tasks.v1.DeleteTaskRequest")
1142	proto.RegisterType((*DeleteResponse)(nil), "containerd.services.tasks.v1.DeleteResponse")
1143	proto.RegisterType((*DeleteProcessRequest)(nil), "containerd.services.tasks.v1.DeleteProcessRequest")
1144	proto.RegisterType((*GetRequest)(nil), "containerd.services.tasks.v1.GetRequest")
1145	proto.RegisterType((*GetResponse)(nil), "containerd.services.tasks.v1.GetResponse")
1146	proto.RegisterType((*ListTasksRequest)(nil), "containerd.services.tasks.v1.ListTasksRequest")
1147	proto.RegisterType((*ListTasksResponse)(nil), "containerd.services.tasks.v1.ListTasksResponse")
1148	proto.RegisterType((*KillRequest)(nil), "containerd.services.tasks.v1.KillRequest")
1149	proto.RegisterType((*ExecProcessRequest)(nil), "containerd.services.tasks.v1.ExecProcessRequest")
1150	proto.RegisterType((*ExecProcessResponse)(nil), "containerd.services.tasks.v1.ExecProcessResponse")
1151	proto.RegisterType((*ResizePtyRequest)(nil), "containerd.services.tasks.v1.ResizePtyRequest")
1152	proto.RegisterType((*CloseIORequest)(nil), "containerd.services.tasks.v1.CloseIORequest")
1153	proto.RegisterType((*PauseTaskRequest)(nil), "containerd.services.tasks.v1.PauseTaskRequest")
1154	proto.RegisterType((*ResumeTaskRequest)(nil), "containerd.services.tasks.v1.ResumeTaskRequest")
1155	proto.RegisterType((*ListPidsRequest)(nil), "containerd.services.tasks.v1.ListPidsRequest")
1156	proto.RegisterType((*ListPidsResponse)(nil), "containerd.services.tasks.v1.ListPidsResponse")
1157	proto.RegisterType((*CheckpointTaskRequest)(nil), "containerd.services.tasks.v1.CheckpointTaskRequest")
1158	proto.RegisterType((*CheckpointTaskResponse)(nil), "containerd.services.tasks.v1.CheckpointTaskResponse")
1159	proto.RegisterType((*UpdateTaskRequest)(nil), "containerd.services.tasks.v1.UpdateTaskRequest")
1160	proto.RegisterMapType((map[string]string)(nil), "containerd.services.tasks.v1.UpdateTaskRequest.AnnotationsEntry")
1161	proto.RegisterType((*MetricsRequest)(nil), "containerd.services.tasks.v1.MetricsRequest")
1162	proto.RegisterType((*MetricsResponse)(nil), "containerd.services.tasks.v1.MetricsResponse")
1163	proto.RegisterType((*WaitRequest)(nil), "containerd.services.tasks.v1.WaitRequest")
1164	proto.RegisterType((*WaitResponse)(nil), "containerd.services.tasks.v1.WaitResponse")
1165}
1166
1167func init() {
1168	proto.RegisterFile("github.com/containerd/containerd/api/services/tasks/v1/tasks.proto", fileDescriptor_310e7127b8a26f14)
1169}
1170
1171var fileDescriptor_310e7127b8a26f14 = []byte{
1172	// 1376 bytes of a gzipped FileDescriptorProto
1173	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x5b, 0x6f, 0x1b, 0x45,
1174	0x14, 0xee, 0xfa, 0xee, 0xe3, 0xa4, 0x4d, 0x96, 0x34, 0x98, 0xa5, 0x8a, 0xc3, 0xf2, 0x62, 0x02,
1175	0x5d, 0x53, 0x17, 0x55, 0x55, 0x5b, 0x55, 0xe4, 0x46, 0x64, 0x41, 0xd5, 0x74, 0x5b, 0xa0, 0xaa,
1176	0x84, 0xc2, 0xc6, 0x3b, 0x71, 0x46, 0xb1, 0x77, 0xb6, 0x3b, 0xe3, 0xb4, 0xe6, 0x05, 0x7e, 0x42,
1177	0x5f, 0x79, 0x81, 0xbf, 0x93, 0x47, 0x1e, 0x11, 0xaa, 0x02, 0xf5, 0xbf, 0xe0, 0x0d, 0xcd, 0x65,
1178	0xd7, 0x1b, 0x3b, 0xf6, 0x3a, 0x4d, 0xc3, 0x4b, 0x32, 0x33, 0x7b, 0xce, 0x99, 0x33, 0xdf, 0xb9,
1179	0x7d, 0x09, 0xac, 0xb5, 0x30, 0xdb, 0xef, 0xee, 0x5a, 0x4d, 0xd2, 0xa9, 0x35, 0x89, 0xc7, 0x1c,
1180	0xec, 0xa1, 0xc0, 0x8d, 0x2f, 0x1d, 0x1f, 0xd7, 0x28, 0x0a, 0x0e, 0x71, 0x13, 0xd1, 0x1a, 0x73,
1181	0xe8, 0x01, 0xad, 0x1d, 0xde, 0x90, 0x0b, 0xcb, 0x0f, 0x08, 0x23, 0xfa, 0xb5, 0x81, 0xb4, 0x15,
1182	0x4a, 0x5a, 0x52, 0xe0, 0xf0, 0x86, 0xf1, 0x61, 0x8b, 0x90, 0x56, 0x1b, 0xd5, 0x84, 0xec, 0x6e,
1183	0x77, 0xaf, 0x86, 0x3a, 0x3e, 0xeb, 0x49, 0x55, 0xe3, 0x83, 0xe1, 0x8f, 0x8e, 0x17, 0x7e, 0x5a,
1184	0x68, 0x91, 0x16, 0x11, 0xcb, 0x1a, 0x5f, 0xa9, 0xd3, 0x5b, 0x53, 0xf9, 0xcb, 0x7a, 0x3e, 0xa2,
1185	0xb5, 0x0e, 0xe9, 0x7a, 0x4c, 0xe9, 0xdd, 0x3e, 0x8b, 0x1e, 0x62, 0x01, 0x6e, 0xaa, 0xd7, 0x19,
1186	0x77, 0xcf, 0xa0, 0xe9, 0x22, 0xda, 0x0c, 0xb0, 0xcf, 0x48, 0xa0, 0x94, 0xef, 0x9c, 0x41, 0x99,
1187	0x23, 0x26, 0x7e, 0x28, 0xdd, 0xca, 0x30, 0x36, 0x0c, 0x77, 0x10, 0x65, 0x4e, 0xc7, 0x97, 0x02,
1188	0xe6, 0x51, 0x0a, 0xe6, 0xd7, 0x03, 0xe4, 0x30, 0xf4, 0xc4, 0xa1, 0x07, 0x36, 0x7a, 0xde, 0x45,
1189	0x94, 0xe9, 0x75, 0x98, 0x89, 0xcc, 0xef, 0x60, 0xb7, 0xac, 0x2d, 0x6b, 0xd5, 0xe2, 0xda, 0x95,
1190	0xfe, 0x71, 0xa5, 0xb4, 0x1e, 0x9e, 0x37, 0x36, 0xec, 0x52, 0x24, 0xd4, 0x70, 0xf5, 0x1a, 0xe4,
1191	0x02, 0x42, 0xd8, 0x1e, 0x2d, 0xa7, 0x97, 0xd3, 0xd5, 0x52, 0xfd, 0x7d, 0x2b, 0x16, 0x52, 0xe1,
1192	0x9d, 0xf5, 0x80, 0x83, 0x69, 0x2b, 0x31, 0x7d, 0x01, 0xb2, 0x94, 0xb9, 0xd8, 0x2b, 0x67, 0xb8,
1193	0x75, 0x5b, 0x6e, 0xf4, 0x45, 0xc8, 0x51, 0xe6, 0x92, 0x2e, 0x2b, 0x67, 0xc5, 0xb1, 0xda, 0xa9,
1194	0x73, 0x14, 0x04, 0xe5, 0x5c, 0x74, 0x8e, 0x82, 0x40, 0x37, 0xa0, 0xc0, 0x50, 0xd0, 0xc1, 0x9e,
1195	0xd3, 0x2e, 0xe7, 0x97, 0xb5, 0x6a, 0xc1, 0x8e, 0xf6, 0xfa, 0x3d, 0x80, 0xe6, 0x3e, 0x6a, 0x1e,
1196	0xf8, 0x04, 0x7b, 0xac, 0x5c, 0x58, 0xd6, 0xaa, 0xa5, 0xfa, 0xb5, 0x51, 0xb7, 0x36, 0x22, 0xc4,
1197	0xed, 0x98, 0xbc, 0x6e, 0x41, 0x9e, 0xf8, 0x0c, 0x13, 0x8f, 0x96, 0x8b, 0x42, 0x75, 0xc1, 0x92,
1198	0x68, 0x5a, 0x21, 0x9a, 0xd6, 0xaa, 0xd7, 0xb3, 0x43, 0x21, 0xf3, 0x19, 0xe8, 0x71, 0x24, 0xa9,
1199	0x4f, 0x3c, 0x8a, 0xde, 0x0a, 0xca, 0x39, 0x48, 0xfb, 0xd8, 0x2d, 0xa7, 0x96, 0xb5, 0xea, 0xac,
1200	0xcd, 0x97, 0x66, 0x0b, 0x66, 0x1e, 0x33, 0x27, 0x60, 0xe7, 0x09, 0xd0, 0xc7, 0x90, 0x47, 0x2f,
1201	0x51, 0x73, 0x47, 0x59, 0x2e, 0xae, 0x41, 0xff, 0xb8, 0x92, 0xdb, 0x7c, 0x89, 0x9a, 0x8d, 0x0d,
1202	0x3b, 0xc7, 0x3f, 0x35, 0x5c, 0xf3, 0x23, 0x98, 0x55, 0x17, 0x29, 0xff, 0x95, 0x2f, 0xda, 0xc0,
1203	0x97, 0x2d, 0x98, 0xdf, 0x40, 0x6d, 0x74, 0xee, 0x8c, 0x31, 0x7f, 0xd3, 0xe0, 0xb2, 0xb4, 0x14,
1204	0xdd, 0xb6, 0x08, 0xa9, 0x48, 0x39, 0xd7, 0x3f, 0xae, 0xa4, 0x1a, 0x1b, 0x76, 0x0a, 0x9f, 0x82,
1205	0x88, 0x5e, 0x81, 0x12, 0x7a, 0x89, 0xd9, 0x0e, 0x65, 0x0e, 0xeb, 0xf2, 0x9c, 0xe3, 0x5f, 0x80,
1206	0x1f, 0x3d, 0x16, 0x27, 0xfa, 0x2a, 0x14, 0xf9, 0x0e, 0xb9, 0x3b, 0x0e, 0x13, 0x29, 0x56, 0xaa,
1207	0x1b, 0x23, 0x01, 0x7c, 0x12, 0x96, 0xc3, 0x5a, 0xe1, 0xe8, 0xb8, 0x72, 0xe9, 0xd5, 0xdf, 0x15,
1208	0xcd, 0x2e, 0x48, 0xb5, 0x55, 0x66, 0x12, 0x58, 0x90, 0xfe, 0x6d, 0x07, 0xa4, 0x89, 0x28, 0xbd,
1209	0x70, 0xf4, 0x11, 0xc0, 0x16, 0xba, 0xf8, 0x20, 0x6f, 0x42, 0x49, 0x5c, 0xa3, 0x40, 0xbf, 0x05,
1210	0x79, 0x5f, 0x3e, 0x50, 0x5c, 0x31, 0x54, 0x23, 0x87, 0x37, 0x54, 0x99, 0x84, 0x20, 0x84, 0xc2,
1211	0xe6, 0x0a, 0xcc, 0x7d, 0x83, 0x29, 0xe3, 0x69, 0x10, 0x41, 0xb3, 0x08, 0xb9, 0x3d, 0xdc, 0x66,
1212	0x28, 0x90, 0xde, 0xda, 0x6a, 0xc7, 0x93, 0x26, 0x26, 0x1b, 0xd5, 0x46, 0x56, 0xb4, 0xf8, 0xb2,
1213	0x26, 0x3a, 0xc6, 0xe4, 0x6b, 0xa5, 0xa8, 0xf9, 0x4a, 0x83, 0xd2, 0xd7, 0xb8, 0xdd, 0xbe, 0x68,
1214	0x90, 0x44, 0xc3, 0xc1, 0x2d, 0xde, 0x56, 0x64, 0x6e, 0xa9, 0x1d, 0x4f, 0x45, 0xa7, 0xdd, 0x16,
1215	0x19, 0x55, 0xb0, 0xf9, 0xd2, 0xfc, 0x57, 0x03, 0x9d, 0x2b, 0xbf, 0x83, 0x2c, 0x89, 0x7a, 0x62,
1216	0xea, 0xf4, 0x9e, 0x98, 0x1e, 0xd3, 0x13, 0x33, 0x63, 0x7b, 0x62, 0x76, 0xa8, 0x27, 0x56, 0x21,
1217	0x43, 0x7d, 0xd4, 0x14, 0x5d, 0x74, 0x5c, 0x4b, 0x13, 0x12, 0x71, 0x94, 0xf2, 0x63, 0x53, 0xe9,
1218	0x2a, 0xbc, 0x77, 0xe2, 0xe9, 0x32, 0xb2, 0xe6, 0xaf, 0x1a, 0xcc, 0xd9, 0x88, 0xe2, 0x9f, 0xd0,
1219	0x36, 0xeb, 0x5d, 0x78, 0xa8, 0x16, 0x20, 0xfb, 0x02, 0xbb, 0x6c, 0x5f, 0x45, 0x4a, 0x6e, 0x38,
1220	0x3a, 0xfb, 0x08, 0xb7, 0xf6, 0x65, 0xf5, 0xcf, 0xda, 0x6a, 0x67, 0xfe, 0x0c, 0x97, 0xd7, 0xdb,
1221	0x84, 0xa2, 0xc6, 0xc3, 0xff, 0xc3, 0x31, 0x19, 0xce, 0xb4, 0x88, 0x82, 0xdc, 0x98, 0x5f, 0xc1,
1222	0xdc, 0xb6, 0xd3, 0xa5, 0xe7, 0xee, 0x9f, 0x5b, 0x30, 0x6f, 0x23, 0xda, 0xed, 0x9c, 0xdb, 0xd0,
1223	0x26, 0x5c, 0xe1, 0xc5, 0xb9, 0x8d, 0xdd, 0xf3, 0x24, 0xaf, 0x69, 0xcb, 0x7e, 0x20, 0xcd, 0xa8,
1224	0x12, 0xbf, 0x0f, 0x45, 0xd5, 0x2e, 0x50, 0x58, 0xe6, 0xcb, 0x93, 0xca, 0xbc, 0xe1, 0xed, 0x11,
1225	0x7b, 0xa0, 0x62, 0xbe, 0xd6, 0xe0, 0xea, 0x7a, 0x34, 0x93, 0xcf, 0xcb, 0x51, 0x76, 0x60, 0xde,
1226	0x77, 0x02, 0xe4, 0xb1, 0x9d, 0x18, 0x2f, 0x90, 0xe1, 0xab, 0xf3, 0xfe, 0xff, 0xd7, 0x71, 0x65,
1227	0x25, 0xc6, 0xb6, 0x88, 0x8f, 0xbc, 0x48, 0x9d, 0xd6, 0x5a, 0xe4, 0xba, 0x8b, 0x5b, 0x88, 0x32,
1228	0x6b, 0x43, 0xfc, 0xb2, 0xe7, 0xa4, 0xb1, 0xf5, 0x53, 0x39, 0x43, 0x7a, 0x1a, 0xce, 0xf0, 0x14,
1229	0x16, 0x87, 0x5f, 0x17, 0x01, 0x57, 0x1a, 0x30, 0xc1, 0x53, 0x3b, 0xe4, 0x08, 0x79, 0x89, 0x2b,
1230	0x98, 0xbf, 0xa7, 0x60, 0xfe, 0x5b, 0xdf, 0x7d, 0x07, 0xc4, 0xae, 0x0e, 0xc5, 0x00, 0x51, 0xd2,
1231	0x0d, 0x9a, 0x88, 0x0a, 0xb0, 0xc6, 0xbd, 0x6a, 0x20, 0xa6, 0xef, 0x42, 0xc9, 0xf1, 0x3c, 0xc2,
1232	0x9c, 0x10, 0x0b, 0xee, 0xfd, 0x97, 0xd6, 0x24, 0x92, 0x6f, 0x8d, 0x78, 0x6b, 0xad, 0x0e, 0x4c,
1233	0x6c, 0x7a, 0x2c, 0xe8, 0xd9, 0x71, 0xa3, 0xc6, 0x7d, 0x98, 0x1b, 0x16, 0xe0, 0xcd, 0xf9, 0x00,
1234	0xf5, 0xd4, 0xec, 0xe1, 0x4b, 0x5e, 0x82, 0x87, 0x4e, 0xbb, 0x8b, 0xc2, 0x8e, 0x2a, 0x36, 0x77,
1235	0x52, 0xb7, 0x35, 0x73, 0x05, 0x2e, 0x3f, 0x90, 0x2c, 0x3d, 0x44, 0xa7, 0x0c, 0x79, 0x39, 0xae,
1236	0x24, 0xde, 0x45, 0x3b, 0xdc, 0xf2, 0x0a, 0x89, 0x64, 0xa3, 0xe1, 0x95, 0x57, 0x24, 0x5f, 0x05,
1237	0xa7, 0x7c, 0x0a, 0xe1, 0x15, 0x02, 0x76, 0x28, 0x68, 0xee, 0x41, 0xe9, 0x7b, 0x07, 0x5f, 0xfc,
1238	0x80, 0x0f, 0x60, 0x46, 0xde, 0xa3, 0x7c, 0x1d, 0x22, 0x4b, 0xda, 0x64, 0xb2, 0x94, 0x7a, 0x1b,
1239	0xb2, 0x54, 0x7f, 0x3d, 0x03, 0x59, 0x31, 0xde, 0xf5, 0x03, 0xc8, 0x49, 0x22, 0xac, 0xd7, 0x26,
1240	0x47, 0x7c, 0xe4, 0x0f, 0x0f, 0xe3, 0xf3, 0xe9, 0x15, 0xd4, 0xd3, 0x7e, 0x84, 0xac, 0x20, 0xac,
1241	0xfa, 0xca, 0x64, 0xd5, 0x38, 0x7d, 0x36, 0x3e, 0x9d, 0x4a, 0x56, 0xdd, 0xd0, 0x82, 0x9c, 0x64,
1242	0x81, 0x49, 0xcf, 0x19, 0x61, 0xc5, 0xc6, 0x67, 0xd3, 0x28, 0x44, 0x17, 0x3d, 0x87, 0xd9, 0x13,
1243	0x74, 0x53, 0xaf, 0x4f, 0xa3, 0x7e, 0x92, 0x75, 0x9c, 0xf1, 0xca, 0x67, 0x90, 0xde, 0x42, 0x4c,
1244	0xaf, 0x4e, 0x56, 0x1a, 0x70, 0x52, 0xe3, 0x93, 0x29, 0x24, 0x23, 0xdc, 0x32, 0x7c, 0x1c, 0xe8,
1245	0xd6, 0x64, 0x95, 0x61, 0x0a, 0x69, 0xd4, 0xa6, 0x96, 0x57, 0x17, 0x35, 0x20, 0xc3, 0x19, 0xa1,
1246	0x9e, 0xe0, 0x5b, 0x8c, 0x35, 0x1a, 0x8b, 0x23, 0xc9, 0xbd, 0xd9, 0xf1, 0x59, 0x4f, 0xdf, 0x86,
1247	0x0c, 0x2f, 0x25, 0x3d, 0x21, 0x0f, 0x47, 0xd9, 0xde, 0x58, 0x8b, 0x8f, 0xa1, 0x18, 0x11, 0xa1,
1248	0x24, 0x28, 0x86, 0x19, 0xd3, 0x58, 0xa3, 0x0f, 0x21, 0xaf, 0x28, 0x8c, 0x9e, 0x10, 0xef, 0x93,
1249	0x4c, 0x67, 0x82, 0xc1, 0xac, 0xa0, 0x24, 0x49, 0x1e, 0x0e, 0xf3, 0x96, 0xb1, 0x06, 0x1f, 0x41,
1250	0x4e, 0x72, 0x93, 0xa4, 0xa2, 0x19, 0x61, 0x30, 0x63, 0x4d, 0x62, 0x28, 0x84, 0xf4, 0x42, 0xbf,
1251	0x9e, 0x9c, 0x23, 0x31, 0x36, 0x63, 0x58, 0xd3, 0x8a, 0xab, 0x8c, 0x7a, 0x01, 0x10, 0x1b, 0xea,
1252	0x37, 0x13, 0x20, 0x3e, 0x8d, 0x9e, 0x18, 0x5f, 0x9c, 0x4d, 0x49, 0x5d, 0xfc, 0x08, 0x72, 0x72,
1253	0x0c, 0x26, 0xc1, 0x36, 0x32, 0x2c, 0xc7, 0xc2, 0xb6, 0x07, 0x79, 0x35, 0xba, 0x92, 0x72, 0xe5,
1254	0xe4, 0x34, 0x34, 0xae, 0x4f, 0x29, 0xad, 0x5c, 0xff, 0x01, 0x32, 0x7c, 0xe6, 0x24, 0x55, 0x61,
1255	0x6c, 0xfe, 0x19, 0x2b, 0xd3, 0x88, 0x4a, 0xf3, 0x6b, 0xdf, 0x1d, 0xbd, 0x59, 0xba, 0xf4, 0xe7,
1256	0x9b, 0xa5, 0x4b, 0xbf, 0xf4, 0x97, 0xb4, 0xa3, 0xfe, 0x92, 0xf6, 0x47, 0x7f, 0x49, 0xfb, 0xa7,
1257	0xbf, 0xa4, 0x3d, 0xbb, 0xf7, 0x76, 0xff, 0x7e, 0xbc, 0x2b, 0x16, 0x4f, 0x53, 0xbb, 0x39, 0x01,
1258	0xd8, 0xcd, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xcc, 0x55, 0xbf, 0x54, 0xc7, 0x14, 0x00, 0x00,
1259}
1260
1261// Reference imports to suppress errors if they are not otherwise used.
1262var _ context.Context
1263var _ grpc.ClientConn
1264
1265// This is a compile-time assertion to ensure that this generated file
1266// is compatible with the grpc package it is being compiled against.
1267const _ = grpc.SupportPackageIsVersion4
1268
1269// TasksClient is the client API for Tasks service.
1270//
1271// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1272type TasksClient interface {
1273	// Create a task.
1274	Create(ctx context.Context, in *CreateTaskRequest, opts ...grpc.CallOption) (*CreateTaskResponse, error)
1275	// Start a process.
1276	Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error)
1277	// Delete a task and on disk state.
1278	Delete(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
1279	DeleteProcess(ctx context.Context, in *DeleteProcessRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
1280	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
1281	List(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error)
1282	// Kill a task or process.
1283	Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*types1.Empty, error)
1284	Exec(ctx context.Context, in *ExecProcessRequest, opts ...grpc.CallOption) (*types1.Empty, error)
1285	ResizePty(ctx context.Context, in *ResizePtyRequest, opts ...grpc.CallOption) (*types1.Empty, error)
1286	CloseIO(ctx context.Context, in *CloseIORequest, opts ...grpc.CallOption) (*types1.Empty, error)
1287	Pause(ctx context.Context, in *PauseTaskRequest, opts ...grpc.CallOption) (*types1.Empty, error)
1288	Resume(ctx context.Context, in *ResumeTaskRequest, opts ...grpc.CallOption) (*types1.Empty, error)
1289	ListPids(ctx context.Context, in *ListPidsRequest, opts ...grpc.CallOption) (*ListPidsResponse, error)
1290	Checkpoint(ctx context.Context, in *CheckpointTaskRequest, opts ...grpc.CallOption) (*CheckpointTaskResponse, error)
1291	Update(ctx context.Context, in *UpdateTaskRequest, opts ...grpc.CallOption) (*types1.Empty, error)
1292	Metrics(ctx context.Context, in *MetricsRequest, opts ...grpc.CallOption) (*MetricsResponse, error)
1293	Wait(ctx context.Context, in *WaitRequest, opts ...grpc.CallOption) (*WaitResponse, error)
1294}
1295
1296type tasksClient struct {
1297	cc *grpc.ClientConn
1298}
1299
1300func NewTasksClient(cc *grpc.ClientConn) TasksClient {
1301	return &tasksClient{cc}
1302}
1303
1304func (c *tasksClient) Create(ctx context.Context, in *CreateTaskRequest, opts ...grpc.CallOption) (*CreateTaskResponse, error) {
1305	out := new(CreateTaskResponse)
1306	err := c.cc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Create", in, out, opts...)
1307	if err != nil {
1308		return nil, err
1309	}
1310	return out, nil
1311}
1312
1313func (c *tasksClient) Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error) {
1314	out := new(StartResponse)
1315	err := c.cc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Start", in, out, opts...)
1316	if err != nil {
1317		return nil, err
1318	}
1319	return out, nil
1320}
1321
1322func (c *tasksClient) Delete(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*DeleteResponse, error) {
1323	out := new(DeleteResponse)
1324	err := c.cc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Delete", in, out, opts...)
1325	if err != nil {
1326		return nil, err
1327	}
1328	return out, nil
1329}
1330
1331func (c *tasksClient) DeleteProcess(ctx context.Context, in *DeleteProcessRequest, opts ...grpc.CallOption) (*DeleteResponse, error) {
1332	out := new(DeleteResponse)
1333	err := c.cc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/DeleteProcess", in, out, opts...)
1334	if err != nil {
1335		return nil, err
1336	}
1337	return out, nil
1338}
1339
1340func (c *tasksClient) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) {
1341	out := new(GetResponse)
1342	err := c.cc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Get", in, out, opts...)
1343	if err != nil {
1344		return nil, err
1345	}
1346	return out, nil
1347}
1348
1349func (c *tasksClient) List(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error) {
1350	out := new(ListTasksResponse)
1351	err := c.cc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/List", in, out, opts...)
1352	if err != nil {
1353		return nil, err
1354	}
1355	return out, nil
1356}
1357
1358func (c *tasksClient) Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*types1.Empty, error) {
1359	out := new(types1.Empty)
1360	err := c.cc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Kill", in, out, opts...)
1361	if err != nil {
1362		return nil, err
1363	}
1364	return out, nil
1365}
1366
1367func (c *tasksClient) Exec(ctx context.Context, in *ExecProcessRequest, opts ...grpc.CallOption) (*types1.Empty, error) {
1368	out := new(types1.Empty)
1369	err := c.cc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Exec", in, out, opts...)
1370	if err != nil {
1371		return nil, err
1372	}
1373	return out, nil
1374}
1375
1376func (c *tasksClient) ResizePty(ctx context.Context, in *ResizePtyRequest, opts ...grpc.CallOption) (*types1.Empty, error) {
1377	out := new(types1.Empty)
1378	err := c.cc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/ResizePty", in, out, opts...)
1379	if err != nil {
1380		return nil, err
1381	}
1382	return out, nil
1383}
1384
1385func (c *tasksClient) CloseIO(ctx context.Context, in *CloseIORequest, opts ...grpc.CallOption) (*types1.Empty, error) {
1386	out := new(types1.Empty)
1387	err := c.cc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/CloseIO", in, out, opts...)
1388	if err != nil {
1389		return nil, err
1390	}
1391	return out, nil
1392}
1393
1394func (c *tasksClient) Pause(ctx context.Context, in *PauseTaskRequest, opts ...grpc.CallOption) (*types1.Empty, error) {
1395	out := new(types1.Empty)
1396	err := c.cc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Pause", in, out, opts...)
1397	if err != nil {
1398		return nil, err
1399	}
1400	return out, nil
1401}
1402
1403func (c *tasksClient) Resume(ctx context.Context, in *ResumeTaskRequest, opts ...grpc.CallOption) (*types1.Empty, error) {
1404	out := new(types1.Empty)
1405	err := c.cc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Resume", in, out, opts...)
1406	if err != nil {
1407		return nil, err
1408	}
1409	return out, nil
1410}
1411
1412func (c *tasksClient) ListPids(ctx context.Context, in *ListPidsRequest, opts ...grpc.CallOption) (*ListPidsResponse, error) {
1413	out := new(ListPidsResponse)
1414	err := c.cc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/ListPids", in, out, opts...)
1415	if err != nil {
1416		return nil, err
1417	}
1418	return out, nil
1419}
1420
1421func (c *tasksClient) Checkpoint(ctx context.Context, in *CheckpointTaskRequest, opts ...grpc.CallOption) (*CheckpointTaskResponse, error) {
1422	out := new(CheckpointTaskResponse)
1423	err := c.cc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Checkpoint", in, out, opts...)
1424	if err != nil {
1425		return nil, err
1426	}
1427	return out, nil
1428}
1429
1430func (c *tasksClient) Update(ctx context.Context, in *UpdateTaskRequest, opts ...grpc.CallOption) (*types1.Empty, error) {
1431	out := new(types1.Empty)
1432	err := c.cc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Update", in, out, opts...)
1433	if err != nil {
1434		return nil, err
1435	}
1436	return out, nil
1437}
1438
1439func (c *tasksClient) Metrics(ctx context.Context, in *MetricsRequest, opts ...grpc.CallOption) (*MetricsResponse, error) {
1440	out := new(MetricsResponse)
1441	err := c.cc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Metrics", in, out, opts...)
1442	if err != nil {
1443		return nil, err
1444	}
1445	return out, nil
1446}
1447
1448func (c *tasksClient) Wait(ctx context.Context, in *WaitRequest, opts ...grpc.CallOption) (*WaitResponse, error) {
1449	out := new(WaitResponse)
1450	err := c.cc.Invoke(ctx, "/containerd.services.tasks.v1.Tasks/Wait", in, out, opts...)
1451	if err != nil {
1452		return nil, err
1453	}
1454	return out, nil
1455}
1456
1457// TasksServer is the server API for Tasks service.
1458type TasksServer interface {
1459	// Create a task.
1460	Create(context.Context, *CreateTaskRequest) (*CreateTaskResponse, error)
1461	// Start a process.
1462	Start(context.Context, *StartRequest) (*StartResponse, error)
1463	// Delete a task and on disk state.
1464	Delete(context.Context, *DeleteTaskRequest) (*DeleteResponse, error)
1465	DeleteProcess(context.Context, *DeleteProcessRequest) (*DeleteResponse, error)
1466	Get(context.Context, *GetRequest) (*GetResponse, error)
1467	List(context.Context, *ListTasksRequest) (*ListTasksResponse, error)
1468	// Kill a task or process.
1469	Kill(context.Context, *KillRequest) (*types1.Empty, error)
1470	Exec(context.Context, *ExecProcessRequest) (*types1.Empty, error)
1471	ResizePty(context.Context, *ResizePtyRequest) (*types1.Empty, error)
1472	CloseIO(context.Context, *CloseIORequest) (*types1.Empty, error)
1473	Pause(context.Context, *PauseTaskRequest) (*types1.Empty, error)
1474	Resume(context.Context, *ResumeTaskRequest) (*types1.Empty, error)
1475	ListPids(context.Context, *ListPidsRequest) (*ListPidsResponse, error)
1476	Checkpoint(context.Context, *CheckpointTaskRequest) (*CheckpointTaskResponse, error)
1477	Update(context.Context, *UpdateTaskRequest) (*types1.Empty, error)
1478	Metrics(context.Context, *MetricsRequest) (*MetricsResponse, error)
1479	Wait(context.Context, *WaitRequest) (*WaitResponse, error)
1480}
1481
1482// UnimplementedTasksServer can be embedded to have forward compatible implementations.
1483type UnimplementedTasksServer struct {
1484}
1485
1486func (*UnimplementedTasksServer) Create(ctx context.Context, req *CreateTaskRequest) (*CreateTaskResponse, error) {
1487	return nil, status.Errorf(codes.Unimplemented, "method Create not implemented")
1488}
1489func (*UnimplementedTasksServer) Start(ctx context.Context, req *StartRequest) (*StartResponse, error) {
1490	return nil, status.Errorf(codes.Unimplemented, "method Start not implemented")
1491}
1492func (*UnimplementedTasksServer) Delete(ctx context.Context, req *DeleteTaskRequest) (*DeleteResponse, error) {
1493	return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
1494}
1495func (*UnimplementedTasksServer) DeleteProcess(ctx context.Context, req *DeleteProcessRequest) (*DeleteResponse, error) {
1496	return nil, status.Errorf(codes.Unimplemented, "method DeleteProcess not implemented")
1497}
1498func (*UnimplementedTasksServer) Get(ctx context.Context, req *GetRequest) (*GetResponse, error) {
1499	return nil, status.Errorf(codes.Unimplemented, "method Get not implemented")
1500}
1501func (*UnimplementedTasksServer) List(ctx context.Context, req *ListTasksRequest) (*ListTasksResponse, error) {
1502	return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
1503}
1504func (*UnimplementedTasksServer) Kill(ctx context.Context, req *KillRequest) (*types1.Empty, error) {
1505	return nil, status.Errorf(codes.Unimplemented, "method Kill not implemented")
1506}
1507func (*UnimplementedTasksServer) Exec(ctx context.Context, req *ExecProcessRequest) (*types1.Empty, error) {
1508	return nil, status.Errorf(codes.Unimplemented, "method Exec not implemented")
1509}
1510func (*UnimplementedTasksServer) ResizePty(ctx context.Context, req *ResizePtyRequest) (*types1.Empty, error) {
1511	return nil, status.Errorf(codes.Unimplemented, "method ResizePty not implemented")
1512}
1513func (*UnimplementedTasksServer) CloseIO(ctx context.Context, req *CloseIORequest) (*types1.Empty, error) {
1514	return nil, status.Errorf(codes.Unimplemented, "method CloseIO not implemented")
1515}
1516func (*UnimplementedTasksServer) Pause(ctx context.Context, req *PauseTaskRequest) (*types1.Empty, error) {
1517	return nil, status.Errorf(codes.Unimplemented, "method Pause not implemented")
1518}
1519func (*UnimplementedTasksServer) Resume(ctx context.Context, req *ResumeTaskRequest) (*types1.Empty, error) {
1520	return nil, status.Errorf(codes.Unimplemented, "method Resume not implemented")
1521}
1522func (*UnimplementedTasksServer) ListPids(ctx context.Context, req *ListPidsRequest) (*ListPidsResponse, error) {
1523	return nil, status.Errorf(codes.Unimplemented, "method ListPids not implemented")
1524}
1525func (*UnimplementedTasksServer) Checkpoint(ctx context.Context, req *CheckpointTaskRequest) (*CheckpointTaskResponse, error) {
1526	return nil, status.Errorf(codes.Unimplemented, "method Checkpoint not implemented")
1527}
1528func (*UnimplementedTasksServer) Update(ctx context.Context, req *UpdateTaskRequest) (*types1.Empty, error) {
1529	return nil, status.Errorf(codes.Unimplemented, "method Update not implemented")
1530}
1531func (*UnimplementedTasksServer) Metrics(ctx context.Context, req *MetricsRequest) (*MetricsResponse, error) {
1532	return nil, status.Errorf(codes.Unimplemented, "method Metrics not implemented")
1533}
1534func (*UnimplementedTasksServer) Wait(ctx context.Context, req *WaitRequest) (*WaitResponse, error) {
1535	return nil, status.Errorf(codes.Unimplemented, "method Wait not implemented")
1536}
1537
1538func RegisterTasksServer(s *grpc.Server, srv TasksServer) {
1539	s.RegisterService(&_Tasks_serviceDesc, srv)
1540}
1541
1542func _Tasks_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1543	in := new(CreateTaskRequest)
1544	if err := dec(in); err != nil {
1545		return nil, err
1546	}
1547	if interceptor == nil {
1548		return srv.(TasksServer).Create(ctx, in)
1549	}
1550	info := &grpc.UnaryServerInfo{
1551		Server:     srv,
1552		FullMethod: "/containerd.services.tasks.v1.Tasks/Create",
1553	}
1554	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1555		return srv.(TasksServer).Create(ctx, req.(*CreateTaskRequest))
1556	}
1557	return interceptor(ctx, in, info, handler)
1558}
1559
1560func _Tasks_Start_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1561	in := new(StartRequest)
1562	if err := dec(in); err != nil {
1563		return nil, err
1564	}
1565	if interceptor == nil {
1566		return srv.(TasksServer).Start(ctx, in)
1567	}
1568	info := &grpc.UnaryServerInfo{
1569		Server:     srv,
1570		FullMethod: "/containerd.services.tasks.v1.Tasks/Start",
1571	}
1572	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1573		return srv.(TasksServer).Start(ctx, req.(*StartRequest))
1574	}
1575	return interceptor(ctx, in, info, handler)
1576}
1577
1578func _Tasks_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1579	in := new(DeleteTaskRequest)
1580	if err := dec(in); err != nil {
1581		return nil, err
1582	}
1583	if interceptor == nil {
1584		return srv.(TasksServer).Delete(ctx, in)
1585	}
1586	info := &grpc.UnaryServerInfo{
1587		Server:     srv,
1588		FullMethod: "/containerd.services.tasks.v1.Tasks/Delete",
1589	}
1590	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1591		return srv.(TasksServer).Delete(ctx, req.(*DeleteTaskRequest))
1592	}
1593	return interceptor(ctx, in, info, handler)
1594}
1595
1596func _Tasks_DeleteProcess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1597	in := new(DeleteProcessRequest)
1598	if err := dec(in); err != nil {
1599		return nil, err
1600	}
1601	if interceptor == nil {
1602		return srv.(TasksServer).DeleteProcess(ctx, in)
1603	}
1604	info := &grpc.UnaryServerInfo{
1605		Server:     srv,
1606		FullMethod: "/containerd.services.tasks.v1.Tasks/DeleteProcess",
1607	}
1608	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1609		return srv.(TasksServer).DeleteProcess(ctx, req.(*DeleteProcessRequest))
1610	}
1611	return interceptor(ctx, in, info, handler)
1612}
1613
1614func _Tasks_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1615	in := new(GetRequest)
1616	if err := dec(in); err != nil {
1617		return nil, err
1618	}
1619	if interceptor == nil {
1620		return srv.(TasksServer).Get(ctx, in)
1621	}
1622	info := &grpc.UnaryServerInfo{
1623		Server:     srv,
1624		FullMethod: "/containerd.services.tasks.v1.Tasks/Get",
1625	}
1626	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1627		return srv.(TasksServer).Get(ctx, req.(*GetRequest))
1628	}
1629	return interceptor(ctx, in, info, handler)
1630}
1631
1632func _Tasks_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1633	in := new(ListTasksRequest)
1634	if err := dec(in); err != nil {
1635		return nil, err
1636	}
1637	if interceptor == nil {
1638		return srv.(TasksServer).List(ctx, in)
1639	}
1640	info := &grpc.UnaryServerInfo{
1641		Server:     srv,
1642		FullMethod: "/containerd.services.tasks.v1.Tasks/List",
1643	}
1644	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1645		return srv.(TasksServer).List(ctx, req.(*ListTasksRequest))
1646	}
1647	return interceptor(ctx, in, info, handler)
1648}
1649
1650func _Tasks_Kill_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1651	in := new(KillRequest)
1652	if err := dec(in); err != nil {
1653		return nil, err
1654	}
1655	if interceptor == nil {
1656		return srv.(TasksServer).Kill(ctx, in)
1657	}
1658	info := &grpc.UnaryServerInfo{
1659		Server:     srv,
1660		FullMethod: "/containerd.services.tasks.v1.Tasks/Kill",
1661	}
1662	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1663		return srv.(TasksServer).Kill(ctx, req.(*KillRequest))
1664	}
1665	return interceptor(ctx, in, info, handler)
1666}
1667
1668func _Tasks_Exec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1669	in := new(ExecProcessRequest)
1670	if err := dec(in); err != nil {
1671		return nil, err
1672	}
1673	if interceptor == nil {
1674		return srv.(TasksServer).Exec(ctx, in)
1675	}
1676	info := &grpc.UnaryServerInfo{
1677		Server:     srv,
1678		FullMethod: "/containerd.services.tasks.v1.Tasks/Exec",
1679	}
1680	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1681		return srv.(TasksServer).Exec(ctx, req.(*ExecProcessRequest))
1682	}
1683	return interceptor(ctx, in, info, handler)
1684}
1685
1686func _Tasks_ResizePty_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1687	in := new(ResizePtyRequest)
1688	if err := dec(in); err != nil {
1689		return nil, err
1690	}
1691	if interceptor == nil {
1692		return srv.(TasksServer).ResizePty(ctx, in)
1693	}
1694	info := &grpc.UnaryServerInfo{
1695		Server:     srv,
1696		FullMethod: "/containerd.services.tasks.v1.Tasks/ResizePty",
1697	}
1698	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1699		return srv.(TasksServer).ResizePty(ctx, req.(*ResizePtyRequest))
1700	}
1701	return interceptor(ctx, in, info, handler)
1702}
1703
1704func _Tasks_CloseIO_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1705	in := new(CloseIORequest)
1706	if err := dec(in); err != nil {
1707		return nil, err
1708	}
1709	if interceptor == nil {
1710		return srv.(TasksServer).CloseIO(ctx, in)
1711	}
1712	info := &grpc.UnaryServerInfo{
1713		Server:     srv,
1714		FullMethod: "/containerd.services.tasks.v1.Tasks/CloseIO",
1715	}
1716	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1717		return srv.(TasksServer).CloseIO(ctx, req.(*CloseIORequest))
1718	}
1719	return interceptor(ctx, in, info, handler)
1720}
1721
1722func _Tasks_Pause_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1723	in := new(PauseTaskRequest)
1724	if err := dec(in); err != nil {
1725		return nil, err
1726	}
1727	if interceptor == nil {
1728		return srv.(TasksServer).Pause(ctx, in)
1729	}
1730	info := &grpc.UnaryServerInfo{
1731		Server:     srv,
1732		FullMethod: "/containerd.services.tasks.v1.Tasks/Pause",
1733	}
1734	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1735		return srv.(TasksServer).Pause(ctx, req.(*PauseTaskRequest))
1736	}
1737	return interceptor(ctx, in, info, handler)
1738}
1739
1740func _Tasks_Resume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1741	in := new(ResumeTaskRequest)
1742	if err := dec(in); err != nil {
1743		return nil, err
1744	}
1745	if interceptor == nil {
1746		return srv.(TasksServer).Resume(ctx, in)
1747	}
1748	info := &grpc.UnaryServerInfo{
1749		Server:     srv,
1750		FullMethod: "/containerd.services.tasks.v1.Tasks/Resume",
1751	}
1752	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1753		return srv.(TasksServer).Resume(ctx, req.(*ResumeTaskRequest))
1754	}
1755	return interceptor(ctx, in, info, handler)
1756}
1757
1758func _Tasks_ListPids_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1759	in := new(ListPidsRequest)
1760	if err := dec(in); err != nil {
1761		return nil, err
1762	}
1763	if interceptor == nil {
1764		return srv.(TasksServer).ListPids(ctx, in)
1765	}
1766	info := &grpc.UnaryServerInfo{
1767		Server:     srv,
1768		FullMethod: "/containerd.services.tasks.v1.Tasks/ListPids",
1769	}
1770	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1771		return srv.(TasksServer).ListPids(ctx, req.(*ListPidsRequest))
1772	}
1773	return interceptor(ctx, in, info, handler)
1774}
1775
1776func _Tasks_Checkpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1777	in := new(CheckpointTaskRequest)
1778	if err := dec(in); err != nil {
1779		return nil, err
1780	}
1781	if interceptor == nil {
1782		return srv.(TasksServer).Checkpoint(ctx, in)
1783	}
1784	info := &grpc.UnaryServerInfo{
1785		Server:     srv,
1786		FullMethod: "/containerd.services.tasks.v1.Tasks/Checkpoint",
1787	}
1788	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1789		return srv.(TasksServer).Checkpoint(ctx, req.(*CheckpointTaskRequest))
1790	}
1791	return interceptor(ctx, in, info, handler)
1792}
1793
1794func _Tasks_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1795	in := new(UpdateTaskRequest)
1796	if err := dec(in); err != nil {
1797		return nil, err
1798	}
1799	if interceptor == nil {
1800		return srv.(TasksServer).Update(ctx, in)
1801	}
1802	info := &grpc.UnaryServerInfo{
1803		Server:     srv,
1804		FullMethod: "/containerd.services.tasks.v1.Tasks/Update",
1805	}
1806	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1807		return srv.(TasksServer).Update(ctx, req.(*UpdateTaskRequest))
1808	}
1809	return interceptor(ctx, in, info, handler)
1810}
1811
1812func _Tasks_Metrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1813	in := new(MetricsRequest)
1814	if err := dec(in); err != nil {
1815		return nil, err
1816	}
1817	if interceptor == nil {
1818		return srv.(TasksServer).Metrics(ctx, in)
1819	}
1820	info := &grpc.UnaryServerInfo{
1821		Server:     srv,
1822		FullMethod: "/containerd.services.tasks.v1.Tasks/Metrics",
1823	}
1824	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1825		return srv.(TasksServer).Metrics(ctx, req.(*MetricsRequest))
1826	}
1827	return interceptor(ctx, in, info, handler)
1828}
1829
1830func _Tasks_Wait_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1831	in := new(WaitRequest)
1832	if err := dec(in); err != nil {
1833		return nil, err
1834	}
1835	if interceptor == nil {
1836		return srv.(TasksServer).Wait(ctx, in)
1837	}
1838	info := &grpc.UnaryServerInfo{
1839		Server:     srv,
1840		FullMethod: "/containerd.services.tasks.v1.Tasks/Wait",
1841	}
1842	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1843		return srv.(TasksServer).Wait(ctx, req.(*WaitRequest))
1844	}
1845	return interceptor(ctx, in, info, handler)
1846}
1847
1848var _Tasks_serviceDesc = grpc.ServiceDesc{
1849	ServiceName: "containerd.services.tasks.v1.Tasks",
1850	HandlerType: (*TasksServer)(nil),
1851	Methods: []grpc.MethodDesc{
1852		{
1853			MethodName: "Create",
1854			Handler:    _Tasks_Create_Handler,
1855		},
1856		{
1857			MethodName: "Start",
1858			Handler:    _Tasks_Start_Handler,
1859		},
1860		{
1861			MethodName: "Delete",
1862			Handler:    _Tasks_Delete_Handler,
1863		},
1864		{
1865			MethodName: "DeleteProcess",
1866			Handler:    _Tasks_DeleteProcess_Handler,
1867		},
1868		{
1869			MethodName: "Get",
1870			Handler:    _Tasks_Get_Handler,
1871		},
1872		{
1873			MethodName: "List",
1874			Handler:    _Tasks_List_Handler,
1875		},
1876		{
1877			MethodName: "Kill",
1878			Handler:    _Tasks_Kill_Handler,
1879		},
1880		{
1881			MethodName: "Exec",
1882			Handler:    _Tasks_Exec_Handler,
1883		},
1884		{
1885			MethodName: "ResizePty",
1886			Handler:    _Tasks_ResizePty_Handler,
1887		},
1888		{
1889			MethodName: "CloseIO",
1890			Handler:    _Tasks_CloseIO_Handler,
1891		},
1892		{
1893			MethodName: "Pause",
1894			Handler:    _Tasks_Pause_Handler,
1895		},
1896		{
1897			MethodName: "Resume",
1898			Handler:    _Tasks_Resume_Handler,
1899		},
1900		{
1901			MethodName: "ListPids",
1902			Handler:    _Tasks_ListPids_Handler,
1903		},
1904		{
1905			MethodName: "Checkpoint",
1906			Handler:    _Tasks_Checkpoint_Handler,
1907		},
1908		{
1909			MethodName: "Update",
1910			Handler:    _Tasks_Update_Handler,
1911		},
1912		{
1913			MethodName: "Metrics",
1914			Handler:    _Tasks_Metrics_Handler,
1915		},
1916		{
1917			MethodName: "Wait",
1918			Handler:    _Tasks_Wait_Handler,
1919		},
1920	},
1921	Streams:  []grpc.StreamDesc{},
1922	Metadata: "github.com/containerd/containerd/api/services/tasks/v1/tasks.proto",
1923}
1924
1925func (m *CreateTaskRequest) Marshal() (dAtA []byte, err error) {
1926	size := m.Size()
1927	dAtA = make([]byte, size)
1928	n, err := m.MarshalToSizedBuffer(dAtA[:size])
1929	if err != nil {
1930		return nil, err
1931	}
1932	return dAtA[:n], nil
1933}
1934
1935func (m *CreateTaskRequest) MarshalTo(dAtA []byte) (int, error) {
1936	size := m.Size()
1937	return m.MarshalToSizedBuffer(dAtA[:size])
1938}
1939
1940func (m *CreateTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1941	i := len(dAtA)
1942	_ = i
1943	var l int
1944	_ = l
1945	if m.XXX_unrecognized != nil {
1946		i -= len(m.XXX_unrecognized)
1947		copy(dAtA[i:], m.XXX_unrecognized)
1948	}
1949	if m.Options != nil {
1950		{
1951			size, err := m.Options.MarshalToSizedBuffer(dAtA[:i])
1952			if err != nil {
1953				return 0, err
1954			}
1955			i -= size
1956			i = encodeVarintTasks(dAtA, i, uint64(size))
1957		}
1958		i--
1959		dAtA[i] = 0x4a
1960	}
1961	if m.Checkpoint != nil {
1962		{
1963			size, err := m.Checkpoint.MarshalToSizedBuffer(dAtA[:i])
1964			if err != nil {
1965				return 0, err
1966			}
1967			i -= size
1968			i = encodeVarintTasks(dAtA, i, uint64(size))
1969		}
1970		i--
1971		dAtA[i] = 0x42
1972	}
1973	if m.Terminal {
1974		i--
1975		if m.Terminal {
1976			dAtA[i] = 1
1977		} else {
1978			dAtA[i] = 0
1979		}
1980		i--
1981		dAtA[i] = 0x38
1982	}
1983	if len(m.Stderr) > 0 {
1984		i -= len(m.Stderr)
1985		copy(dAtA[i:], m.Stderr)
1986		i = encodeVarintTasks(dAtA, i, uint64(len(m.Stderr)))
1987		i--
1988		dAtA[i] = 0x32
1989	}
1990	if len(m.Stdout) > 0 {
1991		i -= len(m.Stdout)
1992		copy(dAtA[i:], m.Stdout)
1993		i = encodeVarintTasks(dAtA, i, uint64(len(m.Stdout)))
1994		i--
1995		dAtA[i] = 0x2a
1996	}
1997	if len(m.Stdin) > 0 {
1998		i -= len(m.Stdin)
1999		copy(dAtA[i:], m.Stdin)
2000		i = encodeVarintTasks(dAtA, i, uint64(len(m.Stdin)))
2001		i--
2002		dAtA[i] = 0x22
2003	}
2004	if len(m.Rootfs) > 0 {
2005		for iNdEx := len(m.Rootfs) - 1; iNdEx >= 0; iNdEx-- {
2006			{
2007				size, err := m.Rootfs[iNdEx].MarshalToSizedBuffer(dAtA[:i])
2008				if err != nil {
2009					return 0, err
2010				}
2011				i -= size
2012				i = encodeVarintTasks(dAtA, i, uint64(size))
2013			}
2014			i--
2015			dAtA[i] = 0x1a
2016		}
2017	}
2018	if len(m.ContainerID) > 0 {
2019		i -= len(m.ContainerID)
2020		copy(dAtA[i:], m.ContainerID)
2021		i = encodeVarintTasks(dAtA, i, uint64(len(m.ContainerID)))
2022		i--
2023		dAtA[i] = 0xa
2024	}
2025	return len(dAtA) - i, nil
2026}
2027
2028func (m *CreateTaskResponse) Marshal() (dAtA []byte, err error) {
2029	size := m.Size()
2030	dAtA = make([]byte, size)
2031	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2032	if err != nil {
2033		return nil, err
2034	}
2035	return dAtA[:n], nil
2036}
2037
2038func (m *CreateTaskResponse) MarshalTo(dAtA []byte) (int, error) {
2039	size := m.Size()
2040	return m.MarshalToSizedBuffer(dAtA[:size])
2041}
2042
2043func (m *CreateTaskResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2044	i := len(dAtA)
2045	_ = i
2046	var l int
2047	_ = l
2048	if m.XXX_unrecognized != nil {
2049		i -= len(m.XXX_unrecognized)
2050		copy(dAtA[i:], m.XXX_unrecognized)
2051	}
2052	if m.Pid != 0 {
2053		i = encodeVarintTasks(dAtA, i, uint64(m.Pid))
2054		i--
2055		dAtA[i] = 0x10
2056	}
2057	if len(m.ContainerID) > 0 {
2058		i -= len(m.ContainerID)
2059		copy(dAtA[i:], m.ContainerID)
2060		i = encodeVarintTasks(dAtA, i, uint64(len(m.ContainerID)))
2061		i--
2062		dAtA[i] = 0xa
2063	}
2064	return len(dAtA) - i, nil
2065}
2066
2067func (m *StartRequest) Marshal() (dAtA []byte, err error) {
2068	size := m.Size()
2069	dAtA = make([]byte, size)
2070	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2071	if err != nil {
2072		return nil, err
2073	}
2074	return dAtA[:n], nil
2075}
2076
2077func (m *StartRequest) MarshalTo(dAtA []byte) (int, error) {
2078	size := m.Size()
2079	return m.MarshalToSizedBuffer(dAtA[:size])
2080}
2081
2082func (m *StartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2083	i := len(dAtA)
2084	_ = i
2085	var l int
2086	_ = l
2087	if m.XXX_unrecognized != nil {
2088		i -= len(m.XXX_unrecognized)
2089		copy(dAtA[i:], m.XXX_unrecognized)
2090	}
2091	if len(m.ExecID) > 0 {
2092		i -= len(m.ExecID)
2093		copy(dAtA[i:], m.ExecID)
2094		i = encodeVarintTasks(dAtA, i, uint64(len(m.ExecID)))
2095		i--
2096		dAtA[i] = 0x12
2097	}
2098	if len(m.ContainerID) > 0 {
2099		i -= len(m.ContainerID)
2100		copy(dAtA[i:], m.ContainerID)
2101		i = encodeVarintTasks(dAtA, i, uint64(len(m.ContainerID)))
2102		i--
2103		dAtA[i] = 0xa
2104	}
2105	return len(dAtA) - i, nil
2106}
2107
2108func (m *StartResponse) Marshal() (dAtA []byte, err error) {
2109	size := m.Size()
2110	dAtA = make([]byte, size)
2111	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2112	if err != nil {
2113		return nil, err
2114	}
2115	return dAtA[:n], nil
2116}
2117
2118func (m *StartResponse) MarshalTo(dAtA []byte) (int, error) {
2119	size := m.Size()
2120	return m.MarshalToSizedBuffer(dAtA[:size])
2121}
2122
2123func (m *StartResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2124	i := len(dAtA)
2125	_ = i
2126	var l int
2127	_ = l
2128	if m.XXX_unrecognized != nil {
2129		i -= len(m.XXX_unrecognized)
2130		copy(dAtA[i:], m.XXX_unrecognized)
2131	}
2132	if m.Pid != 0 {
2133		i = encodeVarintTasks(dAtA, i, uint64(m.Pid))
2134		i--
2135		dAtA[i] = 0x8
2136	}
2137	return len(dAtA) - i, nil
2138}
2139
2140func (m *DeleteTaskRequest) Marshal() (dAtA []byte, err error) {
2141	size := m.Size()
2142	dAtA = make([]byte, size)
2143	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2144	if err != nil {
2145		return nil, err
2146	}
2147	return dAtA[:n], nil
2148}
2149
2150func (m *DeleteTaskRequest) MarshalTo(dAtA []byte) (int, error) {
2151	size := m.Size()
2152	return m.MarshalToSizedBuffer(dAtA[:size])
2153}
2154
2155func (m *DeleteTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2156	i := len(dAtA)
2157	_ = i
2158	var l int
2159	_ = l
2160	if m.XXX_unrecognized != nil {
2161		i -= len(m.XXX_unrecognized)
2162		copy(dAtA[i:], m.XXX_unrecognized)
2163	}
2164	if len(m.ContainerID) > 0 {
2165		i -= len(m.ContainerID)
2166		copy(dAtA[i:], m.ContainerID)
2167		i = encodeVarintTasks(dAtA, i, uint64(len(m.ContainerID)))
2168		i--
2169		dAtA[i] = 0xa
2170	}
2171	return len(dAtA) - i, nil
2172}
2173
2174func (m *DeleteResponse) Marshal() (dAtA []byte, err error) {
2175	size := m.Size()
2176	dAtA = make([]byte, size)
2177	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2178	if err != nil {
2179		return nil, err
2180	}
2181	return dAtA[:n], nil
2182}
2183
2184func (m *DeleteResponse) MarshalTo(dAtA []byte) (int, error) {
2185	size := m.Size()
2186	return m.MarshalToSizedBuffer(dAtA[:size])
2187}
2188
2189func (m *DeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2190	i := len(dAtA)
2191	_ = i
2192	var l int
2193	_ = l
2194	if m.XXX_unrecognized != nil {
2195		i -= len(m.XXX_unrecognized)
2196		copy(dAtA[i:], m.XXX_unrecognized)
2197	}
2198	n3, err3 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.ExitedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt):])
2199	if err3 != nil {
2200		return 0, err3
2201	}
2202	i -= n3
2203	i = encodeVarintTasks(dAtA, i, uint64(n3))
2204	i--
2205	dAtA[i] = 0x22
2206	if m.ExitStatus != 0 {
2207		i = encodeVarintTasks(dAtA, i, uint64(m.ExitStatus))
2208		i--
2209		dAtA[i] = 0x18
2210	}
2211	if m.Pid != 0 {
2212		i = encodeVarintTasks(dAtA, i, uint64(m.Pid))
2213		i--
2214		dAtA[i] = 0x10
2215	}
2216	if len(m.ID) > 0 {
2217		i -= len(m.ID)
2218		copy(dAtA[i:], m.ID)
2219		i = encodeVarintTasks(dAtA, i, uint64(len(m.ID)))
2220		i--
2221		dAtA[i] = 0xa
2222	}
2223	return len(dAtA) - i, nil
2224}
2225
2226func (m *DeleteProcessRequest) Marshal() (dAtA []byte, err error) {
2227	size := m.Size()
2228	dAtA = make([]byte, size)
2229	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2230	if err != nil {
2231		return nil, err
2232	}
2233	return dAtA[:n], nil
2234}
2235
2236func (m *DeleteProcessRequest) MarshalTo(dAtA []byte) (int, error) {
2237	size := m.Size()
2238	return m.MarshalToSizedBuffer(dAtA[:size])
2239}
2240
2241func (m *DeleteProcessRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2242	i := len(dAtA)
2243	_ = i
2244	var l int
2245	_ = l
2246	if m.XXX_unrecognized != nil {
2247		i -= len(m.XXX_unrecognized)
2248		copy(dAtA[i:], m.XXX_unrecognized)
2249	}
2250	if len(m.ExecID) > 0 {
2251		i -= len(m.ExecID)
2252		copy(dAtA[i:], m.ExecID)
2253		i = encodeVarintTasks(dAtA, i, uint64(len(m.ExecID)))
2254		i--
2255		dAtA[i] = 0x12
2256	}
2257	if len(m.ContainerID) > 0 {
2258		i -= len(m.ContainerID)
2259		copy(dAtA[i:], m.ContainerID)
2260		i = encodeVarintTasks(dAtA, i, uint64(len(m.ContainerID)))
2261		i--
2262		dAtA[i] = 0xa
2263	}
2264	return len(dAtA) - i, nil
2265}
2266
2267func (m *GetRequest) Marshal() (dAtA []byte, err error) {
2268	size := m.Size()
2269	dAtA = make([]byte, size)
2270	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2271	if err != nil {
2272		return nil, err
2273	}
2274	return dAtA[:n], nil
2275}
2276
2277func (m *GetRequest) MarshalTo(dAtA []byte) (int, error) {
2278	size := m.Size()
2279	return m.MarshalToSizedBuffer(dAtA[:size])
2280}
2281
2282func (m *GetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2283	i := len(dAtA)
2284	_ = i
2285	var l int
2286	_ = l
2287	if m.XXX_unrecognized != nil {
2288		i -= len(m.XXX_unrecognized)
2289		copy(dAtA[i:], m.XXX_unrecognized)
2290	}
2291	if len(m.ExecID) > 0 {
2292		i -= len(m.ExecID)
2293		copy(dAtA[i:], m.ExecID)
2294		i = encodeVarintTasks(dAtA, i, uint64(len(m.ExecID)))
2295		i--
2296		dAtA[i] = 0x12
2297	}
2298	if len(m.ContainerID) > 0 {
2299		i -= len(m.ContainerID)
2300		copy(dAtA[i:], m.ContainerID)
2301		i = encodeVarintTasks(dAtA, i, uint64(len(m.ContainerID)))
2302		i--
2303		dAtA[i] = 0xa
2304	}
2305	return len(dAtA) - i, nil
2306}
2307
2308func (m *GetResponse) Marshal() (dAtA []byte, err error) {
2309	size := m.Size()
2310	dAtA = make([]byte, size)
2311	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2312	if err != nil {
2313		return nil, err
2314	}
2315	return dAtA[:n], nil
2316}
2317
2318func (m *GetResponse) MarshalTo(dAtA []byte) (int, error) {
2319	size := m.Size()
2320	return m.MarshalToSizedBuffer(dAtA[:size])
2321}
2322
2323func (m *GetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2324	i := len(dAtA)
2325	_ = i
2326	var l int
2327	_ = l
2328	if m.XXX_unrecognized != nil {
2329		i -= len(m.XXX_unrecognized)
2330		copy(dAtA[i:], m.XXX_unrecognized)
2331	}
2332	if m.Process != nil {
2333		{
2334			size, err := m.Process.MarshalToSizedBuffer(dAtA[:i])
2335			if err != nil {
2336				return 0, err
2337			}
2338			i -= size
2339			i = encodeVarintTasks(dAtA, i, uint64(size))
2340		}
2341		i--
2342		dAtA[i] = 0xa
2343	}
2344	return len(dAtA) - i, nil
2345}
2346
2347func (m *ListTasksRequest) Marshal() (dAtA []byte, err error) {
2348	size := m.Size()
2349	dAtA = make([]byte, size)
2350	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2351	if err != nil {
2352		return nil, err
2353	}
2354	return dAtA[:n], nil
2355}
2356
2357func (m *ListTasksRequest) MarshalTo(dAtA []byte) (int, error) {
2358	size := m.Size()
2359	return m.MarshalToSizedBuffer(dAtA[:size])
2360}
2361
2362func (m *ListTasksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2363	i := len(dAtA)
2364	_ = i
2365	var l int
2366	_ = l
2367	if m.XXX_unrecognized != nil {
2368		i -= len(m.XXX_unrecognized)
2369		copy(dAtA[i:], m.XXX_unrecognized)
2370	}
2371	if len(m.Filter) > 0 {
2372		i -= len(m.Filter)
2373		copy(dAtA[i:], m.Filter)
2374		i = encodeVarintTasks(dAtA, i, uint64(len(m.Filter)))
2375		i--
2376		dAtA[i] = 0xa
2377	}
2378	return len(dAtA) - i, nil
2379}
2380
2381func (m *ListTasksResponse) Marshal() (dAtA []byte, err error) {
2382	size := m.Size()
2383	dAtA = make([]byte, size)
2384	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2385	if err != nil {
2386		return nil, err
2387	}
2388	return dAtA[:n], nil
2389}
2390
2391func (m *ListTasksResponse) MarshalTo(dAtA []byte) (int, error) {
2392	size := m.Size()
2393	return m.MarshalToSizedBuffer(dAtA[:size])
2394}
2395
2396func (m *ListTasksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2397	i := len(dAtA)
2398	_ = i
2399	var l int
2400	_ = l
2401	if m.XXX_unrecognized != nil {
2402		i -= len(m.XXX_unrecognized)
2403		copy(dAtA[i:], m.XXX_unrecognized)
2404	}
2405	if len(m.Tasks) > 0 {
2406		for iNdEx := len(m.Tasks) - 1; iNdEx >= 0; iNdEx-- {
2407			{
2408				size, err := m.Tasks[iNdEx].MarshalToSizedBuffer(dAtA[:i])
2409				if err != nil {
2410					return 0, err
2411				}
2412				i -= size
2413				i = encodeVarintTasks(dAtA, i, uint64(size))
2414			}
2415			i--
2416			dAtA[i] = 0xa
2417		}
2418	}
2419	return len(dAtA) - i, nil
2420}
2421
2422func (m *KillRequest) Marshal() (dAtA []byte, err error) {
2423	size := m.Size()
2424	dAtA = make([]byte, size)
2425	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2426	if err != nil {
2427		return nil, err
2428	}
2429	return dAtA[:n], nil
2430}
2431
2432func (m *KillRequest) MarshalTo(dAtA []byte) (int, error) {
2433	size := m.Size()
2434	return m.MarshalToSizedBuffer(dAtA[:size])
2435}
2436
2437func (m *KillRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2438	i := len(dAtA)
2439	_ = i
2440	var l int
2441	_ = l
2442	if m.XXX_unrecognized != nil {
2443		i -= len(m.XXX_unrecognized)
2444		copy(dAtA[i:], m.XXX_unrecognized)
2445	}
2446	if m.All {
2447		i--
2448		if m.All {
2449			dAtA[i] = 1
2450		} else {
2451			dAtA[i] = 0
2452		}
2453		i--
2454		dAtA[i] = 0x20
2455	}
2456	if m.Signal != 0 {
2457		i = encodeVarintTasks(dAtA, i, uint64(m.Signal))
2458		i--
2459		dAtA[i] = 0x18
2460	}
2461	if len(m.ExecID) > 0 {
2462		i -= len(m.ExecID)
2463		copy(dAtA[i:], m.ExecID)
2464		i = encodeVarintTasks(dAtA, i, uint64(len(m.ExecID)))
2465		i--
2466		dAtA[i] = 0x12
2467	}
2468	if len(m.ContainerID) > 0 {
2469		i -= len(m.ContainerID)
2470		copy(dAtA[i:], m.ContainerID)
2471		i = encodeVarintTasks(dAtA, i, uint64(len(m.ContainerID)))
2472		i--
2473		dAtA[i] = 0xa
2474	}
2475	return len(dAtA) - i, nil
2476}
2477
2478func (m *ExecProcessRequest) Marshal() (dAtA []byte, err error) {
2479	size := m.Size()
2480	dAtA = make([]byte, size)
2481	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2482	if err != nil {
2483		return nil, err
2484	}
2485	return dAtA[:n], nil
2486}
2487
2488func (m *ExecProcessRequest) MarshalTo(dAtA []byte) (int, error) {
2489	size := m.Size()
2490	return m.MarshalToSizedBuffer(dAtA[:size])
2491}
2492
2493func (m *ExecProcessRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2494	i := len(dAtA)
2495	_ = i
2496	var l int
2497	_ = l
2498	if m.XXX_unrecognized != nil {
2499		i -= len(m.XXX_unrecognized)
2500		copy(dAtA[i:], m.XXX_unrecognized)
2501	}
2502	if len(m.ExecID) > 0 {
2503		i -= len(m.ExecID)
2504		copy(dAtA[i:], m.ExecID)
2505		i = encodeVarintTasks(dAtA, i, uint64(len(m.ExecID)))
2506		i--
2507		dAtA[i] = 0x3a
2508	}
2509	if m.Spec != nil {
2510		{
2511			size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
2512			if err != nil {
2513				return 0, err
2514			}
2515			i -= size
2516			i = encodeVarintTasks(dAtA, i, uint64(size))
2517		}
2518		i--
2519		dAtA[i] = 0x32
2520	}
2521	if m.Terminal {
2522		i--
2523		if m.Terminal {
2524			dAtA[i] = 1
2525		} else {
2526			dAtA[i] = 0
2527		}
2528		i--
2529		dAtA[i] = 0x28
2530	}
2531	if len(m.Stderr) > 0 {
2532		i -= len(m.Stderr)
2533		copy(dAtA[i:], m.Stderr)
2534		i = encodeVarintTasks(dAtA, i, uint64(len(m.Stderr)))
2535		i--
2536		dAtA[i] = 0x22
2537	}
2538	if len(m.Stdout) > 0 {
2539		i -= len(m.Stdout)
2540		copy(dAtA[i:], m.Stdout)
2541		i = encodeVarintTasks(dAtA, i, uint64(len(m.Stdout)))
2542		i--
2543		dAtA[i] = 0x1a
2544	}
2545	if len(m.Stdin) > 0 {
2546		i -= len(m.Stdin)
2547		copy(dAtA[i:], m.Stdin)
2548		i = encodeVarintTasks(dAtA, i, uint64(len(m.Stdin)))
2549		i--
2550		dAtA[i] = 0x12
2551	}
2552	if len(m.ContainerID) > 0 {
2553		i -= len(m.ContainerID)
2554		copy(dAtA[i:], m.ContainerID)
2555		i = encodeVarintTasks(dAtA, i, uint64(len(m.ContainerID)))
2556		i--
2557		dAtA[i] = 0xa
2558	}
2559	return len(dAtA) - i, nil
2560}
2561
2562func (m *ExecProcessResponse) Marshal() (dAtA []byte, err error) {
2563	size := m.Size()
2564	dAtA = make([]byte, size)
2565	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2566	if err != nil {
2567		return nil, err
2568	}
2569	return dAtA[:n], nil
2570}
2571
2572func (m *ExecProcessResponse) MarshalTo(dAtA []byte) (int, error) {
2573	size := m.Size()
2574	return m.MarshalToSizedBuffer(dAtA[:size])
2575}
2576
2577func (m *ExecProcessResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2578	i := len(dAtA)
2579	_ = i
2580	var l int
2581	_ = l
2582	if m.XXX_unrecognized != nil {
2583		i -= len(m.XXX_unrecognized)
2584		copy(dAtA[i:], m.XXX_unrecognized)
2585	}
2586	return len(dAtA) - i, nil
2587}
2588
2589func (m *ResizePtyRequest) Marshal() (dAtA []byte, err error) {
2590	size := m.Size()
2591	dAtA = make([]byte, size)
2592	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2593	if err != nil {
2594		return nil, err
2595	}
2596	return dAtA[:n], nil
2597}
2598
2599func (m *ResizePtyRequest) MarshalTo(dAtA []byte) (int, error) {
2600	size := m.Size()
2601	return m.MarshalToSizedBuffer(dAtA[:size])
2602}
2603
2604func (m *ResizePtyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2605	i := len(dAtA)
2606	_ = i
2607	var l int
2608	_ = l
2609	if m.XXX_unrecognized != nil {
2610		i -= len(m.XXX_unrecognized)
2611		copy(dAtA[i:], m.XXX_unrecognized)
2612	}
2613	if m.Height != 0 {
2614		i = encodeVarintTasks(dAtA, i, uint64(m.Height))
2615		i--
2616		dAtA[i] = 0x20
2617	}
2618	if m.Width != 0 {
2619		i = encodeVarintTasks(dAtA, i, uint64(m.Width))
2620		i--
2621		dAtA[i] = 0x18
2622	}
2623	if len(m.ExecID) > 0 {
2624		i -= len(m.ExecID)
2625		copy(dAtA[i:], m.ExecID)
2626		i = encodeVarintTasks(dAtA, i, uint64(len(m.ExecID)))
2627		i--
2628		dAtA[i] = 0x12
2629	}
2630	if len(m.ContainerID) > 0 {
2631		i -= len(m.ContainerID)
2632		copy(dAtA[i:], m.ContainerID)
2633		i = encodeVarintTasks(dAtA, i, uint64(len(m.ContainerID)))
2634		i--
2635		dAtA[i] = 0xa
2636	}
2637	return len(dAtA) - i, nil
2638}
2639
2640func (m *CloseIORequest) Marshal() (dAtA []byte, err error) {
2641	size := m.Size()
2642	dAtA = make([]byte, size)
2643	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2644	if err != nil {
2645		return nil, err
2646	}
2647	return dAtA[:n], nil
2648}
2649
2650func (m *CloseIORequest) MarshalTo(dAtA []byte) (int, error) {
2651	size := m.Size()
2652	return m.MarshalToSizedBuffer(dAtA[:size])
2653}
2654
2655func (m *CloseIORequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2656	i := len(dAtA)
2657	_ = i
2658	var l int
2659	_ = l
2660	if m.XXX_unrecognized != nil {
2661		i -= len(m.XXX_unrecognized)
2662		copy(dAtA[i:], m.XXX_unrecognized)
2663	}
2664	if m.Stdin {
2665		i--
2666		if m.Stdin {
2667			dAtA[i] = 1
2668		} else {
2669			dAtA[i] = 0
2670		}
2671		i--
2672		dAtA[i] = 0x18
2673	}
2674	if len(m.ExecID) > 0 {
2675		i -= len(m.ExecID)
2676		copy(dAtA[i:], m.ExecID)
2677		i = encodeVarintTasks(dAtA, i, uint64(len(m.ExecID)))
2678		i--
2679		dAtA[i] = 0x12
2680	}
2681	if len(m.ContainerID) > 0 {
2682		i -= len(m.ContainerID)
2683		copy(dAtA[i:], m.ContainerID)
2684		i = encodeVarintTasks(dAtA, i, uint64(len(m.ContainerID)))
2685		i--
2686		dAtA[i] = 0xa
2687	}
2688	return len(dAtA) - i, nil
2689}
2690
2691func (m *PauseTaskRequest) Marshal() (dAtA []byte, err error) {
2692	size := m.Size()
2693	dAtA = make([]byte, size)
2694	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2695	if err != nil {
2696		return nil, err
2697	}
2698	return dAtA[:n], nil
2699}
2700
2701func (m *PauseTaskRequest) MarshalTo(dAtA []byte) (int, error) {
2702	size := m.Size()
2703	return m.MarshalToSizedBuffer(dAtA[:size])
2704}
2705
2706func (m *PauseTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2707	i := len(dAtA)
2708	_ = i
2709	var l int
2710	_ = l
2711	if m.XXX_unrecognized != nil {
2712		i -= len(m.XXX_unrecognized)
2713		copy(dAtA[i:], m.XXX_unrecognized)
2714	}
2715	if len(m.ContainerID) > 0 {
2716		i -= len(m.ContainerID)
2717		copy(dAtA[i:], m.ContainerID)
2718		i = encodeVarintTasks(dAtA, i, uint64(len(m.ContainerID)))
2719		i--
2720		dAtA[i] = 0xa
2721	}
2722	return len(dAtA) - i, nil
2723}
2724
2725func (m *ResumeTaskRequest) Marshal() (dAtA []byte, err error) {
2726	size := m.Size()
2727	dAtA = make([]byte, size)
2728	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2729	if err != nil {
2730		return nil, err
2731	}
2732	return dAtA[:n], nil
2733}
2734
2735func (m *ResumeTaskRequest) MarshalTo(dAtA []byte) (int, error) {
2736	size := m.Size()
2737	return m.MarshalToSizedBuffer(dAtA[:size])
2738}
2739
2740func (m *ResumeTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2741	i := len(dAtA)
2742	_ = i
2743	var l int
2744	_ = l
2745	if m.XXX_unrecognized != nil {
2746		i -= len(m.XXX_unrecognized)
2747		copy(dAtA[i:], m.XXX_unrecognized)
2748	}
2749	if len(m.ContainerID) > 0 {
2750		i -= len(m.ContainerID)
2751		copy(dAtA[i:], m.ContainerID)
2752		i = encodeVarintTasks(dAtA, i, uint64(len(m.ContainerID)))
2753		i--
2754		dAtA[i] = 0xa
2755	}
2756	return len(dAtA) - i, nil
2757}
2758
2759func (m *ListPidsRequest) Marshal() (dAtA []byte, err error) {
2760	size := m.Size()
2761	dAtA = make([]byte, size)
2762	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2763	if err != nil {
2764		return nil, err
2765	}
2766	return dAtA[:n], nil
2767}
2768
2769func (m *ListPidsRequest) MarshalTo(dAtA []byte) (int, error) {
2770	size := m.Size()
2771	return m.MarshalToSizedBuffer(dAtA[:size])
2772}
2773
2774func (m *ListPidsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2775	i := len(dAtA)
2776	_ = i
2777	var l int
2778	_ = l
2779	if m.XXX_unrecognized != nil {
2780		i -= len(m.XXX_unrecognized)
2781		copy(dAtA[i:], m.XXX_unrecognized)
2782	}
2783	if len(m.ContainerID) > 0 {
2784		i -= len(m.ContainerID)
2785		copy(dAtA[i:], m.ContainerID)
2786		i = encodeVarintTasks(dAtA, i, uint64(len(m.ContainerID)))
2787		i--
2788		dAtA[i] = 0xa
2789	}
2790	return len(dAtA) - i, nil
2791}
2792
2793func (m *ListPidsResponse) Marshal() (dAtA []byte, err error) {
2794	size := m.Size()
2795	dAtA = make([]byte, size)
2796	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2797	if err != nil {
2798		return nil, err
2799	}
2800	return dAtA[:n], nil
2801}
2802
2803func (m *ListPidsResponse) MarshalTo(dAtA []byte) (int, error) {
2804	size := m.Size()
2805	return m.MarshalToSizedBuffer(dAtA[:size])
2806}
2807
2808func (m *ListPidsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2809	i := len(dAtA)
2810	_ = i
2811	var l int
2812	_ = l
2813	if m.XXX_unrecognized != nil {
2814		i -= len(m.XXX_unrecognized)
2815		copy(dAtA[i:], m.XXX_unrecognized)
2816	}
2817	if len(m.Processes) > 0 {
2818		for iNdEx := len(m.Processes) - 1; iNdEx >= 0; iNdEx-- {
2819			{
2820				size, err := m.Processes[iNdEx].MarshalToSizedBuffer(dAtA[:i])
2821				if err != nil {
2822					return 0, err
2823				}
2824				i -= size
2825				i = encodeVarintTasks(dAtA, i, uint64(size))
2826			}
2827			i--
2828			dAtA[i] = 0xa
2829		}
2830	}
2831	return len(dAtA) - i, nil
2832}
2833
2834func (m *CheckpointTaskRequest) Marshal() (dAtA []byte, err error) {
2835	size := m.Size()
2836	dAtA = make([]byte, size)
2837	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2838	if err != nil {
2839		return nil, err
2840	}
2841	return dAtA[:n], nil
2842}
2843
2844func (m *CheckpointTaskRequest) MarshalTo(dAtA []byte) (int, error) {
2845	size := m.Size()
2846	return m.MarshalToSizedBuffer(dAtA[:size])
2847}
2848
2849func (m *CheckpointTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2850	i := len(dAtA)
2851	_ = i
2852	var l int
2853	_ = l
2854	if m.XXX_unrecognized != nil {
2855		i -= len(m.XXX_unrecognized)
2856		copy(dAtA[i:], m.XXX_unrecognized)
2857	}
2858	if m.Options != nil {
2859		{
2860			size, err := m.Options.MarshalToSizedBuffer(dAtA[:i])
2861			if err != nil {
2862				return 0, err
2863			}
2864			i -= size
2865			i = encodeVarintTasks(dAtA, i, uint64(size))
2866		}
2867		i--
2868		dAtA[i] = 0x1a
2869	}
2870	if len(m.ParentCheckpoint) > 0 {
2871		i -= len(m.ParentCheckpoint)
2872		copy(dAtA[i:], m.ParentCheckpoint)
2873		i = encodeVarintTasks(dAtA, i, uint64(len(m.ParentCheckpoint)))
2874		i--
2875		dAtA[i] = 0x12
2876	}
2877	if len(m.ContainerID) > 0 {
2878		i -= len(m.ContainerID)
2879		copy(dAtA[i:], m.ContainerID)
2880		i = encodeVarintTasks(dAtA, i, uint64(len(m.ContainerID)))
2881		i--
2882		dAtA[i] = 0xa
2883	}
2884	return len(dAtA) - i, nil
2885}
2886
2887func (m *CheckpointTaskResponse) Marshal() (dAtA []byte, err error) {
2888	size := m.Size()
2889	dAtA = make([]byte, size)
2890	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2891	if err != nil {
2892		return nil, err
2893	}
2894	return dAtA[:n], nil
2895}
2896
2897func (m *CheckpointTaskResponse) MarshalTo(dAtA []byte) (int, error) {
2898	size := m.Size()
2899	return m.MarshalToSizedBuffer(dAtA[:size])
2900}
2901
2902func (m *CheckpointTaskResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2903	i := len(dAtA)
2904	_ = i
2905	var l int
2906	_ = l
2907	if m.XXX_unrecognized != nil {
2908		i -= len(m.XXX_unrecognized)
2909		copy(dAtA[i:], m.XXX_unrecognized)
2910	}
2911	if len(m.Descriptors) > 0 {
2912		for iNdEx := len(m.Descriptors) - 1; iNdEx >= 0; iNdEx-- {
2913			{
2914				size, err := m.Descriptors[iNdEx].MarshalToSizedBuffer(dAtA[:i])
2915				if err != nil {
2916					return 0, err
2917				}
2918				i -= size
2919				i = encodeVarintTasks(dAtA, i, uint64(size))
2920			}
2921			i--
2922			dAtA[i] = 0xa
2923		}
2924	}
2925	return len(dAtA) - i, nil
2926}
2927
2928func (m *UpdateTaskRequest) Marshal() (dAtA []byte, err error) {
2929	size := m.Size()
2930	dAtA = make([]byte, size)
2931	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2932	if err != nil {
2933		return nil, err
2934	}
2935	return dAtA[:n], nil
2936}
2937
2938func (m *UpdateTaskRequest) MarshalTo(dAtA []byte) (int, error) {
2939	size := m.Size()
2940	return m.MarshalToSizedBuffer(dAtA[:size])
2941}
2942
2943func (m *UpdateTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2944	i := len(dAtA)
2945	_ = i
2946	var l int
2947	_ = l
2948	if m.XXX_unrecognized != nil {
2949		i -= len(m.XXX_unrecognized)
2950		copy(dAtA[i:], m.XXX_unrecognized)
2951	}
2952	if len(m.Annotations) > 0 {
2953		for k := range m.Annotations {
2954			v := m.Annotations[k]
2955			baseI := i
2956			i -= len(v)
2957			copy(dAtA[i:], v)
2958			i = encodeVarintTasks(dAtA, i, uint64(len(v)))
2959			i--
2960			dAtA[i] = 0x12
2961			i -= len(k)
2962			copy(dAtA[i:], k)
2963			i = encodeVarintTasks(dAtA, i, uint64(len(k)))
2964			i--
2965			dAtA[i] = 0xa
2966			i = encodeVarintTasks(dAtA, i, uint64(baseI-i))
2967			i--
2968			dAtA[i] = 0x1a
2969		}
2970	}
2971	if m.Resources != nil {
2972		{
2973			size, err := m.Resources.MarshalToSizedBuffer(dAtA[:i])
2974			if err != nil {
2975				return 0, err
2976			}
2977			i -= size
2978			i = encodeVarintTasks(dAtA, i, uint64(size))
2979		}
2980		i--
2981		dAtA[i] = 0x12
2982	}
2983	if len(m.ContainerID) > 0 {
2984		i -= len(m.ContainerID)
2985		copy(dAtA[i:], m.ContainerID)
2986		i = encodeVarintTasks(dAtA, i, uint64(len(m.ContainerID)))
2987		i--
2988		dAtA[i] = 0xa
2989	}
2990	return len(dAtA) - i, nil
2991}
2992
2993func (m *MetricsRequest) Marshal() (dAtA []byte, err error) {
2994	size := m.Size()
2995	dAtA = make([]byte, size)
2996	n, err := m.MarshalToSizedBuffer(dAtA[:size])
2997	if err != nil {
2998		return nil, err
2999	}
3000	return dAtA[:n], nil
3001}
3002
3003func (m *MetricsRequest) MarshalTo(dAtA []byte) (int, error) {
3004	size := m.Size()
3005	return m.MarshalToSizedBuffer(dAtA[:size])
3006}
3007
3008func (m *MetricsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3009	i := len(dAtA)
3010	_ = i
3011	var l int
3012	_ = l
3013	if m.XXX_unrecognized != nil {
3014		i -= len(m.XXX_unrecognized)
3015		copy(dAtA[i:], m.XXX_unrecognized)
3016	}
3017	if len(m.Filters) > 0 {
3018		for iNdEx := len(m.Filters) - 1; iNdEx >= 0; iNdEx-- {
3019			i -= len(m.Filters[iNdEx])
3020			copy(dAtA[i:], m.Filters[iNdEx])
3021			i = encodeVarintTasks(dAtA, i, uint64(len(m.Filters[iNdEx])))
3022			i--
3023			dAtA[i] = 0xa
3024		}
3025	}
3026	return len(dAtA) - i, nil
3027}
3028
3029func (m *MetricsResponse) Marshal() (dAtA []byte, err error) {
3030	size := m.Size()
3031	dAtA = make([]byte, size)
3032	n, err := m.MarshalToSizedBuffer(dAtA[:size])
3033	if err != nil {
3034		return nil, err
3035	}
3036	return dAtA[:n], nil
3037}
3038
3039func (m *MetricsResponse) MarshalTo(dAtA []byte) (int, error) {
3040	size := m.Size()
3041	return m.MarshalToSizedBuffer(dAtA[:size])
3042}
3043
3044func (m *MetricsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3045	i := len(dAtA)
3046	_ = i
3047	var l int
3048	_ = l
3049	if m.XXX_unrecognized != nil {
3050		i -= len(m.XXX_unrecognized)
3051		copy(dAtA[i:], m.XXX_unrecognized)
3052	}
3053	if len(m.Metrics) > 0 {
3054		for iNdEx := len(m.Metrics) - 1; iNdEx >= 0; iNdEx-- {
3055			{
3056				size, err := m.Metrics[iNdEx].MarshalToSizedBuffer(dAtA[:i])
3057				if err != nil {
3058					return 0, err
3059				}
3060				i -= size
3061				i = encodeVarintTasks(dAtA, i, uint64(size))
3062			}
3063			i--
3064			dAtA[i] = 0xa
3065		}
3066	}
3067	return len(dAtA) - i, nil
3068}
3069
3070func (m *WaitRequest) Marshal() (dAtA []byte, err error) {
3071	size := m.Size()
3072	dAtA = make([]byte, size)
3073	n, err := m.MarshalToSizedBuffer(dAtA[:size])
3074	if err != nil {
3075		return nil, err
3076	}
3077	return dAtA[:n], nil
3078}
3079
3080func (m *WaitRequest) MarshalTo(dAtA []byte) (int, error) {
3081	size := m.Size()
3082	return m.MarshalToSizedBuffer(dAtA[:size])
3083}
3084
3085func (m *WaitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3086	i := len(dAtA)
3087	_ = i
3088	var l int
3089	_ = l
3090	if m.XXX_unrecognized != nil {
3091		i -= len(m.XXX_unrecognized)
3092		copy(dAtA[i:], m.XXX_unrecognized)
3093	}
3094	if len(m.ExecID) > 0 {
3095		i -= len(m.ExecID)
3096		copy(dAtA[i:], m.ExecID)
3097		i = encodeVarintTasks(dAtA, i, uint64(len(m.ExecID)))
3098		i--
3099		dAtA[i] = 0x12
3100	}
3101	if len(m.ContainerID) > 0 {
3102		i -= len(m.ContainerID)
3103		copy(dAtA[i:], m.ContainerID)
3104		i = encodeVarintTasks(dAtA, i, uint64(len(m.ContainerID)))
3105		i--
3106		dAtA[i] = 0xa
3107	}
3108	return len(dAtA) - i, nil
3109}
3110
3111func (m *WaitResponse) Marshal() (dAtA []byte, err error) {
3112	size := m.Size()
3113	dAtA = make([]byte, size)
3114	n, err := m.MarshalToSizedBuffer(dAtA[:size])
3115	if err != nil {
3116		return nil, err
3117	}
3118	return dAtA[:n], nil
3119}
3120
3121func (m *WaitResponse) MarshalTo(dAtA []byte) (int, error) {
3122	size := m.Size()
3123	return m.MarshalToSizedBuffer(dAtA[:size])
3124}
3125
3126func (m *WaitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3127	i := len(dAtA)
3128	_ = i
3129	var l int
3130	_ = l
3131	if m.XXX_unrecognized != nil {
3132		i -= len(m.XXX_unrecognized)
3133		copy(dAtA[i:], m.XXX_unrecognized)
3134	}
3135	n8, err8 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.ExitedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt):])
3136	if err8 != nil {
3137		return 0, err8
3138	}
3139	i -= n8
3140	i = encodeVarintTasks(dAtA, i, uint64(n8))
3141	i--
3142	dAtA[i] = 0x12
3143	if m.ExitStatus != 0 {
3144		i = encodeVarintTasks(dAtA, i, uint64(m.ExitStatus))
3145		i--
3146		dAtA[i] = 0x8
3147	}
3148	return len(dAtA) - i, nil
3149}
3150
3151func encodeVarintTasks(dAtA []byte, offset int, v uint64) int {
3152	offset -= sovTasks(v)
3153	base := offset
3154	for v >= 1<<7 {
3155		dAtA[offset] = uint8(v&0x7f | 0x80)
3156		v >>= 7
3157		offset++
3158	}
3159	dAtA[offset] = uint8(v)
3160	return base
3161}
3162func (m *CreateTaskRequest) Size() (n int) {
3163	if m == nil {
3164		return 0
3165	}
3166	var l int
3167	_ = l
3168	l = len(m.ContainerID)
3169	if l > 0 {
3170		n += 1 + l + sovTasks(uint64(l))
3171	}
3172	if len(m.Rootfs) > 0 {
3173		for _, e := range m.Rootfs {
3174			l = e.Size()
3175			n += 1 + l + sovTasks(uint64(l))
3176		}
3177	}
3178	l = len(m.Stdin)
3179	if l > 0 {
3180		n += 1 + l + sovTasks(uint64(l))
3181	}
3182	l = len(m.Stdout)
3183	if l > 0 {
3184		n += 1 + l + sovTasks(uint64(l))
3185	}
3186	l = len(m.Stderr)
3187	if l > 0 {
3188		n += 1 + l + sovTasks(uint64(l))
3189	}
3190	if m.Terminal {
3191		n += 2
3192	}
3193	if m.Checkpoint != nil {
3194		l = m.Checkpoint.Size()
3195		n += 1 + l + sovTasks(uint64(l))
3196	}
3197	if m.Options != nil {
3198		l = m.Options.Size()
3199		n += 1 + l + sovTasks(uint64(l))
3200	}
3201	if m.XXX_unrecognized != nil {
3202		n += len(m.XXX_unrecognized)
3203	}
3204	return n
3205}
3206
3207func (m *CreateTaskResponse) Size() (n int) {
3208	if m == nil {
3209		return 0
3210	}
3211	var l int
3212	_ = l
3213	l = len(m.ContainerID)
3214	if l > 0 {
3215		n += 1 + l + sovTasks(uint64(l))
3216	}
3217	if m.Pid != 0 {
3218		n += 1 + sovTasks(uint64(m.Pid))
3219	}
3220	if m.XXX_unrecognized != nil {
3221		n += len(m.XXX_unrecognized)
3222	}
3223	return n
3224}
3225
3226func (m *StartRequest) Size() (n int) {
3227	if m == nil {
3228		return 0
3229	}
3230	var l int
3231	_ = l
3232	l = len(m.ContainerID)
3233	if l > 0 {
3234		n += 1 + l + sovTasks(uint64(l))
3235	}
3236	l = len(m.ExecID)
3237	if l > 0 {
3238		n += 1 + l + sovTasks(uint64(l))
3239	}
3240	if m.XXX_unrecognized != nil {
3241		n += len(m.XXX_unrecognized)
3242	}
3243	return n
3244}
3245
3246func (m *StartResponse) Size() (n int) {
3247	if m == nil {
3248		return 0
3249	}
3250	var l int
3251	_ = l
3252	if m.Pid != 0 {
3253		n += 1 + sovTasks(uint64(m.Pid))
3254	}
3255	if m.XXX_unrecognized != nil {
3256		n += len(m.XXX_unrecognized)
3257	}
3258	return n
3259}
3260
3261func (m *DeleteTaskRequest) Size() (n int) {
3262	if m == nil {
3263		return 0
3264	}
3265	var l int
3266	_ = l
3267	l = len(m.ContainerID)
3268	if l > 0 {
3269		n += 1 + l + sovTasks(uint64(l))
3270	}
3271	if m.XXX_unrecognized != nil {
3272		n += len(m.XXX_unrecognized)
3273	}
3274	return n
3275}
3276
3277func (m *DeleteResponse) Size() (n int) {
3278	if m == nil {
3279		return 0
3280	}
3281	var l int
3282	_ = l
3283	l = len(m.ID)
3284	if l > 0 {
3285		n += 1 + l + sovTasks(uint64(l))
3286	}
3287	if m.Pid != 0 {
3288		n += 1 + sovTasks(uint64(m.Pid))
3289	}
3290	if m.ExitStatus != 0 {
3291		n += 1 + sovTasks(uint64(m.ExitStatus))
3292	}
3293	l = github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)
3294	n += 1 + l + sovTasks(uint64(l))
3295	if m.XXX_unrecognized != nil {
3296		n += len(m.XXX_unrecognized)
3297	}
3298	return n
3299}
3300
3301func (m *DeleteProcessRequest) Size() (n int) {
3302	if m == nil {
3303		return 0
3304	}
3305	var l int
3306	_ = l
3307	l = len(m.ContainerID)
3308	if l > 0 {
3309		n += 1 + l + sovTasks(uint64(l))
3310	}
3311	l = len(m.ExecID)
3312	if l > 0 {
3313		n += 1 + l + sovTasks(uint64(l))
3314	}
3315	if m.XXX_unrecognized != nil {
3316		n += len(m.XXX_unrecognized)
3317	}
3318	return n
3319}
3320
3321func (m *GetRequest) Size() (n int) {
3322	if m == nil {
3323		return 0
3324	}
3325	var l int
3326	_ = l
3327	l = len(m.ContainerID)
3328	if l > 0 {
3329		n += 1 + l + sovTasks(uint64(l))
3330	}
3331	l = len(m.ExecID)
3332	if l > 0 {
3333		n += 1 + l + sovTasks(uint64(l))
3334	}
3335	if m.XXX_unrecognized != nil {
3336		n += len(m.XXX_unrecognized)
3337	}
3338	return n
3339}
3340
3341func (m *GetResponse) Size() (n int) {
3342	if m == nil {
3343		return 0
3344	}
3345	var l int
3346	_ = l
3347	if m.Process != nil {
3348		l = m.Process.Size()
3349		n += 1 + l + sovTasks(uint64(l))
3350	}
3351	if m.XXX_unrecognized != nil {
3352		n += len(m.XXX_unrecognized)
3353	}
3354	return n
3355}
3356
3357func (m *ListTasksRequest) Size() (n int) {
3358	if m == nil {
3359		return 0
3360	}
3361	var l int
3362	_ = l
3363	l = len(m.Filter)
3364	if l > 0 {
3365		n += 1 + l + sovTasks(uint64(l))
3366	}
3367	if m.XXX_unrecognized != nil {
3368		n += len(m.XXX_unrecognized)
3369	}
3370	return n
3371}
3372
3373func (m *ListTasksResponse) Size() (n int) {
3374	if m == nil {
3375		return 0
3376	}
3377	var l int
3378	_ = l
3379	if len(m.Tasks) > 0 {
3380		for _, e := range m.Tasks {
3381			l = e.Size()
3382			n += 1 + l + sovTasks(uint64(l))
3383		}
3384	}
3385	if m.XXX_unrecognized != nil {
3386		n += len(m.XXX_unrecognized)
3387	}
3388	return n
3389}
3390
3391func (m *KillRequest) Size() (n int) {
3392	if m == nil {
3393		return 0
3394	}
3395	var l int
3396	_ = l
3397	l = len(m.ContainerID)
3398	if l > 0 {
3399		n += 1 + l + sovTasks(uint64(l))
3400	}
3401	l = len(m.ExecID)
3402	if l > 0 {
3403		n += 1 + l + sovTasks(uint64(l))
3404	}
3405	if m.Signal != 0 {
3406		n += 1 + sovTasks(uint64(m.Signal))
3407	}
3408	if m.All {
3409		n += 2
3410	}
3411	if m.XXX_unrecognized != nil {
3412		n += len(m.XXX_unrecognized)
3413	}
3414	return n
3415}
3416
3417func (m *ExecProcessRequest) Size() (n int) {
3418	if m == nil {
3419		return 0
3420	}
3421	var l int
3422	_ = l
3423	l = len(m.ContainerID)
3424	if l > 0 {
3425		n += 1 + l + sovTasks(uint64(l))
3426	}
3427	l = len(m.Stdin)
3428	if l > 0 {
3429		n += 1 + l + sovTasks(uint64(l))
3430	}
3431	l = len(m.Stdout)
3432	if l > 0 {
3433		n += 1 + l + sovTasks(uint64(l))
3434	}
3435	l = len(m.Stderr)
3436	if l > 0 {
3437		n += 1 + l + sovTasks(uint64(l))
3438	}
3439	if m.Terminal {
3440		n += 2
3441	}
3442	if m.Spec != nil {
3443		l = m.Spec.Size()
3444		n += 1 + l + sovTasks(uint64(l))
3445	}
3446	l = len(m.ExecID)
3447	if l > 0 {
3448		n += 1 + l + sovTasks(uint64(l))
3449	}
3450	if m.XXX_unrecognized != nil {
3451		n += len(m.XXX_unrecognized)
3452	}
3453	return n
3454}
3455
3456func (m *ExecProcessResponse) Size() (n int) {
3457	if m == nil {
3458		return 0
3459	}
3460	var l int
3461	_ = l
3462	if m.XXX_unrecognized != nil {
3463		n += len(m.XXX_unrecognized)
3464	}
3465	return n
3466}
3467
3468func (m *ResizePtyRequest) Size() (n int) {
3469	if m == nil {
3470		return 0
3471	}
3472	var l int
3473	_ = l
3474	l = len(m.ContainerID)
3475	if l > 0 {
3476		n += 1 + l + sovTasks(uint64(l))
3477	}
3478	l = len(m.ExecID)
3479	if l > 0 {
3480		n += 1 + l + sovTasks(uint64(l))
3481	}
3482	if m.Width != 0 {
3483		n += 1 + sovTasks(uint64(m.Width))
3484	}
3485	if m.Height != 0 {
3486		n += 1 + sovTasks(uint64(m.Height))
3487	}
3488	if m.XXX_unrecognized != nil {
3489		n += len(m.XXX_unrecognized)
3490	}
3491	return n
3492}
3493
3494func (m *CloseIORequest) Size() (n int) {
3495	if m == nil {
3496		return 0
3497	}
3498	var l int
3499	_ = l
3500	l = len(m.ContainerID)
3501	if l > 0 {
3502		n += 1 + l + sovTasks(uint64(l))
3503	}
3504	l = len(m.ExecID)
3505	if l > 0 {
3506		n += 1 + l + sovTasks(uint64(l))
3507	}
3508	if m.Stdin {
3509		n += 2
3510	}
3511	if m.XXX_unrecognized != nil {
3512		n += len(m.XXX_unrecognized)
3513	}
3514	return n
3515}
3516
3517func (m *PauseTaskRequest) Size() (n int) {
3518	if m == nil {
3519		return 0
3520	}
3521	var l int
3522	_ = l
3523	l = len(m.ContainerID)
3524	if l > 0 {
3525		n += 1 + l + sovTasks(uint64(l))
3526	}
3527	if m.XXX_unrecognized != nil {
3528		n += len(m.XXX_unrecognized)
3529	}
3530	return n
3531}
3532
3533func (m *ResumeTaskRequest) Size() (n int) {
3534	if m == nil {
3535		return 0
3536	}
3537	var l int
3538	_ = l
3539	l = len(m.ContainerID)
3540	if l > 0 {
3541		n += 1 + l + sovTasks(uint64(l))
3542	}
3543	if m.XXX_unrecognized != nil {
3544		n += len(m.XXX_unrecognized)
3545	}
3546	return n
3547}
3548
3549func (m *ListPidsRequest) Size() (n int) {
3550	if m == nil {
3551		return 0
3552	}
3553	var l int
3554	_ = l
3555	l = len(m.ContainerID)
3556	if l > 0 {
3557		n += 1 + l + sovTasks(uint64(l))
3558	}
3559	if m.XXX_unrecognized != nil {
3560		n += len(m.XXX_unrecognized)
3561	}
3562	return n
3563}
3564
3565func (m *ListPidsResponse) Size() (n int) {
3566	if m == nil {
3567		return 0
3568	}
3569	var l int
3570	_ = l
3571	if len(m.Processes) > 0 {
3572		for _, e := range m.Processes {
3573			l = e.Size()
3574			n += 1 + l + sovTasks(uint64(l))
3575		}
3576	}
3577	if m.XXX_unrecognized != nil {
3578		n += len(m.XXX_unrecognized)
3579	}
3580	return n
3581}
3582
3583func (m *CheckpointTaskRequest) Size() (n int) {
3584	if m == nil {
3585		return 0
3586	}
3587	var l int
3588	_ = l
3589	l = len(m.ContainerID)
3590	if l > 0 {
3591		n += 1 + l + sovTasks(uint64(l))
3592	}
3593	l = len(m.ParentCheckpoint)
3594	if l > 0 {
3595		n += 1 + l + sovTasks(uint64(l))
3596	}
3597	if m.Options != nil {
3598		l = m.Options.Size()
3599		n += 1 + l + sovTasks(uint64(l))
3600	}
3601	if m.XXX_unrecognized != nil {
3602		n += len(m.XXX_unrecognized)
3603	}
3604	return n
3605}
3606
3607func (m *CheckpointTaskResponse) Size() (n int) {
3608	if m == nil {
3609		return 0
3610	}
3611	var l int
3612	_ = l
3613	if len(m.Descriptors) > 0 {
3614		for _, e := range m.Descriptors {
3615			l = e.Size()
3616			n += 1 + l + sovTasks(uint64(l))
3617		}
3618	}
3619	if m.XXX_unrecognized != nil {
3620		n += len(m.XXX_unrecognized)
3621	}
3622	return n
3623}
3624
3625func (m *UpdateTaskRequest) Size() (n int) {
3626	if m == nil {
3627		return 0
3628	}
3629	var l int
3630	_ = l
3631	l = len(m.ContainerID)
3632	if l > 0 {
3633		n += 1 + l + sovTasks(uint64(l))
3634	}
3635	if m.Resources != nil {
3636		l = m.Resources.Size()
3637		n += 1 + l + sovTasks(uint64(l))
3638	}
3639	if len(m.Annotations) > 0 {
3640		for k, v := range m.Annotations {
3641			_ = k
3642			_ = v
3643			mapEntrySize := 1 + len(k) + sovTasks(uint64(len(k))) + 1 + len(v) + sovTasks(uint64(len(v)))
3644			n += mapEntrySize + 1 + sovTasks(uint64(mapEntrySize))
3645		}
3646	}
3647	if m.XXX_unrecognized != nil {
3648		n += len(m.XXX_unrecognized)
3649	}
3650	return n
3651}
3652
3653func (m *MetricsRequest) Size() (n int) {
3654	if m == nil {
3655		return 0
3656	}
3657	var l int
3658	_ = l
3659	if len(m.Filters) > 0 {
3660		for _, s := range m.Filters {
3661			l = len(s)
3662			n += 1 + l + sovTasks(uint64(l))
3663		}
3664	}
3665	if m.XXX_unrecognized != nil {
3666		n += len(m.XXX_unrecognized)
3667	}
3668	return n
3669}
3670
3671func (m *MetricsResponse) Size() (n int) {
3672	if m == nil {
3673		return 0
3674	}
3675	var l int
3676	_ = l
3677	if len(m.Metrics) > 0 {
3678		for _, e := range m.Metrics {
3679			l = e.Size()
3680			n += 1 + l + sovTasks(uint64(l))
3681		}
3682	}
3683	if m.XXX_unrecognized != nil {
3684		n += len(m.XXX_unrecognized)
3685	}
3686	return n
3687}
3688
3689func (m *WaitRequest) Size() (n int) {
3690	if m == nil {
3691		return 0
3692	}
3693	var l int
3694	_ = l
3695	l = len(m.ContainerID)
3696	if l > 0 {
3697		n += 1 + l + sovTasks(uint64(l))
3698	}
3699	l = len(m.ExecID)
3700	if l > 0 {
3701		n += 1 + l + sovTasks(uint64(l))
3702	}
3703	if m.XXX_unrecognized != nil {
3704		n += len(m.XXX_unrecognized)
3705	}
3706	return n
3707}
3708
3709func (m *WaitResponse) Size() (n int) {
3710	if m == nil {
3711		return 0
3712	}
3713	var l int
3714	_ = l
3715	if m.ExitStatus != 0 {
3716		n += 1 + sovTasks(uint64(m.ExitStatus))
3717	}
3718	l = github_com_gogo_protobuf_types.SizeOfStdTime(m.ExitedAt)
3719	n += 1 + l + sovTasks(uint64(l))
3720	if m.XXX_unrecognized != nil {
3721		n += len(m.XXX_unrecognized)
3722	}
3723	return n
3724}
3725
3726func sovTasks(x uint64) (n int) {
3727	return (math_bits.Len64(x|1) + 6) / 7
3728}
3729func sozTasks(x uint64) (n int) {
3730	return sovTasks(uint64((x << 1) ^ uint64((int64(x) >> 63))))
3731}
3732func (this *CreateTaskRequest) String() string {
3733	if this == nil {
3734		return "nil"
3735	}
3736	repeatedStringForRootfs := "[]*Mount{"
3737	for _, f := range this.Rootfs {
3738		repeatedStringForRootfs += strings.Replace(fmt.Sprintf("%v", f), "Mount", "types.Mount", 1) + ","
3739	}
3740	repeatedStringForRootfs += "}"
3741	s := strings.Join([]string{`&CreateTaskRequest{`,
3742		`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
3743		`Rootfs:` + repeatedStringForRootfs + `,`,
3744		`Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
3745		`Stdout:` + fmt.Sprintf("%v", this.Stdout) + `,`,
3746		`Stderr:` + fmt.Sprintf("%v", this.Stderr) + `,`,
3747		`Terminal:` + fmt.Sprintf("%v", this.Terminal) + `,`,
3748		`Checkpoint:` + strings.Replace(fmt.Sprintf("%v", this.Checkpoint), "Descriptor", "types.Descriptor", 1) + `,`,
3749		`Options:` + strings.Replace(fmt.Sprintf("%v", this.Options), "Any", "types1.Any", 1) + `,`,
3750		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3751		`}`,
3752	}, "")
3753	return s
3754}
3755func (this *CreateTaskResponse) String() string {
3756	if this == nil {
3757		return "nil"
3758	}
3759	s := strings.Join([]string{`&CreateTaskResponse{`,
3760		`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
3761		`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
3762		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3763		`}`,
3764	}, "")
3765	return s
3766}
3767func (this *StartRequest) String() string {
3768	if this == nil {
3769		return "nil"
3770	}
3771	s := strings.Join([]string{`&StartRequest{`,
3772		`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
3773		`ExecID:` + fmt.Sprintf("%v", this.ExecID) + `,`,
3774		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3775		`}`,
3776	}, "")
3777	return s
3778}
3779func (this *StartResponse) String() string {
3780	if this == nil {
3781		return "nil"
3782	}
3783	s := strings.Join([]string{`&StartResponse{`,
3784		`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
3785		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3786		`}`,
3787	}, "")
3788	return s
3789}
3790func (this *DeleteTaskRequest) String() string {
3791	if this == nil {
3792		return "nil"
3793	}
3794	s := strings.Join([]string{`&DeleteTaskRequest{`,
3795		`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
3796		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3797		`}`,
3798	}, "")
3799	return s
3800}
3801func (this *DeleteResponse) String() string {
3802	if this == nil {
3803		return "nil"
3804	}
3805	s := strings.Join([]string{`&DeleteResponse{`,
3806		`ID:` + fmt.Sprintf("%v", this.ID) + `,`,
3807		`Pid:` + fmt.Sprintf("%v", this.Pid) + `,`,
3808		`ExitStatus:` + fmt.Sprintf("%v", this.ExitStatus) + `,`,
3809		`ExitedAt:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ExitedAt), "Timestamp", "types1.Timestamp", 1), `&`, ``, 1) + `,`,
3810		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3811		`}`,
3812	}, "")
3813	return s
3814}
3815func (this *DeleteProcessRequest) String() string {
3816	if this == nil {
3817		return "nil"
3818	}
3819	s := strings.Join([]string{`&DeleteProcessRequest{`,
3820		`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
3821		`ExecID:` + fmt.Sprintf("%v", this.ExecID) + `,`,
3822		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3823		`}`,
3824	}, "")
3825	return s
3826}
3827func (this *GetRequest) String() string {
3828	if this == nil {
3829		return "nil"
3830	}
3831	s := strings.Join([]string{`&GetRequest{`,
3832		`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
3833		`ExecID:` + fmt.Sprintf("%v", this.ExecID) + `,`,
3834		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3835		`}`,
3836	}, "")
3837	return s
3838}
3839func (this *GetResponse) String() string {
3840	if this == nil {
3841		return "nil"
3842	}
3843	s := strings.Join([]string{`&GetResponse{`,
3844		`Process:` + strings.Replace(fmt.Sprintf("%v", this.Process), "Process", "task.Process", 1) + `,`,
3845		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3846		`}`,
3847	}, "")
3848	return s
3849}
3850func (this *ListTasksRequest) String() string {
3851	if this == nil {
3852		return "nil"
3853	}
3854	s := strings.Join([]string{`&ListTasksRequest{`,
3855		`Filter:` + fmt.Sprintf("%v", this.Filter) + `,`,
3856		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3857		`}`,
3858	}, "")
3859	return s
3860}
3861func (this *ListTasksResponse) String() string {
3862	if this == nil {
3863		return "nil"
3864	}
3865	repeatedStringForTasks := "[]*Process{"
3866	for _, f := range this.Tasks {
3867		repeatedStringForTasks += strings.Replace(fmt.Sprintf("%v", f), "Process", "task.Process", 1) + ","
3868	}
3869	repeatedStringForTasks += "}"
3870	s := strings.Join([]string{`&ListTasksResponse{`,
3871		`Tasks:` + repeatedStringForTasks + `,`,
3872		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3873		`}`,
3874	}, "")
3875	return s
3876}
3877func (this *KillRequest) String() string {
3878	if this == nil {
3879		return "nil"
3880	}
3881	s := strings.Join([]string{`&KillRequest{`,
3882		`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
3883		`ExecID:` + fmt.Sprintf("%v", this.ExecID) + `,`,
3884		`Signal:` + fmt.Sprintf("%v", this.Signal) + `,`,
3885		`All:` + fmt.Sprintf("%v", this.All) + `,`,
3886		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3887		`}`,
3888	}, "")
3889	return s
3890}
3891func (this *ExecProcessRequest) String() string {
3892	if this == nil {
3893		return "nil"
3894	}
3895	s := strings.Join([]string{`&ExecProcessRequest{`,
3896		`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
3897		`Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
3898		`Stdout:` + fmt.Sprintf("%v", this.Stdout) + `,`,
3899		`Stderr:` + fmt.Sprintf("%v", this.Stderr) + `,`,
3900		`Terminal:` + fmt.Sprintf("%v", this.Terminal) + `,`,
3901		`Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "Any", "types1.Any", 1) + `,`,
3902		`ExecID:` + fmt.Sprintf("%v", this.ExecID) + `,`,
3903		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3904		`}`,
3905	}, "")
3906	return s
3907}
3908func (this *ExecProcessResponse) String() string {
3909	if this == nil {
3910		return "nil"
3911	}
3912	s := strings.Join([]string{`&ExecProcessResponse{`,
3913		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3914		`}`,
3915	}, "")
3916	return s
3917}
3918func (this *ResizePtyRequest) String() string {
3919	if this == nil {
3920		return "nil"
3921	}
3922	s := strings.Join([]string{`&ResizePtyRequest{`,
3923		`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
3924		`ExecID:` + fmt.Sprintf("%v", this.ExecID) + `,`,
3925		`Width:` + fmt.Sprintf("%v", this.Width) + `,`,
3926		`Height:` + fmt.Sprintf("%v", this.Height) + `,`,
3927		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3928		`}`,
3929	}, "")
3930	return s
3931}
3932func (this *CloseIORequest) String() string {
3933	if this == nil {
3934		return "nil"
3935	}
3936	s := strings.Join([]string{`&CloseIORequest{`,
3937		`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
3938		`ExecID:` + fmt.Sprintf("%v", this.ExecID) + `,`,
3939		`Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`,
3940		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3941		`}`,
3942	}, "")
3943	return s
3944}
3945func (this *PauseTaskRequest) String() string {
3946	if this == nil {
3947		return "nil"
3948	}
3949	s := strings.Join([]string{`&PauseTaskRequest{`,
3950		`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
3951		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3952		`}`,
3953	}, "")
3954	return s
3955}
3956func (this *ResumeTaskRequest) String() string {
3957	if this == nil {
3958		return "nil"
3959	}
3960	s := strings.Join([]string{`&ResumeTaskRequest{`,
3961		`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
3962		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3963		`}`,
3964	}, "")
3965	return s
3966}
3967func (this *ListPidsRequest) String() string {
3968	if this == nil {
3969		return "nil"
3970	}
3971	s := strings.Join([]string{`&ListPidsRequest{`,
3972		`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
3973		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3974		`}`,
3975	}, "")
3976	return s
3977}
3978func (this *ListPidsResponse) String() string {
3979	if this == nil {
3980		return "nil"
3981	}
3982	repeatedStringForProcesses := "[]*ProcessInfo{"
3983	for _, f := range this.Processes {
3984		repeatedStringForProcesses += strings.Replace(fmt.Sprintf("%v", f), "ProcessInfo", "task.ProcessInfo", 1) + ","
3985	}
3986	repeatedStringForProcesses += "}"
3987	s := strings.Join([]string{`&ListPidsResponse{`,
3988		`Processes:` + repeatedStringForProcesses + `,`,
3989		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
3990		`}`,
3991	}, "")
3992	return s
3993}
3994func (this *CheckpointTaskRequest) String() string {
3995	if this == nil {
3996		return "nil"
3997	}
3998	s := strings.Join([]string{`&CheckpointTaskRequest{`,
3999		`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
4000		`ParentCheckpoint:` + fmt.Sprintf("%v", this.ParentCheckpoint) + `,`,
4001		`Options:` + strings.Replace(fmt.Sprintf("%v", this.Options), "Any", "types1.Any", 1) + `,`,
4002		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
4003		`}`,
4004	}, "")
4005	return s
4006}
4007func (this *CheckpointTaskResponse) String() string {
4008	if this == nil {
4009		return "nil"
4010	}
4011	repeatedStringForDescriptors := "[]*Descriptor{"
4012	for _, f := range this.Descriptors {
4013		repeatedStringForDescriptors += strings.Replace(fmt.Sprintf("%v", f), "Descriptor", "types.Descriptor", 1) + ","
4014	}
4015	repeatedStringForDescriptors += "}"
4016	s := strings.Join([]string{`&CheckpointTaskResponse{`,
4017		`Descriptors:` + repeatedStringForDescriptors + `,`,
4018		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
4019		`}`,
4020	}, "")
4021	return s
4022}
4023func (this *UpdateTaskRequest) String() string {
4024	if this == nil {
4025		return "nil"
4026	}
4027	keysForAnnotations := make([]string, 0, len(this.Annotations))
4028	for k, _ := range this.Annotations {
4029		keysForAnnotations = append(keysForAnnotations, k)
4030	}
4031	github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations)
4032	mapStringForAnnotations := "map[string]string{"
4033	for _, k := range keysForAnnotations {
4034		mapStringForAnnotations += fmt.Sprintf("%v: %v,", k, this.Annotations[k])
4035	}
4036	mapStringForAnnotations += "}"
4037	s := strings.Join([]string{`&UpdateTaskRequest{`,
4038		`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
4039		`Resources:` + strings.Replace(fmt.Sprintf("%v", this.Resources), "Any", "types1.Any", 1) + `,`,
4040		`Annotations:` + mapStringForAnnotations + `,`,
4041		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
4042		`}`,
4043	}, "")
4044	return s
4045}
4046func (this *MetricsRequest) String() string {
4047	if this == nil {
4048		return "nil"
4049	}
4050	s := strings.Join([]string{`&MetricsRequest{`,
4051		`Filters:` + fmt.Sprintf("%v", this.Filters) + `,`,
4052		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
4053		`}`,
4054	}, "")
4055	return s
4056}
4057func (this *MetricsResponse) String() string {
4058	if this == nil {
4059		return "nil"
4060	}
4061	repeatedStringForMetrics := "[]*Metric{"
4062	for _, f := range this.Metrics {
4063		repeatedStringForMetrics += strings.Replace(fmt.Sprintf("%v", f), "Metric", "types.Metric", 1) + ","
4064	}
4065	repeatedStringForMetrics += "}"
4066	s := strings.Join([]string{`&MetricsResponse{`,
4067		`Metrics:` + repeatedStringForMetrics + `,`,
4068		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
4069		`}`,
4070	}, "")
4071	return s
4072}
4073func (this *WaitRequest) String() string {
4074	if this == nil {
4075		return "nil"
4076	}
4077	s := strings.Join([]string{`&WaitRequest{`,
4078		`ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`,
4079		`ExecID:` + fmt.Sprintf("%v", this.ExecID) + `,`,
4080		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
4081		`}`,
4082	}, "")
4083	return s
4084}
4085func (this *WaitResponse) String() string {
4086	if this == nil {
4087		return "nil"
4088	}
4089	s := strings.Join([]string{`&WaitResponse{`,
4090		`ExitStatus:` + fmt.Sprintf("%v", this.ExitStatus) + `,`,
4091		`ExitedAt:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ExitedAt), "Timestamp", "types1.Timestamp", 1), `&`, ``, 1) + `,`,
4092		`XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
4093		`}`,
4094	}, "")
4095	return s
4096}
4097func valueToStringTasks(v interface{}) string {
4098	rv := reflect.ValueOf(v)
4099	if rv.IsNil() {
4100		return "nil"
4101	}
4102	pv := reflect.Indirect(rv).Interface()
4103	return fmt.Sprintf("*%v", pv)
4104}
4105func (m *CreateTaskRequest) Unmarshal(dAtA []byte) error {
4106	l := len(dAtA)
4107	iNdEx := 0
4108	for iNdEx < l {
4109		preIndex := iNdEx
4110		var wire uint64
4111		for shift := uint(0); ; shift += 7 {
4112			if shift >= 64 {
4113				return ErrIntOverflowTasks
4114			}
4115			if iNdEx >= l {
4116				return io.ErrUnexpectedEOF
4117			}
4118			b := dAtA[iNdEx]
4119			iNdEx++
4120			wire |= uint64(b&0x7F) << shift
4121			if b < 0x80 {
4122				break
4123			}
4124		}
4125		fieldNum := int32(wire >> 3)
4126		wireType := int(wire & 0x7)
4127		if wireType == 4 {
4128			return fmt.Errorf("proto: CreateTaskRequest: wiretype end group for non-group")
4129		}
4130		if fieldNum <= 0 {
4131			return fmt.Errorf("proto: CreateTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire)
4132		}
4133		switch fieldNum {
4134		case 1:
4135			if wireType != 2 {
4136				return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
4137			}
4138			var stringLen uint64
4139			for shift := uint(0); ; shift += 7 {
4140				if shift >= 64 {
4141					return ErrIntOverflowTasks
4142				}
4143				if iNdEx >= l {
4144					return io.ErrUnexpectedEOF
4145				}
4146				b := dAtA[iNdEx]
4147				iNdEx++
4148				stringLen |= uint64(b&0x7F) << shift
4149				if b < 0x80 {
4150					break
4151				}
4152			}
4153			intStringLen := int(stringLen)
4154			if intStringLen < 0 {
4155				return ErrInvalidLengthTasks
4156			}
4157			postIndex := iNdEx + intStringLen
4158			if postIndex < 0 {
4159				return ErrInvalidLengthTasks
4160			}
4161			if postIndex > l {
4162				return io.ErrUnexpectedEOF
4163			}
4164			m.ContainerID = string(dAtA[iNdEx:postIndex])
4165			iNdEx = postIndex
4166		case 3:
4167			if wireType != 2 {
4168				return fmt.Errorf("proto: wrong wireType = %d for field Rootfs", wireType)
4169			}
4170			var msglen int
4171			for shift := uint(0); ; shift += 7 {
4172				if shift >= 64 {
4173					return ErrIntOverflowTasks
4174				}
4175				if iNdEx >= l {
4176					return io.ErrUnexpectedEOF
4177				}
4178				b := dAtA[iNdEx]
4179				iNdEx++
4180				msglen |= int(b&0x7F) << shift
4181				if b < 0x80 {
4182					break
4183				}
4184			}
4185			if msglen < 0 {
4186				return ErrInvalidLengthTasks
4187			}
4188			postIndex := iNdEx + msglen
4189			if postIndex < 0 {
4190				return ErrInvalidLengthTasks
4191			}
4192			if postIndex > l {
4193				return io.ErrUnexpectedEOF
4194			}
4195			m.Rootfs = append(m.Rootfs, &types.Mount{})
4196			if err := m.Rootfs[len(m.Rootfs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4197				return err
4198			}
4199			iNdEx = postIndex
4200		case 4:
4201			if wireType != 2 {
4202				return fmt.Errorf("proto: wrong wireType = %d for field Stdin", wireType)
4203			}
4204			var stringLen uint64
4205			for shift := uint(0); ; shift += 7 {
4206				if shift >= 64 {
4207					return ErrIntOverflowTasks
4208				}
4209				if iNdEx >= l {
4210					return io.ErrUnexpectedEOF
4211				}
4212				b := dAtA[iNdEx]
4213				iNdEx++
4214				stringLen |= uint64(b&0x7F) << shift
4215				if b < 0x80 {
4216					break
4217				}
4218			}
4219			intStringLen := int(stringLen)
4220			if intStringLen < 0 {
4221				return ErrInvalidLengthTasks
4222			}
4223			postIndex := iNdEx + intStringLen
4224			if postIndex < 0 {
4225				return ErrInvalidLengthTasks
4226			}
4227			if postIndex > l {
4228				return io.ErrUnexpectedEOF
4229			}
4230			m.Stdin = string(dAtA[iNdEx:postIndex])
4231			iNdEx = postIndex
4232		case 5:
4233			if wireType != 2 {
4234				return fmt.Errorf("proto: wrong wireType = %d for field Stdout", wireType)
4235			}
4236			var stringLen uint64
4237			for shift := uint(0); ; shift += 7 {
4238				if shift >= 64 {
4239					return ErrIntOverflowTasks
4240				}
4241				if iNdEx >= l {
4242					return io.ErrUnexpectedEOF
4243				}
4244				b := dAtA[iNdEx]
4245				iNdEx++
4246				stringLen |= uint64(b&0x7F) << shift
4247				if b < 0x80 {
4248					break
4249				}
4250			}
4251			intStringLen := int(stringLen)
4252			if intStringLen < 0 {
4253				return ErrInvalidLengthTasks
4254			}
4255			postIndex := iNdEx + intStringLen
4256			if postIndex < 0 {
4257				return ErrInvalidLengthTasks
4258			}
4259			if postIndex > l {
4260				return io.ErrUnexpectedEOF
4261			}
4262			m.Stdout = string(dAtA[iNdEx:postIndex])
4263			iNdEx = postIndex
4264		case 6:
4265			if wireType != 2 {
4266				return fmt.Errorf("proto: wrong wireType = %d for field Stderr", wireType)
4267			}
4268			var stringLen uint64
4269			for shift := uint(0); ; shift += 7 {
4270				if shift >= 64 {
4271					return ErrIntOverflowTasks
4272				}
4273				if iNdEx >= l {
4274					return io.ErrUnexpectedEOF
4275				}
4276				b := dAtA[iNdEx]
4277				iNdEx++
4278				stringLen |= uint64(b&0x7F) << shift
4279				if b < 0x80 {
4280					break
4281				}
4282			}
4283			intStringLen := int(stringLen)
4284			if intStringLen < 0 {
4285				return ErrInvalidLengthTasks
4286			}
4287			postIndex := iNdEx + intStringLen
4288			if postIndex < 0 {
4289				return ErrInvalidLengthTasks
4290			}
4291			if postIndex > l {
4292				return io.ErrUnexpectedEOF
4293			}
4294			m.Stderr = string(dAtA[iNdEx:postIndex])
4295			iNdEx = postIndex
4296		case 7:
4297			if wireType != 0 {
4298				return fmt.Errorf("proto: wrong wireType = %d for field Terminal", wireType)
4299			}
4300			var v int
4301			for shift := uint(0); ; shift += 7 {
4302				if shift >= 64 {
4303					return ErrIntOverflowTasks
4304				}
4305				if iNdEx >= l {
4306					return io.ErrUnexpectedEOF
4307				}
4308				b := dAtA[iNdEx]
4309				iNdEx++
4310				v |= int(b&0x7F) << shift
4311				if b < 0x80 {
4312					break
4313				}
4314			}
4315			m.Terminal = bool(v != 0)
4316		case 8:
4317			if wireType != 2 {
4318				return fmt.Errorf("proto: wrong wireType = %d for field Checkpoint", wireType)
4319			}
4320			var msglen int
4321			for shift := uint(0); ; shift += 7 {
4322				if shift >= 64 {
4323					return ErrIntOverflowTasks
4324				}
4325				if iNdEx >= l {
4326					return io.ErrUnexpectedEOF
4327				}
4328				b := dAtA[iNdEx]
4329				iNdEx++
4330				msglen |= int(b&0x7F) << shift
4331				if b < 0x80 {
4332					break
4333				}
4334			}
4335			if msglen < 0 {
4336				return ErrInvalidLengthTasks
4337			}
4338			postIndex := iNdEx + msglen
4339			if postIndex < 0 {
4340				return ErrInvalidLengthTasks
4341			}
4342			if postIndex > l {
4343				return io.ErrUnexpectedEOF
4344			}
4345			if m.Checkpoint == nil {
4346				m.Checkpoint = &types.Descriptor{}
4347			}
4348			if err := m.Checkpoint.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4349				return err
4350			}
4351			iNdEx = postIndex
4352		case 9:
4353			if wireType != 2 {
4354				return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
4355			}
4356			var msglen int
4357			for shift := uint(0); ; shift += 7 {
4358				if shift >= 64 {
4359					return ErrIntOverflowTasks
4360				}
4361				if iNdEx >= l {
4362					return io.ErrUnexpectedEOF
4363				}
4364				b := dAtA[iNdEx]
4365				iNdEx++
4366				msglen |= int(b&0x7F) << shift
4367				if b < 0x80 {
4368					break
4369				}
4370			}
4371			if msglen < 0 {
4372				return ErrInvalidLengthTasks
4373			}
4374			postIndex := iNdEx + msglen
4375			if postIndex < 0 {
4376				return ErrInvalidLengthTasks
4377			}
4378			if postIndex > l {
4379				return io.ErrUnexpectedEOF
4380			}
4381			if m.Options == nil {
4382				m.Options = &types1.Any{}
4383			}
4384			if err := m.Options.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4385				return err
4386			}
4387			iNdEx = postIndex
4388		default:
4389			iNdEx = preIndex
4390			skippy, err := skipTasks(dAtA[iNdEx:])
4391			if err != nil {
4392				return err
4393			}
4394			if (skippy < 0) || (iNdEx+skippy) < 0 {
4395				return ErrInvalidLengthTasks
4396			}
4397			if (iNdEx + skippy) > l {
4398				return io.ErrUnexpectedEOF
4399			}
4400			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
4401			iNdEx += skippy
4402		}
4403	}
4404
4405	if iNdEx > l {
4406		return io.ErrUnexpectedEOF
4407	}
4408	return nil
4409}
4410func (m *CreateTaskResponse) Unmarshal(dAtA []byte) error {
4411	l := len(dAtA)
4412	iNdEx := 0
4413	for iNdEx < l {
4414		preIndex := iNdEx
4415		var wire uint64
4416		for shift := uint(0); ; shift += 7 {
4417			if shift >= 64 {
4418				return ErrIntOverflowTasks
4419			}
4420			if iNdEx >= l {
4421				return io.ErrUnexpectedEOF
4422			}
4423			b := dAtA[iNdEx]
4424			iNdEx++
4425			wire |= uint64(b&0x7F) << shift
4426			if b < 0x80 {
4427				break
4428			}
4429		}
4430		fieldNum := int32(wire >> 3)
4431		wireType := int(wire & 0x7)
4432		if wireType == 4 {
4433			return fmt.Errorf("proto: CreateTaskResponse: wiretype end group for non-group")
4434		}
4435		if fieldNum <= 0 {
4436			return fmt.Errorf("proto: CreateTaskResponse: illegal tag %d (wire type %d)", fieldNum, wire)
4437		}
4438		switch fieldNum {
4439		case 1:
4440			if wireType != 2 {
4441				return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
4442			}
4443			var stringLen uint64
4444			for shift := uint(0); ; shift += 7 {
4445				if shift >= 64 {
4446					return ErrIntOverflowTasks
4447				}
4448				if iNdEx >= l {
4449					return io.ErrUnexpectedEOF
4450				}
4451				b := dAtA[iNdEx]
4452				iNdEx++
4453				stringLen |= uint64(b&0x7F) << shift
4454				if b < 0x80 {
4455					break
4456				}
4457			}
4458			intStringLen := int(stringLen)
4459			if intStringLen < 0 {
4460				return ErrInvalidLengthTasks
4461			}
4462			postIndex := iNdEx + intStringLen
4463			if postIndex < 0 {
4464				return ErrInvalidLengthTasks
4465			}
4466			if postIndex > l {
4467				return io.ErrUnexpectedEOF
4468			}
4469			m.ContainerID = string(dAtA[iNdEx:postIndex])
4470			iNdEx = postIndex
4471		case 2:
4472			if wireType != 0 {
4473				return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
4474			}
4475			m.Pid = 0
4476			for shift := uint(0); ; shift += 7 {
4477				if shift >= 64 {
4478					return ErrIntOverflowTasks
4479				}
4480				if iNdEx >= l {
4481					return io.ErrUnexpectedEOF
4482				}
4483				b := dAtA[iNdEx]
4484				iNdEx++
4485				m.Pid |= uint32(b&0x7F) << shift
4486				if b < 0x80 {
4487					break
4488				}
4489			}
4490		default:
4491			iNdEx = preIndex
4492			skippy, err := skipTasks(dAtA[iNdEx:])
4493			if err != nil {
4494				return err
4495			}
4496			if (skippy < 0) || (iNdEx+skippy) < 0 {
4497				return ErrInvalidLengthTasks
4498			}
4499			if (iNdEx + skippy) > l {
4500				return io.ErrUnexpectedEOF
4501			}
4502			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
4503			iNdEx += skippy
4504		}
4505	}
4506
4507	if iNdEx > l {
4508		return io.ErrUnexpectedEOF
4509	}
4510	return nil
4511}
4512func (m *StartRequest) Unmarshal(dAtA []byte) error {
4513	l := len(dAtA)
4514	iNdEx := 0
4515	for iNdEx < l {
4516		preIndex := iNdEx
4517		var wire uint64
4518		for shift := uint(0); ; shift += 7 {
4519			if shift >= 64 {
4520				return ErrIntOverflowTasks
4521			}
4522			if iNdEx >= l {
4523				return io.ErrUnexpectedEOF
4524			}
4525			b := dAtA[iNdEx]
4526			iNdEx++
4527			wire |= uint64(b&0x7F) << shift
4528			if b < 0x80 {
4529				break
4530			}
4531		}
4532		fieldNum := int32(wire >> 3)
4533		wireType := int(wire & 0x7)
4534		if wireType == 4 {
4535			return fmt.Errorf("proto: StartRequest: wiretype end group for non-group")
4536		}
4537		if fieldNum <= 0 {
4538			return fmt.Errorf("proto: StartRequest: illegal tag %d (wire type %d)", fieldNum, wire)
4539		}
4540		switch fieldNum {
4541		case 1:
4542			if wireType != 2 {
4543				return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
4544			}
4545			var stringLen uint64
4546			for shift := uint(0); ; shift += 7 {
4547				if shift >= 64 {
4548					return ErrIntOverflowTasks
4549				}
4550				if iNdEx >= l {
4551					return io.ErrUnexpectedEOF
4552				}
4553				b := dAtA[iNdEx]
4554				iNdEx++
4555				stringLen |= uint64(b&0x7F) << shift
4556				if b < 0x80 {
4557					break
4558				}
4559			}
4560			intStringLen := int(stringLen)
4561			if intStringLen < 0 {
4562				return ErrInvalidLengthTasks
4563			}
4564			postIndex := iNdEx + intStringLen
4565			if postIndex < 0 {
4566				return ErrInvalidLengthTasks
4567			}
4568			if postIndex > l {
4569				return io.ErrUnexpectedEOF
4570			}
4571			m.ContainerID = string(dAtA[iNdEx:postIndex])
4572			iNdEx = postIndex
4573		case 2:
4574			if wireType != 2 {
4575				return fmt.Errorf("proto: wrong wireType = %d for field ExecID", wireType)
4576			}
4577			var stringLen uint64
4578			for shift := uint(0); ; shift += 7 {
4579				if shift >= 64 {
4580					return ErrIntOverflowTasks
4581				}
4582				if iNdEx >= l {
4583					return io.ErrUnexpectedEOF
4584				}
4585				b := dAtA[iNdEx]
4586				iNdEx++
4587				stringLen |= uint64(b&0x7F) << shift
4588				if b < 0x80 {
4589					break
4590				}
4591			}
4592			intStringLen := int(stringLen)
4593			if intStringLen < 0 {
4594				return ErrInvalidLengthTasks
4595			}
4596			postIndex := iNdEx + intStringLen
4597			if postIndex < 0 {
4598				return ErrInvalidLengthTasks
4599			}
4600			if postIndex > l {
4601				return io.ErrUnexpectedEOF
4602			}
4603			m.ExecID = string(dAtA[iNdEx:postIndex])
4604			iNdEx = postIndex
4605		default:
4606			iNdEx = preIndex
4607			skippy, err := skipTasks(dAtA[iNdEx:])
4608			if err != nil {
4609				return err
4610			}
4611			if (skippy < 0) || (iNdEx+skippy) < 0 {
4612				return ErrInvalidLengthTasks
4613			}
4614			if (iNdEx + skippy) > l {
4615				return io.ErrUnexpectedEOF
4616			}
4617			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
4618			iNdEx += skippy
4619		}
4620	}
4621
4622	if iNdEx > l {
4623		return io.ErrUnexpectedEOF
4624	}
4625	return nil
4626}
4627func (m *StartResponse) Unmarshal(dAtA []byte) error {
4628	l := len(dAtA)
4629	iNdEx := 0
4630	for iNdEx < l {
4631		preIndex := iNdEx
4632		var wire uint64
4633		for shift := uint(0); ; shift += 7 {
4634			if shift >= 64 {
4635				return ErrIntOverflowTasks
4636			}
4637			if iNdEx >= l {
4638				return io.ErrUnexpectedEOF
4639			}
4640			b := dAtA[iNdEx]
4641			iNdEx++
4642			wire |= uint64(b&0x7F) << shift
4643			if b < 0x80 {
4644				break
4645			}
4646		}
4647		fieldNum := int32(wire >> 3)
4648		wireType := int(wire & 0x7)
4649		if wireType == 4 {
4650			return fmt.Errorf("proto: StartResponse: wiretype end group for non-group")
4651		}
4652		if fieldNum <= 0 {
4653			return fmt.Errorf("proto: StartResponse: illegal tag %d (wire type %d)", fieldNum, wire)
4654		}
4655		switch fieldNum {
4656		case 1:
4657			if wireType != 0 {
4658				return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
4659			}
4660			m.Pid = 0
4661			for shift := uint(0); ; shift += 7 {
4662				if shift >= 64 {
4663					return ErrIntOverflowTasks
4664				}
4665				if iNdEx >= l {
4666					return io.ErrUnexpectedEOF
4667				}
4668				b := dAtA[iNdEx]
4669				iNdEx++
4670				m.Pid |= uint32(b&0x7F) << shift
4671				if b < 0x80 {
4672					break
4673				}
4674			}
4675		default:
4676			iNdEx = preIndex
4677			skippy, err := skipTasks(dAtA[iNdEx:])
4678			if err != nil {
4679				return err
4680			}
4681			if (skippy < 0) || (iNdEx+skippy) < 0 {
4682				return ErrInvalidLengthTasks
4683			}
4684			if (iNdEx + skippy) > l {
4685				return io.ErrUnexpectedEOF
4686			}
4687			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
4688			iNdEx += skippy
4689		}
4690	}
4691
4692	if iNdEx > l {
4693		return io.ErrUnexpectedEOF
4694	}
4695	return nil
4696}
4697func (m *DeleteTaskRequest) Unmarshal(dAtA []byte) error {
4698	l := len(dAtA)
4699	iNdEx := 0
4700	for iNdEx < l {
4701		preIndex := iNdEx
4702		var wire uint64
4703		for shift := uint(0); ; shift += 7 {
4704			if shift >= 64 {
4705				return ErrIntOverflowTasks
4706			}
4707			if iNdEx >= l {
4708				return io.ErrUnexpectedEOF
4709			}
4710			b := dAtA[iNdEx]
4711			iNdEx++
4712			wire |= uint64(b&0x7F) << shift
4713			if b < 0x80 {
4714				break
4715			}
4716		}
4717		fieldNum := int32(wire >> 3)
4718		wireType := int(wire & 0x7)
4719		if wireType == 4 {
4720			return fmt.Errorf("proto: DeleteTaskRequest: wiretype end group for non-group")
4721		}
4722		if fieldNum <= 0 {
4723			return fmt.Errorf("proto: DeleteTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire)
4724		}
4725		switch fieldNum {
4726		case 1:
4727			if wireType != 2 {
4728				return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
4729			}
4730			var stringLen uint64
4731			for shift := uint(0); ; shift += 7 {
4732				if shift >= 64 {
4733					return ErrIntOverflowTasks
4734				}
4735				if iNdEx >= l {
4736					return io.ErrUnexpectedEOF
4737				}
4738				b := dAtA[iNdEx]
4739				iNdEx++
4740				stringLen |= uint64(b&0x7F) << shift
4741				if b < 0x80 {
4742					break
4743				}
4744			}
4745			intStringLen := int(stringLen)
4746			if intStringLen < 0 {
4747				return ErrInvalidLengthTasks
4748			}
4749			postIndex := iNdEx + intStringLen
4750			if postIndex < 0 {
4751				return ErrInvalidLengthTasks
4752			}
4753			if postIndex > l {
4754				return io.ErrUnexpectedEOF
4755			}
4756			m.ContainerID = string(dAtA[iNdEx:postIndex])
4757			iNdEx = postIndex
4758		default:
4759			iNdEx = preIndex
4760			skippy, err := skipTasks(dAtA[iNdEx:])
4761			if err != nil {
4762				return err
4763			}
4764			if (skippy < 0) || (iNdEx+skippy) < 0 {
4765				return ErrInvalidLengthTasks
4766			}
4767			if (iNdEx + skippy) > l {
4768				return io.ErrUnexpectedEOF
4769			}
4770			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
4771			iNdEx += skippy
4772		}
4773	}
4774
4775	if iNdEx > l {
4776		return io.ErrUnexpectedEOF
4777	}
4778	return nil
4779}
4780func (m *DeleteResponse) Unmarshal(dAtA []byte) error {
4781	l := len(dAtA)
4782	iNdEx := 0
4783	for iNdEx < l {
4784		preIndex := iNdEx
4785		var wire uint64
4786		for shift := uint(0); ; shift += 7 {
4787			if shift >= 64 {
4788				return ErrIntOverflowTasks
4789			}
4790			if iNdEx >= l {
4791				return io.ErrUnexpectedEOF
4792			}
4793			b := dAtA[iNdEx]
4794			iNdEx++
4795			wire |= uint64(b&0x7F) << shift
4796			if b < 0x80 {
4797				break
4798			}
4799		}
4800		fieldNum := int32(wire >> 3)
4801		wireType := int(wire & 0x7)
4802		if wireType == 4 {
4803			return fmt.Errorf("proto: DeleteResponse: wiretype end group for non-group")
4804		}
4805		if fieldNum <= 0 {
4806			return fmt.Errorf("proto: DeleteResponse: illegal tag %d (wire type %d)", fieldNum, wire)
4807		}
4808		switch fieldNum {
4809		case 1:
4810			if wireType != 2 {
4811				return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
4812			}
4813			var stringLen uint64
4814			for shift := uint(0); ; shift += 7 {
4815				if shift >= 64 {
4816					return ErrIntOverflowTasks
4817				}
4818				if iNdEx >= l {
4819					return io.ErrUnexpectedEOF
4820				}
4821				b := dAtA[iNdEx]
4822				iNdEx++
4823				stringLen |= uint64(b&0x7F) << shift
4824				if b < 0x80 {
4825					break
4826				}
4827			}
4828			intStringLen := int(stringLen)
4829			if intStringLen < 0 {
4830				return ErrInvalidLengthTasks
4831			}
4832			postIndex := iNdEx + intStringLen
4833			if postIndex < 0 {
4834				return ErrInvalidLengthTasks
4835			}
4836			if postIndex > l {
4837				return io.ErrUnexpectedEOF
4838			}
4839			m.ID = string(dAtA[iNdEx:postIndex])
4840			iNdEx = postIndex
4841		case 2:
4842			if wireType != 0 {
4843				return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
4844			}
4845			m.Pid = 0
4846			for shift := uint(0); ; shift += 7 {
4847				if shift >= 64 {
4848					return ErrIntOverflowTasks
4849				}
4850				if iNdEx >= l {
4851					return io.ErrUnexpectedEOF
4852				}
4853				b := dAtA[iNdEx]
4854				iNdEx++
4855				m.Pid |= uint32(b&0x7F) << shift
4856				if b < 0x80 {
4857					break
4858				}
4859			}
4860		case 3:
4861			if wireType != 0 {
4862				return fmt.Errorf("proto: wrong wireType = %d for field ExitStatus", wireType)
4863			}
4864			m.ExitStatus = 0
4865			for shift := uint(0); ; shift += 7 {
4866				if shift >= 64 {
4867					return ErrIntOverflowTasks
4868				}
4869				if iNdEx >= l {
4870					return io.ErrUnexpectedEOF
4871				}
4872				b := dAtA[iNdEx]
4873				iNdEx++
4874				m.ExitStatus |= uint32(b&0x7F) << shift
4875				if b < 0x80 {
4876					break
4877				}
4878			}
4879		case 4:
4880			if wireType != 2 {
4881				return fmt.Errorf("proto: wrong wireType = %d for field ExitedAt", wireType)
4882			}
4883			var msglen int
4884			for shift := uint(0); ; shift += 7 {
4885				if shift >= 64 {
4886					return ErrIntOverflowTasks
4887				}
4888				if iNdEx >= l {
4889					return io.ErrUnexpectedEOF
4890				}
4891				b := dAtA[iNdEx]
4892				iNdEx++
4893				msglen |= int(b&0x7F) << shift
4894				if b < 0x80 {
4895					break
4896				}
4897			}
4898			if msglen < 0 {
4899				return ErrInvalidLengthTasks
4900			}
4901			postIndex := iNdEx + msglen
4902			if postIndex < 0 {
4903				return ErrInvalidLengthTasks
4904			}
4905			if postIndex > l {
4906				return io.ErrUnexpectedEOF
4907			}
4908			if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
4909				return err
4910			}
4911			iNdEx = postIndex
4912		default:
4913			iNdEx = preIndex
4914			skippy, err := skipTasks(dAtA[iNdEx:])
4915			if err != nil {
4916				return err
4917			}
4918			if (skippy < 0) || (iNdEx+skippy) < 0 {
4919				return ErrInvalidLengthTasks
4920			}
4921			if (iNdEx + skippy) > l {
4922				return io.ErrUnexpectedEOF
4923			}
4924			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
4925			iNdEx += skippy
4926		}
4927	}
4928
4929	if iNdEx > l {
4930		return io.ErrUnexpectedEOF
4931	}
4932	return nil
4933}
4934func (m *DeleteProcessRequest) Unmarshal(dAtA []byte) error {
4935	l := len(dAtA)
4936	iNdEx := 0
4937	for iNdEx < l {
4938		preIndex := iNdEx
4939		var wire uint64
4940		for shift := uint(0); ; shift += 7 {
4941			if shift >= 64 {
4942				return ErrIntOverflowTasks
4943			}
4944			if iNdEx >= l {
4945				return io.ErrUnexpectedEOF
4946			}
4947			b := dAtA[iNdEx]
4948			iNdEx++
4949			wire |= uint64(b&0x7F) << shift
4950			if b < 0x80 {
4951				break
4952			}
4953		}
4954		fieldNum := int32(wire >> 3)
4955		wireType := int(wire & 0x7)
4956		if wireType == 4 {
4957			return fmt.Errorf("proto: DeleteProcessRequest: wiretype end group for non-group")
4958		}
4959		if fieldNum <= 0 {
4960			return fmt.Errorf("proto: DeleteProcessRequest: illegal tag %d (wire type %d)", fieldNum, wire)
4961		}
4962		switch fieldNum {
4963		case 1:
4964			if wireType != 2 {
4965				return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
4966			}
4967			var stringLen uint64
4968			for shift := uint(0); ; shift += 7 {
4969				if shift >= 64 {
4970					return ErrIntOverflowTasks
4971				}
4972				if iNdEx >= l {
4973					return io.ErrUnexpectedEOF
4974				}
4975				b := dAtA[iNdEx]
4976				iNdEx++
4977				stringLen |= uint64(b&0x7F) << shift
4978				if b < 0x80 {
4979					break
4980				}
4981			}
4982			intStringLen := int(stringLen)
4983			if intStringLen < 0 {
4984				return ErrInvalidLengthTasks
4985			}
4986			postIndex := iNdEx + intStringLen
4987			if postIndex < 0 {
4988				return ErrInvalidLengthTasks
4989			}
4990			if postIndex > l {
4991				return io.ErrUnexpectedEOF
4992			}
4993			m.ContainerID = string(dAtA[iNdEx:postIndex])
4994			iNdEx = postIndex
4995		case 2:
4996			if wireType != 2 {
4997				return fmt.Errorf("proto: wrong wireType = %d for field ExecID", wireType)
4998			}
4999			var stringLen uint64
5000			for shift := uint(0); ; shift += 7 {
5001				if shift >= 64 {
5002					return ErrIntOverflowTasks
5003				}
5004				if iNdEx >= l {
5005					return io.ErrUnexpectedEOF
5006				}
5007				b := dAtA[iNdEx]
5008				iNdEx++
5009				stringLen |= uint64(b&0x7F) << shift
5010				if b < 0x80 {
5011					break
5012				}
5013			}
5014			intStringLen := int(stringLen)
5015			if intStringLen < 0 {
5016				return ErrInvalidLengthTasks
5017			}
5018			postIndex := iNdEx + intStringLen
5019			if postIndex < 0 {
5020				return ErrInvalidLengthTasks
5021			}
5022			if postIndex > l {
5023				return io.ErrUnexpectedEOF
5024			}
5025			m.ExecID = string(dAtA[iNdEx:postIndex])
5026			iNdEx = postIndex
5027		default:
5028			iNdEx = preIndex
5029			skippy, err := skipTasks(dAtA[iNdEx:])
5030			if err != nil {
5031				return err
5032			}
5033			if (skippy < 0) || (iNdEx+skippy) < 0 {
5034				return ErrInvalidLengthTasks
5035			}
5036			if (iNdEx + skippy) > l {
5037				return io.ErrUnexpectedEOF
5038			}
5039			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
5040			iNdEx += skippy
5041		}
5042	}
5043
5044	if iNdEx > l {
5045		return io.ErrUnexpectedEOF
5046	}
5047	return nil
5048}
5049func (m *GetRequest) Unmarshal(dAtA []byte) error {
5050	l := len(dAtA)
5051	iNdEx := 0
5052	for iNdEx < l {
5053		preIndex := iNdEx
5054		var wire uint64
5055		for shift := uint(0); ; shift += 7 {
5056			if shift >= 64 {
5057				return ErrIntOverflowTasks
5058			}
5059			if iNdEx >= l {
5060				return io.ErrUnexpectedEOF
5061			}
5062			b := dAtA[iNdEx]
5063			iNdEx++
5064			wire |= uint64(b&0x7F) << shift
5065			if b < 0x80 {
5066				break
5067			}
5068		}
5069		fieldNum := int32(wire >> 3)
5070		wireType := int(wire & 0x7)
5071		if wireType == 4 {
5072			return fmt.Errorf("proto: GetRequest: wiretype end group for non-group")
5073		}
5074		if fieldNum <= 0 {
5075			return fmt.Errorf("proto: GetRequest: illegal tag %d (wire type %d)", fieldNum, wire)
5076		}
5077		switch fieldNum {
5078		case 1:
5079			if wireType != 2 {
5080				return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
5081			}
5082			var stringLen uint64
5083			for shift := uint(0); ; shift += 7 {
5084				if shift >= 64 {
5085					return ErrIntOverflowTasks
5086				}
5087				if iNdEx >= l {
5088					return io.ErrUnexpectedEOF
5089				}
5090				b := dAtA[iNdEx]
5091				iNdEx++
5092				stringLen |= uint64(b&0x7F) << shift
5093				if b < 0x80 {
5094					break
5095				}
5096			}
5097			intStringLen := int(stringLen)
5098			if intStringLen < 0 {
5099				return ErrInvalidLengthTasks
5100			}
5101			postIndex := iNdEx + intStringLen
5102			if postIndex < 0 {
5103				return ErrInvalidLengthTasks
5104			}
5105			if postIndex > l {
5106				return io.ErrUnexpectedEOF
5107			}
5108			m.ContainerID = string(dAtA[iNdEx:postIndex])
5109			iNdEx = postIndex
5110		case 2:
5111			if wireType != 2 {
5112				return fmt.Errorf("proto: wrong wireType = %d for field ExecID", wireType)
5113			}
5114			var stringLen uint64
5115			for shift := uint(0); ; shift += 7 {
5116				if shift >= 64 {
5117					return ErrIntOverflowTasks
5118				}
5119				if iNdEx >= l {
5120					return io.ErrUnexpectedEOF
5121				}
5122				b := dAtA[iNdEx]
5123				iNdEx++
5124				stringLen |= uint64(b&0x7F) << shift
5125				if b < 0x80 {
5126					break
5127				}
5128			}
5129			intStringLen := int(stringLen)
5130			if intStringLen < 0 {
5131				return ErrInvalidLengthTasks
5132			}
5133			postIndex := iNdEx + intStringLen
5134			if postIndex < 0 {
5135				return ErrInvalidLengthTasks
5136			}
5137			if postIndex > l {
5138				return io.ErrUnexpectedEOF
5139			}
5140			m.ExecID = string(dAtA[iNdEx:postIndex])
5141			iNdEx = postIndex
5142		default:
5143			iNdEx = preIndex
5144			skippy, err := skipTasks(dAtA[iNdEx:])
5145			if err != nil {
5146				return err
5147			}
5148			if (skippy < 0) || (iNdEx+skippy) < 0 {
5149				return ErrInvalidLengthTasks
5150			}
5151			if (iNdEx + skippy) > l {
5152				return io.ErrUnexpectedEOF
5153			}
5154			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
5155			iNdEx += skippy
5156		}
5157	}
5158
5159	if iNdEx > l {
5160		return io.ErrUnexpectedEOF
5161	}
5162	return nil
5163}
5164func (m *GetResponse) Unmarshal(dAtA []byte) error {
5165	l := len(dAtA)
5166	iNdEx := 0
5167	for iNdEx < l {
5168		preIndex := iNdEx
5169		var wire uint64
5170		for shift := uint(0); ; shift += 7 {
5171			if shift >= 64 {
5172				return ErrIntOverflowTasks
5173			}
5174			if iNdEx >= l {
5175				return io.ErrUnexpectedEOF
5176			}
5177			b := dAtA[iNdEx]
5178			iNdEx++
5179			wire |= uint64(b&0x7F) << shift
5180			if b < 0x80 {
5181				break
5182			}
5183		}
5184		fieldNum := int32(wire >> 3)
5185		wireType := int(wire & 0x7)
5186		if wireType == 4 {
5187			return fmt.Errorf("proto: GetResponse: wiretype end group for non-group")
5188		}
5189		if fieldNum <= 0 {
5190			return fmt.Errorf("proto: GetResponse: illegal tag %d (wire type %d)", fieldNum, wire)
5191		}
5192		switch fieldNum {
5193		case 1:
5194			if wireType != 2 {
5195				return fmt.Errorf("proto: wrong wireType = %d for field Process", wireType)
5196			}
5197			var msglen int
5198			for shift := uint(0); ; shift += 7 {
5199				if shift >= 64 {
5200					return ErrIntOverflowTasks
5201				}
5202				if iNdEx >= l {
5203					return io.ErrUnexpectedEOF
5204				}
5205				b := dAtA[iNdEx]
5206				iNdEx++
5207				msglen |= int(b&0x7F) << shift
5208				if b < 0x80 {
5209					break
5210				}
5211			}
5212			if msglen < 0 {
5213				return ErrInvalidLengthTasks
5214			}
5215			postIndex := iNdEx + msglen
5216			if postIndex < 0 {
5217				return ErrInvalidLengthTasks
5218			}
5219			if postIndex > l {
5220				return io.ErrUnexpectedEOF
5221			}
5222			if m.Process == nil {
5223				m.Process = &task.Process{}
5224			}
5225			if err := m.Process.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5226				return err
5227			}
5228			iNdEx = postIndex
5229		default:
5230			iNdEx = preIndex
5231			skippy, err := skipTasks(dAtA[iNdEx:])
5232			if err != nil {
5233				return err
5234			}
5235			if (skippy < 0) || (iNdEx+skippy) < 0 {
5236				return ErrInvalidLengthTasks
5237			}
5238			if (iNdEx + skippy) > l {
5239				return io.ErrUnexpectedEOF
5240			}
5241			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
5242			iNdEx += skippy
5243		}
5244	}
5245
5246	if iNdEx > l {
5247		return io.ErrUnexpectedEOF
5248	}
5249	return nil
5250}
5251func (m *ListTasksRequest) Unmarshal(dAtA []byte) error {
5252	l := len(dAtA)
5253	iNdEx := 0
5254	for iNdEx < l {
5255		preIndex := iNdEx
5256		var wire uint64
5257		for shift := uint(0); ; shift += 7 {
5258			if shift >= 64 {
5259				return ErrIntOverflowTasks
5260			}
5261			if iNdEx >= l {
5262				return io.ErrUnexpectedEOF
5263			}
5264			b := dAtA[iNdEx]
5265			iNdEx++
5266			wire |= uint64(b&0x7F) << shift
5267			if b < 0x80 {
5268				break
5269			}
5270		}
5271		fieldNum := int32(wire >> 3)
5272		wireType := int(wire & 0x7)
5273		if wireType == 4 {
5274			return fmt.Errorf("proto: ListTasksRequest: wiretype end group for non-group")
5275		}
5276		if fieldNum <= 0 {
5277			return fmt.Errorf("proto: ListTasksRequest: illegal tag %d (wire type %d)", fieldNum, wire)
5278		}
5279		switch fieldNum {
5280		case 1:
5281			if wireType != 2 {
5282				return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType)
5283			}
5284			var stringLen uint64
5285			for shift := uint(0); ; shift += 7 {
5286				if shift >= 64 {
5287					return ErrIntOverflowTasks
5288				}
5289				if iNdEx >= l {
5290					return io.ErrUnexpectedEOF
5291				}
5292				b := dAtA[iNdEx]
5293				iNdEx++
5294				stringLen |= uint64(b&0x7F) << shift
5295				if b < 0x80 {
5296					break
5297				}
5298			}
5299			intStringLen := int(stringLen)
5300			if intStringLen < 0 {
5301				return ErrInvalidLengthTasks
5302			}
5303			postIndex := iNdEx + intStringLen
5304			if postIndex < 0 {
5305				return ErrInvalidLengthTasks
5306			}
5307			if postIndex > l {
5308				return io.ErrUnexpectedEOF
5309			}
5310			m.Filter = string(dAtA[iNdEx:postIndex])
5311			iNdEx = postIndex
5312		default:
5313			iNdEx = preIndex
5314			skippy, err := skipTasks(dAtA[iNdEx:])
5315			if err != nil {
5316				return err
5317			}
5318			if (skippy < 0) || (iNdEx+skippy) < 0 {
5319				return ErrInvalidLengthTasks
5320			}
5321			if (iNdEx + skippy) > l {
5322				return io.ErrUnexpectedEOF
5323			}
5324			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
5325			iNdEx += skippy
5326		}
5327	}
5328
5329	if iNdEx > l {
5330		return io.ErrUnexpectedEOF
5331	}
5332	return nil
5333}
5334func (m *ListTasksResponse) Unmarshal(dAtA []byte) error {
5335	l := len(dAtA)
5336	iNdEx := 0
5337	for iNdEx < l {
5338		preIndex := iNdEx
5339		var wire uint64
5340		for shift := uint(0); ; shift += 7 {
5341			if shift >= 64 {
5342				return ErrIntOverflowTasks
5343			}
5344			if iNdEx >= l {
5345				return io.ErrUnexpectedEOF
5346			}
5347			b := dAtA[iNdEx]
5348			iNdEx++
5349			wire |= uint64(b&0x7F) << shift
5350			if b < 0x80 {
5351				break
5352			}
5353		}
5354		fieldNum := int32(wire >> 3)
5355		wireType := int(wire & 0x7)
5356		if wireType == 4 {
5357			return fmt.Errorf("proto: ListTasksResponse: wiretype end group for non-group")
5358		}
5359		if fieldNum <= 0 {
5360			return fmt.Errorf("proto: ListTasksResponse: illegal tag %d (wire type %d)", fieldNum, wire)
5361		}
5362		switch fieldNum {
5363		case 1:
5364			if wireType != 2 {
5365				return fmt.Errorf("proto: wrong wireType = %d for field Tasks", wireType)
5366			}
5367			var msglen int
5368			for shift := uint(0); ; shift += 7 {
5369				if shift >= 64 {
5370					return ErrIntOverflowTasks
5371				}
5372				if iNdEx >= l {
5373					return io.ErrUnexpectedEOF
5374				}
5375				b := dAtA[iNdEx]
5376				iNdEx++
5377				msglen |= int(b&0x7F) << shift
5378				if b < 0x80 {
5379					break
5380				}
5381			}
5382			if msglen < 0 {
5383				return ErrInvalidLengthTasks
5384			}
5385			postIndex := iNdEx + msglen
5386			if postIndex < 0 {
5387				return ErrInvalidLengthTasks
5388			}
5389			if postIndex > l {
5390				return io.ErrUnexpectedEOF
5391			}
5392			m.Tasks = append(m.Tasks, &task.Process{})
5393			if err := m.Tasks[len(m.Tasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5394				return err
5395			}
5396			iNdEx = postIndex
5397		default:
5398			iNdEx = preIndex
5399			skippy, err := skipTasks(dAtA[iNdEx:])
5400			if err != nil {
5401				return err
5402			}
5403			if (skippy < 0) || (iNdEx+skippy) < 0 {
5404				return ErrInvalidLengthTasks
5405			}
5406			if (iNdEx + skippy) > l {
5407				return io.ErrUnexpectedEOF
5408			}
5409			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
5410			iNdEx += skippy
5411		}
5412	}
5413
5414	if iNdEx > l {
5415		return io.ErrUnexpectedEOF
5416	}
5417	return nil
5418}
5419func (m *KillRequest) Unmarshal(dAtA []byte) error {
5420	l := len(dAtA)
5421	iNdEx := 0
5422	for iNdEx < l {
5423		preIndex := iNdEx
5424		var wire uint64
5425		for shift := uint(0); ; shift += 7 {
5426			if shift >= 64 {
5427				return ErrIntOverflowTasks
5428			}
5429			if iNdEx >= l {
5430				return io.ErrUnexpectedEOF
5431			}
5432			b := dAtA[iNdEx]
5433			iNdEx++
5434			wire |= uint64(b&0x7F) << shift
5435			if b < 0x80 {
5436				break
5437			}
5438		}
5439		fieldNum := int32(wire >> 3)
5440		wireType := int(wire & 0x7)
5441		if wireType == 4 {
5442			return fmt.Errorf("proto: KillRequest: wiretype end group for non-group")
5443		}
5444		if fieldNum <= 0 {
5445			return fmt.Errorf("proto: KillRequest: illegal tag %d (wire type %d)", fieldNum, wire)
5446		}
5447		switch fieldNum {
5448		case 1:
5449			if wireType != 2 {
5450				return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
5451			}
5452			var stringLen uint64
5453			for shift := uint(0); ; shift += 7 {
5454				if shift >= 64 {
5455					return ErrIntOverflowTasks
5456				}
5457				if iNdEx >= l {
5458					return io.ErrUnexpectedEOF
5459				}
5460				b := dAtA[iNdEx]
5461				iNdEx++
5462				stringLen |= uint64(b&0x7F) << shift
5463				if b < 0x80 {
5464					break
5465				}
5466			}
5467			intStringLen := int(stringLen)
5468			if intStringLen < 0 {
5469				return ErrInvalidLengthTasks
5470			}
5471			postIndex := iNdEx + intStringLen
5472			if postIndex < 0 {
5473				return ErrInvalidLengthTasks
5474			}
5475			if postIndex > l {
5476				return io.ErrUnexpectedEOF
5477			}
5478			m.ContainerID = string(dAtA[iNdEx:postIndex])
5479			iNdEx = postIndex
5480		case 2:
5481			if wireType != 2 {
5482				return fmt.Errorf("proto: wrong wireType = %d for field ExecID", wireType)
5483			}
5484			var stringLen uint64
5485			for shift := uint(0); ; shift += 7 {
5486				if shift >= 64 {
5487					return ErrIntOverflowTasks
5488				}
5489				if iNdEx >= l {
5490					return io.ErrUnexpectedEOF
5491				}
5492				b := dAtA[iNdEx]
5493				iNdEx++
5494				stringLen |= uint64(b&0x7F) << shift
5495				if b < 0x80 {
5496					break
5497				}
5498			}
5499			intStringLen := int(stringLen)
5500			if intStringLen < 0 {
5501				return ErrInvalidLengthTasks
5502			}
5503			postIndex := iNdEx + intStringLen
5504			if postIndex < 0 {
5505				return ErrInvalidLengthTasks
5506			}
5507			if postIndex > l {
5508				return io.ErrUnexpectedEOF
5509			}
5510			m.ExecID = string(dAtA[iNdEx:postIndex])
5511			iNdEx = postIndex
5512		case 3:
5513			if wireType != 0 {
5514				return fmt.Errorf("proto: wrong wireType = %d for field Signal", wireType)
5515			}
5516			m.Signal = 0
5517			for shift := uint(0); ; shift += 7 {
5518				if shift >= 64 {
5519					return ErrIntOverflowTasks
5520				}
5521				if iNdEx >= l {
5522					return io.ErrUnexpectedEOF
5523				}
5524				b := dAtA[iNdEx]
5525				iNdEx++
5526				m.Signal |= uint32(b&0x7F) << shift
5527				if b < 0x80 {
5528					break
5529				}
5530			}
5531		case 4:
5532			if wireType != 0 {
5533				return fmt.Errorf("proto: wrong wireType = %d for field All", wireType)
5534			}
5535			var v int
5536			for shift := uint(0); ; shift += 7 {
5537				if shift >= 64 {
5538					return ErrIntOverflowTasks
5539				}
5540				if iNdEx >= l {
5541					return io.ErrUnexpectedEOF
5542				}
5543				b := dAtA[iNdEx]
5544				iNdEx++
5545				v |= int(b&0x7F) << shift
5546				if b < 0x80 {
5547					break
5548				}
5549			}
5550			m.All = bool(v != 0)
5551		default:
5552			iNdEx = preIndex
5553			skippy, err := skipTasks(dAtA[iNdEx:])
5554			if err != nil {
5555				return err
5556			}
5557			if (skippy < 0) || (iNdEx+skippy) < 0 {
5558				return ErrInvalidLengthTasks
5559			}
5560			if (iNdEx + skippy) > l {
5561				return io.ErrUnexpectedEOF
5562			}
5563			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
5564			iNdEx += skippy
5565		}
5566	}
5567
5568	if iNdEx > l {
5569		return io.ErrUnexpectedEOF
5570	}
5571	return nil
5572}
5573func (m *ExecProcessRequest) Unmarshal(dAtA []byte) error {
5574	l := len(dAtA)
5575	iNdEx := 0
5576	for iNdEx < l {
5577		preIndex := iNdEx
5578		var wire uint64
5579		for shift := uint(0); ; shift += 7 {
5580			if shift >= 64 {
5581				return ErrIntOverflowTasks
5582			}
5583			if iNdEx >= l {
5584				return io.ErrUnexpectedEOF
5585			}
5586			b := dAtA[iNdEx]
5587			iNdEx++
5588			wire |= uint64(b&0x7F) << shift
5589			if b < 0x80 {
5590				break
5591			}
5592		}
5593		fieldNum := int32(wire >> 3)
5594		wireType := int(wire & 0x7)
5595		if wireType == 4 {
5596			return fmt.Errorf("proto: ExecProcessRequest: wiretype end group for non-group")
5597		}
5598		if fieldNum <= 0 {
5599			return fmt.Errorf("proto: ExecProcessRequest: illegal tag %d (wire type %d)", fieldNum, wire)
5600		}
5601		switch fieldNum {
5602		case 1:
5603			if wireType != 2 {
5604				return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
5605			}
5606			var stringLen uint64
5607			for shift := uint(0); ; shift += 7 {
5608				if shift >= 64 {
5609					return ErrIntOverflowTasks
5610				}
5611				if iNdEx >= l {
5612					return io.ErrUnexpectedEOF
5613				}
5614				b := dAtA[iNdEx]
5615				iNdEx++
5616				stringLen |= uint64(b&0x7F) << shift
5617				if b < 0x80 {
5618					break
5619				}
5620			}
5621			intStringLen := int(stringLen)
5622			if intStringLen < 0 {
5623				return ErrInvalidLengthTasks
5624			}
5625			postIndex := iNdEx + intStringLen
5626			if postIndex < 0 {
5627				return ErrInvalidLengthTasks
5628			}
5629			if postIndex > l {
5630				return io.ErrUnexpectedEOF
5631			}
5632			m.ContainerID = string(dAtA[iNdEx:postIndex])
5633			iNdEx = postIndex
5634		case 2:
5635			if wireType != 2 {
5636				return fmt.Errorf("proto: wrong wireType = %d for field Stdin", wireType)
5637			}
5638			var stringLen uint64
5639			for shift := uint(0); ; shift += 7 {
5640				if shift >= 64 {
5641					return ErrIntOverflowTasks
5642				}
5643				if iNdEx >= l {
5644					return io.ErrUnexpectedEOF
5645				}
5646				b := dAtA[iNdEx]
5647				iNdEx++
5648				stringLen |= uint64(b&0x7F) << shift
5649				if b < 0x80 {
5650					break
5651				}
5652			}
5653			intStringLen := int(stringLen)
5654			if intStringLen < 0 {
5655				return ErrInvalidLengthTasks
5656			}
5657			postIndex := iNdEx + intStringLen
5658			if postIndex < 0 {
5659				return ErrInvalidLengthTasks
5660			}
5661			if postIndex > l {
5662				return io.ErrUnexpectedEOF
5663			}
5664			m.Stdin = string(dAtA[iNdEx:postIndex])
5665			iNdEx = postIndex
5666		case 3:
5667			if wireType != 2 {
5668				return fmt.Errorf("proto: wrong wireType = %d for field Stdout", wireType)
5669			}
5670			var stringLen uint64
5671			for shift := uint(0); ; shift += 7 {
5672				if shift >= 64 {
5673					return ErrIntOverflowTasks
5674				}
5675				if iNdEx >= l {
5676					return io.ErrUnexpectedEOF
5677				}
5678				b := dAtA[iNdEx]
5679				iNdEx++
5680				stringLen |= uint64(b&0x7F) << shift
5681				if b < 0x80 {
5682					break
5683				}
5684			}
5685			intStringLen := int(stringLen)
5686			if intStringLen < 0 {
5687				return ErrInvalidLengthTasks
5688			}
5689			postIndex := iNdEx + intStringLen
5690			if postIndex < 0 {
5691				return ErrInvalidLengthTasks
5692			}
5693			if postIndex > l {
5694				return io.ErrUnexpectedEOF
5695			}
5696			m.Stdout = string(dAtA[iNdEx:postIndex])
5697			iNdEx = postIndex
5698		case 4:
5699			if wireType != 2 {
5700				return fmt.Errorf("proto: wrong wireType = %d for field Stderr", wireType)
5701			}
5702			var stringLen uint64
5703			for shift := uint(0); ; shift += 7 {
5704				if shift >= 64 {
5705					return ErrIntOverflowTasks
5706				}
5707				if iNdEx >= l {
5708					return io.ErrUnexpectedEOF
5709				}
5710				b := dAtA[iNdEx]
5711				iNdEx++
5712				stringLen |= uint64(b&0x7F) << shift
5713				if b < 0x80 {
5714					break
5715				}
5716			}
5717			intStringLen := int(stringLen)
5718			if intStringLen < 0 {
5719				return ErrInvalidLengthTasks
5720			}
5721			postIndex := iNdEx + intStringLen
5722			if postIndex < 0 {
5723				return ErrInvalidLengthTasks
5724			}
5725			if postIndex > l {
5726				return io.ErrUnexpectedEOF
5727			}
5728			m.Stderr = string(dAtA[iNdEx:postIndex])
5729			iNdEx = postIndex
5730		case 5:
5731			if wireType != 0 {
5732				return fmt.Errorf("proto: wrong wireType = %d for field Terminal", wireType)
5733			}
5734			var v int
5735			for shift := uint(0); ; shift += 7 {
5736				if shift >= 64 {
5737					return ErrIntOverflowTasks
5738				}
5739				if iNdEx >= l {
5740					return io.ErrUnexpectedEOF
5741				}
5742				b := dAtA[iNdEx]
5743				iNdEx++
5744				v |= int(b&0x7F) << shift
5745				if b < 0x80 {
5746					break
5747				}
5748			}
5749			m.Terminal = bool(v != 0)
5750		case 6:
5751			if wireType != 2 {
5752				return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
5753			}
5754			var msglen int
5755			for shift := uint(0); ; shift += 7 {
5756				if shift >= 64 {
5757					return ErrIntOverflowTasks
5758				}
5759				if iNdEx >= l {
5760					return io.ErrUnexpectedEOF
5761				}
5762				b := dAtA[iNdEx]
5763				iNdEx++
5764				msglen |= int(b&0x7F) << shift
5765				if b < 0x80 {
5766					break
5767				}
5768			}
5769			if msglen < 0 {
5770				return ErrInvalidLengthTasks
5771			}
5772			postIndex := iNdEx + msglen
5773			if postIndex < 0 {
5774				return ErrInvalidLengthTasks
5775			}
5776			if postIndex > l {
5777				return io.ErrUnexpectedEOF
5778			}
5779			if m.Spec == nil {
5780				m.Spec = &types1.Any{}
5781			}
5782			if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5783				return err
5784			}
5785			iNdEx = postIndex
5786		case 7:
5787			if wireType != 2 {
5788				return fmt.Errorf("proto: wrong wireType = %d for field ExecID", wireType)
5789			}
5790			var stringLen uint64
5791			for shift := uint(0); ; shift += 7 {
5792				if shift >= 64 {
5793					return ErrIntOverflowTasks
5794				}
5795				if iNdEx >= l {
5796					return io.ErrUnexpectedEOF
5797				}
5798				b := dAtA[iNdEx]
5799				iNdEx++
5800				stringLen |= uint64(b&0x7F) << shift
5801				if b < 0x80 {
5802					break
5803				}
5804			}
5805			intStringLen := int(stringLen)
5806			if intStringLen < 0 {
5807				return ErrInvalidLengthTasks
5808			}
5809			postIndex := iNdEx + intStringLen
5810			if postIndex < 0 {
5811				return ErrInvalidLengthTasks
5812			}
5813			if postIndex > l {
5814				return io.ErrUnexpectedEOF
5815			}
5816			m.ExecID = string(dAtA[iNdEx:postIndex])
5817			iNdEx = postIndex
5818		default:
5819			iNdEx = preIndex
5820			skippy, err := skipTasks(dAtA[iNdEx:])
5821			if err != nil {
5822				return err
5823			}
5824			if (skippy < 0) || (iNdEx+skippy) < 0 {
5825				return ErrInvalidLengthTasks
5826			}
5827			if (iNdEx + skippy) > l {
5828				return io.ErrUnexpectedEOF
5829			}
5830			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
5831			iNdEx += skippy
5832		}
5833	}
5834
5835	if iNdEx > l {
5836		return io.ErrUnexpectedEOF
5837	}
5838	return nil
5839}
5840func (m *ExecProcessResponse) Unmarshal(dAtA []byte) error {
5841	l := len(dAtA)
5842	iNdEx := 0
5843	for iNdEx < l {
5844		preIndex := iNdEx
5845		var wire uint64
5846		for shift := uint(0); ; shift += 7 {
5847			if shift >= 64 {
5848				return ErrIntOverflowTasks
5849			}
5850			if iNdEx >= l {
5851				return io.ErrUnexpectedEOF
5852			}
5853			b := dAtA[iNdEx]
5854			iNdEx++
5855			wire |= uint64(b&0x7F) << shift
5856			if b < 0x80 {
5857				break
5858			}
5859		}
5860		fieldNum := int32(wire >> 3)
5861		wireType := int(wire & 0x7)
5862		if wireType == 4 {
5863			return fmt.Errorf("proto: ExecProcessResponse: wiretype end group for non-group")
5864		}
5865		if fieldNum <= 0 {
5866			return fmt.Errorf("proto: ExecProcessResponse: illegal tag %d (wire type %d)", fieldNum, wire)
5867		}
5868		switch fieldNum {
5869		default:
5870			iNdEx = preIndex
5871			skippy, err := skipTasks(dAtA[iNdEx:])
5872			if err != nil {
5873				return err
5874			}
5875			if (skippy < 0) || (iNdEx+skippy) < 0 {
5876				return ErrInvalidLengthTasks
5877			}
5878			if (iNdEx + skippy) > l {
5879				return io.ErrUnexpectedEOF
5880			}
5881			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
5882			iNdEx += skippy
5883		}
5884	}
5885
5886	if iNdEx > l {
5887		return io.ErrUnexpectedEOF
5888	}
5889	return nil
5890}
5891func (m *ResizePtyRequest) Unmarshal(dAtA []byte) error {
5892	l := len(dAtA)
5893	iNdEx := 0
5894	for iNdEx < l {
5895		preIndex := iNdEx
5896		var wire uint64
5897		for shift := uint(0); ; shift += 7 {
5898			if shift >= 64 {
5899				return ErrIntOverflowTasks
5900			}
5901			if iNdEx >= l {
5902				return io.ErrUnexpectedEOF
5903			}
5904			b := dAtA[iNdEx]
5905			iNdEx++
5906			wire |= uint64(b&0x7F) << shift
5907			if b < 0x80 {
5908				break
5909			}
5910		}
5911		fieldNum := int32(wire >> 3)
5912		wireType := int(wire & 0x7)
5913		if wireType == 4 {
5914			return fmt.Errorf("proto: ResizePtyRequest: wiretype end group for non-group")
5915		}
5916		if fieldNum <= 0 {
5917			return fmt.Errorf("proto: ResizePtyRequest: illegal tag %d (wire type %d)", fieldNum, wire)
5918		}
5919		switch fieldNum {
5920		case 1:
5921			if wireType != 2 {
5922				return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
5923			}
5924			var stringLen uint64
5925			for shift := uint(0); ; shift += 7 {
5926				if shift >= 64 {
5927					return ErrIntOverflowTasks
5928				}
5929				if iNdEx >= l {
5930					return io.ErrUnexpectedEOF
5931				}
5932				b := dAtA[iNdEx]
5933				iNdEx++
5934				stringLen |= uint64(b&0x7F) << shift
5935				if b < 0x80 {
5936					break
5937				}
5938			}
5939			intStringLen := int(stringLen)
5940			if intStringLen < 0 {
5941				return ErrInvalidLengthTasks
5942			}
5943			postIndex := iNdEx + intStringLen
5944			if postIndex < 0 {
5945				return ErrInvalidLengthTasks
5946			}
5947			if postIndex > l {
5948				return io.ErrUnexpectedEOF
5949			}
5950			m.ContainerID = string(dAtA[iNdEx:postIndex])
5951			iNdEx = postIndex
5952		case 2:
5953			if wireType != 2 {
5954				return fmt.Errorf("proto: wrong wireType = %d for field ExecID", wireType)
5955			}
5956			var stringLen uint64
5957			for shift := uint(0); ; shift += 7 {
5958				if shift >= 64 {
5959					return ErrIntOverflowTasks
5960				}
5961				if iNdEx >= l {
5962					return io.ErrUnexpectedEOF
5963				}
5964				b := dAtA[iNdEx]
5965				iNdEx++
5966				stringLen |= uint64(b&0x7F) << shift
5967				if b < 0x80 {
5968					break
5969				}
5970			}
5971			intStringLen := int(stringLen)
5972			if intStringLen < 0 {
5973				return ErrInvalidLengthTasks
5974			}
5975			postIndex := iNdEx + intStringLen
5976			if postIndex < 0 {
5977				return ErrInvalidLengthTasks
5978			}
5979			if postIndex > l {
5980				return io.ErrUnexpectedEOF
5981			}
5982			m.ExecID = string(dAtA[iNdEx:postIndex])
5983			iNdEx = postIndex
5984		case 3:
5985			if wireType != 0 {
5986				return fmt.Errorf("proto: wrong wireType = %d for field Width", wireType)
5987			}
5988			m.Width = 0
5989			for shift := uint(0); ; shift += 7 {
5990				if shift >= 64 {
5991					return ErrIntOverflowTasks
5992				}
5993				if iNdEx >= l {
5994					return io.ErrUnexpectedEOF
5995				}
5996				b := dAtA[iNdEx]
5997				iNdEx++
5998				m.Width |= uint32(b&0x7F) << shift
5999				if b < 0x80 {
6000					break
6001				}
6002			}
6003		case 4:
6004			if wireType != 0 {
6005				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
6006			}
6007			m.Height = 0
6008			for shift := uint(0); ; shift += 7 {
6009				if shift >= 64 {
6010					return ErrIntOverflowTasks
6011				}
6012				if iNdEx >= l {
6013					return io.ErrUnexpectedEOF
6014				}
6015				b := dAtA[iNdEx]
6016				iNdEx++
6017				m.Height |= uint32(b&0x7F) << shift
6018				if b < 0x80 {
6019					break
6020				}
6021			}
6022		default:
6023			iNdEx = preIndex
6024			skippy, err := skipTasks(dAtA[iNdEx:])
6025			if err != nil {
6026				return err
6027			}
6028			if (skippy < 0) || (iNdEx+skippy) < 0 {
6029				return ErrInvalidLengthTasks
6030			}
6031			if (iNdEx + skippy) > l {
6032				return io.ErrUnexpectedEOF
6033			}
6034			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
6035			iNdEx += skippy
6036		}
6037	}
6038
6039	if iNdEx > l {
6040		return io.ErrUnexpectedEOF
6041	}
6042	return nil
6043}
6044func (m *CloseIORequest) Unmarshal(dAtA []byte) error {
6045	l := len(dAtA)
6046	iNdEx := 0
6047	for iNdEx < l {
6048		preIndex := iNdEx
6049		var wire uint64
6050		for shift := uint(0); ; shift += 7 {
6051			if shift >= 64 {
6052				return ErrIntOverflowTasks
6053			}
6054			if iNdEx >= l {
6055				return io.ErrUnexpectedEOF
6056			}
6057			b := dAtA[iNdEx]
6058			iNdEx++
6059			wire |= uint64(b&0x7F) << shift
6060			if b < 0x80 {
6061				break
6062			}
6063		}
6064		fieldNum := int32(wire >> 3)
6065		wireType := int(wire & 0x7)
6066		if wireType == 4 {
6067			return fmt.Errorf("proto: CloseIORequest: wiretype end group for non-group")
6068		}
6069		if fieldNum <= 0 {
6070			return fmt.Errorf("proto: CloseIORequest: illegal tag %d (wire type %d)", fieldNum, wire)
6071		}
6072		switch fieldNum {
6073		case 1:
6074			if wireType != 2 {
6075				return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
6076			}
6077			var stringLen uint64
6078			for shift := uint(0); ; shift += 7 {
6079				if shift >= 64 {
6080					return ErrIntOverflowTasks
6081				}
6082				if iNdEx >= l {
6083					return io.ErrUnexpectedEOF
6084				}
6085				b := dAtA[iNdEx]
6086				iNdEx++
6087				stringLen |= uint64(b&0x7F) << shift
6088				if b < 0x80 {
6089					break
6090				}
6091			}
6092			intStringLen := int(stringLen)
6093			if intStringLen < 0 {
6094				return ErrInvalidLengthTasks
6095			}
6096			postIndex := iNdEx + intStringLen
6097			if postIndex < 0 {
6098				return ErrInvalidLengthTasks
6099			}
6100			if postIndex > l {
6101				return io.ErrUnexpectedEOF
6102			}
6103			m.ContainerID = string(dAtA[iNdEx:postIndex])
6104			iNdEx = postIndex
6105		case 2:
6106			if wireType != 2 {
6107				return fmt.Errorf("proto: wrong wireType = %d for field ExecID", wireType)
6108			}
6109			var stringLen uint64
6110			for shift := uint(0); ; shift += 7 {
6111				if shift >= 64 {
6112					return ErrIntOverflowTasks
6113				}
6114				if iNdEx >= l {
6115					return io.ErrUnexpectedEOF
6116				}
6117				b := dAtA[iNdEx]
6118				iNdEx++
6119				stringLen |= uint64(b&0x7F) << shift
6120				if b < 0x80 {
6121					break
6122				}
6123			}
6124			intStringLen := int(stringLen)
6125			if intStringLen < 0 {
6126				return ErrInvalidLengthTasks
6127			}
6128			postIndex := iNdEx + intStringLen
6129			if postIndex < 0 {
6130				return ErrInvalidLengthTasks
6131			}
6132			if postIndex > l {
6133				return io.ErrUnexpectedEOF
6134			}
6135			m.ExecID = string(dAtA[iNdEx:postIndex])
6136			iNdEx = postIndex
6137		case 3:
6138			if wireType != 0 {
6139				return fmt.Errorf("proto: wrong wireType = %d for field Stdin", wireType)
6140			}
6141			var v int
6142			for shift := uint(0); ; shift += 7 {
6143				if shift >= 64 {
6144					return ErrIntOverflowTasks
6145				}
6146				if iNdEx >= l {
6147					return io.ErrUnexpectedEOF
6148				}
6149				b := dAtA[iNdEx]
6150				iNdEx++
6151				v |= int(b&0x7F) << shift
6152				if b < 0x80 {
6153					break
6154				}
6155			}
6156			m.Stdin = bool(v != 0)
6157		default:
6158			iNdEx = preIndex
6159			skippy, err := skipTasks(dAtA[iNdEx:])
6160			if err != nil {
6161				return err
6162			}
6163			if (skippy < 0) || (iNdEx+skippy) < 0 {
6164				return ErrInvalidLengthTasks
6165			}
6166			if (iNdEx + skippy) > l {
6167				return io.ErrUnexpectedEOF
6168			}
6169			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
6170			iNdEx += skippy
6171		}
6172	}
6173
6174	if iNdEx > l {
6175		return io.ErrUnexpectedEOF
6176	}
6177	return nil
6178}
6179func (m *PauseTaskRequest) Unmarshal(dAtA []byte) error {
6180	l := len(dAtA)
6181	iNdEx := 0
6182	for iNdEx < l {
6183		preIndex := iNdEx
6184		var wire uint64
6185		for shift := uint(0); ; shift += 7 {
6186			if shift >= 64 {
6187				return ErrIntOverflowTasks
6188			}
6189			if iNdEx >= l {
6190				return io.ErrUnexpectedEOF
6191			}
6192			b := dAtA[iNdEx]
6193			iNdEx++
6194			wire |= uint64(b&0x7F) << shift
6195			if b < 0x80 {
6196				break
6197			}
6198		}
6199		fieldNum := int32(wire >> 3)
6200		wireType := int(wire & 0x7)
6201		if wireType == 4 {
6202			return fmt.Errorf("proto: PauseTaskRequest: wiretype end group for non-group")
6203		}
6204		if fieldNum <= 0 {
6205			return fmt.Errorf("proto: PauseTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire)
6206		}
6207		switch fieldNum {
6208		case 1:
6209			if wireType != 2 {
6210				return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
6211			}
6212			var stringLen uint64
6213			for shift := uint(0); ; shift += 7 {
6214				if shift >= 64 {
6215					return ErrIntOverflowTasks
6216				}
6217				if iNdEx >= l {
6218					return io.ErrUnexpectedEOF
6219				}
6220				b := dAtA[iNdEx]
6221				iNdEx++
6222				stringLen |= uint64(b&0x7F) << shift
6223				if b < 0x80 {
6224					break
6225				}
6226			}
6227			intStringLen := int(stringLen)
6228			if intStringLen < 0 {
6229				return ErrInvalidLengthTasks
6230			}
6231			postIndex := iNdEx + intStringLen
6232			if postIndex < 0 {
6233				return ErrInvalidLengthTasks
6234			}
6235			if postIndex > l {
6236				return io.ErrUnexpectedEOF
6237			}
6238			m.ContainerID = string(dAtA[iNdEx:postIndex])
6239			iNdEx = postIndex
6240		default:
6241			iNdEx = preIndex
6242			skippy, err := skipTasks(dAtA[iNdEx:])
6243			if err != nil {
6244				return err
6245			}
6246			if (skippy < 0) || (iNdEx+skippy) < 0 {
6247				return ErrInvalidLengthTasks
6248			}
6249			if (iNdEx + skippy) > l {
6250				return io.ErrUnexpectedEOF
6251			}
6252			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
6253			iNdEx += skippy
6254		}
6255	}
6256
6257	if iNdEx > l {
6258		return io.ErrUnexpectedEOF
6259	}
6260	return nil
6261}
6262func (m *ResumeTaskRequest) Unmarshal(dAtA []byte) error {
6263	l := len(dAtA)
6264	iNdEx := 0
6265	for iNdEx < l {
6266		preIndex := iNdEx
6267		var wire uint64
6268		for shift := uint(0); ; shift += 7 {
6269			if shift >= 64 {
6270				return ErrIntOverflowTasks
6271			}
6272			if iNdEx >= l {
6273				return io.ErrUnexpectedEOF
6274			}
6275			b := dAtA[iNdEx]
6276			iNdEx++
6277			wire |= uint64(b&0x7F) << shift
6278			if b < 0x80 {
6279				break
6280			}
6281		}
6282		fieldNum := int32(wire >> 3)
6283		wireType := int(wire & 0x7)
6284		if wireType == 4 {
6285			return fmt.Errorf("proto: ResumeTaskRequest: wiretype end group for non-group")
6286		}
6287		if fieldNum <= 0 {
6288			return fmt.Errorf("proto: ResumeTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire)
6289		}
6290		switch fieldNum {
6291		case 1:
6292			if wireType != 2 {
6293				return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
6294			}
6295			var stringLen uint64
6296			for shift := uint(0); ; shift += 7 {
6297				if shift >= 64 {
6298					return ErrIntOverflowTasks
6299				}
6300				if iNdEx >= l {
6301					return io.ErrUnexpectedEOF
6302				}
6303				b := dAtA[iNdEx]
6304				iNdEx++
6305				stringLen |= uint64(b&0x7F) << shift
6306				if b < 0x80 {
6307					break
6308				}
6309			}
6310			intStringLen := int(stringLen)
6311			if intStringLen < 0 {
6312				return ErrInvalidLengthTasks
6313			}
6314			postIndex := iNdEx + intStringLen
6315			if postIndex < 0 {
6316				return ErrInvalidLengthTasks
6317			}
6318			if postIndex > l {
6319				return io.ErrUnexpectedEOF
6320			}
6321			m.ContainerID = string(dAtA[iNdEx:postIndex])
6322			iNdEx = postIndex
6323		default:
6324			iNdEx = preIndex
6325			skippy, err := skipTasks(dAtA[iNdEx:])
6326			if err != nil {
6327				return err
6328			}
6329			if (skippy < 0) || (iNdEx+skippy) < 0 {
6330				return ErrInvalidLengthTasks
6331			}
6332			if (iNdEx + skippy) > l {
6333				return io.ErrUnexpectedEOF
6334			}
6335			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
6336			iNdEx += skippy
6337		}
6338	}
6339
6340	if iNdEx > l {
6341		return io.ErrUnexpectedEOF
6342	}
6343	return nil
6344}
6345func (m *ListPidsRequest) Unmarshal(dAtA []byte) error {
6346	l := len(dAtA)
6347	iNdEx := 0
6348	for iNdEx < l {
6349		preIndex := iNdEx
6350		var wire uint64
6351		for shift := uint(0); ; shift += 7 {
6352			if shift >= 64 {
6353				return ErrIntOverflowTasks
6354			}
6355			if iNdEx >= l {
6356				return io.ErrUnexpectedEOF
6357			}
6358			b := dAtA[iNdEx]
6359			iNdEx++
6360			wire |= uint64(b&0x7F) << shift
6361			if b < 0x80 {
6362				break
6363			}
6364		}
6365		fieldNum := int32(wire >> 3)
6366		wireType := int(wire & 0x7)
6367		if wireType == 4 {
6368			return fmt.Errorf("proto: ListPidsRequest: wiretype end group for non-group")
6369		}
6370		if fieldNum <= 0 {
6371			return fmt.Errorf("proto: ListPidsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
6372		}
6373		switch fieldNum {
6374		case 1:
6375			if wireType != 2 {
6376				return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
6377			}
6378			var stringLen uint64
6379			for shift := uint(0); ; shift += 7 {
6380				if shift >= 64 {
6381					return ErrIntOverflowTasks
6382				}
6383				if iNdEx >= l {
6384					return io.ErrUnexpectedEOF
6385				}
6386				b := dAtA[iNdEx]
6387				iNdEx++
6388				stringLen |= uint64(b&0x7F) << shift
6389				if b < 0x80 {
6390					break
6391				}
6392			}
6393			intStringLen := int(stringLen)
6394			if intStringLen < 0 {
6395				return ErrInvalidLengthTasks
6396			}
6397			postIndex := iNdEx + intStringLen
6398			if postIndex < 0 {
6399				return ErrInvalidLengthTasks
6400			}
6401			if postIndex > l {
6402				return io.ErrUnexpectedEOF
6403			}
6404			m.ContainerID = string(dAtA[iNdEx:postIndex])
6405			iNdEx = postIndex
6406		default:
6407			iNdEx = preIndex
6408			skippy, err := skipTasks(dAtA[iNdEx:])
6409			if err != nil {
6410				return err
6411			}
6412			if (skippy < 0) || (iNdEx+skippy) < 0 {
6413				return ErrInvalidLengthTasks
6414			}
6415			if (iNdEx + skippy) > l {
6416				return io.ErrUnexpectedEOF
6417			}
6418			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
6419			iNdEx += skippy
6420		}
6421	}
6422
6423	if iNdEx > l {
6424		return io.ErrUnexpectedEOF
6425	}
6426	return nil
6427}
6428func (m *ListPidsResponse) Unmarshal(dAtA []byte) error {
6429	l := len(dAtA)
6430	iNdEx := 0
6431	for iNdEx < l {
6432		preIndex := iNdEx
6433		var wire uint64
6434		for shift := uint(0); ; shift += 7 {
6435			if shift >= 64 {
6436				return ErrIntOverflowTasks
6437			}
6438			if iNdEx >= l {
6439				return io.ErrUnexpectedEOF
6440			}
6441			b := dAtA[iNdEx]
6442			iNdEx++
6443			wire |= uint64(b&0x7F) << shift
6444			if b < 0x80 {
6445				break
6446			}
6447		}
6448		fieldNum := int32(wire >> 3)
6449		wireType := int(wire & 0x7)
6450		if wireType == 4 {
6451			return fmt.Errorf("proto: ListPidsResponse: wiretype end group for non-group")
6452		}
6453		if fieldNum <= 0 {
6454			return fmt.Errorf("proto: ListPidsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
6455		}
6456		switch fieldNum {
6457		case 1:
6458			if wireType != 2 {
6459				return fmt.Errorf("proto: wrong wireType = %d for field Processes", wireType)
6460			}
6461			var msglen int
6462			for shift := uint(0); ; shift += 7 {
6463				if shift >= 64 {
6464					return ErrIntOverflowTasks
6465				}
6466				if iNdEx >= l {
6467					return io.ErrUnexpectedEOF
6468				}
6469				b := dAtA[iNdEx]
6470				iNdEx++
6471				msglen |= int(b&0x7F) << shift
6472				if b < 0x80 {
6473					break
6474				}
6475			}
6476			if msglen < 0 {
6477				return ErrInvalidLengthTasks
6478			}
6479			postIndex := iNdEx + msglen
6480			if postIndex < 0 {
6481				return ErrInvalidLengthTasks
6482			}
6483			if postIndex > l {
6484				return io.ErrUnexpectedEOF
6485			}
6486			m.Processes = append(m.Processes, &task.ProcessInfo{})
6487			if err := m.Processes[len(m.Processes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6488				return err
6489			}
6490			iNdEx = postIndex
6491		default:
6492			iNdEx = preIndex
6493			skippy, err := skipTasks(dAtA[iNdEx:])
6494			if err != nil {
6495				return err
6496			}
6497			if (skippy < 0) || (iNdEx+skippy) < 0 {
6498				return ErrInvalidLengthTasks
6499			}
6500			if (iNdEx + skippy) > l {
6501				return io.ErrUnexpectedEOF
6502			}
6503			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
6504			iNdEx += skippy
6505		}
6506	}
6507
6508	if iNdEx > l {
6509		return io.ErrUnexpectedEOF
6510	}
6511	return nil
6512}
6513func (m *CheckpointTaskRequest) Unmarshal(dAtA []byte) error {
6514	l := len(dAtA)
6515	iNdEx := 0
6516	for iNdEx < l {
6517		preIndex := iNdEx
6518		var wire uint64
6519		for shift := uint(0); ; shift += 7 {
6520			if shift >= 64 {
6521				return ErrIntOverflowTasks
6522			}
6523			if iNdEx >= l {
6524				return io.ErrUnexpectedEOF
6525			}
6526			b := dAtA[iNdEx]
6527			iNdEx++
6528			wire |= uint64(b&0x7F) << shift
6529			if b < 0x80 {
6530				break
6531			}
6532		}
6533		fieldNum := int32(wire >> 3)
6534		wireType := int(wire & 0x7)
6535		if wireType == 4 {
6536			return fmt.Errorf("proto: CheckpointTaskRequest: wiretype end group for non-group")
6537		}
6538		if fieldNum <= 0 {
6539			return fmt.Errorf("proto: CheckpointTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire)
6540		}
6541		switch fieldNum {
6542		case 1:
6543			if wireType != 2 {
6544				return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
6545			}
6546			var stringLen uint64
6547			for shift := uint(0); ; shift += 7 {
6548				if shift >= 64 {
6549					return ErrIntOverflowTasks
6550				}
6551				if iNdEx >= l {
6552					return io.ErrUnexpectedEOF
6553				}
6554				b := dAtA[iNdEx]
6555				iNdEx++
6556				stringLen |= uint64(b&0x7F) << shift
6557				if b < 0x80 {
6558					break
6559				}
6560			}
6561			intStringLen := int(stringLen)
6562			if intStringLen < 0 {
6563				return ErrInvalidLengthTasks
6564			}
6565			postIndex := iNdEx + intStringLen
6566			if postIndex < 0 {
6567				return ErrInvalidLengthTasks
6568			}
6569			if postIndex > l {
6570				return io.ErrUnexpectedEOF
6571			}
6572			m.ContainerID = string(dAtA[iNdEx:postIndex])
6573			iNdEx = postIndex
6574		case 2:
6575			if wireType != 2 {
6576				return fmt.Errorf("proto: wrong wireType = %d for field ParentCheckpoint", wireType)
6577			}
6578			var stringLen uint64
6579			for shift := uint(0); ; shift += 7 {
6580				if shift >= 64 {
6581					return ErrIntOverflowTasks
6582				}
6583				if iNdEx >= l {
6584					return io.ErrUnexpectedEOF
6585				}
6586				b := dAtA[iNdEx]
6587				iNdEx++
6588				stringLen |= uint64(b&0x7F) << shift
6589				if b < 0x80 {
6590					break
6591				}
6592			}
6593			intStringLen := int(stringLen)
6594			if intStringLen < 0 {
6595				return ErrInvalidLengthTasks
6596			}
6597			postIndex := iNdEx + intStringLen
6598			if postIndex < 0 {
6599				return ErrInvalidLengthTasks
6600			}
6601			if postIndex > l {
6602				return io.ErrUnexpectedEOF
6603			}
6604			m.ParentCheckpoint = github_com_opencontainers_go_digest.Digest(dAtA[iNdEx:postIndex])
6605			iNdEx = postIndex
6606		case 3:
6607			if wireType != 2 {
6608				return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType)
6609			}
6610			var msglen int
6611			for shift := uint(0); ; shift += 7 {
6612				if shift >= 64 {
6613					return ErrIntOverflowTasks
6614				}
6615				if iNdEx >= l {
6616					return io.ErrUnexpectedEOF
6617				}
6618				b := dAtA[iNdEx]
6619				iNdEx++
6620				msglen |= int(b&0x7F) << shift
6621				if b < 0x80 {
6622					break
6623				}
6624			}
6625			if msglen < 0 {
6626				return ErrInvalidLengthTasks
6627			}
6628			postIndex := iNdEx + msglen
6629			if postIndex < 0 {
6630				return ErrInvalidLengthTasks
6631			}
6632			if postIndex > l {
6633				return io.ErrUnexpectedEOF
6634			}
6635			if m.Options == nil {
6636				m.Options = &types1.Any{}
6637			}
6638			if err := m.Options.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6639				return err
6640			}
6641			iNdEx = postIndex
6642		default:
6643			iNdEx = preIndex
6644			skippy, err := skipTasks(dAtA[iNdEx:])
6645			if err != nil {
6646				return err
6647			}
6648			if (skippy < 0) || (iNdEx+skippy) < 0 {
6649				return ErrInvalidLengthTasks
6650			}
6651			if (iNdEx + skippy) > l {
6652				return io.ErrUnexpectedEOF
6653			}
6654			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
6655			iNdEx += skippy
6656		}
6657	}
6658
6659	if iNdEx > l {
6660		return io.ErrUnexpectedEOF
6661	}
6662	return nil
6663}
6664func (m *CheckpointTaskResponse) Unmarshal(dAtA []byte) error {
6665	l := len(dAtA)
6666	iNdEx := 0
6667	for iNdEx < l {
6668		preIndex := iNdEx
6669		var wire uint64
6670		for shift := uint(0); ; shift += 7 {
6671			if shift >= 64 {
6672				return ErrIntOverflowTasks
6673			}
6674			if iNdEx >= l {
6675				return io.ErrUnexpectedEOF
6676			}
6677			b := dAtA[iNdEx]
6678			iNdEx++
6679			wire |= uint64(b&0x7F) << shift
6680			if b < 0x80 {
6681				break
6682			}
6683		}
6684		fieldNum := int32(wire >> 3)
6685		wireType := int(wire & 0x7)
6686		if wireType == 4 {
6687			return fmt.Errorf("proto: CheckpointTaskResponse: wiretype end group for non-group")
6688		}
6689		if fieldNum <= 0 {
6690			return fmt.Errorf("proto: CheckpointTaskResponse: illegal tag %d (wire type %d)", fieldNum, wire)
6691		}
6692		switch fieldNum {
6693		case 1:
6694			if wireType != 2 {
6695				return fmt.Errorf("proto: wrong wireType = %d for field Descriptors", wireType)
6696			}
6697			var msglen int
6698			for shift := uint(0); ; shift += 7 {
6699				if shift >= 64 {
6700					return ErrIntOverflowTasks
6701				}
6702				if iNdEx >= l {
6703					return io.ErrUnexpectedEOF
6704				}
6705				b := dAtA[iNdEx]
6706				iNdEx++
6707				msglen |= int(b&0x7F) << shift
6708				if b < 0x80 {
6709					break
6710				}
6711			}
6712			if msglen < 0 {
6713				return ErrInvalidLengthTasks
6714			}
6715			postIndex := iNdEx + msglen
6716			if postIndex < 0 {
6717				return ErrInvalidLengthTasks
6718			}
6719			if postIndex > l {
6720				return io.ErrUnexpectedEOF
6721			}
6722			m.Descriptors = append(m.Descriptors, &types.Descriptor{})
6723			if err := m.Descriptors[len(m.Descriptors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6724				return err
6725			}
6726			iNdEx = postIndex
6727		default:
6728			iNdEx = preIndex
6729			skippy, err := skipTasks(dAtA[iNdEx:])
6730			if err != nil {
6731				return err
6732			}
6733			if (skippy < 0) || (iNdEx+skippy) < 0 {
6734				return ErrInvalidLengthTasks
6735			}
6736			if (iNdEx + skippy) > l {
6737				return io.ErrUnexpectedEOF
6738			}
6739			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
6740			iNdEx += skippy
6741		}
6742	}
6743
6744	if iNdEx > l {
6745		return io.ErrUnexpectedEOF
6746	}
6747	return nil
6748}
6749func (m *UpdateTaskRequest) Unmarshal(dAtA []byte) error {
6750	l := len(dAtA)
6751	iNdEx := 0
6752	for iNdEx < l {
6753		preIndex := iNdEx
6754		var wire uint64
6755		for shift := uint(0); ; shift += 7 {
6756			if shift >= 64 {
6757				return ErrIntOverflowTasks
6758			}
6759			if iNdEx >= l {
6760				return io.ErrUnexpectedEOF
6761			}
6762			b := dAtA[iNdEx]
6763			iNdEx++
6764			wire |= uint64(b&0x7F) << shift
6765			if b < 0x80 {
6766				break
6767			}
6768		}
6769		fieldNum := int32(wire >> 3)
6770		wireType := int(wire & 0x7)
6771		if wireType == 4 {
6772			return fmt.Errorf("proto: UpdateTaskRequest: wiretype end group for non-group")
6773		}
6774		if fieldNum <= 0 {
6775			return fmt.Errorf("proto: UpdateTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire)
6776		}
6777		switch fieldNum {
6778		case 1:
6779			if wireType != 2 {
6780				return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
6781			}
6782			var stringLen uint64
6783			for shift := uint(0); ; shift += 7 {
6784				if shift >= 64 {
6785					return ErrIntOverflowTasks
6786				}
6787				if iNdEx >= l {
6788					return io.ErrUnexpectedEOF
6789				}
6790				b := dAtA[iNdEx]
6791				iNdEx++
6792				stringLen |= uint64(b&0x7F) << shift
6793				if b < 0x80 {
6794					break
6795				}
6796			}
6797			intStringLen := int(stringLen)
6798			if intStringLen < 0 {
6799				return ErrInvalidLengthTasks
6800			}
6801			postIndex := iNdEx + intStringLen
6802			if postIndex < 0 {
6803				return ErrInvalidLengthTasks
6804			}
6805			if postIndex > l {
6806				return io.ErrUnexpectedEOF
6807			}
6808			m.ContainerID = string(dAtA[iNdEx:postIndex])
6809			iNdEx = postIndex
6810		case 2:
6811			if wireType != 2 {
6812				return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
6813			}
6814			var msglen int
6815			for shift := uint(0); ; shift += 7 {
6816				if shift >= 64 {
6817					return ErrIntOverflowTasks
6818				}
6819				if iNdEx >= l {
6820					return io.ErrUnexpectedEOF
6821				}
6822				b := dAtA[iNdEx]
6823				iNdEx++
6824				msglen |= int(b&0x7F) << shift
6825				if b < 0x80 {
6826					break
6827				}
6828			}
6829			if msglen < 0 {
6830				return ErrInvalidLengthTasks
6831			}
6832			postIndex := iNdEx + msglen
6833			if postIndex < 0 {
6834				return ErrInvalidLengthTasks
6835			}
6836			if postIndex > l {
6837				return io.ErrUnexpectedEOF
6838			}
6839			if m.Resources == nil {
6840				m.Resources = &types1.Any{}
6841			}
6842			if err := m.Resources.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6843				return err
6844			}
6845			iNdEx = postIndex
6846		case 3:
6847			if wireType != 2 {
6848				return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType)
6849			}
6850			var msglen int
6851			for shift := uint(0); ; shift += 7 {
6852				if shift >= 64 {
6853					return ErrIntOverflowTasks
6854				}
6855				if iNdEx >= l {
6856					return io.ErrUnexpectedEOF
6857				}
6858				b := dAtA[iNdEx]
6859				iNdEx++
6860				msglen |= int(b&0x7F) << shift
6861				if b < 0x80 {
6862					break
6863				}
6864			}
6865			if msglen < 0 {
6866				return ErrInvalidLengthTasks
6867			}
6868			postIndex := iNdEx + msglen
6869			if postIndex < 0 {
6870				return ErrInvalidLengthTasks
6871			}
6872			if postIndex > l {
6873				return io.ErrUnexpectedEOF
6874			}
6875			if m.Annotations == nil {
6876				m.Annotations = make(map[string]string)
6877			}
6878			var mapkey string
6879			var mapvalue string
6880			for iNdEx < postIndex {
6881				entryPreIndex := iNdEx
6882				var wire uint64
6883				for shift := uint(0); ; shift += 7 {
6884					if shift >= 64 {
6885						return ErrIntOverflowTasks
6886					}
6887					if iNdEx >= l {
6888						return io.ErrUnexpectedEOF
6889					}
6890					b := dAtA[iNdEx]
6891					iNdEx++
6892					wire |= uint64(b&0x7F) << shift
6893					if b < 0x80 {
6894						break
6895					}
6896				}
6897				fieldNum := int32(wire >> 3)
6898				if fieldNum == 1 {
6899					var stringLenmapkey uint64
6900					for shift := uint(0); ; shift += 7 {
6901						if shift >= 64 {
6902							return ErrIntOverflowTasks
6903						}
6904						if iNdEx >= l {
6905							return io.ErrUnexpectedEOF
6906						}
6907						b := dAtA[iNdEx]
6908						iNdEx++
6909						stringLenmapkey |= uint64(b&0x7F) << shift
6910						if b < 0x80 {
6911							break
6912						}
6913					}
6914					intStringLenmapkey := int(stringLenmapkey)
6915					if intStringLenmapkey < 0 {
6916						return ErrInvalidLengthTasks
6917					}
6918					postStringIndexmapkey := iNdEx + intStringLenmapkey
6919					if postStringIndexmapkey < 0 {
6920						return ErrInvalidLengthTasks
6921					}
6922					if postStringIndexmapkey > l {
6923						return io.ErrUnexpectedEOF
6924					}
6925					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
6926					iNdEx = postStringIndexmapkey
6927				} else if fieldNum == 2 {
6928					var stringLenmapvalue uint64
6929					for shift := uint(0); ; shift += 7 {
6930						if shift >= 64 {
6931							return ErrIntOverflowTasks
6932						}
6933						if iNdEx >= l {
6934							return io.ErrUnexpectedEOF
6935						}
6936						b := dAtA[iNdEx]
6937						iNdEx++
6938						stringLenmapvalue |= uint64(b&0x7F) << shift
6939						if b < 0x80 {
6940							break
6941						}
6942					}
6943					intStringLenmapvalue := int(stringLenmapvalue)
6944					if intStringLenmapvalue < 0 {
6945						return ErrInvalidLengthTasks
6946					}
6947					postStringIndexmapvalue := iNdEx + intStringLenmapvalue
6948					if postStringIndexmapvalue < 0 {
6949						return ErrInvalidLengthTasks
6950					}
6951					if postStringIndexmapvalue > l {
6952						return io.ErrUnexpectedEOF
6953					}
6954					mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
6955					iNdEx = postStringIndexmapvalue
6956				} else {
6957					iNdEx = entryPreIndex
6958					skippy, err := skipTasks(dAtA[iNdEx:])
6959					if err != nil {
6960						return err
6961					}
6962					if (skippy < 0) || (iNdEx+skippy) < 0 {
6963						return ErrInvalidLengthTasks
6964					}
6965					if (iNdEx + skippy) > postIndex {
6966						return io.ErrUnexpectedEOF
6967					}
6968					iNdEx += skippy
6969				}
6970			}
6971			m.Annotations[mapkey] = mapvalue
6972			iNdEx = postIndex
6973		default:
6974			iNdEx = preIndex
6975			skippy, err := skipTasks(dAtA[iNdEx:])
6976			if err != nil {
6977				return err
6978			}
6979			if (skippy < 0) || (iNdEx+skippy) < 0 {
6980				return ErrInvalidLengthTasks
6981			}
6982			if (iNdEx + skippy) > l {
6983				return io.ErrUnexpectedEOF
6984			}
6985			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
6986			iNdEx += skippy
6987		}
6988	}
6989
6990	if iNdEx > l {
6991		return io.ErrUnexpectedEOF
6992	}
6993	return nil
6994}
6995func (m *MetricsRequest) Unmarshal(dAtA []byte) error {
6996	l := len(dAtA)
6997	iNdEx := 0
6998	for iNdEx < l {
6999		preIndex := iNdEx
7000		var wire uint64
7001		for shift := uint(0); ; shift += 7 {
7002			if shift >= 64 {
7003				return ErrIntOverflowTasks
7004			}
7005			if iNdEx >= l {
7006				return io.ErrUnexpectedEOF
7007			}
7008			b := dAtA[iNdEx]
7009			iNdEx++
7010			wire |= uint64(b&0x7F) << shift
7011			if b < 0x80 {
7012				break
7013			}
7014		}
7015		fieldNum := int32(wire >> 3)
7016		wireType := int(wire & 0x7)
7017		if wireType == 4 {
7018			return fmt.Errorf("proto: MetricsRequest: wiretype end group for non-group")
7019		}
7020		if fieldNum <= 0 {
7021			return fmt.Errorf("proto: MetricsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
7022		}
7023		switch fieldNum {
7024		case 1:
7025			if wireType != 2 {
7026				return fmt.Errorf("proto: wrong wireType = %d for field Filters", wireType)
7027			}
7028			var stringLen uint64
7029			for shift := uint(0); ; shift += 7 {
7030				if shift >= 64 {
7031					return ErrIntOverflowTasks
7032				}
7033				if iNdEx >= l {
7034					return io.ErrUnexpectedEOF
7035				}
7036				b := dAtA[iNdEx]
7037				iNdEx++
7038				stringLen |= uint64(b&0x7F) << shift
7039				if b < 0x80 {
7040					break
7041				}
7042			}
7043			intStringLen := int(stringLen)
7044			if intStringLen < 0 {
7045				return ErrInvalidLengthTasks
7046			}
7047			postIndex := iNdEx + intStringLen
7048			if postIndex < 0 {
7049				return ErrInvalidLengthTasks
7050			}
7051			if postIndex > l {
7052				return io.ErrUnexpectedEOF
7053			}
7054			m.Filters = append(m.Filters, string(dAtA[iNdEx:postIndex]))
7055			iNdEx = postIndex
7056		default:
7057			iNdEx = preIndex
7058			skippy, err := skipTasks(dAtA[iNdEx:])
7059			if err != nil {
7060				return err
7061			}
7062			if (skippy < 0) || (iNdEx+skippy) < 0 {
7063				return ErrInvalidLengthTasks
7064			}
7065			if (iNdEx + skippy) > l {
7066				return io.ErrUnexpectedEOF
7067			}
7068			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
7069			iNdEx += skippy
7070		}
7071	}
7072
7073	if iNdEx > l {
7074		return io.ErrUnexpectedEOF
7075	}
7076	return nil
7077}
7078func (m *MetricsResponse) Unmarshal(dAtA []byte) error {
7079	l := len(dAtA)
7080	iNdEx := 0
7081	for iNdEx < l {
7082		preIndex := iNdEx
7083		var wire uint64
7084		for shift := uint(0); ; shift += 7 {
7085			if shift >= 64 {
7086				return ErrIntOverflowTasks
7087			}
7088			if iNdEx >= l {
7089				return io.ErrUnexpectedEOF
7090			}
7091			b := dAtA[iNdEx]
7092			iNdEx++
7093			wire |= uint64(b&0x7F) << shift
7094			if b < 0x80 {
7095				break
7096			}
7097		}
7098		fieldNum := int32(wire >> 3)
7099		wireType := int(wire & 0x7)
7100		if wireType == 4 {
7101			return fmt.Errorf("proto: MetricsResponse: wiretype end group for non-group")
7102		}
7103		if fieldNum <= 0 {
7104			return fmt.Errorf("proto: MetricsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
7105		}
7106		switch fieldNum {
7107		case 1:
7108			if wireType != 2 {
7109				return fmt.Errorf("proto: wrong wireType = %d for field Metrics", wireType)
7110			}
7111			var msglen int
7112			for shift := uint(0); ; shift += 7 {
7113				if shift >= 64 {
7114					return ErrIntOverflowTasks
7115				}
7116				if iNdEx >= l {
7117					return io.ErrUnexpectedEOF
7118				}
7119				b := dAtA[iNdEx]
7120				iNdEx++
7121				msglen |= int(b&0x7F) << shift
7122				if b < 0x80 {
7123					break
7124				}
7125			}
7126			if msglen < 0 {
7127				return ErrInvalidLengthTasks
7128			}
7129			postIndex := iNdEx + msglen
7130			if postIndex < 0 {
7131				return ErrInvalidLengthTasks
7132			}
7133			if postIndex > l {
7134				return io.ErrUnexpectedEOF
7135			}
7136			m.Metrics = append(m.Metrics, &types.Metric{})
7137			if err := m.Metrics[len(m.Metrics)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7138				return err
7139			}
7140			iNdEx = postIndex
7141		default:
7142			iNdEx = preIndex
7143			skippy, err := skipTasks(dAtA[iNdEx:])
7144			if err != nil {
7145				return err
7146			}
7147			if (skippy < 0) || (iNdEx+skippy) < 0 {
7148				return ErrInvalidLengthTasks
7149			}
7150			if (iNdEx + skippy) > l {
7151				return io.ErrUnexpectedEOF
7152			}
7153			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
7154			iNdEx += skippy
7155		}
7156	}
7157
7158	if iNdEx > l {
7159		return io.ErrUnexpectedEOF
7160	}
7161	return nil
7162}
7163func (m *WaitRequest) Unmarshal(dAtA []byte) error {
7164	l := len(dAtA)
7165	iNdEx := 0
7166	for iNdEx < l {
7167		preIndex := iNdEx
7168		var wire uint64
7169		for shift := uint(0); ; shift += 7 {
7170			if shift >= 64 {
7171				return ErrIntOverflowTasks
7172			}
7173			if iNdEx >= l {
7174				return io.ErrUnexpectedEOF
7175			}
7176			b := dAtA[iNdEx]
7177			iNdEx++
7178			wire |= uint64(b&0x7F) << shift
7179			if b < 0x80 {
7180				break
7181			}
7182		}
7183		fieldNum := int32(wire >> 3)
7184		wireType := int(wire & 0x7)
7185		if wireType == 4 {
7186			return fmt.Errorf("proto: WaitRequest: wiretype end group for non-group")
7187		}
7188		if fieldNum <= 0 {
7189			return fmt.Errorf("proto: WaitRequest: illegal tag %d (wire type %d)", fieldNum, wire)
7190		}
7191		switch fieldNum {
7192		case 1:
7193			if wireType != 2 {
7194				return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
7195			}
7196			var stringLen uint64
7197			for shift := uint(0); ; shift += 7 {
7198				if shift >= 64 {
7199					return ErrIntOverflowTasks
7200				}
7201				if iNdEx >= l {
7202					return io.ErrUnexpectedEOF
7203				}
7204				b := dAtA[iNdEx]
7205				iNdEx++
7206				stringLen |= uint64(b&0x7F) << shift
7207				if b < 0x80 {
7208					break
7209				}
7210			}
7211			intStringLen := int(stringLen)
7212			if intStringLen < 0 {
7213				return ErrInvalidLengthTasks
7214			}
7215			postIndex := iNdEx + intStringLen
7216			if postIndex < 0 {
7217				return ErrInvalidLengthTasks
7218			}
7219			if postIndex > l {
7220				return io.ErrUnexpectedEOF
7221			}
7222			m.ContainerID = string(dAtA[iNdEx:postIndex])
7223			iNdEx = postIndex
7224		case 2:
7225			if wireType != 2 {
7226				return fmt.Errorf("proto: wrong wireType = %d for field ExecID", wireType)
7227			}
7228			var stringLen uint64
7229			for shift := uint(0); ; shift += 7 {
7230				if shift >= 64 {
7231					return ErrIntOverflowTasks
7232				}
7233				if iNdEx >= l {
7234					return io.ErrUnexpectedEOF
7235				}
7236				b := dAtA[iNdEx]
7237				iNdEx++
7238				stringLen |= uint64(b&0x7F) << shift
7239				if b < 0x80 {
7240					break
7241				}
7242			}
7243			intStringLen := int(stringLen)
7244			if intStringLen < 0 {
7245				return ErrInvalidLengthTasks
7246			}
7247			postIndex := iNdEx + intStringLen
7248			if postIndex < 0 {
7249				return ErrInvalidLengthTasks
7250			}
7251			if postIndex > l {
7252				return io.ErrUnexpectedEOF
7253			}
7254			m.ExecID = string(dAtA[iNdEx:postIndex])
7255			iNdEx = postIndex
7256		default:
7257			iNdEx = preIndex
7258			skippy, err := skipTasks(dAtA[iNdEx:])
7259			if err != nil {
7260				return err
7261			}
7262			if (skippy < 0) || (iNdEx+skippy) < 0 {
7263				return ErrInvalidLengthTasks
7264			}
7265			if (iNdEx + skippy) > l {
7266				return io.ErrUnexpectedEOF
7267			}
7268			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
7269			iNdEx += skippy
7270		}
7271	}
7272
7273	if iNdEx > l {
7274		return io.ErrUnexpectedEOF
7275	}
7276	return nil
7277}
7278func (m *WaitResponse) Unmarshal(dAtA []byte) error {
7279	l := len(dAtA)
7280	iNdEx := 0
7281	for iNdEx < l {
7282		preIndex := iNdEx
7283		var wire uint64
7284		for shift := uint(0); ; shift += 7 {
7285			if shift >= 64 {
7286				return ErrIntOverflowTasks
7287			}
7288			if iNdEx >= l {
7289				return io.ErrUnexpectedEOF
7290			}
7291			b := dAtA[iNdEx]
7292			iNdEx++
7293			wire |= uint64(b&0x7F) << shift
7294			if b < 0x80 {
7295				break
7296			}
7297		}
7298		fieldNum := int32(wire >> 3)
7299		wireType := int(wire & 0x7)
7300		if wireType == 4 {
7301			return fmt.Errorf("proto: WaitResponse: wiretype end group for non-group")
7302		}
7303		if fieldNum <= 0 {
7304			return fmt.Errorf("proto: WaitResponse: illegal tag %d (wire type %d)", fieldNum, wire)
7305		}
7306		switch fieldNum {
7307		case 1:
7308			if wireType != 0 {
7309				return fmt.Errorf("proto: wrong wireType = %d for field ExitStatus", wireType)
7310			}
7311			m.ExitStatus = 0
7312			for shift := uint(0); ; shift += 7 {
7313				if shift >= 64 {
7314					return ErrIntOverflowTasks
7315				}
7316				if iNdEx >= l {
7317					return io.ErrUnexpectedEOF
7318				}
7319				b := dAtA[iNdEx]
7320				iNdEx++
7321				m.ExitStatus |= uint32(b&0x7F) << shift
7322				if b < 0x80 {
7323					break
7324				}
7325			}
7326		case 2:
7327			if wireType != 2 {
7328				return fmt.Errorf("proto: wrong wireType = %d for field ExitedAt", wireType)
7329			}
7330			var msglen int
7331			for shift := uint(0); ; shift += 7 {
7332				if shift >= 64 {
7333					return ErrIntOverflowTasks
7334				}
7335				if iNdEx >= l {
7336					return io.ErrUnexpectedEOF
7337				}
7338				b := dAtA[iNdEx]
7339				iNdEx++
7340				msglen |= int(b&0x7F) << shift
7341				if b < 0x80 {
7342					break
7343				}
7344			}
7345			if msglen < 0 {
7346				return ErrInvalidLengthTasks
7347			}
7348			postIndex := iNdEx + msglen
7349			if postIndex < 0 {
7350				return ErrInvalidLengthTasks
7351			}
7352			if postIndex > l {
7353				return io.ErrUnexpectedEOF
7354			}
7355			if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.ExitedAt, dAtA[iNdEx:postIndex]); err != nil {
7356				return err
7357			}
7358			iNdEx = postIndex
7359		default:
7360			iNdEx = preIndex
7361			skippy, err := skipTasks(dAtA[iNdEx:])
7362			if err != nil {
7363				return err
7364			}
7365			if (skippy < 0) || (iNdEx+skippy) < 0 {
7366				return ErrInvalidLengthTasks
7367			}
7368			if (iNdEx + skippy) > l {
7369				return io.ErrUnexpectedEOF
7370			}
7371			m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
7372			iNdEx += skippy
7373		}
7374	}
7375
7376	if iNdEx > l {
7377		return io.ErrUnexpectedEOF
7378	}
7379	return nil
7380}
7381func skipTasks(dAtA []byte) (n int, err error) {
7382	l := len(dAtA)
7383	iNdEx := 0
7384	depth := 0
7385	for iNdEx < l {
7386		var wire uint64
7387		for shift := uint(0); ; shift += 7 {
7388			if shift >= 64 {
7389				return 0, ErrIntOverflowTasks
7390			}
7391			if iNdEx >= l {
7392				return 0, io.ErrUnexpectedEOF
7393			}
7394			b := dAtA[iNdEx]
7395			iNdEx++
7396			wire |= (uint64(b) & 0x7F) << shift
7397			if b < 0x80 {
7398				break
7399			}
7400		}
7401		wireType := int(wire & 0x7)
7402		switch wireType {
7403		case 0:
7404			for shift := uint(0); ; shift += 7 {
7405				if shift >= 64 {
7406					return 0, ErrIntOverflowTasks
7407				}
7408				if iNdEx >= l {
7409					return 0, io.ErrUnexpectedEOF
7410				}
7411				iNdEx++
7412				if dAtA[iNdEx-1] < 0x80 {
7413					break
7414				}
7415			}
7416		case 1:
7417			iNdEx += 8
7418		case 2:
7419			var length int
7420			for shift := uint(0); ; shift += 7 {
7421				if shift >= 64 {
7422					return 0, ErrIntOverflowTasks
7423				}
7424				if iNdEx >= l {
7425					return 0, io.ErrUnexpectedEOF
7426				}
7427				b := dAtA[iNdEx]
7428				iNdEx++
7429				length |= (int(b) & 0x7F) << shift
7430				if b < 0x80 {
7431					break
7432				}
7433			}
7434			if length < 0 {
7435				return 0, ErrInvalidLengthTasks
7436			}
7437			iNdEx += length
7438		case 3:
7439			depth++
7440		case 4:
7441			if depth == 0 {
7442				return 0, ErrUnexpectedEndOfGroupTasks
7443			}
7444			depth--
7445		case 5:
7446			iNdEx += 4
7447		default:
7448			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
7449		}
7450		if iNdEx < 0 {
7451			return 0, ErrInvalidLengthTasks
7452		}
7453		if depth == 0 {
7454			return iNdEx, nil
7455		}
7456	}
7457	return 0, io.ErrUnexpectedEOF
7458}
7459
7460var (
7461	ErrInvalidLengthTasks        = fmt.Errorf("proto: negative length found during unmarshaling")
7462	ErrIntOverflowTasks          = fmt.Errorf("proto: integer overflow")
7463	ErrUnexpectedEndOfGroupTasks = fmt.Errorf("proto: unexpected end of group")
7464)
7465