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