Debian Codegraph @

api/v1/lib/agent/agent.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-gogo. DO NOT EDIT.
2 // source: agent/agent.proto
3
4 /*
5 Package agent is a generated protocol buffer package.
6
7 It is generated from these files:
8 agent/agent.proto
9
10 It has these top-level messages:
11 Call
12 Response
13 ProcessIO
14 */
15 package agent
16
17 import proto "github.com/gogo/protobuf/proto"
18 import fmt "fmt"
19 import math "math"
20 import mesos "github.com/mesos/mesos-go/api/v1/lib"
21 import _ "github.com/gogo/protobuf/gogoproto"
22
23 import strconv "strconv"
24
25 import bytes "bytes"
26
27 import strings "strings"
28 import reflect "reflect"
29
30 import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto"
31
32 import io "io"
33
34 // Reference imports to suppress errors if they are not otherwise used.
35 var _ = proto.Marshal
36 var _ = fmt.Errorf
37 var _ = math.Inf
38
39 // This is a compile-time assertion to ensure that this generated file
40 // is compatible with the proto package it is being compiled against.
41 // A compilation error at this line likely means your copy of the
42 // proto package needs to be updated.
43 const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
44
45 // If a call of type `Call::FOO` requires additional parameters they can be
46 // included in the corresponding `Call::Foo` message. Similarly, if a call
47 // receives a synchronous response it will be returned as a `Response`
48 // message of type `Response::FOO`; see `Call::LaunchNestedContainerSession`
49 // and `Call::AttachContainerOutput` for exceptions.
50 type Call_Type int32
51
52 const (
53 Call_UNKNOWN Call_Type = 0
54 Call_GET_HEALTH Call_Type = 1
55 Call_GET_FLAGS Call_Type = 2
56 Call_GET_VERSION Call_Type = 3
57 Call_GET_METRICS Call_Type = 4
58 Call_GET_LOGGING_LEVEL Call_Type = 5
59 Call_SET_LOGGING_LEVEL Call_Type = 6
60 Call_LIST_FILES Call_Type = 7
61 Call_READ_FILE Call_Type = 8
62 Call_GET_STATE Call_Type = 9
63 Call_GET_CONTAINERS Call_Type = 10
64 Call_GET_FRAMEWORKS Call_Type = 11
65 Call_GET_EXECUTORS Call_Type = 12
66 Call_GET_TASKS Call_Type = 13
67 Call_GET_AGENT Call_Type = 20
68 // Calls for managing nested containers underneath an executor's container.
69 Call_LAUNCH_NESTED_CONTAINER Call_Type = 14
70 Call_WAIT_NESTED_CONTAINER Call_Type = 15
71 Call_KILL_NESTED_CONTAINER Call_Type = 16
72 Call_REMOVE_NESTED_CONTAINER Call_Type = 21
73 // See 'LaunchNestedContainerSession' below.
74 Call_LAUNCH_NESTED_CONTAINER_SESSION Call_Type = 17
75 Call_ATTACH_CONTAINER_INPUT Call_Type = 18
76 Call_ATTACH_CONTAINER_OUTPUT Call_Type = 19
77 )
78
79 var Call_Type_name = map[int32]string{
80 0: "UNKNOWN",
81 1: "GET_HEALTH",
82 2: "GET_FLAGS",
83 3: "GET_VERSION",
84 4: "GET_METRICS",
85 5: "GET_LOGGING_LEVEL",
86 6: "SET_LOGGING_LEVEL",
87 7: "LIST_FILES",
88 8: "READ_FILE",
89 9: "GET_STATE",
90 10: "GET_CONTAINERS",
91 11: "GET_FRAMEWORKS",
92 12: "GET_EXECUTORS",
93 13: "GET_TASKS",
94 20: "GET_AGENT",
95 14: "LAUNCH_NESTED_CONTAINER",
96 15: "WAIT_NESTED_CONTAINER",
97 16: "KILL_NESTED_CONTAINER",
98 21: "REMOVE_NESTED_CONTAINER",
99 17: "LAUNCH_NESTED_CONTAINER_SESSION",
100 18: "ATTACH_CONTAINER_INPUT",
101 19: "ATTACH_CONTAINER_OUTPUT",
102 }
103 var Call_Type_value = map[string]int32{
104 "UNKNOWN": 0,
105 "GET_HEALTH": 1,
106 "GET_FLAGS": 2,
107 "GET_VERSION": 3,
108 "GET_METRICS": 4,
109 "GET_LOGGING_LEVEL": 5,
110 "SET_LOGGING_LEVEL": 6,
111 "LIST_FILES": 7,
112 "READ_FILE": 8,
113 "GET_STATE": 9,
114 "GET_CONTAINERS": 10,
115 "GET_FRAMEWORKS": 11,
116 "GET_EXECUTORS": 12,
117 "GET_TASKS": 13,
118 "GET_AGENT": 20,
119 "LAUNCH_NESTED_CONTAINER": 14,
120 "WAIT_NESTED_CONTAINER": 15,
121 "KILL_NESTED_CONTAINER": 16,
122 "REMOVE_NESTED_CONTAINER": 21,
123 "LAUNCH_NESTED_CONTAINER_SESSION": 17,
124 "ATTACH_CONTAINER_INPUT": 18,
125 "ATTACH_CONTAINER_OUTPUT": 19,
126 }
127
128 func (x Call_Type) Enum() *Call_Type {
129 p := new(Call_Type)
130 *p = x
131 return p
132 }
133 func (x Call_Type) MarshalJSON() ([]byte, error) {
134 return proto.MarshalJSONEnum(Call_Type_name, int32(x))
135 }
136 func (x *Call_Type) UnmarshalJSON(data []byte) error {
137 value, err := proto.UnmarshalJSONEnum(Call_Type_value, data, "Call_Type")
138 if err != nil {
139 return err
140 }
141 *x = Call_Type(value)
142 return nil
143 }
144 func (Call_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptorAgent, []int{0, 0} }
145
146 type Call_AttachContainerInput_Type int32
147
148 const (
149 Call_AttachContainerInput_UNKNOWN Call_AttachContainerInput_Type = 0
150 Call_AttachContainerInput_CONTAINER_ID Call_AttachContainerInput_Type = 1
151 Call_AttachContainerInput_PROCESS_IO Call_AttachContainerInput_Type = 2
152 )
153
154 var Call_AttachContainerInput_Type_name = map[int32]string{
155 0: "UNKNOWN",
156 1: "CONTAINER_ID",
157 2: "PROCESS_IO",
158 }
159 var Call_AttachContainerInput_Type_value = map[string]int32{
160 "UNKNOWN": 0,
161 "CONTAINER_ID": 1,
162 "PROCESS_IO": 2,
163 }
164
165 func (x Call_AttachContainerInput_Type) Enum() *Call_AttachContainerInput_Type {
166 p := new(Call_AttachContainerInput_Type)
167 *p = x
168 return p
169 }
170 func (x Call_AttachContainerInput_Type) MarshalJSON() ([]byte, error) {
171 return proto.MarshalJSONEnum(Call_AttachContainerInput_Type_name, int32(x))
172 }
173 func (x *Call_AttachContainerInput_Type) UnmarshalJSON(data []byte) error {
174 value, err := proto.UnmarshalJSONEnum(Call_AttachContainerInput_Type_value, data, "Call_AttachContainerInput_Type")
175 if err != nil {
176 return err
177 }
178 *x = Call_AttachContainerInput_Type(value)
179 return nil
180 }
181 func (Call_AttachContainerInput_Type) EnumDescriptor() ([]byte, []int) {
182 return fileDescriptorAgent, []int{0, 9, 0}
183 }
184
185 // Each of the responses of type `FOO` corresponds to `Foo` message below.
186 type Response_Type int32
187
188 const (
189 Response_UNKNOWN Response_Type = 0
190 Response_GET_HEALTH Response_Type = 1
191 Response_GET_FLAGS Response_Type = 2
192 Response_GET_VERSION Response_Type = 3
193 Response_GET_METRICS Response_Type = 4
194 Response_GET_LOGGING_LEVEL Response_Type = 5
195 Response_LIST_FILES Response_Type = 6
196 Response_READ_FILE Response_Type = 7
197 Response_GET_STATE Response_Type = 8
198 Response_GET_CONTAINERS Response_Type = 9
199 Response_GET_FRAMEWORKS Response_Type = 10
200 Response_GET_EXECUTORS Response_Type = 11
201 Response_GET_TASKS Response_Type = 12
202 Response_GET_AGENT Response_Type = 14
203 Response_WAIT_NESTED_CONTAINER Response_Type = 13
204 )
205
206 var Response_Type_name = map[int32]string{
207 0: "UNKNOWN",
208 1: "GET_HEALTH",
209 2: "GET_FLAGS",
210 3: "GET_VERSION",
211 4: "GET_METRICS",
212 5: "GET_LOGGING_LEVEL",
213 6: "LIST_FILES",
214 7: "READ_FILE",
215 8: "GET_STATE",
216 9: "GET_CONTAINERS",
217 10: "GET_FRAMEWORKS",
218 11: "GET_EXECUTORS",
219 12: "GET_TASKS",
220 14: "GET_AGENT",
221 13: "WAIT_NESTED_CONTAINER",
222 }
223 var Response_Type_value = map[string]int32{
224 "UNKNOWN": 0,
225 "GET_HEALTH": 1,
226 "GET_FLAGS": 2,
227 "GET_VERSION": 3,
228 "GET_METRICS": 4,
229 "GET_LOGGING_LEVEL": 5,
230 "LIST_FILES": 6,
231 "READ_FILE": 7,
232 "GET_STATE": 8,
233 "GET_CONTAINERS": 9,
234 "GET_FRAMEWORKS": 10,
235 "GET_EXECUTORS": 11,
236 "GET_TASKS": 12,
237 "GET_AGENT": 14,
238 "WAIT_NESTED_CONTAINER": 13,
239 }
240
241 func (x Response_Type) Enum() *Response_Type {
242 p := new(Response_Type)
243 *p = x
244 return p
245 }
246 func (x Response_Type) MarshalJSON() ([]byte, error) {
247 return proto.MarshalJSONEnum(Response_Type_name, int32(x))
248 }
249 func (x *Response_Type) UnmarshalJSON(data []byte) error {
250 value, err := proto.UnmarshalJSONEnum(Response_Type_value, data, "Response_Type")
251 if err != nil {
252 return err
253 }
254 *x = Response_Type(value)
255 return nil
256 }
257 func (Response_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptorAgent, []int{1, 0} }
258
259 type ProcessIO_Type int32
260
261 const (
262 ProcessIO_UNKNOWN ProcessIO_Type = 0
263 ProcessIO_DATA ProcessIO_Type = 1
264 ProcessIO_CONTROL ProcessIO_Type = 2
265 )
266
267 var ProcessIO_Type_name = map[int32]string{
268 0: "UNKNOWN",
269 1: "DATA",
270 2: "CONTROL",
271 }
272 var ProcessIO_Type_value = map[string]int32{
273 "UNKNOWN": 0,
274 "DATA": 1,
275 "CONTROL": 2,
276 }
277
278 func (x ProcessIO_Type) Enum() *ProcessIO_Type {
279 p := new(ProcessIO_Type)
280 *p = x
281 return p
282 }
283 func (x ProcessIO_Type) MarshalJSON() ([]byte, error) {
284 return proto.MarshalJSONEnum(ProcessIO_Type_name, int32(x))
285 }
286 func (x *ProcessIO_Type) UnmarshalJSON(data []byte) error {
287 value, err := proto.UnmarshalJSONEnum(ProcessIO_Type_value, data, "ProcessIO_Type")
288 if err != nil {
289 return err
290 }
291 *x = ProcessIO_Type(value)
292 return nil
293 }
294 func (ProcessIO_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptorAgent, []int{2, 0} }
295
296 type ProcessIO_Data_Type int32
297
298 const (
299 ProcessIO_Data_UNKNOWN ProcessIO_Data_Type = 0
300 ProcessIO_Data_STDIN ProcessIO_Data_Type = 1
301 ProcessIO_Data_STDOUT ProcessIO_Data_Type = 2
302 ProcessIO_Data_STDERR ProcessIO_Data_Type = 3
303 )
304
305 var ProcessIO_Data_Type_name = map[int32]string{
306 0: "UNKNOWN",
307 1: "STDIN",
308 2: "STDOUT",
309 3: "STDERR",
310 }
311 var ProcessIO_Data_Type_value = map[string]int32{
312 "UNKNOWN": 0,
313 "STDIN": 1,
314 "STDOUT": 2,
315 "STDERR": 3,
316 }
317
318 func (x ProcessIO_Data_Type) Enum() *ProcessIO_Data_Type {
319 p := new(ProcessIO_Data_Type)
320 *p = x
321 return p
322 }
323 func (x ProcessIO_Data_Type) MarshalJSON() ([]byte, error) {
324 return proto.MarshalJSONEnum(ProcessIO_Data_Type_name, int32(x))
325 }
326 func (x *ProcessIO_Data_Type) UnmarshalJSON(data []byte) error {
327 value, err := proto.UnmarshalJSONEnum(ProcessIO_Data_Type_value, data, "ProcessIO_Data_Type")
328 if err != nil {
329 return err
330 }
331 *x = ProcessIO_Data_Type(value)
332 return nil
333 }
334 func (ProcessIO_Data_Type) EnumDescriptor() ([]byte, []int) {
335 return fileDescriptorAgent, []int{2, 0, 0}
336 }
337
338 type ProcessIO_Control_Type int32
339
340 const (
341 ProcessIO_Control_UNKNOWN ProcessIO_Control_Type = 0
342 ProcessIO_Control_TTY_INFO ProcessIO_Control_Type = 1
343 ProcessIO_Control_HEARTBEAT ProcessIO_Control_Type = 2
344 )
345
346 var ProcessIO_Control_Type_name = map[int32]string{
347 0: "UNKNOWN",
348 1: "TTY_INFO",
349 2: "HEARTBEAT",
350 }
351 var ProcessIO_Control_Type_value = map[string]int32{
352 "UNKNOWN": 0,
353 "TTY_INFO": 1,
354 "HEARTBEAT": 2,
355 }
356
357 func (x ProcessIO_Control_Type) Enum() *ProcessIO_Control_Type {
358 p := new(ProcessIO_Control_Type)
359 *p = x
360 return p
361 }
362 func (x ProcessIO_Control_Type) MarshalJSON() ([]byte, error) {
363 return proto.MarshalJSONEnum(ProcessIO_Control_Type_name, int32(x))
364 }
365 func (x *ProcessIO_Control_Type) UnmarshalJSON(data []byte) error {
366 value, err := proto.UnmarshalJSONEnum(ProcessIO_Control_Type_value, data, "ProcessIO_Control_Type")
367 if err != nil {
368 return err
369 }
370 *x = ProcessIO_Control_Type(value)
371 return nil
372 }
373 func (ProcessIO_Control_Type) EnumDescriptor() ([]byte, []int) {
374 return fileDescriptorAgent, []int{2, 1, 0}
375 }
376
377 // *
378 // Calls that can be sent to the v1 agent API.
379 //
380 // A call is described using the standard protocol buffer "union"
381 // trick, see
382 // https://developers.google.com/protocol-buffers/docs/techniques#union.
383 type Call struct {
384 Type Call_Type `protobuf:"varint,1,opt,name=type,enum=mesos.agent.Call_Type" json:"type"`
385 GetMetrics *Call_GetMetrics `protobuf:"bytes,2,opt,name=get_metrics,json=getMetrics" json:"get_metrics,omitempty"`
386 SetLoggingLevel *Call_SetLoggingLevel `protobuf:"bytes,3,opt,name=set_logging_level,json=setLoggingLevel" json:"set_logging_level,omitempty"`
387 ListFiles *Call_ListFiles `protobuf:"bytes,4,opt,name=list_files,json=listFiles" json:"list_files,omitempty"`
388 ReadFile *Call_ReadFile `protobuf:"bytes,5,opt,name=read_file,json=readFile" json:"read_file,omitempty"`
389 LaunchNestedContainer *Call_LaunchNestedContainer `protobuf:"bytes,6,opt,name=launch_nested_container,json=launchNestedContainer" json:"launch_nested_container,omitempty"`
390 WaitNestedContainer *Call_WaitNestedContainer `protobuf:"bytes,7,opt,name=wait_nested_container,json=waitNestedContainer" json:"wait_nested_container,omitempty"`
391 KillNestedContainer *Call_KillNestedContainer `protobuf:"bytes,8,opt,name=kill_nested_container,json=killNestedContainer" json:"kill_nested_container,omitempty"`
392 RemoveNestedContainer *Call_RemoveNestedContainer `protobuf:"bytes,12,opt,name=remove_nested_container,json=removeNestedContainer" json:"remove_nested_container,omitempty"`
393 LaunchNestedContainerSession *Call_LaunchNestedContainerSession `protobuf:"bytes,9,opt,name=launch_nested_container_session,json=launchNestedContainerSession" json:"launch_nested_container_session,omitempty"`
394 AttachContainerInput *Call_AttachContainerInput `protobuf:"bytes,10,opt,name=attach_container_input,json=attachContainerInput" json:"attach_container_input,omitempty"`
395 AttachContainerOutput *Call_AttachContainerOutput `protobuf:"bytes,11,opt,name=attach_container_output,json=attachContainerOutput" json:"attach_container_output,omitempty"`
396 }
397
398 func (m *Call) Reset() { *m = Call{} }
399 func (*Call) ProtoMessage() {}
400 func (*Call) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{0} }
401
402 func (m *Call) GetType() Call_Type {
403 if m != nil {
404 return m.Type
405 }
406 return Call_UNKNOWN
407 }
408
409 func (m *Call) GetGetMetrics() *Call_GetMetrics {
410 if m != nil {
411 return m.GetMetrics
412 }
413 return nil
414 }
415
416 func (m *Call) GetSetLoggingLevel() *Call_SetLoggingLevel {
417 if m != nil {
418 return m.SetLoggingLevel
419 }
420 return nil
421 }
422
423 func (m *Call) GetListFiles() *Call_ListFiles {
424 if m != nil {
425 return m.ListFiles
426 }
427 return nil
428 }
429
430 func (m *Call) GetReadFile() *Call_ReadFile {
431 if m != nil {
432 return m.ReadFile
433 }
434 return nil
435 }
436
437 func (m *Call) GetLaunchNestedContainer() *Call_LaunchNestedContainer {
438 if m != nil {
439 return m.LaunchNestedContainer
440 }
441 return nil
442 }
443
444 func (m *Call) GetWaitNestedContainer() *Call_WaitNestedContainer {
445 if m != nil {
446 return m.WaitNestedContainer
447 }
448 return nil
449 }
450
451 func (m *Call) GetKillNestedContainer() *Call_KillNestedContainer {
452 if m != nil {
453 return m.KillNestedContainer
454 }
455 return nil
456 }
457
458 func (m *Call) GetRemoveNestedContainer() *Call_RemoveNestedContainer {
459 if m != nil {
460 return m.RemoveNestedContainer
461 }
462 return nil
463 }
464
465 func (m *Call) GetLaunchNestedContainerSession() *Call_LaunchNestedContainerSession {
466 if m != nil {
467 return m.LaunchNestedContainerSession
468 }
469 return nil
470 }
471
472 func (m *Call) GetAttachContainerInput() *Call_AttachContainerInput {
473 if m != nil {
474 return m.AttachContainerInput
475 }
476 return nil
477 }
478
479 func (m *Call) GetAttachContainerOutput() *Call_AttachContainerOutput {
480 if m != nil {
481 return m.AttachContainerOutput
482 }
483 return nil
484 }
485
486 // Provides a snapshot of the current metrics tracked by the agent.
487 type Call_GetMetrics struct {
488 // If set, `timeout` would be used to determines the maximum amount of time
489 // the API will take to respond. If the timeout is exceeded, some metrics
490 // may not be included in the response.
491 Timeout *mesos.DurationInfo `protobuf:"bytes,1,opt,name=timeout" json:"timeout,omitempty"`
492 }
493
494 func (m *Call_GetMetrics) Reset() { *m = Call_GetMetrics{} }
495 func (*Call_GetMetrics) ProtoMessage() {}
496 func (*Call_GetMetrics) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{0, 0} }
497
498 func (m *Call_GetMetrics) GetTimeout() *mesos.DurationInfo {
499 if m != nil {
500 return m.Timeout
501 }
502 return nil
503 }
504
505 // Sets the logging verbosity level for a specified duration. Mesos uses
506 // [glog](https://github.com/google/glog) for logging. The library only uses
507 // verbose logging which means nothing will be output unless the verbosity
508 // level is set (by default it's 0, libprocess uses levels 1, 2, and 3).
509 type Call_SetLoggingLevel struct {
510 // The verbosity level.
511 Level uint32 `protobuf:"varint,1,req,name=level" json:"level"`
512 // The duration to keep verbosity level toggled. After this duration, the
513 // verbosity level of log would revert to the original level.
514 Duration mesos.DurationInfo `protobuf:"bytes,2,req,name=duration" json:"duration"`
515 }
516
517 func (m *Call_SetLoggingLevel) Reset() { *m = Call_SetLoggingLevel{} }
518 func (*Call_SetLoggingLevel) ProtoMessage() {}
519 func (*Call_SetLoggingLevel) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{0, 1} }
520
521 func (m *Call_SetLoggingLevel) GetLevel() uint32 {
522 if m != nil {
523 return m.Level
524 }
525 return 0
526 }
527
528 func (m *Call_SetLoggingLevel) GetDuration() mesos.DurationInfo {
529 if m != nil {
530 return m.Duration
531 }
532 return mesos.DurationInfo{}
533 }
534
535 // Provides the file listing for a directory.
536 type Call_ListFiles struct {
537 Path string `protobuf:"bytes,1,req,name=path" json:"path"`
538 }
539
540 func (m *Call_ListFiles) Reset() { *m = Call_ListFiles{} }
541 func (*Call_ListFiles) ProtoMessage() {}
542 func (*Call_ListFiles) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{0, 2} }
543
544 func (m *Call_ListFiles) GetPath() string {
545 if m != nil {
546 return m.Path
547 }
548 return ""
549 }
550
551 // Reads data from a file.
552 type Call_ReadFile struct {
553 // The path of file.
554 Path string `protobuf:"bytes,1,req,name=path" json:"path"`
555 // Initial offset in file to start reading from.
556 Offset uint64 `protobuf:"varint,2,req,name=offset" json:"offset"`
557 // The maximum number of bytes to read. The read length is capped at 16
558 // memory pages.
559 Length *uint64 `protobuf:"varint,3,opt,name=length" json:"length,omitempty"`
560 }
561
562 func (m *Call_ReadFile) Reset() { *m = Call_ReadFile{} }
563 func (*Call_ReadFile) ProtoMessage() {}
564 func (*Call_ReadFile) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{0, 3} }
565
566 func (m *Call_ReadFile) GetPath() string {
567 if m != nil {
568 return m.Path
569 }
570 return ""
571 }
572
573 func (m *Call_ReadFile) GetOffset() uint64 {
574 if m != nil {
575 return m.Offset
576 }
577 return 0
578 }
579
580 func (m *Call_ReadFile) GetLength() uint64 {
581 if m != nil && m.Length != nil {
582 return *m.Length
583 }
584 return 0
585 }
586
587 // Launches a nested container within an executor's tree of containers.
588 type Call_LaunchNestedContainer struct {
589 ContainerID mesos.ContainerID `protobuf:"bytes,1,req,name=container_id,json=containerId" json:"container_id"`
590 Command *mesos.CommandInfo `protobuf:"bytes,2,opt,name=command" json:"command,omitempty"`
591 Container *mesos.ContainerInfo `protobuf:"bytes,3,opt,name=container" json:"container,omitempty"`
592 }
593
594 func (m *Call_LaunchNestedContainer) Reset() { *m = Call_LaunchNestedContainer{} }
595 func (*Call_LaunchNestedContainer) ProtoMessage() {}
596 func (*Call_LaunchNestedContainer) Descriptor() ([]byte, []int) {
597 return fileDescriptorAgent, []int{0, 4}
598 }
599
600 func (m *Call_LaunchNestedContainer) GetContainerID() mesos.ContainerID {
601 if m != nil {
602 return m.ContainerID
603 }
604 return mesos.ContainerID{}
605 }
606
607 func (m *Call_LaunchNestedContainer) GetCommand() *mesos.CommandInfo {
608 if m != nil {
609 return m.Command
610 }
611 return nil
612 }
613
614 func (m *Call_LaunchNestedContainer) GetContainer() *mesos.ContainerInfo {
615 if m != nil {
616 return m.Container
617 }
618 return nil
619 }
620
621 // Waits for the nested container to terminate and receives the exit status.
622 type Call_WaitNestedContainer struct {
623 ContainerID mesos.ContainerID `protobuf:"bytes,1,req,name=container_id,json=containerId" json:"container_id"`
624 }
625
626 func (m *Call_WaitNestedContainer) Reset() { *m = Call_WaitNestedContainer{} }
627 func (*Call_WaitNestedContainer) ProtoMessage() {}
628 func (*Call_WaitNestedContainer) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{0, 5} }
629
630 func (m *Call_WaitNestedContainer) GetContainerID() mesos.ContainerID {
631 if m != nil {
632 return m.ContainerID
633 }
634 return mesos.ContainerID{}
635 }
636
637 // Kills the nested container. The signal (e.g., SIGTERM, SIGKILL, etc.)
638 // to be sent to the container can be specified in the 'signal' field.
639 // If 'signal' is not set, SIGKILL is used by default.
640 type Call_KillNestedContainer struct {
641 ContainerID mesos.ContainerID `protobuf:"bytes,1,req,name=container_id,json=containerId" json:"container_id"`
642 Signal *int32 `protobuf:"varint,2,opt,name=signal" json:"signal,omitempty"`
643 }
644
645 func (m *Call_KillNestedContainer) Reset() { *m = Call_KillNestedContainer{} }
646 func (*Call_KillNestedContainer) ProtoMessage() {}
647 func (*Call_KillNestedContainer) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{0, 6} }
648
649 func (m *Call_KillNestedContainer) GetContainerID() mesos.ContainerID {
650 if m != nil {
651 return m.ContainerID
652 }
653 return mesos.ContainerID{}
654 }
655
656 func (m *Call_KillNestedContainer) GetSignal() int32 {
657 if m != nil && m.Signal != nil {
658 return *m.Signal
659 }
660 return 0
661 }
662
663 // Removes a nested container and its artifacts (runtime and sandbox
664 // directories).
665 type Call_RemoveNestedContainer struct {
666 ContainerID mesos.ContainerID `protobuf:"bytes,1,req,name=container_id,json=containerId" json:"container_id"`
667 }
668
669 func (m *Call_RemoveNestedContainer) Reset() { *m = Call_RemoveNestedContainer{} }
670 func (*Call_RemoveNestedContainer) ProtoMessage() {}
671 func (*Call_RemoveNestedContainer) Descriptor() ([]byte, []int) {
672 return fileDescriptorAgent, []int{0, 7}
673 }
674
675 func (m *Call_RemoveNestedContainer) GetContainerID() mesos.ContainerID {
676 if m != nil {
677 return m.ContainerID
678 }
679 return mesos.ContainerID{}
680 }
681
682 // Launches a nested container within an executor's tree of containers.
683 // The differences between this call and `LaunchNestedContainer` are:
684 // 1) The container's life-cycle is tied to the lifetime of the
685 // connection used to make this call, i.e., if the connection ever
686 // breaks, the container will be destroyed.
687 // 2) The nested container shares the same namespaces and cgroups as
688 // its parent container.
689 // 3) Results in a streaming response of type `ProcessIO`. So the call
690 // needs to be made on a persistent connection.
691 type Call_LaunchNestedContainerSession struct {
692 ContainerID mesos.ContainerID `protobuf:"bytes,1,req,name=container_id,json=containerId" json:"container_id"`
693 Command *mesos.CommandInfo `protobuf:"bytes,2,opt,name=command" json:"command,omitempty"`
694 Container *mesos.ContainerInfo `protobuf:"bytes,3,opt,name=container" json:"container,omitempty"`
695 }
696
697 func (m *Call_LaunchNestedContainerSession) Reset() { *m = Call_LaunchNestedContainerSession{} }
698 func (*Call_LaunchNestedContainerSession) ProtoMessage() {}
699 func (*Call_LaunchNestedContainerSession) Descriptor() ([]byte, []int) {
700 return fileDescriptorAgent, []int{0, 8}
701 }
702
703 func (m *Call_LaunchNestedContainerSession) GetContainerID() mesos.ContainerID {
704 if m != nil {
705 return m.ContainerID
706 }
707 return mesos.ContainerID{}
708 }
709
710 func (m *Call_LaunchNestedContainerSession) GetCommand() *mesos.CommandInfo {
711 if m != nil {
712 return m.Command
713 }
714 return nil
715 }
716
717 func (m *Call_LaunchNestedContainerSession) GetContainer() *mesos.ContainerInfo {
718 if m != nil {
719 return m.Container
720 }
721 return nil
722 }
723
724 // Attaches the caller to the STDIN of the entry point of the container.
725 // Clients can use this to stream input data to a container.
726 // Note that this call needs to be made on a persistent connection by
727 // streaming a CONTAINER_ID message followed by one or more PROCESS_IO
728 // messages.
729 type Call_AttachContainerInput struct {
730 Type Call_AttachContainerInput_Type `protobuf:"varint,1,opt,name=type,enum=mesos.agent.Call_AttachContainerInput_Type" json:"type"`
731 ContainerID *mesos.ContainerID `protobuf:"bytes,2,opt,name=container_id,json=containerId" json:"container_id,omitempty"`
732 ProcessIO *ProcessIO `protobuf:"bytes,3,opt,name=process_io,json=processIo" json:"process_io,omitempty"`
733 }
734
735 func (m *Call_AttachContainerInput) Reset() { *m = Call_AttachContainerInput{} }
736 func (*Call_AttachContainerInput) ProtoMessage() {}
737 func (*Call_AttachContainerInput) Descriptor() ([]byte, []int) {
738 return fileDescriptorAgent, []int{0, 9}
739 }
740
741 func (m *Call_AttachContainerInput) GetType() Call_AttachContainerInput_Type {
742 if m != nil {
743 return m.Type
744 }
745 return Call_AttachContainerInput_UNKNOWN
746 }
747
748 func (m *Call_AttachContainerInput) GetContainerID() *mesos.ContainerID {
749 if m != nil {
750 return m.ContainerID
751 }
752 return nil
753 }
754
755 func (m *Call_AttachContainerInput) GetProcessIO() *ProcessIO {
756 if m != nil {
757 return m.ProcessIO
758 }
759 return nil
760 }
761
762 // Attaches the caller to the STDOUT and STDERR of the entrypoint of
763 // the container. Clients can use this to stream output/error from the
764 // container. This call will result in a streaming response of `ProcessIO`;
765 // so this call needs to be made on a persistent connection.
766 type Call_AttachContainerOutput struct {
767 ContainerID mesos.ContainerID `protobuf:"bytes,1,req,name=container_id,json=containerId" json:"container_id"`
768 }
769
770 func (m *Call_AttachContainerOutput) Reset() { *m = Call_AttachContainerOutput{} }
771 func (*Call_AttachContainerOutput) ProtoMessage() {}
772 func (*Call_AttachContainerOutput) Descriptor() ([]byte, []int) {
773 return fileDescriptorAgent, []int{0, 10}
774 }
775
776 func (m *Call_AttachContainerOutput) GetContainerID() mesos.ContainerID {
777 if m != nil {
778 return m.ContainerID
779 }
780 return mesos.ContainerID{}
781 }
782
783 // *
784 // Synchronous responses for all calls made to the v1 agent API.
785 type Response struct {
786 Type Response_Type `protobuf:"varint,1,opt,name=type,enum=mesos.agent.Response_Type" json:"type"`
787 GetHealth *Response_GetHealth `protobuf:"bytes,2,opt,name=get_health,json=getHealth" json:"get_health,omitempty"`
788 GetFlags *Response_GetFlags `protobuf:"bytes,3,opt,name=get_flags,json=getFlags" json:"get_flags,omitempty"`
789 GetVersion *Response_GetVersion `protobuf:"bytes,4,opt,name=get_version,json=getVersion" json:"get_version,omitempty"`
790 GetMetrics *Response_GetMetrics `protobuf:"bytes,5,opt,name=get_metrics,json=getMetrics" json:"get_metrics,omitempty"`
791 GetLoggingLevel *Response_GetLoggingLevel `protobuf:"bytes,6,opt,name=get_logging_level,json=getLoggingLevel" json:"get_logging_level,omitempty"`
792 ListFiles *Response_ListFiles `protobuf:"bytes,7,opt,name=list_files,json=listFiles" json:"list_files,omitempty"`
793 ReadFile *Response_ReadFile `protobuf:"bytes,8,opt,name=read_file,json=readFile" json:"read_file,omitempty"`
794 GetState *Response_GetState `protobuf:"bytes,9,opt,name=get_state,json=getState" json:"get_state,omitempty"`
795 GetContainers *Response_GetContainers `protobuf:"bytes,10,opt,name=get_containers,json=getContainers" json:"get_containers,omitempty"`
796 GetFrameworks *Response_GetFrameworks `protobuf:"bytes,11,opt,name=get_frameworks,json=getFrameworks" json:"get_frameworks,omitempty"`
797 GetExecutors *Response_GetExecutors `protobuf:"bytes,12,opt,name=get_executors,json=getExecutors" json:"get_executors,omitempty"`
798 GetTasks *Response_GetTasks `protobuf:"bytes,13,opt,name=get_tasks,json=getTasks" json:"get_tasks,omitempty"`
799 GetAgent *Response_GetAgent `protobuf:"bytes,15,opt,name=get_agent,json=getAgent" json:"get_agent,omitempty"`
800 WaitNestedContainer *Response_WaitNestedContainer `protobuf:"bytes,14,opt,name=wait_nested_container,json=waitNestedContainer" json:"wait_nested_container,omitempty"`
801 }
802
803 func (m *Response) Reset() { *m = Response{} }
804 func (*Response) ProtoMessage() {}
805 func (*Response) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{1} }
806
807 func (m *Response) GetType() Response_Type {
808 if m != nil {
809 return m.Type
810 }
811 return Response_UNKNOWN
812 }
813
814 func (m *Response) GetGetHealth() *Response_GetHealth {
815 if m != nil {
816 return m.GetHealth
817 }
818 return nil
819 }
820
821 func (m *Response) GetGetFlags() *Response_GetFlags {
822 if m != nil {
823 return m.GetFlags
824 }
825 return nil
826 }
827
828 func (m *Response) GetGetVersion() *Response_GetVersion {
829 if m != nil {
830 return m.GetVersion
831 }
832 return nil
833 }
834
835 func (m *Response) GetGetMetrics() *Response_GetMetrics {
836 if m != nil {
837 return m.GetMetrics
838 }
839 return nil
840 }
841
842 func (m *Response) GetGetLoggingLevel() *Response_GetLoggingLevel {
843 if m != nil {
844 return m.GetLoggingLevel
845 }
846 return nil
847 }
848
849 func (m *Response) GetListFiles() *Response_ListFiles {
850 if m != nil {
851 return m.ListFiles
852 }
853 return nil
854 }
855
856 func (m *Response) GetReadFile() *Response_ReadFile {
857 if m != nil {
858 return m.ReadFile
859 }
860 return nil
861 }
862
863 func (m *Response) GetGetState() *Response_GetState {
864 if m != nil {
865 return m.GetState
866 }
867 return nil
868 }
869
870 func (m *Response) GetGetContainers() *Response_GetContainers {
871 if m != nil {
872 return m.GetContainers
873 }
874 return nil
875 }
876
877 func (m *Response) GetGetFrameworks() *Response_GetFrameworks {
878 if m != nil {
879 return m.GetFrameworks
880 }
881 return nil
882 }
883
884 func (m *Response) GetGetExecutors() *Response_GetExecutors {
885 if m != nil {
886 return m.GetExecutors
887 }
888 return nil
889 }
890
891 func (m *Response) GetGetTasks() *Response_GetTasks {
892 if m != nil {
893 return m.GetTasks
894 }
895 return nil
896 }
897
898 func (m *Response) GetGetAgent() *Response_GetAgent {
899 if m != nil {
900 return m.GetAgent
901 }
902 return nil
903 }
904
905 func (m *Response) GetWaitNestedContainer() *Response_WaitNestedContainer {
906 if m != nil {
907 return m.WaitNestedContainer
908 }
909 return nil
910 }
911
912 // `healthy` would be true if the agent is healthy. Delayed responses are also
913 // indicative of the poor health of the agent.
914 type Response_GetHealth struct {
915 Healthy bool `protobuf:"varint,1,req,name=healthy" json:"healthy"`
916 }
917
918 func (m *Response_GetHealth) Reset() { *m = Response_GetHealth{} }
919 func (*Response_GetHealth) ProtoMessage() {}
920 func (*Response_GetHealth) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{1, 0} }
921
922 func (m *Response_GetHealth) GetHealthy() bool {
923 if m != nil {
924 return m.Healthy
925 }
926 return false
927 }
928
929 // Contains the flag configuration of the agent.
930 type Response_GetFlags struct {
931 Flags []mesos.Flag `protobuf:"bytes,1,rep,name=flags" json:"flags"`
932 }
933
934 func (m *Response_GetFlags) Reset() { *m = Response_GetFlags{} }
935 func (*Response_GetFlags) ProtoMessage() {}
936 func (*Response_GetFlags) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{1, 1} }
937
938 func (m *Response_GetFlags) GetFlags() []mesos.Flag {
939 if m != nil {
940 return m.Flags
941 }
942 return nil
943 }
944
945 // Contains the version information of the agent.
946 type Response_GetVersion struct {
947 VersionInfo mesos.VersionInfo `protobuf:"bytes,1,req,name=version_info,json=versionInfo" json:"version_info"`
948 }
949
950 func (m *Response_GetVersion) Reset() { *m = Response_GetVersion{} }
951 func (*Response_GetVersion) ProtoMessage() {}
952 func (*Response_GetVersion) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{1, 2} }
953
954 func (m *Response_GetVersion) GetVersionInfo() mesos.VersionInfo {
955 if m != nil {
956 return m.VersionInfo
957 }
958 return mesos.VersionInfo{}
959 }
960
961 // Contains a snapshot of the current metrics.
962 type Response_GetMetrics struct {
963 Metrics []mesos.Metric `protobuf:"bytes,1,rep,name=metrics" json:"metrics"`
964 }
965
966 func (m *Response_GetMetrics) Reset() { *m = Response_GetMetrics{} }
967 func (*Response_GetMetrics) ProtoMessage() {}
968 func (*Response_GetMetrics) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{1, 3} }
969
970 func (m *Response_GetMetrics) GetMetrics() []mesos.Metric {
971 if m != nil {
972 return m.Metrics
973 }
974 return nil
975 }
976
977 // Contains the logging level of the agent.
978 type Response_GetLoggingLevel struct {
979 Level uint32 `protobuf:"varint,1,req,name=level" json:"level"`
980 }
981
982 func (m *Response_GetLoggingLevel) Reset() { *m = Response_GetLoggingLevel{} }
983 func (*Response_GetLoggingLevel) ProtoMessage() {}
984 func (*Response_GetLoggingLevel) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{1, 4} }
985
986 func (m *Response_GetLoggingLevel) GetLevel() uint32 {
987 if m != nil {
988 return m.Level
989 }
990 return 0
991 }
992
993 // Contains the file listing(similar to `ls -l`) for a directory.
994 type Response_ListFiles struct {
995 FileInfos []mesos.FileInfo `protobuf:"bytes,1,rep,name=file_infos,json=fileInfos" json:"file_infos"`
996 }
997
998 func (m *Response_ListFiles) Reset() { *m = Response_ListFiles{} }
999 func (*Response_ListFiles) ProtoMessage() {}
1000 func (*Response_ListFiles) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{1, 5} }
1001
1002 func (m *Response_ListFiles) GetFileInfos() []mesos.FileInfo {
1003 if m != nil {
1004 return m.FileInfos
1005 }
1006 return nil
1007 }
1008
1009 // Contains the file data.
1010 type Response_ReadFile struct {
1011 // The size of file (in bytes).
1012 Size uint64 `protobuf:"varint,1,req,name=size" json:"size"`
1013 Data []byte `protobuf:"bytes,2,req,name=data" json:"data,omitempty"`
1014 }
1015
1016 func (m *Response_ReadFile) Reset() { *m = Response_ReadFile{} }
1017 func (*Response_ReadFile) ProtoMessage() {}
1018 func (*Response_ReadFile) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{1, 6} }
1019
1020 func (m *Response_ReadFile) GetSize() uint64 {
1021 if m != nil {
1022 return m.Size
1023 }
1024 return 0
1025 }
1026
1027 func (m *Response_ReadFile) GetData() []byte {
1028 if m != nil {
1029 return m.Data
1030 }
1031 return nil
1032 }
1033
1034 // Contains full state of the agent i.e. information about the tasks,
1035 // frameworks and executors running in the cluster.
1036 type Response_GetState struct {
1037 GetTasks *Response_GetTasks `protobuf:"bytes,1,opt,name=get_tasks,json=getTasks" json:"get_tasks,omitempty"`
1038 GetExecutors *Response_GetExecutors `protobuf:"bytes,2,opt,name=get_executors,json=getExecutors" json:"get_executors,omitempty"`
1039 GetFrameworks *Response_GetFrameworks `protobuf:"bytes,3,opt,name=get_frameworks,json=getFrameworks" json:"get_frameworks,omitempty"`
1040 }
1041
1042 func (m *Response_GetState) Reset() { *m = Response_GetState{} }
1043 func (*Response_GetState) ProtoMessage() {}
1044 func (*Response_GetState) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{1, 7} }
1045
1046 func (m *Response_GetState) GetGetTasks() *Response_GetTasks {
1047 if m != nil {
1048 return m.GetTasks
1049 }
1050 return nil
1051 }
1052
1053 func (m *Response_GetState) GetGetExecutors() *Response_GetExecutors {
1054 if m != nil {
1055 return m.GetExecutors
1056 }
1057 return nil
1058 }
1059
1060 func (m *Response_GetState) GetGetFrameworks() *Response_GetFrameworks {
1061 if m != nil {
1062 return m.GetFrameworks
1063 }
1064 return nil
1065 }
1066
1067 // Information about containers running on this agent. It contains
1068 // ContainerStatus and ResourceStatistics along with some metadata
1069 // of the containers.
1070 type Response_GetContainers struct {
1071 Containers []Response_GetContainers_Container `protobuf:"bytes,1,rep,name=containers" json:"containers"`
1072 }
1073
1074 func (m *Response_GetContainers) Reset() { *m = Response_GetContainers{} }
1075 func (*Response_GetContainers) ProtoMessage() {}
1076 func (*Response_GetContainers) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{1, 8} }
1077
1078 func (m *Response_GetContainers) GetContainers() []Response_GetContainers_Container {
1079 if m != nil {
1080 return m.Containers
1081 }
1082 return nil
1083 }
1084
1085 type Response_GetContainers_Container struct {
1086 FrameworkID mesos.FrameworkID `protobuf:"bytes,1,req,name=framework_id,json=frameworkId" json:"framework_id"`
1087 ExecutorID mesos.ExecutorID `protobuf:"bytes,2,req,name=executor_id,json=executorId" json:"executor_id"`
1088 ExecutorName string `protobuf:"bytes,3,req,name=executor_name,json=executorName" json:"executor_name"`
1089 ContainerID mesos.ContainerID `protobuf:"bytes,4,req,name=container_id,json=containerId" json:"container_id"`
1090 ContainerStatus *mesos.ContainerStatus `protobuf:"bytes,5,opt,name=container_status,json=containerStatus" json:"container_status,omitempty"`
1091 ResourceStatistics *mesos.ResourceStatistics `protobuf:"bytes,6,opt,name=resource_statistics,json=resourceStatistics" json:"resource_statistics,omitempty"`
1092 }
1093
1094 func (m *Response_GetContainers_Container) Reset() { *m = Response_GetContainers_Container{} }
1095 func (*Response_GetContainers_Container) ProtoMessage() {}
1096 func (*Response_GetContainers_Container) Descriptor() ([]byte, []int) {
1097 return fileDescriptorAgent, []int{1, 8, 0}
1098 }
1099
1100 func (m *Response_GetContainers_Container) GetFrameworkID() mesos.FrameworkID {
1101 if m != nil {
1102 return m.FrameworkID
1103 }
1104 return mesos.FrameworkID{}
1105 }
1106
1107 func (m *Response_GetContainers_Container) GetExecutorID() mesos.ExecutorID {
1108 if m != nil {
1109 return m.ExecutorID
1110 }
1111 return mesos.ExecutorID{}
1112 }
1113
1114 func (m *Response_GetContainers_Container) GetExecutorName() string {
1115 if m != nil {
1116 return m.ExecutorName
1117 }
1118 return ""
1119 }
1120
1121 func (m *Response_GetContainers_Container) GetContainerID() mesos.ContainerID {
1122 if m != nil {
1123 return m.ContainerID
1124 }
1125 return mesos.ContainerID{}
1126 }
1127
1128 func (m *Response_GetContainers_Container) GetContainerStatus() *mesos.ContainerStatus {
1129 if m != nil {
1130 return m.ContainerStatus
1131 }
1132 return nil
1133 }
1134
1135 func (m *Response_GetContainers_Container) GetResourceStatistics() *mesos.ResourceStatistics {
1136 if m != nil {
1137 return m.ResourceStatistics
1138 }
1139 return nil
1140 }
1141
1142 // Information about all the frameworks known to the agent at the current
1143 // time.
1144 type Response_GetFrameworks struct {
1145 Frameworks []Response_GetFrameworks_Framework `protobuf:"bytes,1,rep,name=frameworks" json:"frameworks"`
1146 CompletedFrameworks []Response_GetFrameworks_Framework `protobuf:"bytes,2,rep,name=completed_frameworks,json=completedFrameworks" json:"completed_frameworks"`
1147 }
1148
1149 func (m *Response_GetFrameworks) Reset() { *m = Response_GetFrameworks{} }
1150 func (*Response_GetFrameworks) ProtoMessage() {}
1151 func (*Response_GetFrameworks) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{1, 9} }
1152
1153 func (m *Response_GetFrameworks) GetFrameworks() []Response_GetFrameworks_Framework {
1154 if m != nil {
1155 return m.Frameworks
1156 }
1157 return nil
1158 }
1159
1160 func (m *Response_GetFrameworks) GetCompletedFrameworks() []Response_GetFrameworks_Framework {
1161 if m != nil {
1162 return m.CompletedFrameworks
1163 }
1164 return nil
1165 }
1166
1167 type Response_GetFrameworks_Framework struct {
1168 FrameworkInfo mesos.FrameworkInfo `protobuf:"bytes,1,req,name=framework_info,json=frameworkInfo" json:"framework_info"`
1169 }
1170
1171 func (m *Response_GetFrameworks_Framework) Reset() { *m = Response_GetFrameworks_Framework{} }
1172 func (*Response_GetFrameworks_Framework) ProtoMessage() {}
1173 func (*Response_GetFrameworks_Framework) Descriptor() ([]byte, []int) {
1174 return fileDescriptorAgent, []int{1, 9, 0}
1175 }
1176
1177 func (m *Response_GetFrameworks_Framework) GetFrameworkInfo() mesos.FrameworkInfo {
1178 if m != nil {
1179 return m.FrameworkInfo
1180 }
1181 return mesos.FrameworkInfo{}
1182 }
1183
1184 // Lists information about all the executors known to the agent at the
1185 // current time.
1186 type Response_GetExecutors struct {
1187 Executors []Response_GetExecutors_Executor `protobuf:"bytes,1,rep,name=executors" json:"executors"`
1188 CompletedExecutors []Response_GetExecutors_Executor `protobuf:"bytes,2,rep,name=completed_executors,json=completedExecutors" json:"completed_executors"`
1189 }
1190
1191 func (m *Response_GetExecutors) Reset() { *m = Response_GetExecutors{} }
1192 func (*Response_GetExecutors) ProtoMessage() {}
1193 func (*Response_GetExecutors) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{1, 10} }
1194
1195 func (m *Response_GetExecutors) GetExecutors() []Response_GetExecutors_Executor {
1196 if m != nil {
1197 return m.Executors
1198 }
1199 return nil
1200 }
1201
1202 func (m *Response_GetExecutors) GetCompletedExecutors() []Response_GetExecutors_Executor {
1203 if m != nil {
1204 return m.CompletedExecutors
1205 }
1206 return nil
1207 }
1208
1209 type Response_GetExecutors_Executor struct {
1210 ExecutorInfo mesos.ExecutorInfo `protobuf:"bytes,1,req,name=executor_info,json=executorInfo" json:"executor_info"`
1211 }
1212
1213 func (m *Response_GetExecutors_Executor) Reset() { *m = Response_GetExecutors_Executor{} }
1214 func (*Response_GetExecutors_Executor) ProtoMessage() {}
1215 func (*Response_GetExecutors_Executor) Descriptor() ([]byte, []int) {
1216 return fileDescriptorAgent, []int{1, 10, 0}
1217 }
1218
1219 func (m *Response_GetExecutors_Executor) GetExecutorInfo() mesos.ExecutorInfo {
1220 if m != nil {
1221 return m.ExecutorInfo
1222 }
1223 return mesos.ExecutorInfo{}
1224 }
1225
1226 // Lists information about all the tasks known to the agent at the current
1227 // time.
1228 type Response_GetTasks struct {
1229 // Tasks that are pending in the agent's queue before an executor is
1230 // launched.
1231 PendingTasks []mesos.Task `protobuf:"bytes,1,rep,name=pending_tasks,json=pendingTasks" json:"pending_tasks"`
1232 // Tasks that are enqueued for a launched executor that has not yet
1233 // registered.
1234 QueuedTasks []mesos.Task `protobuf:"bytes,2,rep,name=queued_tasks,json=queuedTasks" json:"queued_tasks"`
1235 // Tasks that are running.
1236 LaunchedTasks []mesos.Task `protobuf:"bytes,3,rep,name=launched_tasks,json=launchedTasks" json:"launched_tasks"`
1237 // Tasks that are terminated but pending updates.
1238 TerminatedTasks []mesos.Task `protobuf:"bytes,4,rep,name=terminated_tasks,json=terminatedTasks" json:"terminated_tasks"`
1239 // Tasks that are terminated and updates acked.
1240 CompletedTasks []mesos.Task `protobuf:"bytes,5,rep,name=completed_tasks,json=completedTasks" json:"completed_tasks"`
1241 }
1242
1243 func (m *Response_GetTasks) Reset() { *m = Response_GetTasks{} }
1244 func (*Response_GetTasks) ProtoMessage() {}
1245 func (*Response_GetTasks) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{1, 11} }
1246
1247 func (m *Response_GetTasks) GetPendingTasks() []mesos.Task {
1248 if m != nil {
1249 return m.PendingTasks
1250 }
1251 return nil
1252 }
1253
1254 func (m *Response_GetTasks) GetQueuedTasks() []mesos.Task {
1255 if m != nil {
1256 return m.QueuedTasks
1257 }
1258 return nil
1259 }
1260
1261 func (m *Response_GetTasks) GetLaunchedTasks() []mesos.Task {
1262 if m != nil {
1263 return m.LaunchedTasks
1264 }
1265 return nil
1266 }
1267
1268 func (m *Response_GetTasks) GetTerminatedTasks() []mesos.Task {
1269 if m != nil {
1270 return m.TerminatedTasks
1271 }
1272 return nil
1273 }
1274
1275 func (m *Response_GetTasks) GetCompletedTasks() []mesos.Task {
1276 if m != nil {
1277 return m.CompletedTasks
1278 }
1279 return nil
1280 }
1281
1282 // Contains the agent's information.
1283 type Response_GetAgent struct {
1284 AgentInfo *mesos.AgentInfo `protobuf:"bytes,1,opt,name=agent_info,json=agentInfo" json:"agent_info,omitempty"`
1285 }
1286
1287 func (m *Response_GetAgent) Reset() { *m = Response_GetAgent{} }
1288 func (*Response_GetAgent) ProtoMessage() {}
1289 func (*Response_GetAgent) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{1, 12} }
1290
1291 func (m *Response_GetAgent) GetAgentInfo() *mesos.AgentInfo {
1292 if m != nil {
1293 return m.AgentInfo
1294 }
1295 return nil
1296 }
1297
1298 // Returns termination information about the nested container.
1299 type Response_WaitNestedContainer struct {
1300 ExitStatus *int32 `protobuf:"varint,1,opt,name=exit_status,json=exitStatus" json:"exit_status,omitempty"`
1301 }
1302
1303 func (m *Response_WaitNestedContainer) Reset() { *m = Response_WaitNestedContainer{} }
1304 func (*Response_WaitNestedContainer) ProtoMessage() {}
1305 func (*Response_WaitNestedContainer) Descriptor() ([]byte, []int) {
1306 return fileDescriptorAgent, []int{1, 13}
1307 }
1308
1309 func (m *Response_WaitNestedContainer) GetExitStatus() int32 {
1310 if m != nil && m.ExitStatus != nil {
1311 return *m.ExitStatus
1312 }
1313 return 0
1314 }
1315
1316 // *
1317 // Streaming response to `Call::LAUNCH_NESTED_CONTAINER_SESSION` and
1318 // `Call::ATTACH_CONTAINER_OUTPUT`.
1319 //
1320 // This message is also used to stream request data for
1321 // `Call::ATTACH_CONTAINER_INPUT`.
1322 type ProcessIO struct {
1323 Type ProcessIO_Type `protobuf:"varint,1,opt,name=type,enum=mesos.agent.ProcessIO_Type" json:"type"`
1324 Data *ProcessIO_Data `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
1325 Control *ProcessIO_Control `protobuf:"bytes,3,opt,name=control" json:"control,omitempty"`
1326 }
1327
1328 func (m *ProcessIO) Reset() { *m = ProcessIO{} }
1329 func (*ProcessIO) ProtoMessage() {}
1330 func (*ProcessIO) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{2} }
1331
1332 func (m *ProcessIO) GetType() ProcessIO_Type {
1333 if m != nil {
1334 return m.Type
1335 }
1336 return ProcessIO_UNKNOWN
1337 }
1338
1339 func (m *ProcessIO) GetData() *ProcessIO_Data {
1340 if m != nil {
1341 return m.Data
1342 }
1343 return nil
1344 }
1345
1346 func (m *ProcessIO) GetControl() *ProcessIO_Control {
1347 if m != nil {
1348 return m.Control
1349 }
1350 return nil
1351 }
1352
1353 type ProcessIO_Data struct {
1354 Type ProcessIO_Data_Type `protobuf:"varint,1,opt,name=type,enum=mesos.agent.ProcessIO_Data_Type" json:"type"`
1355 Data []byte `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
1356 }
1357
1358 func (m *ProcessIO_Data) Reset() { *m = ProcessIO_Data{} }
1359 func (*ProcessIO_Data) ProtoMessage() {}
1360 func (*ProcessIO_Data) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{2, 0} }
1361
1362 func (m *ProcessIO_Data) GetType() ProcessIO_Data_Type {
1363 if m != nil {
1364 return m.Type
1365 }
1366 return ProcessIO_Data_UNKNOWN
1367 }
1368
1369 func (m *ProcessIO_Data) GetData() []byte {
1370 if m != nil {
1371 return m.Data
1372 }
1373 return nil
1374 }
1375
1376 type ProcessIO_Control struct {
1377 Type ProcessIO_Control_Type `protobuf:"varint,1,opt,name=type,enum=mesos.agent.ProcessIO_Control_Type" json:"type"`
1378 TTYInfo *mesos.TTYInfo `protobuf:"bytes,2,opt,name=tty_info,json=ttyInfo" json:"tty_info,omitempty"`
1379 Heartbeat *ProcessIO_Control_Heartbeat `protobuf:"bytes,3,opt,name=heartbeat" json:"heartbeat,omitempty"`
1380 }
1381
1382 func (m *ProcessIO_Control) Reset() { *m = ProcessIO_Control{} }
1383 func (*ProcessIO_Control) ProtoMessage() {}
1384 func (*ProcessIO_Control) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{2, 1} }
1385
1386 func (m *ProcessIO_Control) GetType() ProcessIO_Control_Type {
1387 if m != nil {
1388 return m.Type
1389 }
1390 return ProcessIO_Control_UNKNOWN
1391 }
1392
1393 func (m *ProcessIO_Control) GetTTYInfo() *mesos.TTYInfo {
1394 if m != nil {
1395 return m.TTYInfo
1396 }
1397 return nil
1398 }
1399
1400 func (m *ProcessIO_Control) GetHeartbeat() *ProcessIO_Control_Heartbeat {
1401 if m != nil {
1402 return m.Heartbeat
1403 }
1404 return nil
1405 }
1406
1407 type ProcessIO_Control_Heartbeat struct {
1408 Interval *mesos.DurationInfo `protobuf:"bytes,1,opt,name=interval" json:"interval,omitempty"`
1409 }
1410
1411 func (m *ProcessIO_Control_Heartbeat) Reset() { *m = ProcessIO_Control_Heartbeat{} }
1412 func (*ProcessIO_Control_Heartbeat) ProtoMessage() {}
1413 func (*ProcessIO_Control_Heartbeat) Descriptor() ([]byte, []int) {
1414 return fileDescriptorAgent, []int{2, 1, 0}
1415 }
1416
1417 func (m *ProcessIO_Control_Heartbeat) GetInterval() *mesos.DurationInfo {
1418 if m != nil {
1419 return m.Interval
1420 }
1421 return nil
1422 }
1423
1424 func init() {
1425 proto.RegisterType((*Call)(nil), "mesos.agent.Call")
1426 proto.RegisterType((*Call_GetMetrics)(nil), "mesos.agent.Call.GetMetrics")
1427 proto.RegisterType((*Call_SetLoggingLevel)(nil), "mesos.agent.Call.SetLoggingLevel")
1428 proto.RegisterType((*Call_ListFiles)(nil), "mesos.agent.Call.ListFiles")
1429 proto.RegisterType((*Call_ReadFile)(nil), "mesos.agent.Call.ReadFile")
1430 proto.RegisterType((*Call_LaunchNestedContainer)(nil), "mesos.agent.Call.LaunchNestedContainer")
1431 proto.RegisterType((*Call_WaitNestedContainer)(nil), "mesos.agent.Call.WaitNestedContainer")
1432 proto.RegisterType((*Call_KillNestedContainer)(nil), "mesos.agent.Call.KillNestedContainer")
1433 proto.RegisterType((*Call_RemoveNestedContainer)(nil), "mesos.agent.Call.RemoveNestedContainer")
1434 proto.RegisterType((*Call_LaunchNestedContainerSession)(nil), "mesos.agent.Call.LaunchNestedContainerSession")
1435 proto.RegisterType((*Call_AttachContainerInput)(nil), "mesos.agent.Call.AttachContainerInput")
1436 proto.RegisterType((*Call_AttachContainerOutput)(nil), "mesos.agent.Call.AttachContainerOutput")
1437 proto.RegisterType((*Response)(nil), "mesos.agent.Response")
1438 proto.RegisterType((*Response_GetHealth)(nil), "mesos.agent.Response.GetHealth")
1439 proto.RegisterType((*Response_GetFlags)(nil), "mesos.agent.Response.GetFlags")
1440 proto.RegisterType((*Response_GetVersion)(nil), "mesos.agent.Response.GetVersion")
1441 proto.RegisterType((*Response_GetMetrics)(nil), "mesos.agent.Response.GetMetrics")
1442 proto.RegisterType((*Response_GetLoggingLevel)(nil), "mesos.agent.Response.GetLoggingLevel")
1443 proto.RegisterType((*Response_ListFiles)(nil), "mesos.agent.Response.ListFiles")
1444 proto.RegisterType((*Response_ReadFile)(nil), "mesos.agent.Response.ReadFile")
1445 proto.RegisterType((*Response_GetState)(nil), "mesos.agent.Response.GetState")
1446 proto.RegisterType((*Response_GetContainers)(nil), "mesos.agent.Response.GetContainers")
1447 proto.RegisterType((*Response_GetContainers_Container)(nil), "mesos.agent.Response.GetContainers.Container")
1448 proto.RegisterType((*Response_GetFrameworks)(nil), "mesos.agent.Response.GetFrameworks")
1449 proto.RegisterType((*Response_GetFrameworks_Framework)(nil), "mesos.agent.Response.GetFrameworks.Framework")
1450 proto.RegisterType((*Response_GetExecutors)(nil), "mesos.agent.Response.GetExecutors")
1451 proto.RegisterType((*Response_GetExecutors_Executor)(nil), "mesos.agent.Response.GetExecutors.Executor")
1452 proto.RegisterType((*Response_GetTasks)(nil), "mesos.agent.Response.GetTasks")
1453 proto.RegisterType((*Response_GetAgent)(nil), "mesos.agent.Response.GetAgent")
1454 proto.RegisterType((*Response_WaitNestedContainer)(nil), "mesos.agent.Response.WaitNestedContainer")
1455 proto.RegisterType((*ProcessIO)(nil), "mesos.agent.ProcessIO")
1456 proto.RegisterType((*ProcessIO_Data)(nil), "mesos.agent.ProcessIO.Data")
1457 proto.RegisterType((*ProcessIO_Control)(nil), "mesos.agent.ProcessIO.Control")
1458 proto.RegisterType((*ProcessIO_Control_Heartbeat)(nil), "mesos.agent.ProcessIO.Control.Heartbeat")
1459 proto.RegisterEnum("mesos.agent.Call_Type", Call_Type_name, Call_Type_value)
1460 proto.RegisterEnum("mesos.agent.Call_AttachContainerInput_Type", Call_AttachContainerInput_Type_name, Call_AttachContainerInput_Type_value)
1461 proto.RegisterEnum("mesos.agent.Response_Type", Response_Type_name, Response_Type_value)
1462 proto.RegisterEnum("mesos.agent.ProcessIO_Type", ProcessIO_Type_name, ProcessIO_Type_value)
1463 proto.RegisterEnum("mesos.agent.ProcessIO_Data_Type", ProcessIO_Data_Type_name, ProcessIO_Data_Type_value)
1464 proto.RegisterEnum("mesos.agent.ProcessIO_Control_Type", ProcessIO_Control_Type_name, ProcessIO_Control_Type_value)
1465 }
1466 func (x Call_Type) String() string {
1467 s, ok := Call_Type_name[int32(x)]
1468 if ok {
1469 return s
1470 }
1471 return strconv.Itoa(int(x))
1472 }
1473 func (x Call_AttachContainerInput_Type) String() string {
1474 s, ok := Call_AttachContainerInput_Type_name[int32(x)]
1475 if ok {
1476 return s
1477 }
1478 return strconv.Itoa(int(x))
1479 }
1480 func (x Response_Type) String() string {
1481 s, ok := Response_Type_name[int32(x)]
1482 if ok {
1483 return s
1484 }
1485 return strconv.Itoa(int(x))
1486 }
1487 func (x ProcessIO_Type) String() string {
1488 s, ok := ProcessIO_Type_name[int32(x)]
1489 if ok {
1490 return s
1491 }
1492 return strconv.Itoa(int(x))
1493 }
1494 func (x ProcessIO_Data_Type) String() string {
1495 s, ok := ProcessIO_Data_Type_name[int32(x)]
1496 if ok {
1497 return s
1498 }
1499 return strconv.Itoa(int(x))
1500 }
1501 func (x ProcessIO_Control_Type) String() string {
1502 s, ok := ProcessIO_Control_Type_name[int32(x)]
1503 if ok {
1504 return s
1505 }
1506 return strconv.Itoa(int(x))
1507 }
1508 func (this *Call) VerboseEqual(that interface{}) error {
1509 if that == nil {
1510 if this == nil {
1511 return nil
1512 }
1513 return fmt.Errorf("that == nil && this != nil")
1514 }
1515
1516 that1, ok := that.(*Call)
1517 if !ok {
1518 that2, ok := that.(Call)
1519 if ok {
1520 that1 = &that2
1521 } else {
1522 return fmt.Errorf("that is not of type *Call")
1523 }
1524 }
1525 if that1 == nil {
1526 if this == nil {
1527 return nil
1528 }
1529 return fmt.Errorf("that is type *Call but is nil && this != nil")
1530 } else if this == nil {
1531 return fmt.Errorf("that is type *Call but is not nil && this == nil")
1532 }
1533 if this.Type != that1.Type {
1534 return fmt.Errorf("Type this(%v) Not Equal that(%v)", this.Type, that1.Type)
1535 }
1536 if !this.GetMetrics.Equal(that1.GetMetrics) {
1537 return fmt.Errorf("GetMetrics this(%v) Not Equal that(%v)", this.GetMetrics, that1.GetMetrics)
1538 }
1539 if !this.SetLoggingLevel.Equal(that1.SetLoggingLevel) {
1540 return fmt.Errorf("SetLoggingLevel this(%v) Not Equal that(%v)", this.SetLoggingLevel, that1.SetLoggingLevel)
1541 }
1542 if !this.ListFiles.Equal(that1.ListFiles) {
1543 return fmt.Errorf("ListFiles this(%v) Not Equal that(%v)", this.ListFiles, that1.ListFiles)
1544 }
1545 if !this.ReadFile.Equal(that1.ReadFile) {
1546 return fmt.Errorf("ReadFile this(%v) Not Equal that(%v)", this.ReadFile, that1.ReadFile)
1547 }
1548 if !this.LaunchNestedContainer.Equal(that1.LaunchNestedContainer) {
1549 return fmt.Errorf("LaunchNestedContainer this(%v) Not Equal that(%v)", this.LaunchNestedContainer, that1.LaunchNestedContainer)
1550 }
1551 if !this.WaitNestedContainer.Equal(that1.WaitNestedContainer) {
1552 return fmt.Errorf("WaitNestedContainer this(%v) Not Equal that(%v)", this.WaitNestedContainer, that1.WaitNestedContainer)
1553 }
1554 if !this.KillNestedContainer.Equal(that1.KillNestedContainer) {
1555 return fmt.Errorf("KillNestedContainer this(%v) Not Equal that(%v)", this.KillNestedContainer, that1.KillNestedContainer)
1556 }
1557 if !this.RemoveNestedContainer.Equal(that1.RemoveNestedContainer) {
1558 return fmt.Errorf("RemoveNestedContainer this(%v) Not Equal that(%v)", this.RemoveNestedContainer, that1.RemoveNestedContainer)
1559 }
1560 if !this.LaunchNestedContainerSession.Equal(that1.LaunchNestedContainerSession) {
1561 return fmt.Errorf("LaunchNestedContainerSession this(%v) Not Equal that(%v)", this.LaunchNestedContainerSession, that1.LaunchNestedContainerSession)
1562 }
1563 if !this.AttachContainerInput.Equal(that1.AttachContainerInput) {
1564 return fmt.Errorf("AttachContainerInput this(%v) Not Equal that(%v)", this.AttachContainerInput, that1.AttachContainerInput)
1565 }
1566 if !this.AttachContainerOutput.Equal(that1.AttachContainerOutput) {
1567 return fmt.Errorf("AttachContainerOutput this(%v) Not Equal that(%v)", this.AttachContainerOutput, that1.AttachContainerOutput)
1568 }
1569 return nil
1570 }
1571 func (this *Call) Equal(that interface{}) bool {
1572 if that == nil {
1573 if this == nil {
1574 return true
1575 }
1576 return false
1577 }
1578
1579 that1, ok := that.(*Call)
1580 if !ok {
1581 that2, ok := that.(Call)
1582 if ok {
1583 that1 = &that2
1584 } else {
1585 return false
1586 }
1587 }
1588 if that1 == nil {
1589 if this == nil {
1590 return true
1591 }
1592 return false
1593 } else if this == nil {
1594 return false
1595 }
1596 if this.Type != that1.Type {
1597 return false
1598 }
1599 if !this.GetMetrics.Equal(that1.GetMetrics) {
1600 return false
1601 }
1602 if !this.SetLoggingLevel.Equal(that1.SetLoggingLevel) {
1603 return false
1604 }
1605 if !this.ListFiles.Equal(that1.ListFiles) {
1606 return false
1607 }
1608 if !this.ReadFile.Equal(that1.ReadFile) {
1609 return false
1610 }
1611 if !this.LaunchNestedContainer.Equal(that1.LaunchNestedContainer) {
1612 return false
1613 }
1614 if !this.WaitNestedContainer.Equal(that1.WaitNestedContainer) {
1615 return false
1616 }
1617 if !this.KillNestedContainer.Equal(that1.KillNestedContainer) {
1618 return false
1619 }
1620 if !this.RemoveNestedContainer.Equal(that1.RemoveNestedContainer) {
1621 return false
1622 }
1623 if !this.LaunchNestedContainerSession.Equal(that1.LaunchNestedContainerSession) {
1624 return false
1625 }
1626 if !this.AttachContainerInput.Equal(that1.AttachContainerInput) {
1627 return false
1628 }
1629 if !this.AttachContainerOutput.Equal(that1.AttachContainerOutput) {
1630 return false
1631 }
1632 return true
1633 }
1634 func (this *Call_GetMetrics) VerboseEqual(that interface{}) error {
1635 if that == nil {
1636 if this == nil {
1637 return nil
1638 }
1639 return fmt.Errorf("that == nil && this != nil")
1640 }
1641
1642 that1, ok := that.(*Call_GetMetrics)
1643 if !ok {
1644 that2, ok := that.(Call_GetMetrics)
1645 if ok {
1646 that1 = &that2
1647 } else {
1648 return fmt.Errorf("that is not of type *Call_GetMetrics")
1649 }
1650 }
1651 if that1 == nil {
1652 if this == nil {
1653 return nil
1654 }
1655 return fmt.Errorf("that is type *Call_GetMetrics but is nil && this != nil")
1656 } else if this == nil {
1657 return fmt.Errorf("that is type *Call_GetMetrics but is not nil && this == nil")
1658 }
1659 if !this.Timeout.Equal(that1.Timeout) {
1660 return fmt.Errorf("Timeout this(%v) Not Equal that(%v)", this.Timeout, that1.Timeout)
1661 }
1662 return nil
1663 }
1664 func (this *Call_GetMetrics) Equal(that interface{}) bool {
1665 if that == nil {
1666 if this == nil {
1667 return true
1668 }
1669 return false
1670 }
1671
1672 that1, ok := that.(*Call_GetMetrics)
1673 if !ok {
1674 that2, ok := that.(Call_GetMetrics)
1675 if ok {
1676 that1 = &that2
1677 } else {
1678 return false
1679 }
1680 }
1681 if that1 == nil {
1682 if this == nil {
1683 return true
1684 }
1685 return false
1686 } else if this == nil {
1687 return false
1688 }
1689 if !this.Timeout.Equal(that1.Timeout) {
1690 return false
1691 }
1692 return true
1693 }
1694 func (this *Call_SetLoggingLevel) VerboseEqual(that interface{}) error {
1695 if that == nil {
1696 if this == nil {
1697 return nil
1698 }
1699 return fmt.Errorf("that == nil && this != nil")
1700 }
1701
1702 that1, ok := that.(*Call_SetLoggingLevel)
1703 if !ok {
1704 that2, ok := that.(Call_SetLoggingLevel)
1705 if ok {
1706 that1 = &that2
1707 } else {
1708 return fmt.Errorf("that is not of type *Call_SetLoggingLevel")
1709 }
1710 }
1711 if that1 == nil {
1712 if this == nil {
1713 return nil
1714 }
1715 return fmt.Errorf("that is type *Call_SetLoggingLevel but is nil && this != nil")
1716 } else if this == nil {
1717 return fmt.Errorf("that is type *Call_SetLoggingLevel but is not nil && this == nil")
1718 }
1719 if this.Level != that1.Level {
1720 return fmt.Errorf("Level this(%v) Not Equal that(%v)", this.Level, that1.Level)
1721 }
1722 if !this.Duration.Equal(&that1.Duration) {
1723 return fmt.Errorf("Duration this(%v) Not Equal that(%v)", this.Duration, that1.Duration)
1724 }
1725 return nil
1726 }
1727 func (this *Call_SetLoggingLevel) Equal(that interface{}) bool {
1728 if that == nil {
1729 if this == nil {
1730 return true
1731 }
1732 return false
1733 }
1734
1735 that1, ok := that.(*Call_SetLoggingLevel)
1736 if !ok {
1737 that2, ok := that.(Call_SetLoggingLevel)
1738 if ok {
1739 that1 = &that2
1740 } else {
1741 return false
1742 }
1743 }
1744 if that1 == nil {
1745 if this == nil {
1746 return true
1747 }
1748 return false
1749 } else if this == nil {
1750 return false
1751 }
1752 if this.Level != that1.Level {
1753 return false
1754 }
1755 if !this.Duration.Equal(&that1.Duration) {
1756 return false
1757 }
1758 return true
1759 }
1760 func (this *Call_ListFiles) VerboseEqual(that interface{}) error {
1761 if that == nil {
1762 if this == nil {
1763 return nil
1764 }
1765 return fmt.Errorf("that == nil && this != nil")
1766 }
1767
1768 that1, ok := that.(*Call_ListFiles)
1769 if !ok {
1770 that2, ok := that.(Call_ListFiles)
1771 if ok {
1772 that1 = &that2
1773 } else {
1774 return fmt.Errorf("that is not of type *Call_ListFiles")
1775 }
1776 }
1777 if that1 == nil {
1778 if this == nil {
1779 return nil
1780 }
1781 return fmt.Errorf("that is type *Call_ListFiles but is nil && this != nil")
1782 } else if this == nil {
1783 return fmt.Errorf("that is type *Call_ListFiles but is not nil && this == nil")
1784 }
1785 if this.Path != that1.Path {
1786 return fmt.Errorf("Path this(%v) Not Equal that(%v)", this.Path, that1.Path)
1787 }
1788 return nil
1789 }
1790 func (this *Call_ListFiles) Equal(that interface{}) bool {
1791 if that == nil {
1792 if this == nil {
1793 return true
1794 }
1795 return false
1796 }
1797
1798 that1, ok := that.(*Call_ListFiles)
1799 if !ok {
1800 that2, ok := that.(Call_ListFiles)
1801 if ok {
1802 that1 = &that2
1803 } else {
1804 return false
1805 }
1806 }
1807 if that1 == nil {
1808 if this == nil {
1809 return true
1810 }
1811 return false
1812 } else if this == nil {
1813 return false
1814 }
1815 if this.Path != that1.Path {
1816 return false
1817 }
1818 return true
1819 }
1820 func (this *Call_ReadFile) VerboseEqual(that interface{}) error {
1821 if that == nil {
1822 if this == nil {
1823 return nil
1824 }
1825 return fmt.Errorf("that == nil && this != nil")
1826 }
1827
1828 that1, ok := that.(*Call_ReadFile)
1829 if !ok {
1830 that2, ok := that.(Call_ReadFile)
1831 if ok {
1832 that1 = &that2
1833 } else {
1834 return fmt.Errorf("that is not of type *Call_ReadFile")
1835 }
1836 }
1837 if that1 == nil {
1838 if this == nil {
1839 return nil
1840 }
1841 return fmt.Errorf("that is type *Call_ReadFile but is nil && this != nil")
1842 } else if this == nil {
1843 return fmt.Errorf("that is type *Call_ReadFile but is not nil && this == nil")
1844 }
1845 if this.Path != that1.Path {
1846 return fmt.Errorf("Path this(%v) Not Equal that(%v)", this.Path, that1.Path)
1847 }
1848 if this.Offset != that1.Offset {
1849 return fmt.Errorf("Offset this(%v) Not Equal that(%v)", this.Offset, that1.Offset)
1850 }
1851 if this.Length != nil && that1.Length != nil {
1852 if *this.Length != *that1.Length {
1853 return fmt.Errorf("Length this(%v) Not Equal that(%v)", *this.Length, *that1.Length)
1854 }
1855 } else if this.Length != nil {
1856 return fmt.Errorf("this.Length == nil && that.Length != nil")
1857 } else if that1.Length != nil {
1858 return fmt.Errorf("Length this(%v) Not Equal that(%v)", this.Length, that1.Length)
1859 }
1860 return nil
1861 }
1862 func (this *Call_ReadFile) Equal(that interface{}) bool {
1863 if that == nil {
1864 if this == nil {
1865 return true
1866 }
1867 return false
1868 }
1869
1870 that1, ok := that.(*Call_ReadFile)
1871 if !ok {
1872 that2, ok := that.(Call_ReadFile)
1873 if ok {
1874 that1 = &that2
1875 } else {
1876 return false
1877 }
1878 }
1879 if that1 == nil {
1880 if this == nil {
1881 return true
1882 }
1883 return false
1884 } else if this == nil {
1885 return false
1886 }
1887 if this.Path != that1.Path {
1888 return false
1889 }
1890 if this.Offset != that1.Offset {
1891 return false
1892 }
1893 if this.Length != nil && that1.Length != nil {
1894 if *this.Length != *that1.Length {
1895 return false
1896 }
1897 } else if this.Length != nil {
1898 return false
1899 } else if that1.Length != nil {
1900 return false
1901 }
1902 return true
1903 }
1904 func (this *Call_LaunchNestedContainer) VerboseEqual(that interface{}) error {
1905 if that == nil {
1906 if this == nil {
1907 return nil
1908 }
1909 return fmt.Errorf("that == nil && this != nil")
1910 }
1911
1912 that1, ok := that.(*Call_LaunchNestedContainer)
1913 if !ok {
1914 that2, ok := that.(Call_LaunchNestedContainer)
1915 if ok {
1916 that1 = &that2
1917 } else {
1918 return fmt.Errorf("that is not of type *Call_LaunchNestedContainer")
1919 }
1920 }
1921 if that1 == nil {
1922 if this == nil {
1923 return nil
1924 }
1925 return fmt.Errorf("that is type *Call_LaunchNestedContainer but is nil && this != nil")
1926 } else if this == nil {
1927 return fmt.Errorf("that is type *Call_LaunchNestedContainer but is not nil && this == nil")
1928 }
1929 if !this.ContainerID.Equal(&that1.ContainerID) {
1930 return fmt.Errorf("ContainerID this(%v) Not Equal that(%v)", this.ContainerID, that1.ContainerID)
1931 }
1932 if !this.Command.Equal(that1.Command) {
1933 return fmt.Errorf("Command this(%v) Not Equal that(%v)", this.Command, that1.Command)
1934 }
1935 if !this.Container.Equal(that1.Container) {
1936 return fmt.Errorf("Container this(%v) Not Equal that(%v)", this.Container, that1.Container)
1937 }
1938 return nil
1939 }
1940 func (this *Call_LaunchNestedContainer) Equal(that interface{}) bool {
1941 if that == nil {
1942 if this == nil {
1943 return true
1944 }
1945 return false
1946 }
1947
1948 that1, ok := that.(*Call_LaunchNestedContainer)
1949 if !ok {
1950 that2, ok := that.(Call_LaunchNestedContainer)
1951 if ok {
1952 that1 = &that2
1953 } else {
1954 return false
1955 }
1956 }
1957 if that1 == nil {
1958 if this == nil {
1959 return true
1960 }
1961 return false
1962 } else if this == nil {
1963 return false
1964 }
1965 if !this.ContainerID.Equal(&that1.ContainerID) {
1966 return false
1967 }
1968 if !this.Command.Equal(that1.Command) {
1969 return false
1970 }
1971 if !this.Container.Equal(that1.Container) {
1972 return false
1973 }
1974 return true
1975 }
1976 func (this *Call_WaitNestedContainer) VerboseEqual(that interface{}) error {
1977 if that == nil {
1978 if this == nil {
1979 return nil
1980 }
1981 return fmt.Errorf("that == nil && this != nil")
1982 }
1983
1984 that1, ok := that.(*Call_WaitNestedContainer)
1985 if !ok {
1986 that2, ok := that.(Call_WaitNestedContainer)
1987 if ok {
1988 that1 = &that2
1989 } else {
1990 return fmt.Errorf("that is not of type *Call_WaitNestedContainer")
1991 }
1992 }
1993 if that1 == nil {
1994 if this == nil {
1995 return nil
1996 }
1997 return fmt.Errorf("that is type *Call_WaitNestedContainer but is nil && this != nil")
1998 } else if this == nil {
1999 return fmt.Errorf("that is type *Call_WaitNestedContainer but is not nil && this == nil")
2000 }
2001 if !this.ContainerID.Equal(&that1.ContainerID) {
2002 return fmt.Errorf("ContainerID this(%v) Not Equal that(%v)", this.ContainerID, that1.ContainerID)
2003 }
2004 return nil
2005 }
2006 func (this *Call_WaitNestedContainer) Equal(that interface{}) bool {
2007 if that == nil {
2008 if this == nil {
2009 return true
2010 }
2011 return false
2012 }
2013
2014 that1, ok := that.(*Call_WaitNestedContainer)
2015 if !ok {
2016 that2, ok := that.(Call_WaitNestedContainer)
2017 if ok {
2018 that1 = &that2
2019 } else {
2020 return false
2021 }
2022 }
2023 if that1 == nil {
2024 if this == nil {
2025 return true
2026 }
2027 return false
2028 } else if this == nil {
2029 return false
2030 }
2031 if !this.ContainerID.Equal(&that1.ContainerID) {
2032 return false
2033 }
2034 return true
2035 }
2036 func (this *Call_KillNestedContainer) VerboseEqual(that interface{}) error {
2037 if that == nil {
2038 if this == nil {
2039 return nil
2040 }
2041 return fmt.Errorf("that == nil && this != nil")
2042 }
2043
2044 that1, ok := that.(*Call_KillNestedContainer)
2045 if !ok {
2046 that2, ok := that.(Call_KillNestedContainer)
2047 if ok {
2048 that1 = &that2
2049 } else {
2050 return fmt.Errorf("that is not of type *Call_KillNestedContainer")
2051 }
2052 }
2053 if that1 == nil {
2054 if this == nil {
2055 return nil
2056 }
2057 return fmt.Errorf("that is type *Call_KillNestedContainer but is nil && this != nil")
2058 } else if this == nil {
2059 return fmt.Errorf("that is type *Call_KillNestedContainer but is not nil && this == nil")
2060 }
2061 if !this.ContainerID.Equal(&that1.ContainerID) {
2062 return fmt.Errorf("ContainerID this(%v) Not Equal that(%v)", this.ContainerID, that1.ContainerID)
2063 }
2064 if this.Signal != nil && that1.Signal != nil {
2065 if *this.Signal != *that1.Signal {
2066 return fmt.Errorf("Signal this(%v) Not Equal that(%v)", *this.Signal, *that1.Signal)
2067 }
2068 } else if this.Signal != nil {
2069 return fmt.Errorf("this.Signal == nil && that.Signal != nil")
2070 } else if that1.Signal != nil {
2071 return fmt.Errorf("Signal this(%v) Not Equal that(%v)", this.Signal, that1.Signal)
2072 }
2073 return nil
2074 }
2075 func (this *Call_KillNestedContainer) Equal(that interface{}) bool {
2076 if that == nil {
2077 if this == nil {
2078 return true
2079 }
2080 return false
2081 }
2082
2083 that1, ok := that.(*Call_KillNestedContainer)
2084 if !ok {
2085 that2, ok := that.(Call_KillNestedContainer)
2086 if ok {
2087 that1 = &that2
2088 } else {
2089 return false
2090 }
2091 }
2092 if that1 == nil {
2093 if this == nil {
2094 return true
2095 }
2096 return false
2097 } else if this == nil {
2098 return false
2099 }
2100 if !this.ContainerID.Equal(&that1.ContainerID) {
2101 return false
2102 }
2103 if this.Signal != nil && that1.Signal != nil {
2104 if *this.Signal != *that1.Signal {
2105 return false
2106 }
2107 } else if this.Signal != nil {
2108 return false
2109 } else if that1.Signal != nil {
2110 return false
2111 }
2112 return true
2113 }
2114 func (this *Call_RemoveNestedContainer) VerboseEqual(that interface{}) error {
2115 if that == nil {
2116 if this == nil {
2117 return nil
2118 }
2119 return fmt.Errorf("that == nil && this != nil")
2120 }
2121
2122 that1, ok := that.(*Call_RemoveNestedContainer)
2123 if !ok {
2124 that2, ok := that.(Call_RemoveNestedContainer)
2125 if ok {
2126 that1 = &that2
2127 } else {
2128 return fmt.Errorf("that is not of type *Call_RemoveNestedContainer")
2129 }
2130 }
2131 if that1 == nil {
2132 if this == nil {
2133 return nil
2134 }
2135 return fmt.Errorf("that is type *Call_RemoveNestedContainer but is nil && this != nil")
2136 } else if this == nil {
2137 return fmt.Errorf("that is type *Call_RemoveNestedContainer but is not nil && this == nil")
2138 }
2139 if !this.ContainerID.Equal(&that1.ContainerID) {
2140 return fmt.Errorf("ContainerID this(%v) Not Equal that(%v)", this.ContainerID, that1.ContainerID)
2141 }
2142 return nil
2143 }
2144 func (this *Call_RemoveNestedContainer) Equal(that interface{}) bool {
2145 if that == nil {
2146 if this == nil {
2147 return true
2148 }
2149 return false
2150 }
2151
2152 that1, ok := that.(*Call_RemoveNestedContainer)
2153 if !ok {
2154 that2, ok := that.(Call_RemoveNestedContainer)
2155 if ok {
2156 that1 = &that2
2157 } else {
2158 return false
2159 }
2160 }
2161 if that1 == nil {
2162 if this == nil {
2163 return true
2164 }
2165 return false
2166 } else if this == nil {
2167 return false
2168 }
2169 if !this.ContainerID.Equal(&that1.ContainerID) {
2170 return false
2171 }
2172 return true
2173 }
2174 func (this *Call_LaunchNestedContainerSession) VerboseEqual(that interface{}) error {
2175 if that == nil {
2176 if this == nil {
2177 return nil
2178 }
2179 return fmt.Errorf("that == nil && this != nil")
2180 }
2181
2182 that1, ok := that.(*Call_LaunchNestedContainerSession)
2183 if !ok {
2184 that2, ok := that.(Call_LaunchNestedContainerSession)
2185 if ok {
2186 that1 = &that2
2187 } else {
2188 return fmt.Errorf("that is not of type *Call_LaunchNestedContainerSession")
2189 }
2190 }
2191 if that1 == nil {
2192 if this == nil {
2193 return nil
2194 }
2195 return fmt.Errorf("that is type *Call_LaunchNestedContainerSession but is nil && this != nil")
2196 } else if this == nil {
2197 return fmt.Errorf("that is type *Call_LaunchNestedContainerSession but is not nil && this == nil")
2198 }
2199 if !this.ContainerID.Equal(&that1.ContainerID) {
2200 return fmt.Errorf("ContainerID this(%v) Not Equal that(%v)", this.ContainerID, that1.ContainerID)
2201 }
2202 if !this.Command.Equal(that1.Command) {
2203 return fmt.Errorf("Command this(%v) Not Equal that(%v)", this.Command, that1.Command)
2204 }
2205 if !this.Container.Equal(that1.Container) {
2206 return fmt.Errorf("Container this(%v) Not Equal that(%v)", this.Container, that1.Container)
2207 }
2208 return nil
2209 }
2210 func (this *Call_LaunchNestedContainerSession) Equal(that interface{}) bool {
2211 if that == nil {
2212 if this == nil {
2213 return true
2214 }
2215 return false
2216 }
2217
2218 that1, ok := that.(*Call_LaunchNestedContainerSession)
2219 if !ok {
2220 that2, ok := that.(Call_LaunchNestedContainerSession)
2221 if ok {
2222 that1 = &that2
2223 } else {
2224 return false
2225 }
2226 }
2227 if that1 == nil {
2228 if this == nil {
2229 return true
2230 }
2231 return false
2232 } else if this == nil {
2233 return false
2234 }
2235 if !this.ContainerID.Equal(&that1.ContainerID) {
2236 return false
2237 }
2238 if !this.Command.Equal(that1.Command) {
2239 return false
2240 }
2241 if !this.Container.Equal(that1.Container) {
2242 return false
2243 }
2244 return true
2245 }
2246 func (this *Call_AttachContainerInput) VerboseEqual(that interface{}) error {
2247 if that == nil {
2248 if this == nil {
2249 return nil
2250 }
2251 return fmt.Errorf("that == nil && this != nil")
2252 }
2253
2254 that1, ok := that.(*Call_AttachContainerInput)
2255 if !ok {
2256 that2, ok := that.(Call_AttachContainerInput)
2257 if ok {
2258 that1 = &that2
2259 } else {
2260 return fmt.Errorf("that is not of type *Call_AttachContainerInput")
2261 }
2262 }
2263 if that1 == nil {
2264 if this == nil {
2265 return nil
2266 }
2267 return fmt.Errorf("that is type *Call_AttachContainerInput but is nil && this != nil")
2268 } else if this == nil {
2269 return fmt.Errorf("that is type *Call_AttachContainerInput but is not nil && this == nil")
2270 }
2271 if this.Type != that1.Type {
2272 return fmt.Errorf("Type this(%v) Not Equal that(%v)", this.Type, that1.Type)
2273 }
2274 if !this.ContainerID.Equal(that1.ContainerID) {
2275 return fmt.Errorf("ContainerID this(%v) Not Equal that(%v)", this.ContainerID, that1.ContainerID)
2276 }
2277 if !this.ProcessIO.Equal(that1.ProcessIO) {
2278 return fmt.Errorf("ProcessIO this(%v) Not Equal that(%v)", this.ProcessIO, that1.ProcessIO)
2279 }
2280 return nil
2281 }
2282 func (this *Call_AttachContainerInput) Equal(that interface{}) bool {
2283 if that == nil {
2284 if this == nil {
2285 return true
2286 }
2287 return false
2288 }
2289
2290 that1, ok := that.(*Call_AttachContainerInput)
2291 if !ok {
2292 that2, ok := that.(Call_AttachContainerInput)
2293 if ok {
2294 that1 = &that2
2295 } else {
2296 return false
2297 }
2298 }
2299 if that1 == nil {
2300 if this == nil {
2301 return true
2302 }
2303 return false
2304 } else if this == nil {
2305 return false
2306 }
2307 if this.Type != that1.Type {
2308 return false
2309 }
2310 if !this.ContainerID.Equal(that1.ContainerID) {
2311 return false
2312 }
2313 if !this.ProcessIO.Equal(that1.ProcessIO) {
2314 return false
2315 }
2316 return true
2317 }
2318 func (this *Call_AttachContainerOutput) VerboseEqual(that interface{}) error {
2319 if that == nil {
2320 if this == nil {
2321 return nil
2322 }
2323 return fmt.Errorf("that == nil && this != nil")
2324 }
2325
2326 that1, ok := that.(*Call_AttachContainerOutput)
2327 if !ok {
2328 that2, ok := that.(Call_AttachContainerOutput)
2329 if ok {
2330 that1 = &that2
2331 } else {
2332 return fmt.Errorf("that is not of type *Call_AttachContainerOutput")
2333 }
2334 }
2335 if that1 == nil {
2336 if this == nil {
2337 return nil
2338 }
2339 return fmt.Errorf("that is type *Call_AttachContainerOutput but is nil && this != nil")
2340 } else if this == nil {
2341 return fmt.Errorf("that is type *Call_AttachContainerOutput but is not nil && this == nil")
2342 }
2343 if !this.ContainerID.Equal(&that1.ContainerID) {
2344 return fmt.Errorf("ContainerID this(%v) Not Equal that(%v)", this.ContainerID, that1.ContainerID)
2345 }
2346 return nil
2347 }
2348 func (this *Call_AttachContainerOutput) Equal(that interface{}) bool {
2349 if that == nil {
2350 if this == nil {
2351 return true
2352 }
2353 return false
2354 }
2355
2356 that1, ok := that.(*Call_AttachContainerOutput)
2357 if !ok {
2358 that2, ok := that.(Call_AttachContainerOutput)
2359 if ok {
2360 that1 = &that2
2361 } else {
2362 return false
2363 }
2364 }
2365 if that1 == nil {
2366 if this == nil {
2367 return true
2368 }
2369 return false
2370 } else if this == nil {
2371 return false
2372 }
2373 if !this.ContainerID.Equal(&that1.ContainerID) {
2374 return false
2375 }
2376 return true
2377 }
2378 func (this *Response) VerboseEqual(that interface{}) error {
2379 if that == nil {
2380 if this == nil {
2381 return nil
2382 }
2383 return fmt.Errorf("that == nil && this != nil")
2384 }
2385
2386 that1, ok := that.(*Response)
2387 if !ok {
2388 that2, ok := that.(Response)
2389 if ok {
2390 that1 = &that2
2391 } else {
2392 return fmt.Errorf("that is not of type *Response")
2393 }
2394 }
2395 if that1 == nil {
2396 if this == nil {
2397 return nil
2398 }
2399 return fmt.Errorf("that is type *Response but is nil && this != nil")
2400 } else if this == nil {
2401 return fmt.Errorf("that is type *Response but is not nil && this == nil")
2402 }
2403 if this.Type != that1.Type {
2404 return fmt.Errorf("Type this(%v) Not Equal that(%v)", this.Type, that1.Type)
2405 }
2406 if !this.GetHealth.Equal(that1.GetHealth) {
2407 return fmt.Errorf("GetHealth this(%v) Not Equal that(%v)", this.GetHealth, that1.GetHealth)
2408 }
2409 if !this.GetFlags.Equal(that1.GetFlags) {
2410 return fmt.Errorf("GetFlags this(%v) Not Equal that(%v)", this.GetFlags, that1.GetFlags)
2411 }
2412 if !this.GetVersion.Equal(that1.GetVersion) {
2413 return fmt.Errorf("GetVersion this(%v) Not Equal that(%v)", this.GetVersion, that1.GetVersion)
2414 }
2415 if !this.GetMetrics.Equal(that1.GetMetrics) {
2416 return fmt.Errorf("GetMetrics this(%v) Not Equal that(%v)", this.GetMetrics, that1.GetMetrics)
2417 }
2418 if !this.GetLoggingLevel.Equal(that1.GetLoggingLevel) {
2419 return fmt.Errorf("GetLoggingLevel this(%v) Not Equal that(%v)", this.GetLoggingLevel, that1.GetLoggingLevel)
2420 }
2421 if !this.ListFiles.Equal(that1.ListFiles) {
2422 return fmt.Errorf("ListFiles this(%v) Not Equal that(%v)", this.ListFiles, that1.ListFiles)
2423 }
2424 if !this.ReadFile.Equal(that1.ReadFile) {
2425 return fmt.Errorf("ReadFile this(%v) Not Equal that(%v)", this.ReadFile, that1.ReadFile)
2426 }
2427 if !this.GetState.Equal(that1.GetState) {
2428 return fmt.Errorf("GetState this(%v) Not Equal that(%v)", this.GetState, that1.GetState)
2429 }
2430 if !this.GetContainers.Equal(that1.GetContainers) {
2431 return fmt.Errorf("GetContainers this(%v) Not Equal that(%v)", this.GetContainers, that1.GetContainers)
2432 }
2433 if !this.GetFrameworks.Equal(that1.GetFrameworks) {
2434 return fmt.Errorf("GetFrameworks this(%v) Not Equal that(%v)", this.GetFrameworks, that1.GetFrameworks)
2435 }
2436 if !this.GetExecutors.Equal(that1.GetExecutors) {
2437 return fmt.Errorf("GetExecutors this(%v) Not Equal that(%v)", this.GetExecutors, that1.GetExecutors)
2438 }
2439 if !this.GetTasks.Equal(that1.GetTasks) {
2440 return fmt.Errorf("GetTasks this(%v) Not Equal that(%v)", this.GetTasks, that1.GetTasks)
2441 }
2442 if !this.GetAgent.Equal(that1.GetAgent) {
2443 return fmt.Errorf("GetAgent this(%v) Not Equal that(%v)", this.GetAgent, that1.GetAgent)
2444 }
2445 if !this.WaitNestedContainer.Equal(that1.WaitNestedContainer) {
2446 return fmt.Errorf("WaitNestedContainer this(%v) Not Equal that(%v)", this.WaitNestedContainer, that1.WaitNestedContainer)
2447 }
2448 return nil
2449 }
2450 func (this *Response) Equal(that interface{}) bool {
2451 if that == nil {
2452 if this == nil {
2453 return true
2454 }
2455 return false
2456 }
2457
2458 that1, ok := that.(*Response)
2459 if !ok {
2460 that2, ok := that.(Response)
2461 if ok {
2462 that1 = &that2
2463 } else {
2464 return false
2465 }
2466 }
2467 if that1 == nil {
2468 if this == nil {
2469 return true
2470 }
2471 return false
2472 } else if this == nil {
2473 return false
2474 }
2475 if this.Type != that1.Type {
2476 return false
2477 }
2478 if !this.GetHealth.Equal(that1.GetHealth) {
2479 return false
2480 }
2481 if !this.GetFlags.Equal(that1.GetFlags) {
2482 return false
2483 }
2484 if !this.GetVersion.Equal(that1.GetVersion) {
2485 return false
2486 }
2487 if !this.GetMetrics.Equal(that1.GetMetrics) {
2488 return false
2489 }
2490 if !this.GetLoggingLevel.Equal(that1.GetLoggingLevel) {
2491 return false
2492 }
2493 if !this.ListFiles.Equal(that1.ListFiles) {
2494 return false
2495 }
2496 if !this.ReadFile.Equal(that1.ReadFile) {
2497 return false
2498 }
2499 if !this.GetState.Equal(that1.GetState) {
2500 return false
2501 }
2502 if !this.GetContainers.Equal(that1.GetContainers) {
2503 return false
2504 }
2505 if !this.GetFrameworks.Equal(that1.GetFrameworks) {
2506 return false
2507 }
2508 if !this.GetExecutors.Equal(that1.GetExecutors) {
2509 return false
2510 }
2511 if !this.GetTasks.Equal(that1.GetTasks) {
2512 return false
2513 }
2514 if !this.GetAgent.Equal(that1.GetAgent) {
2515 return false
2516 }
2517 if !this.WaitNestedContainer.Equal(that1.WaitNestedContainer) {
2518 return false
2519 }
2520 return true
2521 }
2522 func (this *Response_GetHealth) VerboseEqual(that interface{}) error {
2523 if that == nil {
2524 if this == nil {
2525 return nil
2526 }
2527 return fmt.Errorf("that == nil && this != nil")
2528 }
2529
2530 that1, ok := that.(*Response_GetHealth)
2531 if !ok {
2532 that2, ok := that.(Response_GetHealth)
2533 if ok {
2534 that1 = &that2
2535 } else {
2536 return fmt.Errorf("that is not of type *Response_GetHealth")
2537 }
2538 }
2539 if that1 == nil {
2540 if this == nil {
2541 return nil
2542 }
2543 return fmt.Errorf("that is type *Response_GetHealth but is nil && this != nil")
2544 } else if this == nil {
2545 return fmt.Errorf("that is type *Response_GetHealth but is not nil && this == nil")
2546 }
2547 if this.Healthy != that1.Healthy {
2548 return fmt.Errorf("Healthy this(%v) Not Equal that(%v)", this.Healthy, that1.Healthy)
2549 }
2550 return nil
2551 }
2552 func (this *Response_GetHealth) Equal(that interface{}) bool {
2553 if that == nil {
2554 if this == nil {
2555 return true
2556 }
2557 return false
2558 }
2559
2560 that1, ok := that.(*Response_GetHealth)
2561 if !ok {
2562 that2, ok := that.(Response_GetHealth)
2563 if ok {
2564 that1 = &that2
2565 } else {
2566 return false
2567 }
2568 }
2569 if that1 == nil {
2570 if this == nil {
2571 return true
2572 }
2573 return false
2574 } else if this == nil {
2575 return false
2576 }
2577 if this.Healthy != that1.Healthy {
2578 return false
2579 }
2580 return true
2581 }
2582 func (this *Response_GetFlags) VerboseEqual(that interface{}) error {
2583 if that == nil {
2584 if this == nil {
2585 return nil
2586 }
2587 return fmt.Errorf("that == nil && this != nil")
2588 }
2589
2590 that1, ok := that.(*Response_GetFlags)
2591 if !ok {
2592 that2, ok := that.(Response_GetFlags)
2593 if ok {
2594 that1 = &that2
2595 } else {
2596 return fmt.Errorf("that is not of type *Response_GetFlags")
2597 }
2598 }
2599 if that1 == nil {
2600 if this == nil {
2601 return nil
2602 }
2603 return fmt.Errorf("that is type *Response_GetFlags but is nil && this != nil")
2604 } else if this == nil {
2605 return fmt.Errorf("that is type *Response_GetFlags but is not nil && this == nil")
2606 }
2607 if len(this.Flags) != len(that1.Flags) {
2608 return fmt.Errorf("Flags this(%v) Not Equal that(%v)", len(this.Flags), len(that1.Flags))
2609 }
2610 for i := range this.Flags {
2611 if !this.Flags[i].Equal(&that1.Flags[i]) {
2612 return fmt.Errorf("Flags this[%v](%v) Not Equal that[%v](%v)", i, this.Flags[i], i, that1.Flags[i])
2613 }
2614 }
2615 return nil
2616 }
2617 func (this *Response_GetFlags) Equal(that interface{}) bool {
2618 if that == nil {
2619 if this == nil {
2620 return true
2621 }
2622 return false
2623 }
2624
2625 that1, ok := that.(*Response_GetFlags)
2626 if !ok {
2627 that2, ok := that.(Response_GetFlags)
2628 if ok {
2629 that1 = &that2
2630 } else {
2631 return false
2632 }
2633 }
2634 if that1 == nil {
2635 if this == nil {
2636 return true
2637 }
2638 return false
2639 } else if this == nil {
2640 return false
2641 }
2642 if len(this.Flags) != len(that1.Flags) {
2643 return false
2644 }
2645 for i := range this.Flags {
2646 if !this.Flags[i].Equal(&that1.Flags[i]) {
2647 return false
2648 }
2649 }
2650 return true
2651 }
2652 func (this *Response_GetVersion) VerboseEqual(that interface{}) error {
2653 if that == nil {
2654 if this == nil {
2655 return nil
2656 }
2657 return fmt.Errorf("that == nil && this != nil")
2658 }
2659
2660 that1, ok := that.(*Response_GetVersion)
2661 if !ok {
2662 that2, ok := that.(Response_GetVersion)
2663 if ok {
2664 that1 = &that2
2665 } else {
2666 return fmt.Errorf("that is not of type *Response_GetVersion")
2667 }
2668 }
2669 if that1 == nil {
2670 if this == nil {
2671 return nil
2672 }
2673 return fmt.Errorf("that is type *Response_GetVersion but is nil && this != nil")
2674 } else if this == nil {
2675 return fmt.Errorf("that is type *Response_GetVersion but is not nil && this == nil")
2676 }
2677 if !this.VersionInfo.Equal(&that1.VersionInfo) {
2678 return fmt.Errorf("VersionInfo this(%v) Not Equal that(%v)", this.VersionInfo, that1.VersionInfo)
2679 }
2680 return nil
2681 }
2682 func (this *Response_GetVersion) Equal(that interface{}) bool {
2683 if that == nil {
2684 if this == nil {
2685 return true
2686 }
2687 return false
2688 }
2689
2690 that1, ok := that.(*Response_GetVersion)
2691 if !ok {
2692 that2, ok := that.(Response_GetVersion)
2693 if ok {
2694 that1 = &that2
2695 } else {
2696 return false
2697 }
2698 }
2699 if that1 == nil {
2700 if this == nil {
2701 return true
2702 }
2703 return false
2704 } else if this == nil {
2705 return false
2706 }
2707 if !this.VersionInfo.Equal(&that1.VersionInfo) {
2708 return false
2709 }
2710 return true
2711 }
2712 func (this *Response_GetMetrics) VerboseEqual(that interface{}) error {
2713 if that == nil {
2714 if this == nil {
2715 return nil
2716 }
2717 return fmt.Errorf("that == nil && this != nil")
2718 }
2719
2720 that1, ok := that.(*Response_GetMetrics)
2721 if !ok {
2722 that2, ok := that.(Response_GetMetrics)
2723 if ok {
2724 that1 = &that2
2725 } else {
2726 return fmt.Errorf("that is not of type *Response_GetMetrics")
2727 }
2728 }
2729 if that1 == nil {
2730 if this == nil {
2731 return nil
2732 }
2733 return fmt.Errorf("that is type *Response_GetMetrics but is nil && this != nil")
2734 } else if this == nil {
2735 return fmt.Errorf("that is type *Response_GetMetrics but is not nil && this == nil")
2736 }
2737 if len(this.Metrics) != len(that1.Metrics) {
2738 return fmt.Errorf("Metrics this(%v) Not Equal that(%v)", len(this.Metrics), len(that1.Metrics))
2739 }
2740 for i := range this.Metrics {
2741 if !this.Metrics[i].Equal(&that1.Metrics[i]) {
2742 return fmt.Errorf("Metrics this[%v](%v) Not Equal that[%v](%v)", i, this.Metrics[i], i, that1.Metrics[i])
2743 }
2744 }
2745 return nil
2746 }
2747 func (this *Response_GetMetrics) Equal(that interface{}) bool {
2748 if that == nil {
2749 if this == nil {
2750 return true
2751 }
2752 return false
2753 }
2754
2755 that1, ok := that.(*Response_GetMetrics)
2756 if !ok {
2757 that2, ok := that.(Response_GetMetrics)
2758 if ok {
2759 that1 = &that2
2760 } else {
2761 return false
2762 }
2763 }
2764 if that1 == nil {
2765 if this == nil {
2766 return true
2767 }
2768 return false
2769 } else if this == nil {
2770 return false
2771 }
2772 if len(this.Metrics) != len(that1.Metrics) {
2773 return false
2774 }
2775 for i := range this.Metrics {
2776 if !this.Metrics[i].Equal(&that1.Metrics[i]) {
2777 return false
2778 }
2779 }
2780 return true
2781 }
2782 func (this *Response_GetLoggingLevel) VerboseEqual(that interface{}) error {
2783 if that == nil {
2784 if this == nil {
2785 return nil
2786 }
2787 return fmt.Errorf("that == nil && this != nil")
2788 }
2789
2790 that1, ok := that.(*Response_GetLoggingLevel)
2791 if !ok {
2792 that2, ok := that.(Response_GetLoggingLevel)
2793 if ok {
2794 that1 = &that2
2795 } else {
2796 return fmt.Errorf("that is not of type *Response_GetLoggingLevel")
2797 }
2798 }
2799 if that1 == nil {
2800 if this == nil {
2801 return nil
2802 }
2803 return fmt.Errorf("that is type *Response_GetLoggingLevel but is nil && this != nil")
2804 } else if this == nil {
2805 return fmt.Errorf("that is type *Response_GetLoggingLevel but is not nil && this == nil")
2806 }
2807 if this.Level != that1.Level {
2808 return fmt.Errorf("Level this(%v) Not Equal that(%v)", this.Level, that1.Level)
2809 }
2810 return nil
2811 }
2812 func (this *Response_GetLoggingLevel) Equal(that interface{}) bool {
2813 if that == nil {
2814 if this == nil {
2815 return true
2816 }
2817 return false
2818 }
2819
2820 that1, ok := that.(*Response_GetLoggingLevel)
2821 if !ok {
2822 that2, ok := that.(Response_GetLoggingLevel)
2823 if ok {
2824 that1 = &that2
2825 } else {
2826 return false
2827 }
2828 }
2829 if that1 == nil {
2830 if this == nil {
2831 return true
2832 }
2833 return false
2834 } else if this == nil {
2835 return false
2836 }
2837 if this.Level != that1.Level {
2838 return false
2839 }
2840 return true
2841 }
2842 func (this *Response_ListFiles) VerboseEqual(that interface{}) error {
2843 if that == nil {
2844 if this == nil {
2845 return nil
2846 }
2847 return fmt.Errorf("that == nil && this != nil")
2848 }
2849
2850 that1, ok := that.(*Response_ListFiles)
2851 if !ok {
2852 that2, ok := that.(Response_ListFiles)
2853 if ok {
2854 that1 = &that2
2855 } else {
2856 return fmt.Errorf("that is not of type *Response_ListFiles")
2857 }
2858 }
2859 if that1 == nil {
2860 if this == nil {
2861 return nil
2862 }
2863 return fmt.Errorf("that is type *Response_ListFiles but is nil && this != nil")
2864 } else if this == nil {
2865 return fmt.Errorf("that is type *Response_ListFiles but is not nil && this == nil")
2866 }
2867 if len(this.FileInfos) != len(that1.FileInfos) {
2868 return fmt.Errorf("FileInfos this(%v) Not Equal that(%v)", len(this.FileInfos), len(that1.FileInfos))
2869 }
2870 for i := range this.FileInfos {
2871 if !this.FileInfos[i].Equal(&that1.FileInfos[i]) {
2872 return fmt.Errorf("FileInfos this[%v](%v) Not Equal that[%v](%v)", i, this.FileInfos[i], i, that1.FileInfos[i])
2873 }
2874 }
2875 return nil
2876 }
2877 func (this *Response_ListFiles) Equal(that interface{}) bool {
2878 if that == nil {
2879 if this == nil {
2880 return true
2881 }
2882 return false
2883 }
2884
2885 that1, ok := that.(*Response_ListFiles)
2886 if !ok {
2887 that2, ok := that.(Response_ListFiles)
2888 if ok {
2889 that1 = &that2
2890 } else {
2891 return false
2892 }
2893 }
2894 if that1 == nil {
2895 if this == nil {
2896 return true
2897 }
2898 return false
2899 } else if this == nil {
2900 return false
2901 }
2902 if len(this.FileInfos) != len(that1.FileInfos) {
2903 return false
2904 }
2905 for i := range this.FileInfos {
2906 if !this.FileInfos[i].Equal(&that1.FileInfos[i]) {
2907 return false
2908 }
2909 }
2910 return true
2911 }
2912 func (this *Response_ReadFile) VerboseEqual(that interface{}) error {
2913 if that == nil {
2914 if this == nil {
2915 return nil
2916 }
2917 return fmt.Errorf("that == nil && this != nil")
2918 }
2919
2920 that1, ok := that.(*Response_ReadFile)
2921 if !ok {
2922 that2, ok := that.(Response_ReadFile)
2923 if ok {
2924 that1 = &that2
2925 } else {
2926 return fmt.Errorf("that is not of type *Response_ReadFile")
2927 }
2928 }
2929 if that1 == nil {
2930 if this == nil {
2931 return nil
2932 }
2933 return fmt.Errorf("that is type *Response_ReadFile but is nil && this != nil")
2934 } else if this == nil {
2935 return fmt.Errorf("that is type *Response_ReadFile but is not nil && this == nil")
2936 }
2937 if this.Size != that1.Size {
2938 return fmt.Errorf("Size this(%v) Not Equal that(%v)", this.Size, that1.Size)
2939 }
2940 if !bytes.Equal(this.Data, that1.Data) {
2941 return fmt.Errorf("Data this(%v) Not Equal that(%v)", this.Data, that1.Data)
2942 }
2943 return nil
2944 }
2945 func (this *Response_ReadFile) Equal(that interface{}) bool {
2946 if that == nil {
2947 if this == nil {
2948 return true
2949 }
2950 return false
2951 }
2952
2953 that1, ok := that.(*Response_ReadFile)
2954 if !ok {
2955 that2, ok := that.(Response_ReadFile)
2956 if ok {
2957 that1 = &that2
2958 } else {
2959 return false
2960 }
2961 }
2962 if that1 == nil {
2963 if this == nil {
2964 return true
2965 }
2966 return false
2967 } else if this == nil {
2968 return false
2969 }
2970 if this.Size != that1.Size {
2971 return false
2972 }
2973 if !bytes.Equal(this.Data, that1.Data) {
2974 return false
2975 }
2976 return true
2977 }
2978 func (this *Response_GetState) VerboseEqual(that interface{}) error {
2979 if that == nil {
2980 if this == nil {
2981 return nil
2982 }
2983 return fmt.Errorf("that == nil && this != nil")
2984 }
2985
2986 that1, ok := that.(*Response_GetState)
2987 if !ok {
2988 that2, ok := that.(Response_GetState)
2989 if ok {
2990 that1 = &that2
2991 } else {
2992 return fmt.Errorf("that is not of type *Response_GetState")
2993 }
2994 }
2995 if that1 == nil {
2996 if this == nil {
2997 return nil
2998 }
2999 return fmt.Errorf("that is type *Response_GetState but is nil && this != nil")
3000 } else if this == nil {
3001 return fmt.Errorf("that is type *Response_GetState but is not nil && this == nil")
3002 }
3003 if !this.GetTasks.Equal(that1.GetTasks) {
3004 return fmt.Errorf("GetTasks this(%v) Not Equal that(%v)", this.GetTasks, that1.GetTasks)
3005 }
3006 if !this.GetExecutors.Equal(that1.GetExecutors) {
3007 return fmt.Errorf("GetExecutors this(%v) Not Equal that(%v)", this.GetExecutors, that1.GetExecutors)
3008 }
3009 if !this.GetFrameworks.Equal(that1.GetFrameworks) {
3010 return fmt.Errorf("GetFrameworks this(%v) Not Equal that(%v)", this.GetFrameworks, that1.GetFrameworks)
3011 }
3012 return nil
3013 }
3014 func (this *Response_GetState) Equal(that interface{}) bool {
3015 if that == nil {
3016 if this == nil {
3017 return true
3018 }
3019 return false
3020 }
3021
3022 that1, ok := that.(*Response_GetState)
3023 if !ok {
3024 that2, ok := that.(Response_GetState)
3025 if ok {
3026 that1 = &that2
3027 } else {
3028 return false
3029 }
3030 }
3031 if that1 == nil {
3032 if this == nil {
3033 return true
3034 }
3035 return false
3036 } else if this == nil {
3037 return false
3038 }
3039 if !this.GetTasks.Equal(that1.GetTasks) {
3040 return false
3041 }
3042 if !this.GetExecutors.Equal(that1.GetExecutors) {
3043 return false
3044 }
3045 if !this.GetFrameworks.Equal(that1.GetFrameworks) {
3046 return false
3047 }
3048 return true
3049 }
3050 func (this *Response_GetContainers) VerboseEqual(that interface{}) error {
3051 if that == nil {
3052 if this == nil {
3053 return nil
3054 }
3055 return fmt.Errorf("that == nil && this != nil")
3056 }
3057
3058 that1, ok := that.(*Response_GetContainers)
3059 if !ok {
3060 that2, ok := that.(Response_GetContainers)
3061 if ok {
3062 that1 = &that2
3063 } else {
3064 return fmt.Errorf("that is not of type *Response_GetContainers")
3065 }
3066 }
3067 if that1 == nil {
3068 if this == nil {
3069 return nil
3070 }
3071 return fmt.Errorf("that is type *Response_GetContainers but is nil && this != nil")
3072 } else if this == nil {
3073 return fmt.Errorf("that is type *Response_GetContainers but is not nil && this == nil")
3074 }
3075 if len(this.Containers) != len(that1.Containers) {
3076 return fmt.Errorf("Containers this(%v) Not Equal that(%v)", len(this.Containers), len(that1.Containers))
3077 }
3078 for i := range this.Containers {
3079 if !this.Containers[i].Equal(&that1.Containers[i]) {
3080 return fmt.Errorf("Containers this[%v](%v) Not Equal that[%v](%v)", i, this.Containers[i], i, that1.Containers[i])
3081 }
3082 }
3083 return nil
3084 }
3085 func (this *Response_GetContainers) Equal(that interface{}) bool {
3086 if that == nil {
3087 if this == nil {
3088 return true
3089 }
3090 return false
3091 }
3092
3093 that1, ok := that.(*Response_GetContainers)
3094 if !ok {
3095 that2, ok := that.(Response_GetContainers)
3096 if ok {
3097 that1 = &that2
3098 } else {
3099 return false
3100 }
3101 }
3102 if that1 == nil {
3103 if this == nil {
3104 return true
3105 }
3106 return false
3107 } else if this == nil {
3108 return false
3109 }
3110 if len(this.Containers) != len(that1.Containers) {
3111 return false
3112 }
3113 for i := range this.Containers {
3114 if !this.Containers[i].Equal(&that1.Containers[i]) {
3115 return false
3116 }
3117 }
3118 return true
3119 }
3120 func (this *Response_GetContainers_Container) VerboseEqual(that interface{}) error {
3121 if that == nil {
3122 if this == nil {
3123 return nil
3124 }
3125 return fmt.Errorf("that == nil && this != nil")
3126 }
3127
3128 that1, ok := that.(*Response_GetContainers_Container)
3129 if !ok {
3130 that2, ok := that.(Response_GetContainers_Container)
3131 if ok {
3132 that1 = &that2
3133 } else {
3134 return fmt.Errorf("that is not of type *Response_GetContainers_Container")
3135 }
3136 }
3137 if that1 == nil {
3138 if this == nil {
3139 return nil
3140 }
3141 return fmt.Errorf("that is type *Response_GetContainers_Container but is nil && this != nil")
3142 } else if this == nil {
3143 return fmt.Errorf("that is type *Response_GetContainers_Container but is not nil && this == nil")
3144 }
3145 if !this.FrameworkID.Equal(&that1.FrameworkID) {
3146 return fmt.Errorf("FrameworkID this(%v) Not Equal that(%v)", this.FrameworkID, that1.FrameworkID)
3147 }
3148 if !this.ExecutorID.Equal(&that1.ExecutorID) {
3149 return fmt.Errorf("ExecutorID this(%v) Not Equal that(%v)", this.ExecutorID, that1.ExecutorID)
3150 }
3151 if this.ExecutorName != that1.ExecutorName {
3152 return fmt.Errorf("ExecutorName this(%v) Not Equal that(%v)", this.ExecutorName, that1.ExecutorName)
3153 }
3154 if !this.ContainerID.Equal(&that1.ContainerID) {
3155 return fmt.Errorf("ContainerID this(%v) Not Equal that(%v)", this.ContainerID, that1.ContainerID)
3156 }
3157 if !this.ContainerStatus.Equal(that1.ContainerStatus) {
3158 return fmt.Errorf("ContainerStatus this(%v) Not Equal that(%v)", this.ContainerStatus, that1.ContainerStatus)
3159 }
3160 if !this.ResourceStatistics.Equal(that1.ResourceStatistics) {
3161 return fmt.Errorf("ResourceStatistics this(%v) Not Equal that(%v)", this.ResourceStatistics, that1.ResourceStatistics)
3162 }
3163 return nil
3164 }
3165 func (this *Response_GetContainers_Container) Equal(that interface{}) bool {
3166 if that == nil {
3167 if this == nil {
3168 return true
3169 }
3170 return false
3171 }
3172
3173 that1, ok := that.(*Response_GetContainers_Container)
3174 if !ok {
3175 that2, ok := that.(Response_GetContainers_Container)
3176 if ok {
3177 that1 = &that2
3178 } else {
3179 return false
3180 }
3181 }
3182 if that1 == nil {
3183 if this == nil {
3184 return true
3185 }
3186 return false
3187 } else if this == nil {
3188 return false
3189 }
3190 if !this.FrameworkID.Equal(&that1.FrameworkID) {
3191 return false
3192 }
3193 if !this.ExecutorID.Equal(&that1.ExecutorID) {
3194 return false
3195 }
3196 if this.ExecutorName != that1.ExecutorName {
3197 return false
3198 }
3199 if !this.ContainerID.Equal(&that1.ContainerID) {
3200 return false
3201 }
3202 if !this.ContainerStatus.Equal(that1.ContainerStatus) {
3203 return false
3204 }
3205 if !this.ResourceStatistics.Equal(that1.ResourceStatistics) {
3206 return false
3207 }
3208 return true
3209 }
3210 func (this *Response_GetFrameworks) VerboseEqual(that interface{}) error {
3211 if that == nil {
3212 if this == nil {
3213 return nil
3214 }
3215 return fmt.Errorf("that == nil && this != nil")
3216 }
3217
3218 that1, ok := that.(*Response_GetFrameworks)
3219 if !ok {
3220 that2, ok := that.(Response_GetFrameworks)
3221 if ok {
3222 that1 = &that2
3223 } else {
3224 return fmt.Errorf("that is not of type *Response_GetFrameworks")
3225 }
3226 }
3227 if that1 == nil {
3228 if this == nil {
3229 return nil
3230 }
3231 return fmt.Errorf("that is type *Response_GetFrameworks but is nil && this != nil")
3232 } else if this == nil {
3233 return fmt.Errorf("that is type *Response_GetFrameworks but is not nil && this == nil")
3234 }
3235 if len(this.Frameworks) != len(that1.Frameworks) {
3236 return fmt.Errorf("Frameworks this(%v) Not Equal that(%v)", len(this.Frameworks), len(that1.Frameworks))
3237 }
3238 for i := range this.Frameworks {
3239 if !this.Frameworks[i].Equal(&that1.Frameworks[i]) {
3240 return fmt.Errorf("Frameworks this[%v](%v) Not Equal that[%v](%v)", i, this.Frameworks[i], i, that1.Frameworks[i])
3241 }
3242 }
3243 if len(this.CompletedFrameworks) != len(that1.CompletedFrameworks) {
3244 return fmt.Errorf("CompletedFrameworks this(%v) Not Equal that(%v)", len(this.CompletedFrameworks), len(that1.CompletedFrameworks))
3245 }
3246 for i := range this.CompletedFrameworks {
3247 if !this.CompletedFrameworks[i].Equal(&that1.CompletedFrameworks[i]) {
3248 return fmt.Errorf("CompletedFrameworks this[%v](%v) Not Equal that[%v](%v)", i, this.CompletedFrameworks[i], i, that1.CompletedFrameworks[i])
3249 }
3250 }
3251 return nil
3252 }
3253 func (this *Response_GetFrameworks) Equal(that interface{}) bool {
3254 if that == nil {
3255 if this == nil {
3256 return true
3257 }
3258 return false
3259 }
3260
3261 that1, ok := that.(*Response_GetFrameworks)
3262 if !ok {
3263 that2, ok := that.(Response_GetFrameworks)
3264 if ok {
3265 that1 = &that2
3266 } else {
3267 return false
3268 }
3269 }
3270 if that1 == nil {
3271 if this == nil {
3272 return true
3273 }
3274 return false
3275 } else if this == nil {
3276 return false
3277 }
3278 if len(this.Frameworks) != len(that1.Frameworks) {
3279 return false
3280 }
3281 for i := range this.Frameworks {
3282 if !this.Frameworks[i].Equal(&that1.Frameworks[i]) {
3283 return false
3284 }
3285 }
3286 if len(this.CompletedFrameworks) != len(that1.CompletedFrameworks) {
3287 return false
3288 }
3289 for i := range this.CompletedFrameworks {
3290 if !this.CompletedFrameworks[i].Equal(&that1.CompletedFrameworks[i]) {
3291 return false
3292 }
3293 }
3294 return true
3295 }
3296 func (this *Response_GetFrameworks_Framework) VerboseEqual(that interface{}) error {
3297 if that == nil {
3298 if this == nil {
3299 return nil
3300 }
3301 return fmt.Errorf("that == nil && this != nil")
3302 }
3303
3304 that1, ok := that.(*Response_GetFrameworks_Framework)
3305 if !ok {
3306 that2, ok := that.(Response_GetFrameworks_Framework)
3307 if ok {
3308 that1 = &that2
3309 } else {
3310 return fmt.Errorf("that is not of type *Response_GetFrameworks_Framework")
3311 }
3312 }
3313 if that1 == nil {
3314 if this == nil {
3315 return nil
3316 }
3317 return fmt.Errorf("that is type *Response_GetFrameworks_Framework but is nil && this != nil")
3318 } else if this == nil {
3319 return fmt.Errorf("that is type *Response_GetFrameworks_Framework but is not nil && this == nil")
3320 }
3321 if !this.FrameworkInfo.Equal(&that1.FrameworkInfo) {
3322 return fmt.Errorf("FrameworkInfo this(%v) Not Equal that(%v)", this.FrameworkInfo, that1.FrameworkInfo)
3323 }
3324 return nil
3325 }
3326 func (this *Response_GetFrameworks_Framework) Equal(that interface{}) bool {
3327 if that == nil {
3328 if this == nil {
3329 return true
3330 }
3331 return false
3332 }
3333
3334 that1, ok := that.(*Response_GetFrameworks_Framework)
3335 if !ok {
3336 that2, ok := that.(Response_GetFrameworks_Framework)
3337 if ok {
3338 that1 = &that2
3339 } else {
3340 return false
3341 }
3342 }
3343 if that1 == nil {
3344 if this == nil {
3345 return true
3346 }
3347 return false
3348 } else if this == nil {
3349 return false
3350 }
3351 if !this.FrameworkInfo.Equal(&that1.FrameworkInfo) {
3352 return false
3353 }
3354 return true
3355 }
3356 func (this *Response_GetExecutors) VerboseEqual(that interface{}) error {
3357 if that == nil {
3358 if this == nil {
3359 return nil
3360 }
3361 return fmt.Errorf("that == nil && this != nil")
3362 }
3363
3364 that1, ok := that.(*Response_GetExecutors)
3365 if !ok {
3366 that2, ok := that.(Response_GetExecutors)
3367 if ok {
3368 that1 = &that2
3369 } else {
3370 return fmt.Errorf("that is not of type *Response_GetExecutors")
3371 }
3372 }
3373 if that1 == nil {
3374 if this == nil {
3375 return nil
3376 }
3377 return fmt.Errorf("that is type *Response_GetExecutors but is nil && this != nil")
3378 } else if this == nil {
3379 return fmt.Errorf("that is type *Response_GetExecutors but is not nil && this == nil")
3380 }
3381 if len(this.Executors) != len(that1.Executors) {
3382 return fmt.Errorf("Executors this(%v) Not Equal that(%v)", len(this.Executors), len(that1.Executors))
3383 }
3384 for i := range this.Executors {
3385 if !this.Executors[i].Equal(&that1.Executors[i]) {
3386 return fmt.Errorf("Executors this[%v](%v) Not Equal that[%v](%v)", i, this.Executors[i], i, that1.Executors[i])
3387 }
3388 }
3389 if len(this.CompletedExecutors) != len(that1.CompletedExecutors) {
3390 return fmt.Errorf("CompletedExecutors this(%v) Not Equal that(%v)", len(this.CompletedExecutors), len(that1.CompletedExecutors))
3391 }
3392 for i := range this.CompletedExecutors {
3393 if !this.CompletedExecutors[i].Equal(&that1.CompletedExecutors[i]) {
3394 return fmt.Errorf("CompletedExecutors this[%v](%v) Not Equal that[%v](%v)", i, this.CompletedExecutors[i], i, that1.CompletedExecutors[i])
3395 }
3396 }
3397 return nil
3398 }
3399 func (this *Response_GetExecutors) Equal(that interface{}) bool {
3400 if that == nil {
3401 if this == nil {
3402 return true
3403 }
3404 return false
3405 }
3406
3407 that1, ok := that.(*Response_GetExecutors)
3408 if !ok {
3409 that2, ok := that.(Response_GetExecutors)
3410 if ok {
3411 that1 = &that2
3412 } else {
3413 return false
3414 }
3415 }
3416 if that1 == nil {
3417 if this == nil {
3418 return true
3419 }
3420 return false
3421 } else if this == nil {
3422 return false
3423 }
3424 if len(this.Executors) != len(that1.Executors) {
3425 return false
3426 }
3427 for i := range this.Executors {
3428 if !this.Executors[i].Equal(&that1.Executors[i]) {
3429 return false
3430 }
3431 }
3432 if len(this.CompletedExecutors) != len(that1.CompletedExecutors) {
3433 return false
3434 }
3435 for i := range this.CompletedExecutors {
3436 if !this.CompletedExecutors[i].Equal(&that1.CompletedExecutors[i]) {
3437 return false
3438 }
3439 }
3440 return true
3441 }
3442 func (this *Response_GetExecutors_Executor) VerboseEqual(that interface{}) error {
3443 if that == nil {
3444 if this == nil {
3445 return nil
3446 }
3447 return fmt.Errorf("that == nil && this != nil")
3448 }
3449
3450 that1, ok := that.(*Response_GetExecutors_Executor)
3451 if !ok {
3452 that2, ok := that.(Response_GetExecutors_Executor)
3453 if ok {
3454 that1 = &that2
3455 } else {
3456 return fmt.Errorf("that is not of type *Response_GetExecutors_Executor")
3457 }
3458 }
3459 if that1 == nil {
3460 if this == nil {
3461 return nil
3462 }
3463 return fmt.Errorf("that is type *Response_GetExecutors_Executor but is nil && this != nil")
3464 } else if this == nil {
3465 return fmt.Errorf("that is type *Response_GetExecutors_Executor but is not nil && this == nil")
3466 }
3467 if !this.ExecutorInfo.Equal(&that1.ExecutorInfo) {
3468 return fmt.Errorf("ExecutorInfo this(%v) Not Equal that(%v)", this.ExecutorInfo, that1.ExecutorInfo)
3469 }
3470 return nil
3471 }
3472 func (this *Response_GetExecutors_Executor) Equal(that interface{}) bool {
3473 if that == nil {
3474 if this == nil {
3475 return true
3476 }
3477 return false
3478 }
3479
3480 that1, ok := that.(*Response_GetExecutors_Executor)
3481 if !ok {
3482 that2, ok := that.(Response_GetExecutors_Executor)
3483 if ok {
3484 that1 = &that2
3485 } else {
3486 return false
3487 }
3488 }
3489 if that1 == nil {
3490 if this == nil {
3491 return true
3492 }
3493 return false
3494 } else if this == nil {
3495 return false
3496 }
3497 if !this.ExecutorInfo.Equal(&that1.ExecutorInfo) {
3498 return false
3499 }
3500 return true
3501 }
3502 func (this *Response_GetTasks) VerboseEqual(that interface{}) error {
3503 if that == nil {
3504 if this == nil {
3505 return nil
3506 }
3507 return fmt.Errorf("that == nil && this != nil")
3508 }
3509
3510 that1, ok := that.(*Response_GetTasks)
3511 if !ok {
3512 that2, ok := that.(Response_GetTasks)
3513 if ok {
3514 that1 = &that2
3515 } else {
3516 return fmt.Errorf("that is not of type *Response_GetTasks")
3517 }
3518 }
3519 if that1 == nil {
3520 if this == nil {
3521 return nil
3522 }
3523 return fmt.Errorf("that is type *Response_GetTasks but is nil && this != nil")
3524 } else if this == nil {
3525 return fmt.Errorf("that is type *Response_GetTasks but is not nil && this == nil")
3526 }
3527 if len(this.PendingTasks) != len(that1.PendingTasks) {
3528 return fmt.Errorf("PendingTasks this(%v) Not Equal that(%v)", len(this.PendingTasks), len(that1.PendingTasks))
3529 }
3530 for i := range this.PendingTasks {
3531 if !this.PendingTasks[i].Equal(&that1.PendingTasks[i]) {
3532 return fmt.Errorf("PendingTasks this[%v](%v) Not Equal that[%v](%v)", i, this.PendingTasks[i], i, that1.PendingTasks[i])
3533 }
3534 }
3535 if len(this.QueuedTasks) != len(that1.QueuedTasks) {
3536 return fmt.Errorf("QueuedTasks this(%v) Not Equal that(%v)", len(this.QueuedTasks), len(that1.QueuedTasks))
3537 }
3538 for i := range this.QueuedTasks {
3539 if !this.QueuedTasks[i].Equal(&that1.QueuedTasks[i]) {
3540 return fmt.Errorf("QueuedTasks this[%v](%v) Not Equal that[%v](%v)", i, this.QueuedTasks[i], i, that1.QueuedTasks[i])
3541 }
3542 }
3543 if len(this.LaunchedTasks) != len(that1.LaunchedTasks) {
3544 return fmt.Errorf("LaunchedTasks this(%v) Not Equal that(%v)", len(this.LaunchedTasks), len(that1.LaunchedTasks))
3545 }
3546 for i := range this.LaunchedTasks {
3547 if !this.LaunchedTasks[i].Equal(&that1.LaunchedTasks[i]) {
3548 return fmt.Errorf("LaunchedTasks this[%v](%v) Not Equal that[%v](%v)", i, this.LaunchedTasks[i], i, that1.LaunchedTasks[i])
3549 }
3550 }
3551 if len(this.TerminatedTasks) != len(that1.TerminatedTasks) {
3552 return fmt.Errorf("TerminatedTasks this(%v) Not Equal that(%v)", len(this.TerminatedTasks), len(that1.TerminatedTasks))
3553 }
3554 for i := range this.TerminatedTasks {
3555 if !this.TerminatedTasks[i].Equal(&that1.TerminatedTasks[i]) {
3556 return fmt.Errorf("TerminatedTasks this[%v](%v) Not Equal that[%v](%v)", i, this.TerminatedTasks[i], i, that1.TerminatedTasks[i])
3557 }
3558 }
3559 if len(this.CompletedTasks) != len(that1.CompletedTasks) {
3560 return fmt.Errorf("CompletedTasks this(%v) Not Equal that(%v)", len(this.CompletedTasks), len(that1.CompletedTasks))
3561 }
3562 for i := range this.CompletedTasks {
3563 if !this.CompletedTasks[i].Equal(&that1.CompletedTasks[i]) {
3564 return fmt.Errorf("CompletedTasks this[%v](%v) Not Equal that[%v](%v)", i, this.CompletedTasks[i], i, that1.CompletedTasks[i])
3565 }
3566 }
3567 return nil
3568 }
3569 func (this *Response_GetTasks) Equal(that interface{}) bool {
3570 if that == nil {
3571 if this == nil {
3572 return true
3573 }
3574 return false
3575 }
3576
3577 that1, ok := that.(*Response_GetTasks)
3578 if !ok {
3579 that2, ok := that.(Response_GetTasks)
3580 if ok {
3581 that1 = &that2
3582 } else {
3583 return false
3584 }
3585 }
3586 if that1 == nil {
3587 if this == nil {
3588 return true
3589 }
3590 return false
3591 } else if this == nil {
3592 return false
3593 }
3594 if len(this.PendingTasks) != len(that1.PendingTasks) {
3595 return false
3596 }
3597 for i := range this.PendingTasks {
3598 if !this.PendingTasks[i].Equal(&that1.PendingTasks[i]) {
3599 return false
3600 }
3601 }
3602 if len(this.QueuedTasks) != len(that1.QueuedTasks) {
3603 return false
3604 }
3605 for i := range this.QueuedTasks {
3606 if !this.QueuedTasks[i].Equal(&that1.QueuedTasks[i]) {
3607 return false
3608 }
3609 }
3610 if len(this.LaunchedTasks) != len(that1.LaunchedTasks) {
3611 return false
3612 }
3613 for i := range this.LaunchedTasks {
3614 if !this.LaunchedTasks[i].Equal(&that1.LaunchedTasks[i]) {
3615 return false
3616 }
3617 }
3618 if len(this.TerminatedTasks) != len(that1.TerminatedTasks) {
3619 return false
3620 }
3621 for i := range this.TerminatedTasks {
3622 if !this.TerminatedTasks[i].Equal(&that1.TerminatedTasks[i]) {
3623 return false
3624 }
3625 }
3626 if len(this.CompletedTasks) != len(that1.CompletedTasks) {
3627 return false
3628 }
3629 for i := range this.CompletedTasks {
3630 if !this.CompletedTasks[i].Equal(&that1.CompletedTasks[i]) {
3631 return false
3632 }
3633 }
3634 return true
3635 }
3636 func (this *Response_GetAgent) VerboseEqual(that interface{}) error {
3637 if that == nil {
3638 if this == nil {
3639 return nil
3640 }
3641 return fmt.Errorf("that == nil && this != nil")
3642 }
3643
3644 that1, ok := that.(*Response_GetAgent)
3645 if !ok {
3646 that2, ok := that.(Response_GetAgent)
3647 if ok {
3648 that1 = &that2
3649 } else {
3650 return fmt.Errorf("that is not of type *Response_GetAgent")
3651 }
3652 }
3653 if that1 == nil {
3654 if this == nil {
3655 return nil
3656 }
3657 return fmt.Errorf("that is type *Response_GetAgent but is nil && this != nil")
3658 } else if this == nil {
3659 return fmt.Errorf("that is type *Response_GetAgent but is not nil && this == nil")
3660 }
3661 if !this.AgentInfo.Equal(that1.AgentInfo) {
3662 return fmt.Errorf("AgentInfo this(%v) Not Equal that(%v)", this.AgentInfo, that1.AgentInfo)
3663 }
3664 return nil
3665 }
3666 func (this *Response_GetAgent) Equal(that interface{}) bool {
3667 if that == nil {
3668 if this == nil {
3669 return true
3670 }
3671 return false
3672 }
3673
3674 that1, ok := that.(*Response_GetAgent)
3675 if !ok {
3676 that2, ok := that.(Response_GetAgent)
3677 if ok {
3678 that1 = &that2
3679 } else {
3680 return false
3681 }
3682 }
3683 if that1 == nil {
3684 if this == nil {
3685 return true
3686 }
3687 return false
3688 } else if this == nil {
3689 return false
3690 }
3691 if !this.AgentInfo.Equal(that1.AgentInfo) {
3692 return false
3693 }
3694 return true
3695 }
3696 func (this *Response_WaitNestedContainer) VerboseEqual(that interface{}) error {
3697 if that == nil {
3698 if this == nil {
3699 return nil
3700 }
3701 return fmt.Errorf("that == nil && this != nil")
3702 }
3703
3704 that1, ok := that.(*Response_WaitNestedContainer)
3705 if !ok {
3706 that2, ok := that.(Response_WaitNestedContainer)
3707 if ok {
3708 that1 = &that2
3709 } else {
3710 return fmt.Errorf("that is not of type *Response_WaitNestedContainer")
3711 }
3712 }
3713 if that1 == nil {
3714 if this == nil {
3715 return nil
3716 }
3717 return fmt.Errorf("that is type *Response_WaitNestedContainer but is nil && this != nil")
3718 } else if this == nil {
3719 return fmt.Errorf("that is type *Response_WaitNestedContainer but is not nil && this == nil")
3720 }
3721 if this.ExitStatus != nil && that1.ExitStatus != nil {
3722 if *this.ExitStatus != *that1.ExitStatus {
3723 return fmt.Errorf("ExitStatus this(%v) Not Equal that(%v)", *this.ExitStatus, *that1.ExitStatus)
3724 }
3725 } else if this.ExitStatus != nil {
3726 return fmt.Errorf("this.ExitStatus == nil && that.ExitStatus != nil")
3727 } else if that1.ExitStatus != nil {
3728 return fmt.Errorf("ExitStatus this(%v) Not Equal that(%v)", this.ExitStatus, that1.ExitStatus)
3729 }
3730 return nil
3731 }
3732 func (this *Response_WaitNestedContainer) Equal(that interface{}) bool {
3733 if that == nil {
3734 if this == nil {
3735 return true
3736 }
3737 return false
3738 }
3739
3740 that1, ok := that.(*Response_WaitNestedContainer)
3741 if !ok {
3742 that2, ok := that.(Response_WaitNestedContainer)
3743 if ok {
3744 that1 = &that2
3745 } else {
3746 return false
3747 }
3748 }
3749 if that1 == nil {
3750 if this == nil {
3751 return true
3752 }
3753 return false
3754 } else if this == nil {
3755 return false
3756 }
3757 if this.ExitStatus != nil && that1.ExitStatus != nil {
3758 if *this.ExitStatus != *that1.ExitStatus {
3759 return false
3760 }
3761 } else if this.ExitStatus != nil {
3762 return false
3763 } else if that1.ExitStatus != nil {
3764 return false
3765 }
3766 return true
3767 }
3768 func (this *ProcessIO) VerboseEqual(that interface{}) error {
3769 if that == nil {
3770 if this == nil {
3771 return nil
3772 }
3773 return fmt.Errorf("that == nil && this != nil")
3774 }
3775
3776 that1, ok := that.(*ProcessIO)
3777 if !ok {
3778 that2, ok := that.(ProcessIO)
3779 if ok {
3780 that1 = &that2
3781 } else {
3782 return fmt.Errorf("that is not of type *ProcessIO")
3783 }
3784 }
3785 if that1 == nil {
3786 if this == nil {
3787 return nil
3788 }
3789 return fmt.Errorf("that is type *ProcessIO but is nil && this != nil")
3790 } else if this == nil {
3791 return fmt.Errorf("that is type *ProcessIO but is not nil && this == nil")
3792 }
3793 if this.Type != that1.Type {
3794 return fmt.Errorf("Type this(%v) Not Equal that(%v)", this.Type, that1.Type)
3795 }
3796 if !this.Data.Equal(that1.Data) {
3797 return fmt.Errorf("Data this(%v) Not Equal that(%v)", this.Data, that1.Data)
3798 }
3799 if !this.Control.Equal(that1.Control) {
3800 return fmt.Errorf("Control this(%v) Not Equal that(%v)", this.Control, that1.Control)
3801 }
3802 return nil
3803 }
3804 func (this *ProcessIO) Equal(that interface{}) bool {
3805 if that == nil {
3806 if this == nil {
3807 return true
3808 }
3809 return false
3810 }
3811
3812 that1, ok := that.(*ProcessIO)
3813 if !ok {
3814 that2, ok := that.(ProcessIO)
3815 if ok {
3816 that1 = &that2
3817 } else {
3818 return false
3819 }
3820 }
3821 if that1 == nil {
3822 if this == nil {
3823 return true
3824 }
3825 return false
3826 } else if this == nil {
3827 return false
3828 }
3829 if this.Type != that1.Type {
3830 return false
3831 }
3832 if !this.Data.Equal(that1.Data) {
3833 return false
3834 }
3835 if !this.Control.Equal(that1.Control) {
3836 return false
3837 }
3838 return true
3839 }
3840 func (this *ProcessIO_Data) VerboseEqual(that interface{}) error {
3841 if that == nil {
3842 if this == nil {
3843 return nil
3844 }
3845 return fmt.Errorf("that == nil && this != nil")
3846 }
3847
3848 that1, ok := that.(*ProcessIO_Data)
3849 if !ok {
3850 that2, ok := that.(ProcessIO_Data)
3851 if ok {
3852 that1 = &that2
3853 } else {
3854 return fmt.Errorf("that is not of type *ProcessIO_Data")
3855 }
3856 }
3857 if that1 == nil {
3858 if this == nil {
3859 return nil
3860 }
3861 return fmt.Errorf("that is type *ProcessIO_Data but is nil && this != nil")
3862 } else if this == nil {
3863 return fmt.Errorf("that is type *ProcessIO_Data but is not nil && this == nil")
3864 }
3865 if this.Type != that1.Type {
3866 return fmt.Errorf("Type this(%v) Not Equal that(%v)", this.Type, that1.Type)
3867 }
3868 if !bytes.Equal(this.Data, that1.Data) {
3869 return fmt.Errorf("Data this(%v) Not Equal that(%v)", this.Data, that1.Data)
3870 }
3871 return nil
3872 }
3873 func (this *ProcessIO_Data) Equal(that interface{}) bool {
3874 if that == nil {
3875 if this == nil {
3876 return true
3877 }
3878 return false
3879 }
3880
3881 that1, ok := that.(*ProcessIO_Data)
3882 if !ok {
3883 that2, ok := that.(ProcessIO_Data)
3884 if ok {
3885 that1 = &that2
3886 } else {
3887 return false
3888 }
3889 }
3890 if that1 == nil {
3891 if this == nil {
3892 return true
3893 }
3894 return false
3895 } else if this == nil {
3896 return false
3897 }
3898 if this.Type != that1.Type {
3899 return false
3900 }
3901 if !bytes.Equal(this.Data, that1.Data) {
3902 return false
3903 }
3904 return true
3905 }
3906 func (this *ProcessIO_Control) VerboseEqual(that interface{}) error {
3907 if that == nil {
3908 if this == nil {
3909 return nil
3910 }
3911 return fmt.Errorf("that == nil && this != nil")
3912 }
3913
3914 that1, ok := that.(*ProcessIO_Control)
3915 if !ok {
3916 that2, ok := that.(ProcessIO_Control)
3917 if ok {
3918 that1 = &that2
3919 } else {
3920 return fmt.Errorf("that is not of type *ProcessIO_Control")
3921 }
3922 }
3923 if that1 == nil {
3924 if this == nil {
3925 return nil
3926 }
3927 return fmt.Errorf("that is type *ProcessIO_Control but is nil && this != nil")
3928 } else if this == nil {
3929 return fmt.Errorf("that is type *ProcessIO_Control but is not nil && this == nil")
3930 }
3931 if this.Type != that1.Type {
3932 return fmt.Errorf("Type this(%v) Not Equal that(%v)", this.Type, that1.Type)
3933 }
3934 if !this.TTYInfo.Equal(that1.TTYInfo) {
3935 return fmt.Errorf("TTYInfo this(%v) Not Equal that(%v)", this.TTYInfo, that1.TTYInfo)
3936 }
3937 if !this.Heartbeat.Equal(that1.Heartbeat) {
3938 return fmt.Errorf("Heartbeat this(%v) Not Equal that(%v)", this.Heartbeat, that1.Heartbeat)
3939 }
3940 return nil
3941 }
3942 func (this *ProcessIO_Control) Equal(that interface{}) bool {
3943 if that == nil {
3944 if this == nil {
3945 return true
3946 }
3947 return false
3948 }
3949
3950 that1, ok := that.(*ProcessIO_Control)
3951 if !ok {
3952 that2, ok := that.(ProcessIO_Control)
3953 if ok {
3954 that1 = &that2
3955 } else {
3956 return false
3957 }
3958 }
3959 if that1 == nil {
3960 if this == nil {
3961 return true
3962 }
3963 return false
3964 } else if this == nil {
3965 return false
3966 }
3967 if this.Type != that1.Type {
3968 return false
3969 }
3970 if !this.TTYInfo.Equal(that1.TTYInfo) {
3971 return false
3972 }
3973 if !this.Heartbeat.Equal(that1.Heartbeat) {
3974 return false
3975 }
3976 return true
3977 }
3978 func (this *ProcessIO_Control_Heartbeat) VerboseEqual(that interface{}) error {
3979 if that == nil {
3980 if this == nil {
3981 return nil
3982 }
3983 return fmt.Errorf("that == nil && this != nil")
3984 }
3985
3986 that1, ok := that.(*ProcessIO_Control_Heartbeat)
3987 if !ok {
3988 that2, ok := that.(ProcessIO_Control_Heartbeat)
3989 if ok {
3990 that1 = &that2
3991 } else {
3992 return fmt.Errorf("that is not of type *ProcessIO_Control_Heartbeat")
3993 }
3994 }
3995 if that1 == nil {
3996 if this == nil {
3997 return nil
3998 }
3999 return fmt.Errorf("that is type *ProcessIO_Control_Heartbeat but is nil && this != nil")
4000 } else if this == nil {
4001 return fmt.Errorf("that is type *ProcessIO_Control_Heartbeat but is not nil && this == nil")
4002 }
4003 if !this.Interval.Equal(that1.Interval) {
4004 return fmt.Errorf("Interval this(%v) Not Equal that(%v)", this.Interval, that1.Interval)
4005 }
4006 return nil
4007 }
4008 func (this *ProcessIO_Control_Heartbeat) Equal(that interface{}) bool {
4009 if that == nil {
4010 if this == nil {
4011 return true
4012 }
4013 return false
4014 }
4015
4016 that1, ok := that.(*ProcessIO_Control_Heartbeat)
4017 if !ok {
4018 that2, ok := that.(ProcessIO_Control_Heartbeat)
4019 if ok {
4020 that1 = &that2
4021 } else {
4022 return false
4023 }
4024 }
4025 if that1 == nil {
4026 if this == nil {
4027 return true
4028 }
4029 return false
4030 } else if this == nil {
4031 return false
4032 }
4033 if !this.Interval.Equal(that1.Interval) {
4034 return false
4035 }
4036 return true
4037 }
4038 func (this *Call) GoString() string {
4039 if this == nil {
4040 return "nil"
4041 }
4042 s := make([]string, 0, 16)
4043 s = append(s, "&agent.Call{")
4044 s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n")
4045 if this.GetMetrics != nil {
4046 s = append(s, "GetMetrics: "+fmt.Sprintf("%#v", this.GetMetrics)+",\n")
4047 }
4048 if this.SetLoggingLevel != nil {
4049 s = append(s, "SetLoggingLevel: "+fmt.Sprintf("%#v", this.SetLoggingLevel)+",\n")
4050 }
4051 if this.ListFiles != nil {
4052 s = append(s, "ListFiles: "+fmt.Sprintf("%#v", this.ListFiles)+",\n")
4053 }
4054 if this.ReadFile != nil {
4055 s = append(s, "ReadFile: "+fmt.Sprintf("%#v", this.ReadFile)+",\n")
4056 }
4057 if this.LaunchNestedContainer != nil {
4058 s = append(s, "LaunchNestedContainer: "+fmt.Sprintf("%#v", this.LaunchNestedContainer)+",\n")
4059 }
4060 if this.WaitNestedContainer != nil {
4061 s = append(s, "WaitNestedContainer: "+fmt.Sprintf("%#v", this.WaitNestedContainer)+",\n")
4062 }
4063 if this.KillNestedContainer != nil {
4064 s = append(s, "KillNestedContainer: "+fmt.Sprintf("%#v", this.KillNestedContainer)+",\n")
4065 }
4066 if this.RemoveNestedContainer != nil {
4067 s = append(s, "RemoveNestedContainer: "+fmt.Sprintf("%#v", this.RemoveNestedContainer)+",\n")
4068 }
4069 if this.LaunchNestedContainerSession != nil {
4070 s = append(s, "LaunchNestedContainerSession: "+fmt.Sprintf("%#v", this.LaunchNestedContainerSession)+",\n")
4071 }
4072 if this.AttachContainerInput != nil {
4073 s = append(s, "AttachContainerInput: "+fmt.Sprintf("%#v", this.AttachContainerInput)+",\n")
4074 }
4075 if this.AttachContainerOutput != nil {
4076 s = append(s, "AttachContainerOutput: "+fmt.Sprintf("%#v", this.AttachContainerOutput)+",\n")
4077 }
4078 s = append(s, "}")
4079 return strings.Join(s, "")
4080 }
4081 func (this *Call_GetMetrics) GoString() string {
4082 if this == nil {
4083 return "nil"
4084 }
4085 s := make([]string, 0, 5)
4086 s = append(s, "&agent.Call_GetMetrics{")
4087 if this.Timeout != nil {
4088 s = append(s, "Timeout: "+fmt.Sprintf("%#v", this.Timeout)+",\n")
4089 }
4090 s = append(s, "}")
4091 return strings.Join(s, "")
4092 }
4093 func (this *Call_SetLoggingLevel) GoString() string {
4094 if this == nil {
4095 return "nil"
4096 }
4097 s := make([]string, 0, 6)
4098 s = append(s, "&agent.Call_SetLoggingLevel{")
4099 s = append(s, "Level: "+fmt.Sprintf("%#v", this.Level)+",\n")
4100 s = append(s, "Duration: "+strings.Replace(this.Duration.GoString(), `&`, ``, 1)+",\n")
4101 s = append(s, "}")
4102 return strings.Join(s, "")
4103 }
4104 func (this *Call_ListFiles) GoString() string {
4105 if this == nil {
4106 return "nil"
4107 }
4108 s := make([]string, 0, 5)
4109 s = append(s, "&agent.Call_ListFiles{")
4110 s = append(s, "Path: "+fmt.Sprintf("%#v", this.Path)+",\n")
4111 s = append(s, "}")
4112 return strings.Join(s, "")
4113 }
4114 func (this *Call_ReadFile) GoString() string {
4115 if this == nil {
4116 return "nil"
4117 }
4118 s := make([]string, 0, 7)
4119 s = append(s, "&agent.Call_ReadFile{")
4120 s = append(s, "Path: "+fmt.Sprintf("%#v", this.Path)+",\n")
4121 s = append(s, "Offset: "+fmt.Sprintf("%#v", this.Offset)+",\n")
4122 if this.Length != nil {
4123 s = append(s, "Length: "+valueToGoStringAgent(this.Length, "uint64")+",\n")
4124 }
4125 s = append(s, "}")
4126 return strings.Join(s, "")
4127 }
4128 func (this *Call_LaunchNestedContainer) GoString() string {
4129 if this == nil {
4130 return "nil"
4131 }
4132 s := make([]string, 0, 7)
4133 s = append(s, "&agent.Call_LaunchNestedContainer{")
4134 s = append(s, "ContainerID: "+strings.Replace(this.ContainerID.GoString(), `&`, ``, 1)+",\n")
4135 if this.Command != nil {
4136 s = append(s, "Command: "+fmt.Sprintf("%#v", this.Command)+",\n")
4137 }
4138 if this.Container != nil {
4139 s = append(s, "Container: "+fmt.Sprintf("%#v", this.Container)+",\n")
4140 }
4141 s = append(s, "}")
4142 return strings.Join(s, "")
4143 }
4144 func (this *Call_WaitNestedContainer) GoString() string {
4145 if this == nil {
4146 return "nil"
4147 }
4148 s := make([]string, 0, 5)
4149 s = append(s, "&agent.Call_WaitNestedContainer{")
4150 s = append(s, "ContainerID: "+strings.Replace(this.ContainerID.GoString(), `&`, ``, 1)+",\n")
4151 s = append(s, "}")
4152 return strings.Join(s, "")
4153 }
4154 func (this *Call_KillNestedContainer) GoString() string {
4155 if this == nil {
4156 return "nil"
4157 }
4158 s := make([]string, 0, 6)
4159 s = append(s, "&agent.Call_KillNestedContainer{")
4160 s = append(s, "ContainerID: "+strings.Replace(this.ContainerID.GoString(), `&`, ``, 1)+",\n")
4161 if this.Signal != nil {
4162 s = append(s, "Signal: "+valueToGoStringAgent(this.Signal, "int32")+",\n")
4163 }
4164 s = append(s, "}")
4165 return strings.Join(s, "")
4166 }
4167 func (this *Call_RemoveNestedContainer) GoString() string {
4168 if this == nil {
4169 return "nil"
4170 }
4171 s := make([]string, 0, 5)
4172 s = append(s, "&agent.Call_RemoveNestedContainer{")
4173 s = append(s, "ContainerID: "+strings.Replace(this.ContainerID.GoString(), `&`, ``, 1)+",\n")
4174 s = append(s, "}")
4175 return strings.Join(s, "")
4176 }
4177 func (this *Call_LaunchNestedContainerSession) GoString() string {
4178 if this == nil {
4179 return "nil"
4180 }
4181 s := make([]string, 0, 7)
4182 s = append(s, "&agent.Call_LaunchNestedContainerSession{")
4183 s = append(s, "ContainerID: "+strings.Replace(this.ContainerID.GoString(), `&`, ``, 1)+",\n")
4184 if this.Command != nil {
4185 s = append(s, "Command: "+fmt.Sprintf("%#v", this.Command)+",\n")
4186 }
4187 if this.Container != nil {
4188 s = append(s, "Container: "+fmt.Sprintf("%#v", this.Container)+",\n")
4189 }
4190 s = append(s, "}")
4191 return strings.Join(s, "")
4192 }
4193 func (this *Call_AttachContainerInput) GoString() string {
4194 if this == nil {
4195 return "nil"
4196 }
4197 s := make([]string, 0, 7)
4198 s = append(s, "&agent.Call_AttachContainerInput{")
4199 s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n")
4200 if this.ContainerID != nil {
4201 s = append(s, "ContainerID: "+fmt.Sprintf("%#v", this.ContainerID)+",\n")
4202 }
4203 if this.ProcessIO != nil {
4204 s = append(s, "ProcessIO: "+fmt.Sprintf("%#v", this.ProcessIO)+",\n")
4205 }
4206 s = append(s, "}")
4207 return strings.Join(s, "")
4208 }
4209 func (this *Call_AttachContainerOutput) GoString() string {
4210 if this == nil {
4211 return "nil"
4212 }
4213 s := make([]string, 0, 5)
4214 s = append(s, "&agent.Call_AttachContainerOutput{")
4215 s = append(s, "ContainerID: "+strings.Replace(this.ContainerID.GoString(), `&`, ``, 1)+",\n")
4216 s = append(s, "}")
4217 return strings.Join(s, "")
4218 }
4219 func (this *Response) GoString() string {
4220 if this == nil {
4221 return "nil"
4222 }
4223 s := make([]string, 0, 19)
4224 s = append(s, "&agent.Response{")
4225 s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n")
4226 if this.GetHealth != nil {
4227 s = append(s, "GetHealth: "+fmt.Sprintf("%#v", this.GetHealth)+",\n")
4228 }
4229 if this.GetFlags != nil {
4230 s = append(s, "GetFlags: "+fmt.Sprintf("%#v", this.GetFlags)+",\n")
4231 }
4232 if this.GetVersion != nil {
4233 s = append(s, "GetVersion: "+fmt.Sprintf("%#v", this.GetVersion)+",\n")
4234 }
4235 if this.GetMetrics != nil {
4236 s = append(s, "GetMetrics: "+fmt.Sprintf("%#v", this.GetMetrics)+",\n")
4237 }
4238 if this.GetLoggingLevel != nil {
4239 s = append(s, "GetLoggingLevel: "+fmt.Sprintf("%#v", this.GetLoggingLevel)+",\n")
4240 }
4241 if this.ListFiles != nil {
4242 s = append(s, "ListFiles: "+fmt.Sprintf("%#v", this.ListFiles)+",\n")
4243 }
4244 if this.ReadFile != nil {
4245 s = append(s, "ReadFile: "+fmt.Sprintf("%#v", this.ReadFile)+",\n")
4246 }
4247 if this.GetState != nil {
4248 s = append(s, "GetState: "+fmt.Sprintf("%#v", this.GetState)+",\n")
4249 }
4250 if this.GetContainers != nil {
4251 s = append(s, "GetContainers: "+fmt.Sprintf("%#v", this.GetContainers)+",\n")
4252 }
4253 if this.GetFrameworks != nil {
4254 s = append(s, "GetFrameworks: "+fmt.Sprintf("%#v", this.GetFrameworks)+",\n")
4255 }
4256 if this.GetExecutors != nil {
4257 s = append(s, "GetExecutors: "+fmt.Sprintf("%#v", this.GetExecutors)+",\n")
4258 }
4259 if this.GetTasks != nil {
4260 s = append(s, "GetTasks: "+fmt.Sprintf("%#v", this.GetTasks)+",\n")
4261 }
4262 if this.GetAgent != nil {
4263 s = append(s, "GetAgent: "+fmt.Sprintf("%#v", this.GetAgent)+",\n")
4264 }
4265 if this.WaitNestedContainer != nil {
4266 s = append(s, "WaitNestedContainer: "+fmt.Sprintf("%#v", this.WaitNestedContainer)+",\n")
4267 }
4268 s = append(s, "}")
4269 return strings.Join(s, "")
4270 }
4271 func (this *Response_GetHealth) GoString() string {
4272 if this == nil {
4273 return "nil"
4274 }
4275 s := make([]string, 0, 5)
4276 s = append(s, "&agent.Response_GetHealth{")
4277 s = append(s, "Healthy: "+fmt.Sprintf("%#v", this.Healthy)+",\n")
4278 s = append(s, "}")
4279 return strings.Join(s, "")
4280 }
4281 func (this *Response_GetFlags) GoString() string {
4282 if this == nil {
4283 return "nil"
4284 }
4285 s := make([]string, 0, 5)
4286 s = append(s, "&agent.Response_GetFlags{")
4287 if this.Flags != nil {
4288 s = append(s, "Flags: "+fmt.Sprintf("%#v", this.Flags)+",\n")
4289 }
4290 s = append(s, "}")
4291 return strings.Join(s, "")
4292 }
4293 func (this *Response_GetVersion) GoString() string {
4294 if this == nil {
4295 return "nil"
4296 }
4297 s := make([]string, 0, 5)
4298 s = append(s, "&agent.Response_GetVersion{")
4299 s = append(s, "VersionInfo: "+strings.Replace(this.VersionInfo.GoString(), `&`, ``, 1)+",\n")
4300 s = append(s, "}")
4301 return strings.Join(s, "")
4302 }
4303 func (this *Response_GetMetrics) GoString() string {
4304 if this == nil {
4305 return "nil"
4306 }
4307 s := make([]string, 0, 5)
4308 s = append(s, "&agent.Response_GetMetrics{")
4309 if this.Metrics != nil {
4310 s = append(s, "Metrics: "+fmt.Sprintf("%#v", this.Metrics)+",\n")
4311 }
4312 s = append(s, "}")
4313 return strings.Join(s, "")
4314 }
4315 func (this *Response_GetLoggingLevel) GoString() string {
4316 if this == nil {
4317 return "nil"
4318 }
4319 s := make([]string, 0, 5)
4320 s = append(s, "&agent.Response_GetLoggingLevel{")
4321 s = append(s, "Level: "+fmt.Sprintf("%#v", this.Level)+",\n")
4322 s = append(s, "}")
4323 return strings.Join(s, "")
4324 }
4325 func (this *Response_ListFiles) GoString() string {
4326 if this == nil {
4327 return "nil"
4328 }
4329 s := make([]string, 0, 5)
4330 s = append(s, "&agent.Response_ListFiles{")
4331 if this.FileInfos != nil {
4332 s = append(s, "FileInfos: "+fmt.Sprintf("%#v", this.FileInfos)+",\n")
4333 }
4334 s = append(s, "}")
4335 return strings.Join(s, "")
4336 }
4337 func (this *Response_ReadFile) GoString() string {
4338 if this == nil {
4339 return "nil"
4340 }
4341 s := make([]string, 0, 6)
4342 s = append(s, "&agent.Response_ReadFile{")
4343 s = append(s, "Size: "+fmt.Sprintf("%#v", this.Size)+",\n")
4344 if this.Data != nil {
4345 s = append(s, "Data: "+valueToGoStringAgent(this.Data, "byte")+",\n")
4346 }
4347 s = append(s, "}")
4348 return strings.Join(s, "")
4349 }
4350 func (this *Response_GetState) GoString() string {
4351 if this == nil {
4352 return "nil"
4353 }
4354 s := make([]string, 0, 7)
4355 s = append(s, "&agent.Response_GetState{")
4356 if this.GetTasks != nil {
4357 s = append(s, "GetTasks: "+fmt.Sprintf("%#v", this.GetTasks)+",\n")
4358 }
4359 if this.GetExecutors != nil {
4360 s = append(s, "GetExecutors: "+fmt.Sprintf("%#v", this.GetExecutors)+",\n")
4361 }
4362 if this.GetFrameworks != nil {
4363 s = append(s, "GetFrameworks: "+fmt.Sprintf("%#v", this.GetFrameworks)+",\n")
4364 }
4365 s = append(s, "}")
4366 return strings.Join(s, "")
4367 }
4368 func (this *Response_GetContainers) GoString() string {
4369 if this == nil {
4370 return "nil"
4371 }
4372 s := make([]string, 0, 5)
4373 s = append(s, "&agent.Response_GetContainers{")
4374 if this.Containers != nil {
4375 s = append(s, "Containers: "+fmt.Sprintf("%#v", this.Containers)+",\n")
4376 }
4377 s = append(s, "}")
4378 return strings.Join(s, "")
4379 }
4380 func (this *Response_GetContainers_Container) GoString() string {
4381 if this == nil {
4382 return "nil"
4383 }
4384 s := make([]string, 0, 10)
4385 s = append(s, "&agent.Response_GetContainers_Container{")
4386 s = append(s, "FrameworkID: "+strings.Replace(this.FrameworkID.GoString(), `&`, ``, 1)+",\n")
4387 s = append(s, "ExecutorID: "+strings.Replace(this.ExecutorID.GoString(), `&`, ``, 1)+",\n")
4388 s = append(s, "ExecutorName: "+fmt.Sprintf("%#v", this.ExecutorName)+",\n")
4389 s = append(s, "ContainerID: "+strings.Replace(this.ContainerID.GoString(), `&`, ``, 1)+",\n")
4390 if this.ContainerStatus != nil {
4391 s = append(s, "ContainerStatus: "+fmt.Sprintf("%#v", this.ContainerStatus)+",\n")
4392 }
4393 if this.ResourceStatistics != nil {
4394 s = append(s, "ResourceStatistics: "+fmt.Sprintf("%#v", this.ResourceStatistics)+",\n")
4395 }
4396 s = append(s, "}")
4397 return strings.Join(s, "")
4398 }
4399 func (this *Response_GetFrameworks) GoString() string {
4400 if this == nil {
4401 return "nil"
4402 }
4403 s := make([]string, 0, 6)
4404 s = append(s, "&agent.Response_GetFrameworks{")
4405 if this.Frameworks != nil {
4406 s = append(s, "Frameworks: "+fmt.Sprintf("%#v", this.Frameworks)+",\n")
4407 }
4408 if this.CompletedFrameworks != nil {
4409 s = append(s, "CompletedFrameworks: "+fmt.Sprintf("%#v", this.CompletedFrameworks)+",\n")
4410 }
4411 s = append(s, "}")
4412 return strings.Join(s, "")
4413 }
4414 func (this *Response_GetFrameworks_Framework) GoString() string {
4415 if this == nil {
4416 return "nil"
4417 }
4418 s := make([]string, 0, 5)
4419 s = append(s, "&agent.Response_GetFrameworks_Framework{")
4420 s = append(s, "FrameworkInfo: "+strings.Replace(this.FrameworkInfo.GoString(), `&`, ``, 1)+",\n")
4421 s = append(s, "}")
4422 return strings.Join(s, "")
4423 }
4424 func (this *Response_GetExecutors) GoString() string {
4425 if this == nil {
4426 return "nil"
4427 }
4428 s := make([]string, 0, 6)
4429 s = append(s, "&agent.Response_GetExecutors{")
4430 if this.Executors != nil {
4431 s = append(s, "Executors: "+fmt.Sprintf("%#v", this.Executors)+",\n")
4432 }
4433 if this.CompletedExecutors != nil {
4434 s = append(s, "CompletedExecutors: "+fmt.Sprintf("%#v", this.CompletedExecutors)+",\n")
4435 }
4436 s = append(s, "}")
4437 return strings.Join(s, "")
4438 }
4439 func (this *Response_GetExecutors_Executor) GoString() string {
4440 if this == nil {
4441 return "nil"
4442 }
4443 s := make([]string, 0, 5)
4444 s = append(s, "&agent.Response_GetExecutors_Executor{")
4445 s = append(s, "ExecutorInfo: "+strings.Replace(this.ExecutorInfo.GoString(), `&`, ``, 1)+",\n")
4446 s = append(s, "}")
4447 return strings.Join(s, "")
4448 }
4449 func (this *Response_GetTasks) GoString() string {
4450 if this == nil {
4451 return "nil"
4452 }
4453 s := make([]string, 0, 9)
4454 s = append(s, "&agent.Response_GetTasks{")
4455 if this.PendingTasks != nil {
4456 s = append(s, "PendingTasks: "+fmt.Sprintf("%#v", this.PendingTasks)+",\n")
4457 }
4458 if this.QueuedTasks != nil {
4459 s = append(s, "QueuedTasks: "+fmt.Sprintf("%#v", this.QueuedTasks)+",\n")
4460 }
4461 if this.LaunchedTasks != nil {
4462 s = append(s, "LaunchedTasks: "+fmt.Sprintf("%#v", this.LaunchedTasks)+",\n")
4463 }
4464 if this.TerminatedTasks != nil {
4465 s = append(s, "TerminatedTasks: "+fmt.Sprintf("%#v", this.TerminatedTasks)+",\n")
4466 }
4467 if this.CompletedTasks != nil {
4468 s = append(s, "CompletedTasks: "+fmt.Sprintf("%#v", this.CompletedTasks)+",\n")
4469 }
4470 s = append(s, "}")
4471 return strings.Join(s, "")
4472 }
4473 func (this *Response_GetAgent) GoString() string {
4474 if this == nil {
4475 return "nil"
4476 }
4477 s := make([]string, 0, 5)
4478 s = append(s, "&agent.Response_GetAgent{")
4479 if this.AgentInfo != nil {
4480 s = append(s, "AgentInfo: "+fmt.Sprintf("%#v", this.AgentInfo)+",\n")
4481 }
4482 s = append(s, "}")
4483 return strings.Join(s, "")
4484 }
4485 func (this *Response_WaitNestedContainer) GoString() string {
4486 if this == nil {
4487 return "nil"
4488 }
4489 s := make([]string, 0, 5)
4490 s = append(s, "&agent.Response_WaitNestedContainer{")
4491 if this.ExitStatus != nil {
4492 s = append(s, "ExitStatus: "+valueToGoStringAgent(this.ExitStatus, "int32")+",\n")
4493 }
4494 s = append(s, "}")
4495 return strings.Join(s, "")
4496 }
4497 func (this *ProcessIO) GoString() string {
4498 if this == nil {
4499 return "nil"
4500 }
4501 s := make([]string, 0, 7)
4502 s = append(s, "&agent.ProcessIO{")
4503 s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n")
4504 if this.Data != nil {
4505 s = append(s, "Data: "+fmt.Sprintf("%#v", this.Data)+",\n")
4506 }
4507 if this.Control != nil {
4508 s = append(s, "Control: "+fmt.Sprintf("%#v", this.Control)+",\n")
4509 }
4510 s = append(s, "}")
4511 return strings.Join(s, "")
4512 }
4513 func (this *ProcessIO_Data) GoString() string {
4514 if this == nil {
4515 return "nil"
4516 }
4517 s := make([]string, 0, 6)
4518 s = append(s, "&agent.ProcessIO_Data{")
4519 s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n")
4520 if this.Data != nil {
4521 s = append(s, "Data: "+valueToGoStringAgent(this.Data, "byte")+",\n")
4522 }
4523 s = append(s, "}")
4524 return strings.Join(s, "")
4525 }
4526 func (this *ProcessIO_Control) GoString() string {
4527 if this == nil {
4528 return "nil"
4529 }
4530 s := make([]string, 0, 7)
4531 s = append(s, "&agent.ProcessIO_Control{")
4532 s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n")
4533 if this.TTYInfo != nil {
4534 s = append(s, "TTYInfo: "+fmt.Sprintf("%#v", this.TTYInfo)+",\n")
4535 }
4536 if this.Heartbeat != nil {
4537 s = append(s, "Heartbeat: "+fmt.Sprintf("%#v", this.Heartbeat)+",\n")
4538 }
4539 s = append(s, "}")
4540 return strings.Join(s, "")
4541 }
4542 func (this *ProcessIO_Control_Heartbeat) GoString() string {
4543 if this == nil {
4544 return "nil"
4545 }
4546 s := make([]string, 0, 5)
4547 s = append(s, "&agent.ProcessIO_Control_Heartbeat{")
4548 if this.Interval != nil {
4549 s = append(s, "Interval: "+fmt.Sprintf("%#v", this.Interval)+",\n")
4550 }
4551 s = append(s, "}")
4552 return strings.Join(s, "")
4553 }
4554 func valueToGoStringAgent(v interface{}, typ string) string {
4555 rv := reflect.ValueOf(v)
4556 if rv.IsNil() {
4557 return "nil"
4558 }
4559 pv := reflect.Indirect(rv).Interface()
4560 return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv)
4561 }
4562 func (m *Call) Marshal() (dAtA []byte, err error) {
4563 size := m.ProtoSize()
4564 dAtA = make([]byte, size)
4565 n, err := m.MarshalTo(dAtA)
4566 if err != nil {
4567 return nil, err
4568 }
4569 return dAtA[:n], nil
4570 }
4571
4572 func (m *Call) MarshalTo(dAtA []byte) (int, error) {
4573 var i int
4574 _ = i
4575 var l int
4576 _ = l
4577 dAtA[i] = 0x8
4578 i++
4579 i = encodeVarintAgent(dAtA, i, uint64(m.Type))
4580 if m.GetMetrics != nil {
4581 dAtA[i] = 0x12
4582 i++
4583 i = encodeVarintAgent(dAtA, i, uint64(m.GetMetrics.ProtoSize()))
4584 n1, err := m.GetMetrics.MarshalTo(dAtA[i:])
4585 if err != nil {
4586 return 0, err
4587 }
4588 i += n1
4589 }
4590 if m.SetLoggingLevel != nil {
4591 dAtA[i] = 0x1a
4592 i++
4593 i = encodeVarintAgent(dAtA, i, uint64(m.SetLoggingLevel.ProtoSize()))
4594 n2, err := m.SetLoggingLevel.MarshalTo(dAtA[i:])
4595 if err != nil {
4596 return 0, err
4597 }
4598 i += n2
4599 }
4600 if m.ListFiles != nil {
4601 dAtA[i] = 0x22
4602 i++
4603 i = encodeVarintAgent(dAtA, i, uint64(m.ListFiles.ProtoSize()))
4604 n3, err := m.ListFiles.MarshalTo(dAtA[i:])
4605 if err != nil {
4606 return 0, err
4607 }
4608 i += n3
4609 }
4610 if m.ReadFile != nil {
4611 dAtA[i] = 0x2a
4612 i++
4613 i = encodeVarintAgent(dAtA, i, uint64(m.ReadFile.ProtoSize()))
4614 n4, err := m.ReadFile.MarshalTo(dAtA[i:])
4615 if err != nil {
4616 return 0, err
4617 }
4618 i += n4
4619 }
4620 if m.LaunchNestedContainer != nil {
4621 dAtA[i] = 0x32
4622 i++
4623 i = encodeVarintAgent(dAtA, i, uint64(m.LaunchNestedContainer.ProtoSize()))
4624 n5, err := m.LaunchNestedContainer.MarshalTo(dAtA[i:])
4625 if err != nil {
4626 return 0, err
4627 }
4628 i += n5
4629 }
4630 if m.WaitNestedContainer != nil {
4631 dAtA[i] = 0x3a
4632 i++
4633 i = encodeVarintAgent(dAtA, i, uint64(m.WaitNestedContainer.ProtoSize()))
4634 n6, err := m.WaitNestedContainer.MarshalTo(dAtA[i:])
4635 if err != nil {
4636 return 0, err
4637 }
4638 i += n6
4639 }
4640 if m.KillNestedContainer != nil {
4641 dAtA[i] = 0x42
4642 i++
4643 i = encodeVarintAgent(dAtA, i, uint64(m.KillNestedContainer.ProtoSize()))
4644 n7, err := m.KillNestedContainer.MarshalTo(dAtA[i:])
4645 if err != nil {
4646 return 0, err
4647 }
4648 i += n7
4649 }
4650 if m.LaunchNestedContainerSession != nil {
4651 dAtA[i] = 0x4a
4652 i++
4653 i = encodeVarintAgent(dAtA, i, uint64(m.LaunchNestedContainerSession.ProtoSize()))
4654 n8, err := m.LaunchNestedContainerSession.MarshalTo(dAtA[i:])
4655 if err != nil {
4656 return 0, err
4657 }
4658 i += n8
4659 }
4660 if m.AttachContainerInput != nil {
4661 dAtA[i] = 0x52
4662 i++
4663 i = encodeVarintAgent(dAtA, i, uint64(m.AttachContainerInput.ProtoSize()))
4664 n9, err := m.AttachContainerInput.MarshalTo(dAtA[i:])
4665 if err != nil {
4666 return 0, err
4667 }
4668 i += n9
4669 }
4670 if m.AttachContainerOutput != nil {
4671 dAtA[i] = 0x5a
4672 i++
4673 i = encodeVarintAgent(dAtA, i, uint64(m.AttachContainerOutput.ProtoSize()))
4674 n10, err := m.AttachContainerOutput.MarshalTo(dAtA[i:])
4675 if err != nil {
4676 return 0, err
4677 }
4678 i += n10
4679 }
4680 if m.RemoveNestedContainer != nil {
4681 dAtA[i] = 0x62
4682 i++
4683 i = encodeVarintAgent(dAtA, i, uint64(m.RemoveNestedContainer.ProtoSize()))
4684 n11, err := m.RemoveNestedContainer.MarshalTo(dAtA[i:])
4685 if err != nil {
4686 return 0, err
4687 }
4688 i += n11
4689 }
4690 return i, nil
4691 }
4692
4693 func (m *Call_GetMetrics) Marshal() (dAtA []byte, err error) {
4694 size := m.ProtoSize()
4695 dAtA = make([]byte, size)
4696 n, err := m.MarshalTo(dAtA)
4697 if err != nil {
4698 return nil, err
4699 }
4700 return dAtA[:n], nil
4701 }
4702
4703 func (m *Call_GetMetrics) MarshalTo(dAtA []byte) (int, error) {
4704 var i int
4705 _ = i
4706 var l int
4707 _ = l
4708 if m.Timeout != nil {
4709 dAtA[i] = 0xa
4710 i++
4711 i = encodeVarintAgent(dAtA, i, uint64(m.Timeout.ProtoSize()))
4712 n12, err := m.Timeout.MarshalTo(dAtA[i:])
4713 if err != nil {
4714 return 0, err
4715 }
4716 i += n12
4717 }
4718 return i, nil
4719 }
4720
4721 func (m *Call_SetLoggingLevel) Marshal() (dAtA []byte, err error) {
4722 size := m.ProtoSize()
4723 dAtA = make([]byte, size)
4724 n, err := m.MarshalTo(dAtA)
4725 if err != nil {
4726 return nil, err
4727 }
4728 return dAtA[:n], nil
4729 }
4730
4731 func (m *Call_SetLoggingLevel) MarshalTo(dAtA []byte) (int, error) {
4732 var i int
4733 _ = i
4734 var l int
4735 _ = l
4736 dAtA[i] = 0x8
4737 i++
4738 i = encodeVarintAgent(dAtA, i, uint64(m.Level))
4739 dAtA[i] = 0x12
4740 i++
4741 i = encodeVarintAgent(dAtA, i, uint64(m.Duration.ProtoSize()))
4742 n13, err := m.Duration.MarshalTo(dAtA[i:])
4743 if err != nil {
4744 return 0, err
4745 }
4746 i += n13
4747 return i, nil
4748 }
4749
4750 func (m *Call_ListFiles) Marshal() (dAtA []byte, err error) {
4751 size := m.ProtoSize()
4752 dAtA = make([]byte, size)
4753 n, err := m.MarshalTo(dAtA)
4754 if err != nil {
4755 return nil, err
4756 }
4757 return dAtA[:n], nil
4758 }
4759
4760 func (m *Call_ListFiles) MarshalTo(dAtA []byte) (int, error) {
4761 var i int
4762 _ = i
4763 var l int
4764 _ = l
4765 dAtA[i] = 0xa
4766 i++
4767 i = encodeVarintAgent(dAtA, i, uint64(len(m.Path)))
4768 i += copy(dAtA[i:], m.Path)
4769 return i, nil
4770 }
4771
4772 func (m *Call_ReadFile) Marshal() (dAtA []byte, err error) {
4773 size := m.ProtoSize()
4774 dAtA = make([]byte, size)
4775 n, err := m.MarshalTo(dAtA)
4776 if err != nil {
4777 return nil, err
4778 }
4779 return dAtA[:n], nil
4780 }
4781
4782 func (m *Call_ReadFile) MarshalTo(dAtA []byte) (int, error) {
4783 var i int
4784 _ = i
4785 var l int
4786 _ = l
4787 dAtA[i] = 0xa
4788 i++
4789 i = encodeVarintAgent(dAtA, i, uint64(len(m.Path)))
4790 i += copy(dAtA[i:], m.Path)
4791 dAtA[i] = 0x10
4792 i++
4793 i = encodeVarintAgent(dAtA, i, uint64(m.Offset))
4794 if m.Length != nil {
4795 dAtA[i] = 0x18
4796 i++
4797 i = encodeVarintAgent(dAtA, i, uint64(*m.Length))
4798 }
4799 return i, nil
4800 }
4801
4802 func (m *Call_LaunchNestedContainer) Marshal() (dAtA []byte, err error) {
4803 size := m.ProtoSize()
4804 dAtA = make([]byte, size)
4805 n, err := m.MarshalTo(dAtA)
4806 if err != nil {
4807 return nil, err
4808 }
4809 return dAtA[:n], nil
4810 }
4811
4812 func (m *Call_LaunchNestedContainer) MarshalTo(dAtA []byte) (int, error) {
4813 var i int
4814 _ = i
4815 var l int
4816 _ = l
4817 dAtA[i] = 0xa
4818 i++
4819 i = encodeVarintAgent(dAtA, i, uint64(m.ContainerID.ProtoSize()))
4820 n14, err := m.ContainerID.MarshalTo(dAtA[i:])
4821 if err != nil {
4822 return 0, err
4823 }
4824 i += n14
4825 if m.Command != nil {
4826 dAtA[i] = 0x12
4827 i++
4828 i = encodeVarintAgent(dAtA, i, uint64(m.Command.ProtoSize()))
4829 n15, err := m.Command.MarshalTo(dAtA[i:])
4830 if err != nil {
4831 return 0, err
4832 }
4833 i += n15
4834 }
4835 if m.Container != nil {
4836 dAtA[i] = 0x1a
4837 i++
4838 i = encodeVarintAgent(dAtA, i, uint64(m.Container.ProtoSize()))
4839 n16, err := m.Container.MarshalTo(dAtA[i:])
4840 if err != nil {
4841 return 0, err
4842 }
4843 i += n16
4844 }
4845 return i, nil
4846 }
4847
4848 func (m *Call_WaitNestedContainer) Marshal() (dAtA []byte, err error) {
4849 size := m.ProtoSize()
4850 dAtA = make([]byte, size)
4851 n, err := m.MarshalTo(dAtA)
4852 if err != nil {
4853 return nil, err
4854 }
4855 return dAtA[:n], nil
4856 }
4857
4858 func (m *Call_WaitNestedContainer) MarshalTo(dAtA []byte) (int, error) {
4859 var i int
4860 _ = i
4861 var l int
4862 _ = l
4863 dAtA[i] = 0xa
4864 i++
4865 i = encodeVarintAgent(dAtA, i, uint64(m.ContainerID.ProtoSize()))
4866 n17, err := m.ContainerID.MarshalTo(dAtA[i:])
4867 if err != nil {
4868 return 0, err
4869 }
4870 i += n17
4871 return i, nil
4872 }
4873
4874 func (m *Call_KillNestedContainer) Marshal() (dAtA []byte, err error) {
4875 size := m.ProtoSize()
4876 dAtA = make([]byte, size)
4877 n, err := m.MarshalTo(dAtA)
4878 if err != nil {
4879 return nil, err
4880 }
4881 return dAtA[:n], nil
4882 }
4883
4884 func (m *Call_KillNestedContainer) MarshalTo(dAtA []byte) (int, error) {
4885 var i int
4886 _ = i
4887 var l int
4888 _ = l
4889 dAtA[i] = 0xa
4890 i++
4891 i = encodeVarintAgent(dAtA, i, uint64(m.ContainerID.ProtoSize()))
4892 n18, err := m.ContainerID.MarshalTo(dAtA[i:])
4893 if err != nil {
4894 return 0, err
4895 }
4896 i += n18
4897 if m.Signal != nil {
4898 dAtA[i] = 0x10
4899 i++
4900 i = encodeVarintAgent(dAtA, i, uint64(*m.Signal))
4901 }
4902 return i, nil
4903 }
4904
4905 func (m *Call_RemoveNestedContainer) Marshal() (dAtA []byte, err error) {
4906 size := m.ProtoSize()
4907 dAtA = make([]byte, size)
4908 n, err := m.MarshalTo(dAtA)
4909 if err != nil {
4910 return nil, err
4911 }
4912 return dAtA[:n], nil
4913 }
4914
4915 func (m *Call_RemoveNestedContainer) MarshalTo(dAtA []byte) (int, error) {
4916 var i int
4917 _ = i
4918 var l int
4919 _ = l
4920 dAtA[i] = 0xa
4921 i++
4922 i = encodeVarintAgent(dAtA, i, uint64(m.ContainerID.ProtoSize()))
4923 n19, err := m.ContainerID.MarshalTo(dAtA[i:])
4924 if err != nil {
4925 return 0, err
4926 }
4927 i += n19
4928 return i, nil
4929 }
4930
4931 func (m *Call_LaunchNestedContainerSession) Marshal() (dAtA []byte, err error) {
4932 size := m.ProtoSize()
4933 dAtA = make([]byte, size)
4934 n, err := m.MarshalTo(dAtA)
4935 if err != nil {
4936 return nil, err
4937 }
4938 return dAtA[:n], nil
4939 }
4940
4941 func (m *Call_LaunchNestedContainerSession) MarshalTo(dAtA []byte) (int, error) {
4942 var i int
4943 _ = i
4944 var l int
4945 _ = l
4946 dAtA[i] = 0xa
4947 i++
4948 i = encodeVarintAgent(dAtA, i, uint64(m.ContainerID.ProtoSize()))
4949 n20, err := m.ContainerID.MarshalTo(dAtA[i:])
4950 if err != nil {
4951 return 0, err
4952 }
4953 i += n20
4954 if m.Command != nil {
4955 dAtA[i] = 0x12
4956 i++
4957 i = encodeVarintAgent(dAtA, i, uint64(m.Command.ProtoSize()))
4958 n21, err := m.Command.MarshalTo(dAtA[i:])
4959 if err != nil {
4960 return 0, err
4961 }
4962 i += n21
4963 }
4964 if m.Container != nil {
4965 dAtA[i] = 0x1a
4966 i++
4967 i = encodeVarintAgent(dAtA, i, uint64(m.Container.ProtoSize()))
4968 n22, err := m.Container.MarshalTo(dAtA[i:])
4969 if err != nil {
4970 return 0, err
4971 }
4972 i += n22
4973 }
4974 return i, nil
4975 }
4976
4977 func (m *Call_AttachContainerInput) Marshal() (dAtA []byte, err error) {
4978 size := m.ProtoSize()
4979 dAtA = make([]byte, size)
4980 n, err := m.MarshalTo(dAtA)
4981 if err != nil {
4982 return nil, err
4983 }
4984 return dAtA[:n], nil
4985 }
4986
4987 func (m *Call_AttachContainerInput) MarshalTo(dAtA []byte) (int, error) {
4988 var i int
4989 _ = i
4990 var l int
4991 _ = l
4992 dAtA[i] = 0x8
4993 i++
4994 i = encodeVarintAgent(dAtA, i, uint64(m.Type))
4995 if m.ContainerID != nil {
4996 dAtA[i] = 0x12
4997 i++
4998 i = encodeVarintAgent(dAtA, i, uint64(m.ContainerID.ProtoSize()))
4999 n23, err := m.ContainerID.MarshalTo(dAtA[i:])
5000 if err != nil {
5001 return 0, err
5002 }
5003 i += n23
5004 }
5005 if m.ProcessIO != nil {
5006 dAtA[i] = 0x1a
5007 i++
5008 i = encodeVarintAgent(dAtA, i, uint64(m.ProcessIO.ProtoSize()))
5009 n24, err := m.ProcessIO.MarshalTo(dAtA[i:])
5010 if err != nil {
5011 return 0, err
5012 }
5013 i += n24
5014 }
5015 return i, nil
5016 }
5017
5018 func (m *Call_AttachContainerOutput) Marshal() (dAtA []byte, err error) {
5019 size := m.ProtoSize()
5020 dAtA = make([]byte, size)
5021 n, err := m.MarshalTo(dAtA)
5022 if err != nil {
5023 return nil, err
5024 }
5025 return dAtA[:n], nil
5026 }
5027
5028 func (m *Call_AttachContainerOutput) MarshalTo(dAtA []byte) (int, error) {
5029 var i int
5030 _ = i
5031 var l int
5032 _ = l
5033 dAtA[i] = 0xa
5034 i++
5035 i = encodeVarintAgent(dAtA, i, uint64(m.ContainerID.ProtoSize()))
5036 n25, err := m.ContainerID.MarshalTo(dAtA[i:])
5037 if err != nil {
5038 return 0, err
5039 }
5040 i += n25
5041 return i, nil
5042 }
5043
5044 func (m *Response) Marshal() (dAtA []byte, err error) {
5045 size := m.ProtoSize()
5046 dAtA = make([]byte, size)
5047 n, err := m.MarshalTo(dAtA)
5048 if err != nil {
5049 return nil, err
5050 }
5051 return dAtA[:n], nil
5052 }
5053
5054 func (m *Response) MarshalTo(dAtA []byte) (int, error) {
5055 var i int
5056 _ = i
5057 var l int
5058 _ = l
5059 dAtA[i] = 0x8
5060 i++
5061 i = encodeVarintAgent(dAtA, i, uint64(m.Type))
5062 if m.GetHealth != nil {
5063 dAtA[i] = 0x12
5064 i++
5065 i = encodeVarintAgent(dAtA, i, uint64(m.GetHealth.ProtoSize()))
5066 n26, err := m.GetHealth.MarshalTo(dAtA[i:])
5067 if err != nil {
5068 return 0, err
5069 }
5070 i += n26
5071 }
5072 if m.GetFlags != nil {
5073 dAtA[i] = 0x1a
5074 i++
5075 i = encodeVarintAgent(dAtA, i, uint64(m.GetFlags.ProtoSize()))
5076 n27, err := m.GetFlags.MarshalTo(dAtA[i:])
5077 if err != nil {
5078 return 0, err
5079 }
5080 i += n27
5081 }
5082 if m.GetVersion != nil {
5083 dAtA[i] = 0x22
5084 i++
5085 i = encodeVarintAgent(dAtA, i, uint64(m.GetVersion.ProtoSize()))
5086 n28, err := m.GetVersion.MarshalTo(dAtA[i:])
5087 if err != nil {
5088 return 0, err
5089 }
5090 i += n28
5091 }
5092 if m.GetMetrics != nil {
5093 dAtA[i] = 0x2a
5094 i++
5095 i = encodeVarintAgent(dAtA, i, uint64(m.GetMetrics.ProtoSize()))
5096 n29, err := m.GetMetrics.MarshalTo(dAtA[i:])
5097 if err != nil {
5098 return 0, err
5099 }
5100 i += n29
5101 }
5102 if m.GetLoggingLevel != nil {
5103 dAtA[i] = 0x32
5104 i++
5105 i = encodeVarintAgent(dAtA, i, uint64(m.GetLoggingLevel.ProtoSize()))
5106 n30, err := m.GetLoggingLevel.MarshalTo(dAtA[i:])
5107 if err != nil {
5108 return 0, err
5109 }
5110 i += n30
5111 }
5112 if m.ListFiles != nil {
5113 dAtA[i] = 0x3a
5114 i++
5115 i = encodeVarintAgent(dAtA, i, uint64(m.ListFiles.ProtoSize()))
5116 n31, err := m.ListFiles.MarshalTo(dAtA[i:])
5117 if err != nil {
5118 return 0, err
5119 }
5120 i += n31
5121 }
5122 if m.ReadFile != nil {
5123 dAtA[i] = 0x42
5124 i++
5125 i = encodeVarintAgent(dAtA, i, uint64(m.ReadFile.ProtoSize()))
5126 n32, err := m.ReadFile.MarshalTo(dAtA[i:])
5127 if err != nil {
5128 return 0, err
5129 }
5130 i += n32
5131 }
5132 if m.GetState != nil {
5133 dAtA[i] = 0x4a
5134 i++
5135 i = encodeVarintAgent(dAtA, i, uint64(m.GetState.ProtoSize()))
5136 n33, err := m.GetState.MarshalTo(dAtA[i:])
5137 if err != nil {
5138 return 0, err
5139 }
5140 i += n33
5141 }
5142 if m.GetContainers != nil {
5143 dAtA[i] = 0x52
5144 i++
5145 i = encodeVarintAgent(dAtA, i, uint64(m.GetContainers.ProtoSize()))
5146 n34, err := m.GetContainers.MarshalTo(dAtA[i:])
5147 if err != nil {
5148 return 0, err
5149 }
5150 i += n34
5151 }
5152 if m.GetFrameworks != nil {
5153 dAtA[i] = 0x5a
5154 i++
5155 i = encodeVarintAgent(dAtA, i, uint64(m.GetFrameworks.ProtoSize()))
5156 n35, err := m.GetFrameworks.MarshalTo(dAtA[i:])
5157 if err != nil {
5158 return 0, err
5159 }
5160 i += n35
5161 }
5162 if m.GetExecutors != nil {
5163 dAtA[i] = 0x62
5164 i++
5165 i = encodeVarintAgent(dAtA, i, uint64(m.GetExecutors.ProtoSize()))
5166 n36, err := m.GetExecutors.MarshalTo(dAtA[i:])
5167 if err != nil {
5168 return 0, err
5169 }
5170 i += n36
5171 }
5172 if m.GetTasks != nil {
5173 dAtA[i] = 0x6a
5174 i++
5175 i = encodeVarintAgent(dAtA, i, uint64(m.GetTasks.ProtoSize()))
5176 n37, err := m.GetTasks.MarshalTo(dAtA[i:])
5177 if err != nil {
5178 return 0, err
5179 }
5180 i += n37
5181 }
5182 if m.WaitNestedContainer != nil {
5183 dAtA[i] = 0x72
5184 i++
5185 i = encodeVarintAgent(dAtA, i, uint64(m.WaitNestedContainer.ProtoSize()))
5186 n38, err := m.WaitNestedContainer.MarshalTo(dAtA[i:])
5187 if err != nil {
5188 return 0, err
5189 }
5190 i += n38
5191 }
5192 if m.GetAgent != nil {
5193 dAtA[i] = 0x7a
5194 i++
5195 i = encodeVarintAgent(dAtA, i, uint64(m.GetAgent.ProtoSize()))
5196 n39, err := m.GetAgent.MarshalTo(dAtA[i:])
5197 if err != nil {
5198 return 0, err
5199 }
5200 i += n39
5201 }
5202 return i, nil
5203 }
5204
5205 func (m *Response_GetHealth) Marshal() (dAtA []byte, err error) {
5206 size := m.ProtoSize()
5207 dAtA = make([]byte, size)
5208 n, err := m.MarshalTo(dAtA)
5209 if err != nil {
5210 return nil, err
5211 }
5212 return dAtA[:n], nil
5213 }
5214
5215 func (m *Response_GetHealth) MarshalTo(dAtA []byte) (int, error) {
5216 var i int
5217 _ = i
5218 var l int
5219 _ = l
5220 dAtA[i] = 0x8
5221 i++
5222 if m.Healthy {
5223 dAtA[i] = 1
5224 } else {
5225 dAtA[i] = 0
5226 }
5227 i++
5228 return i, nil
5229 }
5230
5231 func (m *Response_GetFlags) Marshal() (dAtA []byte, err error) {
5232 size := m.ProtoSize()
5233 dAtA = make([]byte, size)
5234 n, err := m.MarshalTo(dAtA)
5235 if err != nil {
5236 return nil, err
5237 }
5238 return dAtA[:n], nil
5239 }
5240
5241 func (m *Response_GetFlags) MarshalTo(dAtA []byte) (int, error) {
5242 var i int
5243 _ = i
5244 var l int
5245 _ = l
5246 if len(m.Flags) > 0 {
5247 for _, msg := range m.Flags {
5248 dAtA[i] = 0xa
5249 i++
5250 i = encodeVarintAgent(dAtA, i, uint64(msg.ProtoSize()))
5251 n, err := msg.MarshalTo(dAtA[i:])
5252 if err != nil {
5253 return 0, err
5254 }
5255 i += n
5256 }
5257 }
5258 return i, nil
5259 }
5260
5261 func (m *Response_GetVersion) Marshal() (dAtA []byte, err error) {
5262 size := m.ProtoSize()
5263 dAtA = make([]byte, size)
5264 n, err := m.MarshalTo(dAtA)
5265 if err != nil {
5266 return nil, err
5267 }
5268 return dAtA[:n], nil
5269 }
5270
5271 func (m *Response_GetVersion) MarshalTo(dAtA []byte) (int, error) {
5272 var i int
5273 _ = i
5274 var l int
5275 _ = l
5276 dAtA[i] = 0xa
5277 i++
5278 i = encodeVarintAgent(dAtA, i, uint64(m.VersionInfo.ProtoSize()))
5279 n40, err := m.VersionInfo.MarshalTo(dAtA[i:])
5280 if err != nil {
5281 return 0, err
5282 }
5283 i += n40
5284 return i, nil
5285 }
5286
5287 func (m *Response_GetMetrics) Marshal() (dAtA []byte, err error) {
5288 size := m.ProtoSize()
5289 dAtA = make([]byte, size)
5290 n, err := m.MarshalTo(dAtA)
5291 if err != nil {
5292 return nil, err
5293 }
5294 return dAtA[:n], nil
5295 }
5296
5297 func (m *Response_GetMetrics) MarshalTo(dAtA []byte) (int, error) {
5298 var i int
5299 _ = i
5300 var l int
5301 _ = l
5302 if len(m.Metrics) > 0 {
5303 for _, msg := range m.Metrics {
5304 dAtA[i] = 0xa
5305 i++
5306 i = encodeVarintAgent(dAtA, i, uint64(msg.ProtoSize()))
5307 n, err := msg.MarshalTo(dAtA[i:])
5308 if err != nil {
5309 return 0, err
5310 }
5311 i += n
5312 }
5313 }
5314 return i, nil
5315 }
5316
5317 func (m *Response_GetLoggingLevel) Marshal() (dAtA []byte, err error) {
5318 size := m.ProtoSize()
5319 dAtA = make([]byte, size)
5320 n, err := m.MarshalTo(dAtA)
5321 if err != nil {
5322 return nil, err
5323 }
5324 return dAtA[:n], nil
5325 }
5326
5327 func (m *Response_GetLoggingLevel) MarshalTo(dAtA []byte) (int, error) {
5328 var i int
5329 _ = i
5330 var l int
5331 _ = l
5332 dAtA[i] = 0x8
5333 i++
5334 i = encodeVarintAgent(dAtA, i, uint64(m.Level))
5335 return i, nil
5336 }
5337
5338 func (m *Response_ListFiles) Marshal() (dAtA []byte, err error) {
5339 size := m.ProtoSize()
5340 dAtA = make([]byte, size)
5341 n, err := m.MarshalTo(dAtA)
5342 if err != nil {
5343 return nil, err
5344 }
5345 return dAtA[:n], nil
5346 }
5347
5348 func (m *Response_ListFiles) MarshalTo(dAtA []byte) (int, error) {
5349 var i int
5350 _ = i
5351 var l int
5352 _ = l
5353 if len(m.FileInfos) > 0 {
5354 for _, msg := range m.FileInfos {
5355 dAtA[i] = 0xa
5356 i++
5357 i = encodeVarintAgent(dAtA, i, uint64(msg.ProtoSize()))
5358 n, err := msg.MarshalTo(dAtA[i:])
5359 if err != nil {
5360 return 0, err
5361 }
5362 i += n
5363 }
5364 }
5365 return i, nil
5366 }
5367
5368 func (m *Response_ReadFile) Marshal() (dAtA []byte, err error) {
5369 size := m.ProtoSize()
5370 dAtA = make([]byte, size)
5371 n, err := m.MarshalTo(dAtA)
5372 if err != nil {
5373 return nil, err
5374 }
5375 return dAtA[:n], nil
5376 }
5377
5378 func (m *Response_ReadFile) MarshalTo(dAtA []byte) (int, error) {
5379 var i int
5380 _ = i
5381 var l int
5382 _ = l
5383 dAtA[i] = 0x8
5384 i++
5385 i = encodeVarintAgent(dAtA, i, uint64(m.Size))
5386 if m.Data == nil {
5387 return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("data")
5388 } else {
5389 dAtA[i] = 0x12
5390 i++
5391 i = encodeVarintAgent(dAtA, i, uint64(len(m.Data)))
5392 i += copy(dAtA[i:], m.Data)
5393 }
5394 return i, nil
5395 }
5396
5397 func (m *Response_GetState) Marshal() (dAtA []byte, err error) {
5398 size := m.ProtoSize()
5399 dAtA = make([]byte, size)
5400 n, err := m.MarshalTo(dAtA)
5401 if err != nil {
5402 return nil, err
5403 }
5404 return dAtA[:n], nil
5405 }
5406
5407 func (m *Response_GetState) MarshalTo(dAtA []byte) (int, error) {
5408 var i int
5409 _ = i
5410 var l int
5411 _ = l
5412 if m.GetTasks != nil {
5413 dAtA[i] = 0xa
5414 i++
5415 i = encodeVarintAgent(dAtA, i, uint64(m.GetTasks.ProtoSize()))
5416 n41, err := m.GetTasks.MarshalTo(dAtA[i:])
5417 if err != nil {
5418 return 0, err
5419 }
5420 i += n41
5421 }
5422 if m.GetExecutors != nil {
5423 dAtA[i] = 0x12
5424 i++
5425 i = encodeVarintAgent(dAtA, i, uint64(m.GetExecutors.ProtoSize()))
5426 n42, err := m.GetExecutors.MarshalTo(dAtA[i:])
5427 if err != nil {
5428 return 0, err
5429 }
5430 i += n42
5431 }
5432 if m.GetFrameworks != nil {
5433 dAtA[i] = 0x1a
5434 i++
5435 i = encodeVarintAgent(dAtA, i, uint64(m.GetFrameworks.ProtoSize()))
5436 n43, err := m.GetFrameworks.MarshalTo(dAtA[i:])
5437 if err != nil {
5438 return 0, err
5439 }
5440 i += n43
5441 }
5442 return i, nil
5443 }
5444
5445 func (m *Response_GetContainers) Marshal() (dAtA []byte, err error) {
5446 size := m.ProtoSize()
5447 dAtA = make([]byte, size)
5448 n, err := m.MarshalTo(dAtA)
5449 if err != nil {
5450 return nil, err
5451 }
5452 return dAtA[:n], nil
5453 }
5454
5455 func (m *Response_GetContainers) MarshalTo(dAtA []byte) (int, error) {
5456 var i int
5457 _ = i
5458 var l int
5459 _ = l
5460 if len(m.Containers) > 0 {
5461 for _, msg := range m.Containers {
5462 dAtA[i] = 0xa
5463 i++
5464 i = encodeVarintAgent(dAtA, i, uint64(msg.ProtoSize()))
5465 n, err := msg.MarshalTo(dAtA[i:])
5466 if err != nil {
5467 return 0, err
5468 }
5469 i += n
5470 }
5471 }
5472 return i, nil
5473 }
5474
5475 func (m *Response_GetContainers_Container) Marshal() (dAtA []byte, err error) {
5476 size := m.ProtoSize()
5477 dAtA = make([]byte, size)
5478 n, err := m.MarshalTo(dAtA)
5479 if err != nil {
5480 return nil, err
5481 }
5482 return dAtA[:n], nil
5483 }
5484
5485 func (m *Response_GetContainers_Container) MarshalTo(dAtA []byte) (int, error) {
5486 var i int
5487 _ = i
5488 var l int
5489 _ = l
5490 dAtA[i] = 0xa
5491 i++
5492 i = encodeVarintAgent(dAtA, i, uint64(m.FrameworkID.ProtoSize()))
5493 n44, err := m.FrameworkID.MarshalTo(dAtA[i:])
5494 if err != nil {
5495 return 0, err
5496 }
5497 i += n44
5498 dAtA[i] = 0x12
5499 i++
5500 i = encodeVarintAgent(dAtA, i, uint64(m.ExecutorID.ProtoSize()))
5501 n45, err := m.ExecutorID.MarshalTo(dAtA[i:])
5502 if err != nil {
5503 return 0, err
5504 }
5505 i += n45
5506 dAtA[i] = 0x1a
5507 i++
5508 i = encodeVarintAgent(dAtA, i, uint64(len(m.ExecutorName)))
5509 i += copy(dAtA[i:], m.ExecutorName)
5510 dAtA[i] = 0x22
5511 i++
5512 i = encodeVarintAgent(dAtA, i, uint64(m.ContainerID.ProtoSize()))
5513 n46, err := m.ContainerID.MarshalTo(dAtA[i:])
5514 if err != nil {
5515 return 0, err
5516 }
5517 i += n46
5518 if m.ContainerStatus != nil {
5519 dAtA[i] = 0x2a
5520 i++
5521 i = encodeVarintAgent(dAtA, i, uint64(m.ContainerStatus.ProtoSize()))
5522 n47, err := m.ContainerStatus.MarshalTo(dAtA[i:])
5523 if err != nil {
5524 return 0, err
5525 }
5526 i += n47
5527 }
5528 if m.ResourceStatistics != nil {
5529 dAtA[i] = 0x32
5530 i++
5531 i = encodeVarintAgent(dAtA, i, uint64(m.ResourceStatistics.ProtoSize()))
5532 n48, err := m.ResourceStatistics.MarshalTo(dAtA[i:])
5533 if err != nil {
5534 return 0, err
5535 }
5536 i += n48
5537 }
5538 return i, nil
5539 }
5540
5541 func (m *Response_GetFrameworks) Marshal() (dAtA []byte, err error) {
5542 size := m.ProtoSize()
5543 dAtA = make([]byte, size)
5544 n, err := m.MarshalTo(dAtA)
5545 if err != nil {
5546 return nil, err
5547 }
5548 return dAtA[:n], nil
5549 }
5550
5551 func (m *Response_GetFrameworks) MarshalTo(dAtA []byte) (int, error) {
5552 var i int
5553 _ = i
5554 var l int
5555 _ = l
5556 if len(m.Frameworks) > 0 {
5557 for _, msg := range m.Frameworks {
5558 dAtA[i] = 0xa
5559 i++
5560 i = encodeVarintAgent(dAtA, i, uint64(msg.ProtoSize()))
5561 n, err := msg.MarshalTo(dAtA[i:])
5562 if err != nil {
5563 return 0, err
5564 }
5565 i += n
5566 }
5567 }
5568 if len(m.CompletedFrameworks) > 0 {
5569 for _, msg := range m.CompletedFrameworks {
5570 dAtA[i] = 0x12
5571 i++
5572 i = encodeVarintAgent(dAtA, i, uint64(msg.ProtoSize()))
5573 n, err := msg.MarshalTo(dAtA[i:])
5574 if err != nil {
5575 return 0, err
5576 }
5577 i += n
5578 }
5579 }
5580 return i, nil
5581 }
5582
5583 func (m *Response_GetFrameworks_Framework) Marshal() (dAtA []byte, err error) {
5584 size := m.ProtoSize()
5585 dAtA = make([]byte, size)
5586 n, err := m.MarshalTo(dAtA)
5587 if err != nil {
5588 return nil, err
5589 }
5590 return dAtA[:n], nil
5591 }
5592
5593 func (m *Response_GetFrameworks_Framework) MarshalTo(dAtA []byte) (int, error) {
5594 var i int
5595 _ = i
5596 var l int
5597 _ = l
5598 dAtA[i] = 0xa
5599 i++
5600 i = encodeVarintAgent(dAtA, i, uint64(m.FrameworkInfo.ProtoSize()))
5601 n49, err := m.FrameworkInfo.MarshalTo(dAtA[i:])
5602 if err != nil {
5603 return 0, err
5604 }
5605 i += n49
5606 return i, nil
5607 }
5608
5609 func (m *Response_GetExecutors) Marshal() (dAtA []byte, err error) {
5610 size := m.ProtoSize()
5611 dAtA = make([]byte, size)
5612 n, err := m.MarshalTo(dAtA)
5613 if err != nil {
5614 return nil, err
5615 }
5616 return dAtA[:n], nil
5617 }
5618
5619 func (m *Response_GetExecutors) MarshalTo(dAtA []byte) (int, error) {
5620 var i int
5621 _ = i
5622 var l int
5623 _ = l
5624 if len(m.Executors) > 0 {
5625 for _, msg := range m.Executors {
5626 dAtA[i] = 0xa
5627 i++
5628 i = encodeVarintAgent(dAtA, i, uint64(msg.ProtoSize()))
5629 n, err := msg.MarshalTo(dAtA[i:])
5630 if err != nil {
5631 return 0, err
5632 }
5633 i += n
5634 }
5635 }
5636 if len(m.CompletedExecutors) > 0 {
5637 for _, msg := range m.CompletedExecutors {
5638 dAtA[i] = 0x12
5639 i++
5640 i = encodeVarintAgent(dAtA, i, uint64(msg.ProtoSize()))
5641 n, err := msg.MarshalTo(dAtA[i:])
5642 if err != nil {
5643 return 0, err
5644 }
5645 i += n
5646 }
5647 }
5648 return i, nil
5649 }
5650
5651 func (m *Response_GetExecutors_Executor) Marshal() (dAtA []byte, err error) {
5652 size := m.ProtoSize()
5653 dAtA = make([]byte, size)
5654 n, err := m.MarshalTo(dAtA)
5655 if err != nil {
5656 return nil, err
5657 }
5658 return dAtA[:n], nil
5659 }
5660
5661 func (m *Response_GetExecutors_Executor) MarshalTo(dAtA []byte) (int, error) {
5662 var i int
5663 _ = i
5664 var l int
5665 _ = l
5666 dAtA[i] = 0xa
5667 i++
5668 i = encodeVarintAgent(dAtA, i, uint64(m.ExecutorInfo.ProtoSize()))
5669 n50, err := m.ExecutorInfo.MarshalTo(dAtA[i:])
5670 if err != nil {
5671 return 0, err
5672 }
5673 i += n50
5674 return i, nil
5675 }
5676
5677 func (m *Response_GetTasks) Marshal() (dAtA []byte, err error) {
5678 size := m.ProtoSize()
5679 dAtA = make([]byte, size)
5680 n, err := m.MarshalTo(dAtA)
5681 if err != nil {
5682 return nil, err
5683 }
5684 return dAtA[:n], nil
5685 }
5686
5687 func (m *Response_GetTasks) MarshalTo(dAtA []byte) (int, error) {
5688 var i int
5689 _ = i
5690 var l int
5691 _ = l
5692 if len(m.PendingTasks) > 0 {
5693 for _, msg := range m.PendingTasks {
5694 dAtA[i] = 0xa
5695 i++
5696 i = encodeVarintAgent(dAtA, i, uint64(msg.ProtoSize()))
5697 n, err := msg.MarshalTo(dAtA[i:])
5698 if err != nil {
5699 return 0, err
5700 }
5701 i += n
5702 }
5703 }
5704 if len(m.QueuedTasks) > 0 {
5705 for _, msg := range m.QueuedTasks {
5706 dAtA[i] = 0x12
5707 i++
5708 i = encodeVarintAgent(dAtA, i, uint64(msg.ProtoSize()))
5709 n, err := msg.MarshalTo(dAtA[i:])
5710 if err != nil {
5711 return 0, err
5712 }
5713 i += n
5714 }
5715 }
5716 if len(m.LaunchedTasks) > 0 {
5717 for _, msg := range m.LaunchedTasks {
5718 dAtA[i] = 0x1a
5719 i++
5720 i = encodeVarintAgent(dAtA, i, uint64(msg.ProtoSize()))
5721 n, err := msg.MarshalTo(dAtA[i:])
5722 if err != nil {
5723 return 0, err
5724 }
5725 i += n
5726 }
5727 }
5728 if len(m.TerminatedTasks) > 0 {
5729 for _, msg := range m.TerminatedTasks {
5730 dAtA[i] = 0x22
5731 i++
5732 i = encodeVarintAgent(dAtA, i, uint64(msg.ProtoSize()))
5733 n, err := msg.MarshalTo(dAtA[i:])
5734 if err != nil {
5735 return 0, err
5736 }
5737 i += n
5738 }
5739 }
5740 if len(m.CompletedTasks) > 0 {
5741 for _, msg := range m.CompletedTasks {
5742 dAtA[i] = 0x2a
5743 i++
5744 i = encodeVarintAgent(dAtA, i, uint64(msg.ProtoSize()))
5745 n, err := msg.MarshalTo(dAtA[i:])
5746 if err != nil {
5747 return 0, err
5748 }
5749 i += n
5750 }
5751 }
5752 return i, nil
5753 }
5754
5755 func (m *Response_GetAgent) Marshal() (dAtA []byte, err error) {
5756 size := m.ProtoSize()
5757 dAtA = make([]byte, size)
5758 n, err := m.MarshalTo(dAtA)
5759 if err != nil {
5760 return nil, err
5761 }
5762 return dAtA[:n], nil
5763 }
5764
5765 func (m *Response_GetAgent) MarshalTo(dAtA []byte) (int, error) {
5766 var i int
5767 _ = i
5768 var l int
5769 _ = l
5770 if m.AgentInfo != nil {
5771 dAtA[i] = 0xa
5772 i++
5773 i = encodeVarintAgent(dAtA, i, uint64(m.AgentInfo.ProtoSize()))
5774 n51, err := m.AgentInfo.MarshalTo(dAtA[i:])
5775 if err != nil {
5776 return 0, err
5777 }
5778 i += n51
5779 }
5780 return i, nil
5781 }
5782
5783 func (m *Response_WaitNestedContainer) Marshal() (dAtA []byte, err error) {
5784 size := m.ProtoSize()
5785 dAtA = make([]byte, size)
5786 n, err := m.MarshalTo(dAtA)
5787 if err != nil {
5788 return nil, err
5789 }
5790 return dAtA[:n], nil
5791 }
5792
5793 func (m *Response_WaitNestedContainer) MarshalTo(dAtA []byte) (int, error) {
5794 var i int
5795 _ = i
5796 var l int
5797 _ = l
5798 if m.ExitStatus != nil {
5799 dAtA[i] = 0x8
5800 i++
5801 i = encodeVarintAgent(dAtA, i, uint64(*m.ExitStatus))
5802 }
5803 return i, nil
5804 }
5805
5806 func (m *ProcessIO) Marshal() (dAtA []byte, err error) {
5807 size := m.ProtoSize()
5808 dAtA = make([]byte, size)
5809 n, err := m.MarshalTo(dAtA)
5810 if err != nil {
5811 return nil, err
5812 }
5813 return dAtA[:n], nil
5814 }
5815
5816 func (m *ProcessIO) MarshalTo(dAtA []byte) (int, error) {
5817 var i int
5818 _ = i
5819 var l int
5820 _ = l
5821 dAtA[i] = 0x8
5822 i++
5823 i = encodeVarintAgent(dAtA, i, uint64(m.Type))
5824 if m.Data != nil {
5825 dAtA[i] = 0x12
5826 i++
5827 i = encodeVarintAgent(dAtA, i, uint64(m.Data.ProtoSize()))
5828 n52, err := m.Data.MarshalTo(dAtA[i:])
5829 if err != nil {
5830 return 0, err
5831 }
5832 i += n52
5833 }
5834 if m.Control != nil {
5835 dAtA[i] = 0x1a
5836 i++
5837 i = encodeVarintAgent(dAtA, i, uint64(m.Control.ProtoSize()))
5838 n53, err := m.Control.MarshalTo(dAtA[i:])
5839 if err != nil {
5840 return 0, err
5841 }
5842 i += n53
5843 }
5844 return i, nil
5845 }
5846
5847 func (m *ProcessIO_Data) Marshal() (dAtA []byte, err error) {
5848 size := m.ProtoSize()
5849 dAtA = make([]byte, size)
5850 n, err := m.MarshalTo(dAtA)
5851 if err != nil {
5852 return nil, err
5853 }
5854 return dAtA[:n], nil
5855 }
5856
5857 func (m *ProcessIO_Data) MarshalTo(dAtA []byte) (int, error) {
5858 var i int
5859 _ = i
5860 var l int
5861 _ = l
5862 dAtA[i] = 0x8
5863 i++
5864 i = encodeVarintAgent(dAtA, i, uint64(m.Type))
5865 if m.Data != nil {
5866 dAtA[i] = 0x12
5867 i++
5868 i = encodeVarintAgent(dAtA, i, uint64(len(m.Data)))
5869 i += copy(dAtA[i:], m.Data)
5870 }
5871 return i, nil
5872 }
5873
5874 func (m *ProcessIO_Control) Marshal() (dAtA []byte, err error) {
5875 size := m.ProtoSize()
5876 dAtA = make([]byte, size)
5877 n, err := m.MarshalTo(dAtA)
5878 if err != nil {
5879 return nil, err
5880 }
5881 return dAtA[:n], nil
5882 }
5883
5884 func (m *ProcessIO_Control) MarshalTo(dAtA []byte) (int, error) {
5885 var i int
5886 _ = i
5887 var l int
5888 _ = l
5889 dAtA[i] = 0x8
5890 i++
5891 i = encodeVarintAgent(dAtA, i, uint64(m.Type))
5892 if m.TTYInfo != nil {
5893 dAtA[i] = 0x12
5894 i++
5895 i = encodeVarintAgent(dAtA, i, uint64(m.TTYInfo.ProtoSize()))
5896 n54, err := m.TTYInfo.MarshalTo(dAtA[i:])
5897 if err != nil {
5898 return 0, err
5899 }
5900 i += n54
5901 }
5902 if m.Heartbeat != nil {
5903 dAtA[i] = 0x1a
5904 i++
5905 i = encodeVarintAgent(dAtA, i, uint64(m.Heartbeat.ProtoSize()))
5906 n55, err := m.Heartbeat.MarshalTo(dAtA[i:])
5907 if err != nil {
5908 return 0, err
5909 }
5910 i += n55
5911 }
5912 return i, nil
5913 }
5914
5915 func (m *ProcessIO_Control_Heartbeat) Marshal() (dAtA []byte, err error) {
5916 size := m.ProtoSize()
5917 dAtA = make([]byte, size)
5918 n, err := m.MarshalTo(dAtA)
5919 if err != nil {
5920 return nil, err
5921 }
5922 return dAtA[:n], nil
5923 }
5924
5925 func (m *ProcessIO_Control_Heartbeat) MarshalTo(dAtA []byte) (int, error) {
5926 var i int
5927 _ = i
5928 var l int
5929 _ = l
5930 if m.Interval != nil {
5931 dAtA[i] = 0xa
5932 i++
5933 i = encodeVarintAgent(dAtA, i, uint64(m.Interval.ProtoSize()))
5934 n56, err := m.Interval.MarshalTo(dAtA[i:])
5935 if err != nil {
5936 return 0, err
5937 }
5938 i += n56
5939 }
5940 return i, nil
5941 }
5942
5943 func encodeFixed64Agent(dAtA []byte, offset int, v uint64) int {
5944 dAtA[offset] = uint8(v)
5945 dAtA[offset+1] = uint8(v >> 8)
5946 dAtA[offset+2] = uint8(v >> 16)
5947 dAtA[offset+3] = uint8(v >> 24)
5948 dAtA[offset+4] = uint8(v >> 32)
5949 dAtA[offset+5] = uint8(v >> 40)
5950 dAtA[offset+6] = uint8(v >> 48)
5951 dAtA[offset+7] = uint8(v >> 56)
5952 return offset + 8
5953 }
5954 func encodeFixed32Agent(dAtA []byte, offset int, v uint32) int {
5955 dAtA[offset] = uint8(v)
5956 dAtA[offset+1] = uint8(v >> 8)
5957 dAtA[offset+2] = uint8(v >> 16)
5958 dAtA[offset+3] = uint8(v >> 24)
5959 return offset + 4
5960 }
5961 func encodeVarintAgent(dAtA []byte, offset int, v uint64) int {
5962 for v >= 1<<7 {
5963 dAtA[offset] = uint8(v&0x7f | 0x80)
5964 v >>= 7
5965 offset++
5966 }
5967 dAtA[offset] = uint8(v)
5968 return offset + 1
5969 }
5970 func NewPopulatedCall(r randyAgent, easy bool) *Call {
5971 this := &Call{}
5972 this.Type = Call_Type([]int32{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 20, 14, 15, 16, 21, 17, 18, 19}[r.Intn(22)])
5973 if r.Intn(10) != 0 {
5974 this.GetMetrics = NewPopulatedCall_GetMetrics(r, easy)
5975 }
5976 if r.Intn(10) != 0 {
5977 this.SetLoggingLevel = NewPopulatedCall_SetLoggingLevel(r, easy)
5978 }
5979 if r.Intn(10) != 0 {
5980 this.ListFiles = NewPopulatedCall_ListFiles(r, easy)
5981 }
5982 if r.Intn(10) != 0 {
5983 this.ReadFile = NewPopulatedCall_ReadFile(r, easy)
5984 }
5985 if r.Intn(10) == 0 {
5986 this.LaunchNestedContainer = NewPopulatedCall_LaunchNestedContainer(r, easy)
5987 }
5988 if r.Intn(10) == 0 {
5989 this.WaitNestedContainer = NewPopulatedCall_WaitNestedContainer(r, easy)
5990 }
5991 if r.Intn(10) == 0 {
5992 this.KillNestedContainer = NewPopulatedCall_KillNestedContainer(r, easy)
5993 }
5994 if r.Intn(10) == 0 {
5995 this.LaunchNestedContainerSession = NewPopulatedCall_LaunchNestedContainerSession(r, easy)
5996 }
5997 if r.Intn(10) == 0 {
5998 this.AttachContainerInput = NewPopulatedCall_AttachContainerInput(r, easy)
5999 }
6000 if r.Intn(10) == 0 {
6001 this.AttachContainerOutput = NewPopulatedCall_AttachContainerOutput(r, easy)
6002 }
6003 if r.Intn(10) == 0 {
6004 this.RemoveNestedContainer = NewPopulatedCall_RemoveNestedContainer(r, easy)
6005 }
6006 if !easy && r.Intn(10) != 0 {
6007 }
6008 return this
6009 }
6010
6011 func NewPopulatedCall_GetMetrics(r randyAgent, easy bool) *Call_GetMetrics {
6012 this := &Call_GetMetrics{}
6013 if r.Intn(10) != 0 {
6014 this.Timeout = mesos.NewPopulatedDurationInfo(r, easy)
6015 }
6016 if !easy && r.Intn(10) != 0 {
6017 }
6018 return this
6019 }
6020
6021 func NewPopulatedCall_SetLoggingLevel(r randyAgent, easy bool) *Call_SetLoggingLevel {
6022 this := &Call_SetLoggingLevel{}
6023 this.Level = uint32(r.Uint32())
6024 v1 := mesos.NewPopulatedDurationInfo(r, easy)
6025 this.Duration = *v1
6026 if !easy && r.Intn(10) != 0 {
6027 }
6028 return this
6029 }
6030
6031 func NewPopulatedCall_ListFiles(r randyAgent, easy bool) *Call_ListFiles {
6032 this := &Call_ListFiles{}
6033 this.Path = string(randStringAgent(r))
6034 if !easy && r.Intn(10) != 0 {
6035 }
6036 return this
6037 }
6038
6039 func NewPopulatedCall_ReadFile(r randyAgent, easy bool) *Call_ReadFile {
6040 this := &Call_ReadFile{}
6041 this.Path = string(randStringAgent(r))
6042 this.Offset = uint64(uint64(r.Uint32()))
6043 if r.Intn(10) != 0 {
6044 v2 := uint64(uint64(r.Uint32()))
6045 this.Length = &v2
6046 }
6047 if !easy && r.Intn(10) != 0 {
6048 }
6049 return this
6050 }
6051
6052 func NewPopulatedCall_LaunchNestedContainer(r randyAgent, easy bool) *Call_LaunchNestedContainer {
6053 this := &Call_LaunchNestedContainer{}
6054 v3 := mesos.NewPopulatedContainerID(r, easy)
6055 this.ContainerID = *v3
6056 if r.Intn(10) != 0 {
6057 this.Command = mesos.NewPopulatedCommandInfo(r, easy)
6058 }
6059 if r.Intn(10) != 0 {
6060 this.Container = mesos.NewPopulatedContainerInfo(r, easy)
6061 }
6062 if !easy && r.Intn(10) != 0 {
6063 }
6064 return this
6065 }
6066
6067 func NewPopulatedCall_WaitNestedContainer(r randyAgent, easy bool) *Call_WaitNestedContainer {
6068 this := &Call_WaitNestedContainer{}
6069 v4 := mesos.NewPopulatedContainerID(r, easy)
6070 this.ContainerID = *v4
6071 if !easy && r.Intn(10) != 0 {
6072 }
6073 return this
6074 }
6075
6076 func NewPopulatedCall_KillNestedContainer(r randyAgent, easy bool) *Call_KillNestedContainer {
6077 this := &Call_KillNestedContainer{}
6078 v5 := mesos.NewPopulatedContainerID(r, easy)
6079 this.ContainerID = *v5
6080 if r.Intn(10) != 0 {
6081 v6 := int32(r.Int31())
6082 if r.Intn(2) == 0 {
6083 v6 *= -1
6084 }
6085 this.Signal = &v6
6086 }
6087 if !easy && r.Intn(10) != 0 {
6088 }
6089 return this
6090 }
6091
6092 func NewPopulatedCall_RemoveNestedContainer(r randyAgent, easy bool) *Call_RemoveNestedContainer {
6093 this := &Call_RemoveNestedContainer{}
6094 v7 := mesos.NewPopulatedContainerID(r, easy)
6095 this.ContainerID = *v7
6096 if !easy && r.Intn(10) != 0 {
6097 }
6098 return this
6099 }
6100
6101 func NewPopulatedCall_LaunchNestedContainerSession(r randyAgent, easy bool) *Call_LaunchNestedContainerSession {
6102 this := &Call_LaunchNestedContainerSession{}
6103 v8 := mesos.NewPopulatedContainerID(r, easy)
6104 this.ContainerID = *v8
6105 if r.Intn(10) != 0 {
6106 this.Command = mesos.NewPopulatedCommandInfo(r, easy)
6107 }
6108 if r.Intn(10) != 0 {
6109 this.Container = mesos.NewPopulatedContainerInfo(r, easy)
6110 }
6111 if !easy && r.Intn(10) != 0 {
6112 }
6113 return this
6114 }
6115
6116 func NewPopulatedCall_AttachContainerInput(r randyAgent, easy bool) *Call_AttachContainerInput {
6117 this := &Call_AttachContainerInput{}
6118 this.Type = Call_AttachContainerInput_Type([]int32{0, 1, 2}[r.Intn(3)])
6119 if r.Intn(10) == 0 {
6120 this.ContainerID = mesos.NewPopulatedContainerID(r, easy)
6121 }
6122 if r.Intn(10) != 0 {
6123 this.ProcessIO = NewPopulatedProcessIO(r, easy)
6124 }
6125 if !easy && r.Intn(10) != 0 {
6126 }
6127 return this
6128 }
6129
6130 func NewPopulatedCall_AttachContainerOutput(r randyAgent, easy bool) *Call_AttachContainerOutput {
6131 this := &Call_AttachContainerOutput{}
6132 v9 := mesos.NewPopulatedContainerID(r, easy)
6133 this.ContainerID = *v9
6134 if !easy && r.Intn(10) != 0 {
6135 }
6136 return this
6137 }
6138
6139 func NewPopulatedResponse(r randyAgent, easy bool) *Response {
6140 this := &Response{}
6141 this.Type = Response_Type([]int32{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 13}[r.Intn(15)])
6142 if r.Intn(10) != 0 {
6143 this.GetHealth = NewPopulatedResponse_GetHealth(r, easy)
6144 }
6145 if r.Intn(10) != 0 {
6146 this.GetFlags = NewPopulatedResponse_GetFlags(r, easy)
6147 }
6148 if r.Intn(10) != 0 {
6149 this.GetVersion = NewPopulatedResponse_GetVersion(r, easy)
6150 }
6151 if r.Intn(10) != 0 {
6152 this.GetMetrics = NewPopulatedResponse_GetMetrics(r, easy)
6153 }
6154 if r.Intn(10) != 0 {
6155 this.GetLoggingLevel = NewPopulatedResponse_GetLoggingLevel(r, easy)
6156 }
6157 if r.Intn(10) != 0 {
6158 this.ListFiles = NewPopulatedResponse_ListFiles(r, easy)
6159 }
6160 if r.Intn(10) != 0 {
6161 this.ReadFile = NewPopulatedResponse_ReadFile(r, easy)
6162 }
6163 if r.Intn(10) == 0 {
6164 this.GetState = NewPopulatedResponse_GetState(r, easy)
6165 }
6166 if r.Intn(10) == 0 {
6167 this.GetContainers = NewPopulatedResponse_GetContainers(r, easy)
6168 }
6169 if r.Intn(10) != 0 {
6170 this.GetFrameworks = NewPopulatedResponse_GetFrameworks(r, easy)
6171 }
6172 if r.Intn(10) != 0 {
6173 this.GetExecutors = NewPopulatedResponse_GetExecutors(r, easy)
6174 }
6175 if r.Intn(10) == 0 {
6176 this.GetTasks = NewPopulatedResponse_GetTasks(r, easy)
6177 }
6178 if r.Intn(10) != 0 {
6179 this.WaitNestedContainer = NewPopulatedResponse_WaitNestedContainer(r, easy)
6180 }
6181 if r.Intn(10) != 0 {
6182 this.GetAgent = NewPopulatedResponse_GetAgent(r, easy)
6183 }
6184 if !easy && r.Intn(10) != 0 {
6185 }
6186 return this
6187 }
6188
6189 func NewPopulatedResponse_GetHealth(r randyAgent, easy bool) *Response_GetHealth {
6190 this := &Response_GetHealth{}
6191 this.Healthy = bool(bool(r.Intn(2) == 0))
6192 if !easy && r.Intn(10) != 0 {
6193 }
6194 return this
6195 }
6196
6197 func NewPopulatedResponse_GetFlags(r randyAgent, easy bool) *Response_GetFlags {
6198 this := &Response_GetFlags{}
6199 if r.Intn(10) != 0 {
6200 v10 := r.Intn(5)
6201 this.Flags = make([]mesos.Flag, v10)
6202 for i := 0; i < v10; i++ {
6203 v11 := mesos.NewPopulatedFlag(r, easy)
6204 this.Flags[i] = *v11
6205 }
6206 }
6207 if !easy && r.Intn(10) != 0 {
6208 }
6209 return this
6210 }
6211
6212 func NewPopulatedResponse_GetVersion(r randyAgent, easy bool) *Response_GetVersion {
6213 this := &Response_GetVersion{}
6214 v12 := mesos.NewPopulatedVersionInfo(r, easy)
6215 this.VersionInfo = *v12
6216 if !easy && r.Intn(10) != 0 {
6217 }
6218 return this
6219 }
6220
6221 func NewPopulatedResponse_GetMetrics(r randyAgent, easy bool) *Response_GetMetrics {
6222 this := &Response_GetMetrics{}
6223 if r.Intn(10) != 0 {
6224 v13 := r.Intn(5)
6225 this.Metrics = make([]mesos.Metric, v13)
6226 for i := 0; i < v13; i++ {
6227 v14 := mesos.NewPopulatedMetric(r, easy)
6228 this.Metrics[i] = *v14
6229 }
6230 }
6231 if !easy && r.Intn(10) != 0 {
6232 }
6233 return this
6234 }
6235
6236 func NewPopulatedResponse_GetLoggingLevel(r randyAgent, easy bool) *Response_GetLoggingLevel {
6237 this := &Response_GetLoggingLevel{}
6238 this.Level = uint32(r.Uint32())
6239 if !easy && r.Intn(10) != 0 {
6240 }
6241 return this
6242 }
6243
6244 func NewPopulatedResponse_ListFiles(r randyAgent, easy bool) *Response_ListFiles {
6245 this := &Response_ListFiles{}
6246 if r.Intn(10) != 0 {
6247 v15 := r.Intn(5)
6248 this.FileInfos = make([]mesos.FileInfo, v15)
6249 for i := 0; i < v15; i++ {
6250 v16 := mesos.NewPopulatedFileInfo(r, easy)
6251 this.FileInfos[i] = *v16
6252 }
6253 }
6254 if !easy && r.Intn(10) != 0 {
6255 }
6256 return this
6257 }
6258
6259 func NewPopulatedResponse_ReadFile(r randyAgent, easy bool) *Response_ReadFile {
6260 this := &Response_ReadFile{}
6261 this.Size = uint64(uint64(r.Uint32()))
6262 v17 := r.Intn(100)
6263 this.Data = make([]byte, v17)
6264 for i := 0; i < v17; i++ {
6265 this.Data[i] = byte(r.Intn(256))
6266 }
6267 if !easy && r.Intn(10) != 0 {
6268 }
6269 return this
6270 }
6271
6272 func NewPopulatedResponse_GetState(r randyAgent, easy bool) *Response_GetState {
6273 this := &Response_GetState{}
6274 if r.Intn(10) == 0 {
6275 this.GetTasks = NewPopulatedResponse_GetTasks(r, easy)
6276 }
6277 if r.Intn(10) != 0 {
6278 this.GetExecutors = NewPopulatedResponse_GetExecutors(r, easy)
6279 }
6280 if r.Intn(10) != 0 {
6281 this.GetFrameworks = NewPopulatedResponse_GetFrameworks(r, easy)
6282 }
6283 if !easy && r.Intn(10) != 0 {
6284 }
6285 return this
6286 }
6287
6288 func NewPopulatedResponse_GetContainers(r randyAgent, easy bool) *Response_GetContainers {
6289 this := &Response_GetContainers{}
6290 if r.Intn(10) == 0 {
6291 v18 := r.Intn(5)
6292 this.Containers = make([]Response_GetContainers_Container, v18)
6293 for i := 0; i < v18; i++ {
6294 v19 := NewPopulatedResponse_GetContainers_Container(r, easy)
6295 this.Containers[i] = *v19
6296 }
6297 }
6298 if !easy && r.Intn(10) != 0 {
6299 }
6300 return this
6301 }
6302
6303 func NewPopulatedResponse_GetContainers_Container(r randyAgent, easy bool) *Response_GetContainers_Container {
6304 this := &Response_GetContainers_Container{}
6305 v20 := mesos.NewPopulatedFrameworkID(r, easy)
6306 this.FrameworkID = *v20
6307 v21 := mesos.NewPopulatedExecutorID(r, easy)
6308 this.ExecutorID = *v21
6309 this.ExecutorName = string(randStringAgent(r))
6310 v22 := mesos.NewPopulatedContainerID(r, easy)
6311 this.ContainerID = *v22
6312 if r.Intn(10) == 0 {
6313 this.ContainerStatus = mesos.NewPopulatedContainerStatus(r, easy)
6314 }
6315 if r.Intn(10) != 0 {
6316 this.ResourceStatistics = mesos.NewPopulatedResourceStatistics(r, easy)
6317 }
6318 if !easy && r.Intn(10) != 0 {
6319 }
6320 return this
6321 }
6322
6323 func NewPopulatedResponse_GetFrameworks(r randyAgent, easy bool) *Response_GetFrameworks {
6324 this := &Response_GetFrameworks{}
6325 if r.Intn(10) != 0 {
6326 v23 := r.Intn(5)
6327 this.Frameworks = make([]Response_GetFrameworks_Framework, v23)
6328 for i := 0; i < v23; i++ {
6329 v24 := NewPopulatedResponse_GetFrameworks_Framework(r, easy)
6330 this.Frameworks[i] = *v24
6331 }
6332 }
6333 if r.Intn(10) != 0 {
6334 v25 := r.Intn(5)
6335 this.CompletedFrameworks = make([]Response_GetFrameworks_Framework, v25)
6336 for i := 0; i < v25; i++ {
6337 v26 := NewPopulatedResponse_GetFrameworks_Framework(r, easy)
6338 this.CompletedFrameworks[i] = *v26
6339 }
6340 }
6341 if !easy && r.Intn(10) != 0 {
6342 }
6343 return this
6344 }
6345
6346 func NewPopulatedResponse_GetFrameworks_Framework(r randyAgent, easy bool) *Response_GetFrameworks_Framework {
6347 this := &Response_GetFrameworks_Framework{}
6348 v27 := mesos.NewPopulatedFrameworkInfo(r, easy)
6349 this.FrameworkInfo = *v27
6350 if !easy && r.Intn(10) != 0 {
6351 }
6352 return this
6353 }
6354
6355 func NewPopulatedResponse_GetExecutors(r randyAgent, easy bool) *Response_GetExecutors {
6356 this := &Response_GetExecutors{}
6357 if r.Intn(10) != 0 {
6358 v28 := r.Intn(5)
6359 this.Executors = make([]Response_GetExecutors_Executor, v28)
6360 for i := 0; i < v28; i++ {
6361 v29 := NewPopulatedResponse_GetExecutors_Executor(r, easy)
6362 this.Executors[i] = *v29
6363 }
6364 }
6365 if r.Intn(10) != 0 {
6366 v30 := r.Intn(5)
6367 this.CompletedExecutors = make([]Response_GetExecutors_Executor, v30)
6368 for i := 0; i < v30; i++ {
6369 v31 := NewPopulatedResponse_GetExecutors_Executor(r, easy)
6370 this.CompletedExecutors[i] = *v31
6371 }
6372 }
6373 if !easy && r.Intn(10) != 0 {
6374 }
6375 return this
6376 }
6377
6378 func NewPopulatedResponse_GetExecutors_Executor(r randyAgent, easy bool) *Response_GetExecutors_Executor {
6379 this := &Response_GetExecutors_Executor{}
6380 v32 := mesos.NewPopulatedExecutorInfo(r, easy)
6381 this.ExecutorInfo = *v32
6382 if !easy && r.Intn(10) != 0 {
6383 }
6384 return this
6385 }
6386
6387 func NewPopulatedResponse_GetTasks(r randyAgent, easy bool) *Response_GetTasks {
6388 this := &Response_GetTasks{}
6389 if r.Intn(10) == 0 {
6390 v33 := r.Intn(5)
6391 this.PendingTasks = make([]mesos.Task, v33)
6392 for i := 0; i < v33; i++ {
6393 v34 := mesos.NewPopulatedTask(r, easy)
6394 this.PendingTasks[i] = *v34
6395 }
6396 }
6397 if r.Intn(10) == 0 {
6398 v35 := r.Intn(5)
6399 this.QueuedTasks = make([]mesos.Task, v35)
6400 for i := 0; i < v35; i++ {
6401 v36 := mesos.NewPopulatedTask(r, easy)
6402 this.QueuedTasks[i] = *v36
6403 }
6404 }
6405 if r.Intn(10) == 0 {
6406 v37 := r.Intn(5)
6407 this.LaunchedTasks = make([]mesos.Task, v37)
6408 for i := 0; i < v37; i++ {
6409 v38 := mesos.NewPopulatedTask(r, easy)
6410 this.LaunchedTasks[i] = *v38
6411 }
6412 }
6413 if r.Intn(10) == 0 {
6414 v39 := r.Intn(5)
6415 this.TerminatedTasks = make([]mesos.Task, v39)
6416 for i := 0; i < v39; i++ {
6417 v40 := mesos.NewPopulatedTask(r, easy)
6418 this.TerminatedTasks[i] = *v40
6419 }
6420 }
6421 if r.Intn(10) == 0 {
6422 v41 := r.Intn(5)
6423 this.CompletedTasks = make([]mesos.Task, v41)
6424 for i := 0; i < v41; i++ {
6425 v42 := mesos.NewPopulatedTask(r, easy)
6426 this.CompletedTasks[i] = *v42
6427 }
6428 }
6429 if !easy && r.Intn(10) != 0 {
6430 }
6431 return this
6432 }
6433
6434 func NewPopulatedResponse_GetAgent(r randyAgent, easy bool) *Response_GetAgent {
6435 this := &Response_GetAgent{}
6436 if r.Intn(10) != 0 {
6437 this.AgentInfo = mesos.NewPopulatedAgentInfo(r, easy)
6438 }
6439 if !easy && r.Intn(10) != 0 {
6440 }
6441 return this
6442 }
6443
6444 func NewPopulatedResponse_WaitNestedContainer(r randyAgent, easy bool) *Response_WaitNestedContainer {
6445 this := &Response_WaitNestedContainer{}
6446 if r.Intn(10) != 0 {
6447 v43 := int32(r.Int31())
6448 if r.Intn(2) == 0 {
6449 v43 *= -1
6450 }
6451 this.ExitStatus = &v43
6452 }
6453 if !easy && r.Intn(10) != 0 {
6454 }
6455 return this
6456 }
6457
6458 func NewPopulatedProcessIO(r randyAgent, easy bool) *ProcessIO {
6459 this := &ProcessIO{}
6460 this.Type = ProcessIO_Type([]int32{0, 1, 2}[r.Intn(3)])
6461 if r.Intn(10) != 0 {
6462 this.Data = NewPopulatedProcessIO_Data(r, easy)
6463 }
6464 if r.Intn(10) != 0 {
6465 this.Control = NewPopulatedProcessIO_Control(r, easy)
6466 }
6467 if !easy && r.Intn(10) != 0 {
6468 }
6469 return this
6470 }
6471
6472 func NewPopulatedProcessIO_Data(r randyAgent, easy bool) *ProcessIO_Data {
6473 this := &ProcessIO_Data{}
6474 this.Type = ProcessIO_Data_Type([]int32{0, 1, 2, 3}[r.Intn(4)])
6475 if r.Intn(10) != 0 {
6476 v44 := r.Intn(100)
6477 this.Data = make([]byte, v44)
6478 for i := 0; i < v44; i++ {
6479 this.Data[i] = byte(r.Intn(256))
6480 }
6481 }
6482 if !easy && r.Intn(10) != 0 {
6483 }
6484 return this
6485 }
6486
6487 func NewPopulatedProcessIO_Control(r randyAgent, easy bool) *ProcessIO_Control {
6488 this := &ProcessIO_Control{}
6489 this.Type = ProcessIO_Control_Type([]int32{0, 1, 2}[r.Intn(3)])
6490 if r.Intn(10) != 0 {
6491 this.TTYInfo = mesos.NewPopulatedTTYInfo(r, easy)
6492 }
6493 if r.Intn(10) != 0 {
6494 this.Heartbeat = NewPopulatedProcessIO_Control_Heartbeat(r, easy)
6495 }
6496 if !easy && r.Intn(10) != 0 {
6497 }
6498 return this
6499 }
6500
6501 func NewPopulatedProcessIO_Control_Heartbeat(r randyAgent, easy bool) *ProcessIO_Control_Heartbeat {
6502 this := &ProcessIO_Control_Heartbeat{}
6503 if r.Intn(10) != 0 {
6504 this.Interval = mesos.NewPopulatedDurationInfo(r, easy)
6505 }
6506 if !easy && r.Intn(10) != 0 {
6507 }
6508 return this
6509 }
6510
6511 type randyAgent interface {
6512 Float32() float32
6513 Float64() float64
6514 Int63() int64
6515 Int31() int32
6516 Uint32() uint32
6517 Intn(n int) int
6518 }
6519
6520 func randUTF8RuneAgent(r randyAgent) rune {
6521 ru := r.Intn(62)
6522 if ru < 10 {
6523 return rune(ru + 48)
6524 } else if ru < 36 {
6525 return rune(ru + 55)
6526 }
6527 return rune(ru + 61)
6528 }
6529 func randStringAgent(r randyAgent) string {
6530 v45 := r.Intn(100)
6531 tmps := make([]rune, v45)
6532 for i := 0; i < v45; i++ {
6533 tmps[i] = randUTF8RuneAgent(r)
6534 }
6535 return string(tmps)
6536 }
6537 func randUnrecognizedAgent(r randyAgent, maxFieldNumber int) (dAtA []byte) {
6538 l := r.Intn(5)
6539 for i := 0; i < l; i++ {
6540 wire := r.Intn(4)
6541 if wire == 3 {
6542 wire = 5
6543 }
6544 fieldNumber := maxFieldNumber + r.Intn(100)
6545 dAtA = randFieldAgent(dAtA, r, fieldNumber, wire)
6546 }
6547 return dAtA
6548 }
6549 func randFieldAgent(dAtA []byte, r randyAgent, fieldNumber int, wire int) []byte {
6550 key := uint32(fieldNumber)<<3 | uint32(wire)
6551 switch wire {
6552 case 0:
6553 dAtA = encodeVarintPopulateAgent(dAtA, uint64(key))
6554 v46 := r.Int63()
6555 if r.Intn(2) == 0 {
6556 v46 *= -1
6557 }
6558 dAtA = encodeVarintPopulateAgent(dAtA, uint64(v46))
6559 case 1:
6560 dAtA = encodeVarintPopulateAgent(dAtA, uint64(key))
6561 dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)))
6562 case 2:
6563 dAtA = encodeVarintPopulateAgent(dAtA, uint64(key))
6564 ll := r.Intn(100)
6565 dAtA = encodeVarintPopulateAgent(dAtA, uint64(ll))
6566 for j := 0; j < ll; j++ {
6567 dAtA = append(dAtA, byte(r.Intn(256)))
6568 }
6569 default:
6570 dAtA = encodeVarintPopulateAgent(dAtA, uint64(key))
6571 dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)))
6572 }
6573 return dAtA
6574 }
6575 func encodeVarintPopulateAgent(dAtA []byte, v uint64) []byte {
6576 for v >= 1<<7 {
6577 dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80))
6578 v >>= 7
6579 }
6580 dAtA = append(dAtA, uint8(v))
6581 return dAtA
6582 }
6583 func (m *Call) ProtoSize() (n int) {
6584 var l int
6585 _ = l
6586 n += 1 + sovAgent(uint64(m.Type))
6587 if m.GetMetrics != nil {
6588 l = m.GetMetrics.ProtoSize()
6589 n += 1 + l + sovAgent(uint64(l))
6590 }
6591 if m.SetLoggingLevel != nil {
6592 l = m.SetLoggingLevel.ProtoSize()
6593 n += 1 + l + sovAgent(uint64(l))
6594 }
6595 if m.ListFiles != nil {
6596 l = m.ListFiles.ProtoSize()
6597 n += 1 + l + sovAgent(uint64(l))
6598 }
6599 if m.ReadFile != nil {
6600 l = m.ReadFile.ProtoSize()
6601 n += 1 + l + sovAgent(uint64(l))
6602 }
6603 if m.LaunchNestedContainer != nil {
6604 l = m.LaunchNestedContainer.ProtoSize()
6605 n += 1 + l + sovAgent(uint64(l))
6606 }
6607 if m.WaitNestedContainer != nil {
6608 l = m.WaitNestedContainer.ProtoSize()
6609 n += 1 + l + sovAgent(uint64(l))
6610 }
6611 if m.KillNestedContainer != nil {
6612 l = m.KillNestedContainer.ProtoSize()
6613 n += 1 + l + sovAgent(uint64(l))
6614 }
6615 if m.LaunchNestedContainerSession != nil {
6616 l = m.LaunchNestedContainerSession.ProtoSize()
6617 n += 1 + l + sovAgent(uint64(l))
6618 }
6619 if m.AttachContainerInput != nil {
6620 l = m.AttachContainerInput.ProtoSize()
6621 n += 1 + l + sovAgent(uint64(l))
6622 }
6623 if m.AttachContainerOutput != nil {
6624 l = m.AttachContainerOutput.ProtoSize()
6625 n += 1 + l + sovAgent(uint64(l))
6626 }
6627 if m.RemoveNestedContainer != nil {
6628 l = m.RemoveNestedContainer.ProtoSize()
6629 n += 1 + l + sovAgent(uint64(l))
6630 }
6631 return n
6632 }
6633
6634 func (m *Call_GetMetrics) ProtoSize() (n int) {
6635 var l int
6636 _ = l
6637 if m.Timeout != nil {
6638 l = m.Timeout.ProtoSize()
6639 n += 1 + l + sovAgent(uint64(l))
6640 }
6641 return n
6642 }
6643
6644 func (m *Call_SetLoggingLevel) ProtoSize() (n int) {
6645 var l int
6646 _ = l
6647 n += 1 + sovAgent(uint64(m.Level))
6648 l = m.Duration.ProtoSize()
6649 n += 1 + l + sovAgent(uint64(l))
6650 return n
6651 }
6652
6653 func (m *Call_ListFiles) ProtoSize() (n int) {
6654 var l int
6655 _ = l
6656 l = len(m.Path)
6657 n += 1 + l + sovAgent(uint64(l))
6658 return n
6659 }
6660
6661 func (m *Call_ReadFile) ProtoSize() (n int) {
6662 var l int
6663 _ = l
6664 l = len(m.Path)
6665 n += 1 + l + sovAgent(uint64(l))
6666 n += 1 + sovAgent(uint64(m.Offset))
6667 if m.Length != nil {
6668 n += 1 + sovAgent(uint64(*m.Length))
6669 }
6670 return n
6671 }
6672
6673 func (m *Call_LaunchNestedContainer) ProtoSize() (n int) {
6674 var l int
6675 _ = l
6676 l = m.ContainerID.ProtoSize()
6677 n += 1 + l + sovAgent(uint64(l))
6678 if m.Command != nil {
6679 l = m.Command.ProtoSize()
6680 n += 1 + l + sovAgent(uint64(l))
6681 }
6682 if m.Container != nil {
6683 l = m.Container.ProtoSize()
6684 n += 1 + l + sovAgent(uint64(l))
6685 }
6686 return n
6687 }
6688
6689 func (m *Call_WaitNestedContainer) ProtoSize() (n int) {
6690 var l int
6691 _ = l
6692 l = m.ContainerID.ProtoSize()
6693 n += 1 + l + sovAgent(uint64(l))
6694 return n
6695 }
6696
6697 func (m *Call_KillNestedContainer) ProtoSize() (n int) {
6698 var l int
6699 _ = l
6700 l = m.ContainerID.ProtoSize()
6701 n += 1 + l + sovAgent(uint64(l))
6702 if m.Signal != nil {
6703 n += 1 + sovAgent(uint64(*m.Signal))
6704 }
6705 return n
6706 }
6707
6708 func (m *Call_RemoveNestedContainer) ProtoSize() (n int) {
6709 var l int
6710 _ = l
6711 l = m.ContainerID.ProtoSize()
6712 n += 1 + l + sovAgent(uint64(l))
6713 return n
6714 }
6715
6716 func (m *Call_LaunchNestedContainerSession) ProtoSize() (n int) {
6717 var l int
6718 _ = l
6719 l = m.ContainerID.ProtoSize()
6720 n += 1 + l + sovAgent(uint64(l))
6721 if m.Command != nil {
6722 l = m.Command.ProtoSize()
6723 n += 1 + l + sovAgent(uint64(l))
6724 }
6725 if m.Container != nil {
6726 l = m.Container.ProtoSize()
6727 n += 1 + l + sovAgent(uint64(l))
6728 }
6729 return n
6730 }
6731
6732 func (m *Call_AttachContainerInput) ProtoSize() (n int) {
6733 var l int
6734 _ = l
6735 n += 1 + sovAgent(uint64(m.Type))
6736 if m.ContainerID != nil {
6737 l = m.ContainerID.ProtoSize()
6738 n += 1 + l + sovAgent(uint64(l))
6739 }
6740 if m.ProcessIO != nil {
6741 l = m.ProcessIO.ProtoSize()
6742 n += 1 + l + sovAgent(uint64(l))
6743 }
6744 return n
6745 }
6746
6747 func (m *Call_AttachContainerOutput) ProtoSize() (n int) {
6748 var l int
6749 _ = l
6750 l = m.ContainerID.ProtoSize()
6751 n += 1 + l + sovAgent(uint64(l))
6752 return n
6753 }
6754
6755 func (m *Response) ProtoSize() (n int) {
6756 var l int
6757 _ = l
6758 n += 1 + sovAgent(uint64(m.Type))
6759 if m.GetHealth != nil {
6760 l = m.GetHealth.ProtoSize()
6761 n += 1 + l + sovAgent(uint64(l))
6762 }
6763 if m.GetFlags != nil {
6764 l = m.GetFlags.ProtoSize()
6765 n += 1 + l + sovAgent(uint64(l))
6766 }
6767 if m.GetVersion != nil {
6768 l = m.GetVersion.ProtoSize()
6769 n += 1 + l + sovAgent(uint64(l))
6770 }
6771 if m.GetMetrics != nil {
6772 l = m.GetMetrics.ProtoSize()
6773 n += 1 + l + sovAgent(uint64(l))
6774 }
6775 if m.GetLoggingLevel != nil {
6776 l = m.GetLoggingLevel.ProtoSize()
6777 n += 1 + l + sovAgent(uint64(l))
6778 }
6779 if m.ListFiles != nil {
6780 l = m.ListFiles.ProtoSize()
6781 n += 1 + l + sovAgent(uint64(l))
6782 }
6783 if m.ReadFile != nil {
6784 l = m.ReadFile.ProtoSize()
6785 n += 1 + l + sovAgent(uint64(l))
6786 }
6787 if m.GetState != nil {
6788 l = m.GetState.ProtoSize()
6789 n += 1 + l + sovAgent(uint64(l))
6790 }
6791 if m.GetContainers != nil {
6792 l = m.GetContainers.ProtoSize()
6793 n += 1 + l + sovAgent(uint64(l))
6794 }
6795 if m.GetFrameworks != nil {
6796 l = m.GetFrameworks.ProtoSize()
6797 n += 1 + l + sovAgent(uint64(l))
6798 }
6799 if m.GetExecutors != nil {
6800 l = m.GetExecutors.ProtoSize()
6801 n += 1 + l + sovAgent(uint64(l))
6802 }
6803 if m.GetTasks != nil {
6804 l = m.GetTasks.ProtoSize()
6805 n += 1 + l + sovAgent(uint64(l))
6806 }
6807 if m.WaitNestedContainer != nil {
6808 l = m.WaitNestedContainer.ProtoSize()
6809 n += 1 + l + sovAgent(uint64(l))
6810 }
6811 if m.GetAgent != nil {
6812 l = m.GetAgent.ProtoSize()
6813 n += 1 + l + sovAgent(uint64(l))
6814 }
6815 return n
6816 }
6817
6818 func (m *Response_GetHealth) ProtoSize() (n int) {
6819 var l int
6820 _ = l
6821 n += 2
6822 return n
6823 }
6824
6825 func (m *Response_GetFlags) ProtoSize() (n int) {
6826 var l int
6827 _ = l
6828 if len(m.Flags) > 0 {
6829 for _, e := range m.Flags {
6830 l = e.ProtoSize()
6831 n += 1 + l + sovAgent(uint64(l))
6832 }
6833 }
6834 return n
6835 }
6836
6837 func (m *Response_GetVersion) ProtoSize() (n int) {
6838 var l int
6839 _ = l
6840 l = m.VersionInfo.ProtoSize()
6841 n += 1 + l + sovAgent(uint64(l))
6842 return n
6843 }
6844
6845 func (m *Response_GetMetrics) ProtoSize() (n int) {
6846 var l int
6847 _ = l
6848 if len(m.Metrics) > 0 {
6849 for _, e := range m.Metrics {
6850 l = e.ProtoSize()
6851 n += 1 + l + sovAgent(uint64(l))
6852 }
6853 }
6854 return n
6855 }
6856
6857 func (m *Response_GetLoggingLevel) ProtoSize() (n int) {
6858 var l int
6859 _ = l
6860 n += 1 + sovAgent(uint64(m.Level))
6861 return n
6862 }
6863
6864 func (m *Response_ListFiles) ProtoSize() (n int) {
6865 var l int
6866 _ = l
6867 if len(m.FileInfos) > 0 {
6868 for _, e := range m.FileInfos {
6869 l = e.ProtoSize()
6870 n += 1 + l + sovAgent(uint64(l))
6871 }
6872 }
6873 return n
6874 }
6875
6876 func (m *Response_ReadFile) ProtoSize() (n int) {
6877 var l int
6878 _ = l
6879 n += 1 + sovAgent(uint64(m.Size))
6880 if m.Data != nil {
6881 l = len(m.Data)
6882 n += 1 + l + sovAgent(uint64(l))
6883 }
6884 return n
6885 }
6886
6887 func (m *Response_GetState) ProtoSize() (n int) {
6888 var l int
6889 _ = l
6890 if m.GetTasks != nil {
6891 l = m.GetTasks.ProtoSize()
6892 n += 1 + l + sovAgent(uint64(l))
6893 }
6894 if m.GetExecutors != nil {
6895 l = m.GetExecutors.ProtoSize()
6896 n += 1 + l + sovAgent(uint64(l))
6897 }
6898 if m.GetFrameworks != nil {
6899 l = m.GetFrameworks.ProtoSize()
6900 n += 1 + l + sovAgent(uint64(l))
6901 }
6902 return n
6903 }
6904
6905 func (m *Response_GetContainers) ProtoSize() (n int) {
6906 var l int
6907 _ = l
6908 if len(m.Containers) > 0 {
6909 for _, e := range m.Containers {
6910 l = e.ProtoSize()
6911 n += 1 + l + sovAgent(uint64(l))
6912 }
6913 }
6914 return n
6915 }
6916
6917 func (m *Response_GetContainers_Container) ProtoSize() (n int) {
6918 var l int
6919 _ = l
6920 l = m.FrameworkID.ProtoSize()
6921 n += 1 + l + sovAgent(uint64(l))
6922 l = m.ExecutorID.ProtoSize()
6923 n += 1 + l + sovAgent(uint64(l))
6924 l = len(m.ExecutorName)
6925 n += 1 + l + sovAgent(uint64(l))
6926 l = m.ContainerID.ProtoSize()
6927 n += 1 + l + sovAgent(uint64(l))
6928 if m.ContainerStatus != nil {
6929 l = m.ContainerStatus.ProtoSize()
6930 n += 1 + l + sovAgent(uint64(l))
6931 }
6932 if m.ResourceStatistics != nil {
6933 l = m.ResourceStatistics.ProtoSize()
6934 n += 1 + l + sovAgent(uint64(l))
6935 }
6936 return n
6937 }
6938
6939 func (m *Response_GetFrameworks) ProtoSize() (n int) {
6940 var l int
6941 _ = l
6942 if len(m.Frameworks) > 0 {
6943 for _, e := range m.Frameworks {
6944 l = e.ProtoSize()
6945 n += 1 + l + sovAgent(uint64(l))
6946 }
6947 }
6948 if len(m.CompletedFrameworks) > 0 {
6949 for _, e := range m.CompletedFrameworks {
6950 l = e.ProtoSize()
6951 n += 1 + l + sovAgent(uint64(l))
6952 }
6953 }
6954 return n
6955 }
6956
6957 func (m *Response_GetFrameworks_Framework) ProtoSize() (n int) {
6958 var l int
6959 _ = l
6960 l = m.FrameworkInfo.ProtoSize()
6961 n += 1 + l + sovAgent(uint64(l))
6962 return n
6963 }
6964
6965 func (m *Response_GetExecutors) ProtoSize() (n int) {
6966 var l int
6967 _ = l
6968 if len(m.Executors) > 0 {
6969 for _, e := range m.Executors {
6970 l = e.ProtoSize()
6971 n += 1 + l + sovAgent(uint64(l))
6972 }
6973 }
6974 if len(m.CompletedExecutors) > 0 {
6975 for _, e := range m.CompletedExecutors {
6976 l = e.ProtoSize()
6977 n += 1 + l + sovAgent(uint64(l))
6978 }
6979 }
6980 return n
6981 }
6982
6983 func (m *Response_GetExecutors_Executor) ProtoSize() (n int) {
6984 var l int
6985 _ = l
6986 l = m.ExecutorInfo.ProtoSize()
6987 n += 1 + l + sovAgent(uint64(l))
6988 return n
6989 }
6990
6991 func (m *Response_GetTasks) ProtoSize() (n int) {
6992 var l int
6993 _ = l
6994 if len(m.PendingTasks) > 0 {
6995 for _, e := range m.PendingTasks {
6996 l = e.ProtoSize()
6997 n += 1 + l + sovAgent(uint64(l))
6998 }
6999 }
7000 if len(m.QueuedTasks) > 0 {
7001 for _, e := range m.QueuedTasks {
7002 l = e.ProtoSize()
7003 n += 1 + l + sovAgent(uint64(l))
7004 }
7005 }
7006 if len(m.LaunchedTasks) > 0 {
7007 for _, e := range m.LaunchedTasks {
7008 l = e.ProtoSize()
7009 n += 1 + l + sovAgent(uint64(l))
7010 }
7011 }
7012 if len(m.TerminatedTasks) > 0 {
7013 for _, e := range m.TerminatedTasks {
7014 l = e.ProtoSize()
7015 n += 1 + l + sovAgent(uint64(l))
7016 }
7017 }
7018 if len(m.CompletedTasks) > 0 {
7019 for _, e := range m.CompletedTasks {
7020 l = e.ProtoSize()
7021 n += 1 + l + sovAgent(uint64(l))
7022 }
7023 }
7024 return n
7025 }
7026
7027 func (m *Response_GetAgent) ProtoSize() (n int) {
7028 var l int
7029 _ = l
7030 if m.AgentInfo != nil {
7031 l = m.AgentInfo.ProtoSize()
7032 n += 1 + l + sovAgent(uint64(l))
7033 }
7034 return n
7035 }
7036
7037 func (m *Response_WaitNestedContainer) ProtoSize() (n int) {
7038 var l int
7039 _ = l
7040 if m.ExitStatus != nil {
7041 n += 1 + sovAgent(uint64(*m.ExitStatus))
7042 }
7043 return n
7044 }
7045
7046 func (m *ProcessIO) ProtoSize() (n int) {
7047 var l int
7048 _ = l
7049 n += 1 + sovAgent(uint64(m.Type))
7050 if m.Data != nil {
7051 l = m.Data.ProtoSize()
7052 n += 1 + l + sovAgent(uint64(l))
7053 }
7054 if m.Control != nil {
7055 l = m.Control.ProtoSize()
7056 n += 1 + l + sovAgent(uint64(l))
7057 }
7058 return n
7059 }
7060
7061 func (m *ProcessIO_Data) ProtoSize() (n int) {
7062 var l int
7063 _ = l
7064 n += 1 + sovAgent(uint64(m.Type))
7065 if m.Data != nil {
7066 l = len(m.Data)
7067 n += 1 + l + sovAgent(uint64(l))
7068 }
7069 return n
7070 }
7071
7072 func (m *ProcessIO_Control) ProtoSize() (n int) {
7073 var l int
7074 _ = l
7075 n += 1 + sovAgent(uint64(m.Type))
7076 if m.TTYInfo != nil {
7077 l = m.TTYInfo.ProtoSize()
7078 n += 1 + l + sovAgent(uint64(l))
7079 }
7080 if m.Heartbeat != nil {
7081 l = m.Heartbeat.ProtoSize()
7082 n += 1 + l + sovAgent(uint64(l))
7083 }
7084 return n
7085 }
7086
7087 func (m *ProcessIO_Control_Heartbeat) ProtoSize() (n int) {
7088 var l int
7089 _ = l
7090 if m.Interval != nil {
7091 l = m.Interval.ProtoSize()
7092 n += 1 + l + sovAgent(uint64(l))
7093 }
7094 return n
7095 }
7096
7097 func sovAgent(x uint64) (n int) {
7098 for {
7099 n++
7100 x >>= 7
7101 if x == 0 {
7102 break
7103 }
7104 }
7105 return n
7106 }
7107 func sozAgent(x uint64) (n int) {
7108 return sovAgent(uint64((x << 1) ^ uint64((int64(x) >> 63))))
7109 }
7110 func (this *Call) String() string {
7111 if this == nil {
7112 return "nil"
7113 }
7114 s := strings.Join([]string{`&Call{`,
7115 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
7116 `GetMetrics:` + strings.Replace(fmt.Sprintf("%v", this.GetMetrics), "Call_GetMetrics", "Call_GetMetrics", 1) + `,`,
7117 `SetLoggingLevel:` + strings.Replace(fmt.Sprintf("%v", this.SetLoggingLevel), "Call_SetLoggingLevel", "Call_SetLoggingLevel", 1) + `,`,
7118 `ListFiles:` + strings.Replace(fmt.Sprintf("%v", this.ListFiles), "Call_ListFiles", "Call_ListFiles", 1) + `,`,
7119 `ReadFile:` + strings.Replace(fmt.Sprintf("%v", this.ReadFile), "Call_ReadFile", "Call_ReadFile", 1) + `,`,
7120 `LaunchNestedContainer:` + strings.Replace(fmt.Sprintf("%v", this.LaunchNestedContainer), "Call_LaunchNestedContainer", "Call_LaunchNestedContainer", 1) + `,`,
7121 `WaitNestedContainer:` + strings.Replace(fmt.Sprintf("%v", this.WaitNestedContainer), "Call_WaitNestedContainer", "Call_WaitNestedContainer", 1) + `,`,
7122 `KillNestedContainer:` + strings.Replace(fmt.Sprintf("%v", this.KillNestedContainer), "Call_KillNestedContainer", "Call_KillNestedContainer", 1) + `,`,
7123 `LaunchNestedContainerSession:` + strings.Replace(fmt.Sprintf("%v", this.LaunchNestedContainerSession), "Call_LaunchNestedContainerSession", "Call_LaunchNestedContainerSession", 1) + `,`,
7124 `AttachContainerInput:` + strings.Replace(fmt.Sprintf("%v", this.AttachContainerInput), "Call_AttachContainerInput", "Call_AttachContainerInput", 1) + `,`,
7125 `AttachContainerOutput:` + strings.Replace(fmt.Sprintf("%v", this.AttachContainerOutput), "Call_AttachContainerOutput", "Call_AttachContainerOutput", 1) + `,`,
7126 `RemoveNestedContainer:` + strings.Replace(fmt.Sprintf("%v", this.RemoveNestedContainer), "Call_RemoveNestedContainer", "Call_RemoveNestedContainer", 1) + `,`,
7127 `}`,
7128 }, "")
7129 return s
7130 }
7131 func (this *Call_GetMetrics) String() string {
7132 if this == nil {
7133 return "nil"
7134 }
7135 s := strings.Join([]string{`&Call_GetMetrics{`,
7136 `Timeout:` + strings.Replace(fmt.Sprintf("%v", this.Timeout), "DurationInfo", "mesos.DurationInfo", 1) + `,`,
7137 `}`,
7138 }, "")
7139 return s
7140 }
7141 func (this *Call_SetLoggingLevel) String() string {
7142 if this == nil {
7143 return "nil"
7144 }
7145 s := strings.Join([]string{`&Call_SetLoggingLevel{`,
7146 `Level:` + fmt.Sprintf("%v", this.Level) + `,`,
7147 `Duration:` + strings.Replace(strings.Replace(this.Duration.String(), "DurationInfo", "mesos.DurationInfo", 1), `&`, ``, 1) + `,`,
7148 `}`,
7149 }, "")
7150 return s
7151 }
7152 func (this *Call_ListFiles) String() string {
7153 if this == nil {
7154 return "nil"
7155 }
7156 s := strings.Join([]string{`&Call_ListFiles{`,
7157 `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
7158 `}`,
7159 }, "")
7160 return s
7161 }
7162 func (this *Call_ReadFile) String() string {
7163 if this == nil {
7164 return "nil"
7165 }
7166 s := strings.Join([]string{`&Call_ReadFile{`,
7167 `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
7168 `Offset:` + fmt.Sprintf("%v", this.Offset) + `,`,
7169 `Length:` + valueToStringAgent(this.Length) + `,`,
7170 `}`,
7171 }, "")
7172 return s
7173 }
7174 func (this *Call_LaunchNestedContainer) String() string {
7175 if this == nil {
7176 return "nil"
7177 }
7178 s := strings.Join([]string{`&Call_LaunchNestedContainer{`,
7179 `ContainerID:` + strings.Replace(strings.Replace(this.ContainerID.String(), "ContainerID", "mesos.ContainerID", 1), `&`, ``, 1) + `,`,
7180 `Command:` + strings.Replace(fmt.Sprintf("%v", this.Command), "CommandInfo", "mesos.CommandInfo", 1) + `,`,
7181 `Container:` + strings.Replace(fmt.Sprintf("%v", this.Container), "ContainerInfo", "mesos.ContainerInfo", 1) + `,`,
7182 `}`,
7183 }, "")
7184 return s
7185 }
7186 func (this *Call_WaitNestedContainer) String() string {
7187 if this == nil {
7188 return "nil"
7189 }
7190 s := strings.Join([]string{`&Call_WaitNestedContainer{`,
7191 `ContainerID:` + strings.Replace(strings.Replace(this.ContainerID.String(), "ContainerID", "mesos.ContainerID", 1), `&`, ``, 1) + `,`,
7192 `}`,
7193 }, "")
7194 return s
7195 }
7196 func (this *Call_KillNestedContainer) String() string {
7197 if this == nil {
7198 return "nil"
7199 }
7200 s := strings.Join([]string{`&Call_KillNestedContainer{`,
7201 `ContainerID:` + strings.Replace(strings.Replace(this.ContainerID.String(), "ContainerID", "mesos.ContainerID", 1), `&`, ``, 1) + `,`,
7202 `Signal:` + valueToStringAgent(this.Signal) + `,`,
7203 `}`,
7204 }, "")
7205 return s
7206 }
7207 func (this *Call_RemoveNestedContainer) String() string {
7208 if this == nil {
7209 return "nil"
7210 }
7211 s := strings.Join([]string{`&Call_RemoveNestedContainer{`,
7212 `ContainerID:` + strings.Replace(strings.Replace(this.ContainerID.String(), "ContainerID", "mesos.ContainerID", 1), `&`, ``, 1) + `,`,
7213 `}`,
7214 }, "")
7215 return s
7216 }
7217 func (this *Call_LaunchNestedContainerSession) String() string {
7218 if this == nil {
7219 return "nil"
7220 }
7221 s := strings.Join([]string{`&Call_LaunchNestedContainerSession{`,
7222 `ContainerID:` + strings.Replace(strings.Replace(this.ContainerID.String(), "ContainerID", "mesos.ContainerID", 1), `&`, ``, 1) + `,`,
7223 `Command:` + strings.Replace(fmt.Sprintf("%v", this.Command), "CommandInfo", "mesos.CommandInfo", 1) + `,`,
7224 `Container:` + strings.Replace(fmt.Sprintf("%v", this.Container), "ContainerInfo", "mesos.ContainerInfo", 1) + `,`,
7225 `}`,
7226 }, "")
7227 return s
7228 }
7229 func (this *Call_AttachContainerInput) String() string {
7230 if this == nil {
7231 return "nil"
7232 }
7233 s := strings.Join([]string{`&Call_AttachContainerInput{`,
7234 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
7235 `ContainerID:` + strings.Replace(fmt.Sprintf("%v", this.ContainerID), "ContainerID", "mesos.ContainerID", 1) + `,`,
7236 `ProcessIO:` + strings.Replace(fmt.Sprintf("%v", this.ProcessIO), "ProcessIO", "ProcessIO", 1) + `,`,
7237 `}`,
7238 }, "")
7239 return s
7240 }
7241 func (this *Call_AttachContainerOutput) String() string {
7242 if this == nil {
7243 return "nil"
7244 }
7245 s := strings.Join([]string{`&Call_AttachContainerOutput{`,
7246 `ContainerID:` + strings.Replace(strings.Replace(this.ContainerID.String(), "ContainerID", "mesos.ContainerID", 1), `&`, ``, 1) + `,`,
7247 `}`,
7248 }, "")
7249 return s
7250 }
7251 func (this *Response) String() string {
7252 if this == nil {
7253 return "nil"
7254 }
7255 s := strings.Join([]string{`&Response{`,
7256 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
7257 `GetHealth:` + strings.Replace(fmt.Sprintf("%v", this.GetHealth), "Response_GetHealth", "Response_GetHealth", 1) + `,`,
7258 `GetFlags:` + strings.Replace(fmt.Sprintf("%v", this.GetFlags), "Response_GetFlags", "Response_GetFlags", 1) + `,`,
7259 `GetVersion:` + strings.Replace(fmt.Sprintf("%v", this.GetVersion), "Response_GetVersion", "Response_GetVersion", 1) + `,`,
7260 `GetMetrics:` + strings.Replace(fmt.Sprintf("%v", this.GetMetrics), "Response_GetMetrics", "Response_GetMetrics", 1) + `,`,
7261 `GetLoggingLevel:` + strings.Replace(fmt.Sprintf("%v", this.GetLoggingLevel), "Response_GetLoggingLevel", "Response_GetLoggingLevel", 1) + `,`,
7262 `ListFiles:` + strings.Replace(fmt.Sprintf("%v", this.ListFiles), "Response_ListFiles", "Response_ListFiles", 1) + `,`,
7263 `ReadFile:` + strings.Replace(fmt.Sprintf("%v", this.ReadFile), "Response_ReadFile", "Response_ReadFile", 1) + `,`,
7264 `GetState:` + strings.Replace(fmt.Sprintf("%v", this.GetState), "Response_GetState", "Response_GetState", 1) + `,`,
7265 `GetContainers:` + strings.Replace(fmt.Sprintf("%v", this.GetContainers), "Response_GetContainers", "Response_GetContainers", 1) + `,`,
7266 `GetFrameworks:` + strings.Replace(fmt.Sprintf("%v", this.GetFrameworks), "Response_GetFrameworks", "Response_GetFrameworks", 1) + `,`,
7267 `GetExecutors:` + strings.Replace(fmt.Sprintf("%v", this.GetExecutors), "Response_GetExecutors", "Response_GetExecutors", 1) + `,`,
7268 `GetTasks:` + strings.Replace(fmt.Sprintf("%v", this.GetTasks), "Response_GetTasks", "Response_GetTasks", 1) + `,`,
7269 `WaitNestedContainer:` + strings.Replace(fmt.Sprintf("%v", this.WaitNestedContainer), "Response_WaitNestedContainer", "Response_WaitNestedContainer", 1) + `,`,
7270 `GetAgent:` + strings.Replace(fmt.Sprintf("%v", this.GetAgent), "Response_GetAgent", "Response_GetAgent", 1) + `,`,
7271 `}`,
7272 }, "")
7273 return s
7274 }
7275 func (this *Response_GetHealth) String() string {
7276 if this == nil {
7277 return "nil"
7278 }
7279 s := strings.Join([]string{`&Response_GetHealth{`,
7280 `Healthy:` + fmt.Sprintf("%v", this.Healthy) + `,`,
7281 `}`,
7282 }, "")
7283 return s
7284 }
7285 func (this *Response_GetFlags) String() string {
7286 if this == nil {
7287 return "nil"
7288 }
7289 s := strings.Join([]string{`&Response_GetFlags{`,
7290 `Flags:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Flags), "Flag", "mesos.Flag", 1), `&`, ``, 1) + `,`,
7291 `}`,
7292 }, "")
7293 return s
7294 }
7295 func (this *Response_GetVersion) String() string {
7296 if this == nil {
7297 return "nil"
7298 }
7299 s := strings.Join([]string{`&Response_GetVersion{`,
7300 `VersionInfo:` + strings.Replace(strings.Replace(this.VersionInfo.String(), "VersionInfo", "mesos.VersionInfo", 1), `&`, ``, 1) + `,`,
7301 `}`,
7302 }, "")
7303 return s
7304 }
7305 func (this *Response_GetMetrics) String() string {
7306 if this == nil {
7307 return "nil"
7308 }
7309 s := strings.Join([]string{`&Response_GetMetrics{`,
7310 `Metrics:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Metrics), "Metric", "mesos.Metric", 1), `&`, ``, 1) + `,`,
7311 `}`,
7312 }, "")
7313 return s
7314 }
7315 func (this *Response_GetLoggingLevel) String() string {
7316 if this == nil {
7317 return "nil"
7318 }
7319 s := strings.Join([]string{`&Response_GetLoggingLevel{`,
7320 `Level:` + fmt.Sprintf("%v", this.Level) + `,`,
7321 `}`,
7322 }, "")
7323 return s
7324 }
7325 func (this *Response_ListFiles) String() string {
7326 if this == nil {
7327 return "nil"
7328 }
7329 s := strings.Join([]string{`&Response_ListFiles{`,
7330 `FileInfos:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.FileInfos), "FileInfo", "mesos.FileInfo", 1), `&`, ``, 1) + `,`,
7331 `}`,
7332 }, "")
7333 return s
7334 }
7335 func (this *Response_ReadFile) String() string {
7336 if this == nil {
7337 return "nil"
7338 }
7339 s := strings.Join([]string{`&Response_ReadFile{`,
7340 `Size:` + fmt.Sprintf("%v", this.Size) + `,`,
7341 `Data:` + valueToStringAgent(this.Data) + `,`,
7342 `}`,
7343 }, "")
7344 return s
7345 }
7346 func (this *Response_GetState) String() string {
7347 if this == nil {
7348 return "nil"
7349 }
7350 s := strings.Join([]string{`&Response_GetState{`,
7351 `GetTasks:` + strings.Replace(fmt.Sprintf("%v", this.GetTasks), "Response_GetTasks", "Response_GetTasks", 1) + `,`,
7352 `GetExecutors:` + strings.Replace(fmt.Sprintf("%v", this.GetExecutors), "Response_GetExecutors", "Response_GetExecutors", 1) + `,`,
7353 `GetFrameworks:` + strings.Replace(fmt.Sprintf("%v", this.GetFrameworks), "Response_GetFrameworks", "Response_GetFrameworks", 1) + `,`,
7354 `}`,
7355 }, "")
7356 return s
7357 }
7358 func (this *Response_GetContainers) String() string {
7359 if this == nil {
7360 return "nil"
7361 }
7362 s := strings.Join([]string{`&Response_GetContainers{`,
7363 `Containers:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Containers), "Response_GetContainers_Container", "Response_GetContainers_Container", 1), `&`, ``, 1) + `,`,
7364 `}`,
7365 }, "")
7366 return s
7367 }
7368 func (this *Response_GetContainers_Container) String() string {
7369 if this == nil {
7370 return "nil"
7371 }
7372 s := strings.Join([]string{`&Response_GetContainers_Container{`,
7373 `FrameworkID:` + strings.Replace(strings.Replace(this.FrameworkID.String(), "FrameworkID", "mesos.FrameworkID", 1), `&`, ``, 1) + `,`,
7374 `ExecutorID:` + strings.Replace(strings.Replace(this.ExecutorID.String(), "ExecutorID", "mesos.ExecutorID", 1), `&`, ``, 1) + `,`,
7375 `ExecutorName:` + fmt.Sprintf("%v", this.ExecutorName) + `,`,
7376 `ContainerID:` + strings.Replace(strings.Replace(this.ContainerID.String(), "ContainerID", "mesos.ContainerID", 1), `&`, ``, 1) + `,`,
7377 `ContainerStatus:` + strings.Replace(fmt.Sprintf("%v", this.ContainerStatus), "ContainerStatus", "mesos.ContainerStatus", 1) + `,`,
7378 `ResourceStatistics:` + strings.Replace(fmt.Sprintf("%v", this.ResourceStatistics), "ResourceStatistics", "mesos.ResourceStatistics", 1) + `,`,
7379 `}`,
7380 }, "")
7381 return s
7382 }
7383 func (this *Response_GetFrameworks) String() string {
7384 if this == nil {
7385 return "nil"
7386 }
7387 s := strings.Join([]string{`&Response_GetFrameworks{`,
7388 `Frameworks:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Frameworks), "Response_GetFrameworks_Framework", "Response_GetFrameworks_Framework", 1), `&`, ``, 1) + `,`,
7389 `CompletedFrameworks:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.CompletedFrameworks), "Response_GetFrameworks_Framework", "Response_GetFrameworks_Framework", 1), `&`, ``, 1) + `,`,
7390 `}`,
7391 }, "")
7392 return s
7393 }
7394 func (this *Response_GetFrameworks_Framework) String() string {
7395 if this == nil {
7396 return "nil"
7397 }
7398 s := strings.Join([]string{`&Response_GetFrameworks_Framework{`,
7399 `FrameworkInfo:` + strings.Replace(strings.Replace(this.FrameworkInfo.String(), "FrameworkInfo", "mesos.FrameworkInfo", 1), `&`, ``, 1) + `,`,
7400 `}`,
7401 }, "")
7402 return s
7403 }
7404 func (this *Response_GetExecutors) String() string {
7405 if this == nil {
7406 return "nil"
7407 }
7408 s := strings.Join([]string{`&Response_GetExecutors{`,
7409 `Executors:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Executors), "Response_GetExecutors_Executor", "Response_GetExecutors_Executor", 1), `&`, ``, 1) + `,`,
7410 `CompletedExecutors:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.CompletedExecutors), "Response_GetExecutors_Executor", "Response_GetExecutors_Executor", 1), `&`, ``, 1) + `,`,
7411 `}`,
7412 }, "")
7413 return s
7414 }
7415 func (this *Response_GetExecutors_Executor) String() string {
7416 if this == nil {
7417 return "nil"
7418 }
7419 s := strings.Join([]string{`&Response_GetExecutors_Executor{`,
7420 `ExecutorInfo:` + strings.Replace(strings.Replace(this.ExecutorInfo.String(), "ExecutorInfo", "mesos.ExecutorInfo", 1), `&`, ``, 1) + `,`,
7421 `}`,
7422 }, "")
7423 return s
7424 }
7425 func (this *Response_GetTasks) String() string {
7426 if this == nil {
7427 return "nil"
7428 }
7429 s := strings.Join([]string{`&Response_GetTasks{`,
7430 `PendingTasks:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.PendingTasks), "Task", "mesos.Task", 1), `&`, ``, 1) + `,`,
7431 `QueuedTasks:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.QueuedTasks), "Task", "mesos.Task", 1), `&`, ``, 1) + `,`,
7432 `LaunchedTasks:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LaunchedTasks), "Task", "mesos.Task", 1), `&`, ``, 1) + `,`,
7433 `TerminatedTasks:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.TerminatedTasks), "Task", "mesos.Task", 1), `&`, ``, 1) + `,`,
7434 `CompletedTasks:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.CompletedTasks), "Task", "mesos.Task", 1), `&`, ``, 1) + `,`,
7435 `}`,
7436 }, "")
7437 return s
7438 }
7439 func (this *Response_GetAgent) String() string {
7440 if this == nil {
7441 return "nil"
7442 }
7443 s := strings.Join([]string{`&Response_GetAgent{`,
7444 `AgentInfo:` + strings.Replace(fmt.Sprintf("%v", this.AgentInfo), "AgentInfo", "mesos.AgentInfo", 1) + `,`,
7445 `}`,
7446 }, "")
7447 return s
7448 }
7449 func (this *Response_WaitNestedContainer) String() string {
7450 if this == nil {
7451 return "nil"
7452 }
7453 s := strings.Join([]string{`&Response_WaitNestedContainer{`,
7454 `ExitStatus:` + valueToStringAgent(this.ExitStatus) + `,`,
7455 `}`,
7456 }, "")
7457 return s
7458 }
7459 func (this *ProcessIO) String() string {
7460 if this == nil {
7461 return "nil"
7462 }
7463 s := strings.Join([]string{`&ProcessIO{`,
7464 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
7465 `Data:` + strings.Replace(fmt.Sprintf("%v", this.Data), "ProcessIO_Data", "ProcessIO_Data", 1) + `,`,
7466 `Control:` + strings.Replace(fmt.Sprintf("%v", this.Control), "ProcessIO_Control", "ProcessIO_Control", 1) + `,`,
7467 `}`,
7468 }, "")
7469 return s
7470 }
7471 func (this *ProcessIO_Data) String() string {
7472 if this == nil {
7473 return "nil"
7474 }
7475 s := strings.Join([]string{`&ProcessIO_Data{`,
7476 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
7477 `Data:` + valueToStringAgent(this.Data) + `,`,
7478 `}`,
7479 }, "")
7480 return s
7481 }
7482 func (this *ProcessIO_Control) String() string {
7483 if this == nil {
7484 return "nil"
7485 }
7486 s := strings.Join([]string{`&ProcessIO_Control{`,
7487 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
7488 `TTYInfo:` + strings.Replace(fmt.Sprintf("%v", this.TTYInfo), "TTYInfo", "mesos.TTYInfo", 1) + `,`,
7489 `Heartbeat:` + strings.Replace(fmt.Sprintf("%v", this.Heartbeat), "ProcessIO_Control_Heartbeat", "ProcessIO_Control_Heartbeat", 1) + `,`,
7490 `}`,
7491 }, "")
7492 return s
7493 }
7494 func (this *ProcessIO_Control_Heartbeat) String() string {
7495 if this == nil {
7496 return "nil"
7497 }
7498 s := strings.Join([]string{`&ProcessIO_Control_Heartbeat{`,
7499 `Interval:` + strings.Replace(fmt.Sprintf("%v", this.Interval), "DurationInfo", "mesos.DurationInfo", 1) + `,`,
7500 `}`,
7501 }, "")
7502 return s
7503 }
7504 func valueToStringAgent(v interface{}) string {
7505 rv := reflect.ValueOf(v)
7506 if rv.IsNil() {
7507 return "nil"
7508 }
7509 pv := reflect.Indirect(rv).Interface()
7510 return fmt.Sprintf("*%v", pv)
7511 }
7512 func (m *Call) Unmarshal(dAtA []byte) error {
7513 l := len(dAtA)
7514 iNdEx := 0
7515 for iNdEx < l {
7516 preIndex := iNdEx
7517 var wire uint64
7518 for shift := uint(0); ; shift += 7 {
7519 if shift >= 64 {
7520 return ErrIntOverflowAgent
7521 }
7522 if iNdEx >= l {
7523 return io.ErrUnexpectedEOF
7524 }
7525 b := dAtA[iNdEx]
7526 iNdEx++
7527 wire |= (uint64(b) & 0x7F) << shift
7528 if b < 0x80 {
7529 break
7530 }
7531 }
7532 fieldNum := int32(wire >> 3)
7533 wireType := int(wire & 0x7)
7534 if wireType == 4 {
7535 return fmt.Errorf("proto: Call: wiretype end group for non-group")
7536 }
7537 if fieldNum <= 0 {
7538 return fmt.Errorf("proto: Call: illegal tag %d (wire type %d)", fieldNum, wire)
7539 }
7540 switch fieldNum {
7541 case 1:
7542 if wireType != 0 {
7543 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
7544 }
7545 m.Type = 0
7546 for shift := uint(0); ; shift += 7 {
7547 if shift >= 64 {
7548 return ErrIntOverflowAgent
7549 }
7550 if iNdEx >= l {
7551 return io.ErrUnexpectedEOF
7552 }
7553 b := dAtA[iNdEx]
7554 iNdEx++
7555 m.Type |= (Call_Type(b) & 0x7F) << shift
7556 if b < 0x80 {
7557 break
7558 }
7559 }
7560 case 2:
7561 if wireType != 2 {
7562 return fmt.Errorf("proto: wrong wireType = %d for field GetMetrics", wireType)
7563 }
7564 var msglen int
7565 for shift := uint(0); ; shift += 7 {
7566 if shift >= 64 {
7567 return ErrIntOverflowAgent
7568 }
7569 if iNdEx >= l {
7570 return io.ErrUnexpectedEOF
7571 }
7572 b := dAtA[iNdEx]
7573 iNdEx++
7574 msglen |= (int(b) & 0x7F) << shift
7575 if b < 0x80 {
7576 break
7577 }
7578 }
7579 if msglen < 0 {
7580 return ErrInvalidLengthAgent
7581 }
7582 postIndex := iNdEx + msglen
7583 if postIndex > l {
7584 return io.ErrUnexpectedEOF
7585 }
7586 if m.GetMetrics == nil {
7587 m.GetMetrics = &Call_GetMetrics{}
7588 }
7589 if err := m.GetMetrics.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7590 return err
7591 }
7592 iNdEx = postIndex
7593 case 3:
7594 if wireType != 2 {
7595 return fmt.Errorf("proto: wrong wireType = %d for field SetLoggingLevel", wireType)
7596 }
7597 var msglen int
7598 for shift := uint(0); ; shift += 7 {
7599 if shift >= 64 {
7600 return ErrIntOverflowAgent
7601 }
7602 if iNdEx >= l {
7603 return io.ErrUnexpectedEOF
7604 }
7605 b := dAtA[iNdEx]
7606 iNdEx++
7607 msglen |= (int(b) & 0x7F) << shift
7608 if b < 0x80 {
7609 break
7610 }
7611 }
7612 if msglen < 0 {
7613 return ErrInvalidLengthAgent
7614 }
7615 postIndex := iNdEx + msglen
7616 if postIndex > l {
7617 return io.ErrUnexpectedEOF
7618 }
7619 if m.SetLoggingLevel == nil {
7620 m.SetLoggingLevel = &Call_SetLoggingLevel{}
7621 }
7622 if err := m.SetLoggingLevel.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7623 return err
7624 }
7625 iNdEx = postIndex
7626 case 4:
7627 if wireType != 2 {
7628 return fmt.Errorf("proto: wrong wireType = %d for field ListFiles", wireType)
7629 }
7630 var msglen int
7631 for shift := uint(0); ; shift += 7 {
7632 if shift >= 64 {
7633 return ErrIntOverflowAgent
7634 }
7635 if iNdEx >= l {
7636 return io.ErrUnexpectedEOF
7637 }
7638 b := dAtA[iNdEx]
7639 iNdEx++
7640 msglen |= (int(b) & 0x7F) << shift
7641 if b < 0x80 {
7642 break
7643 }
7644 }
7645 if msglen < 0 {
7646 return ErrInvalidLengthAgent
7647 }
7648 postIndex := iNdEx + msglen
7649 if postIndex > l {
7650 return io.ErrUnexpectedEOF
7651 }
7652 if m.ListFiles == nil {
7653 m.ListFiles = &Call_ListFiles{}
7654 }
7655 if err := m.ListFiles.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7656 return err
7657 }
7658 iNdEx = postIndex
7659 case 5:
7660 if wireType != 2 {
7661 return fmt.Errorf("proto: wrong wireType = %d for field ReadFile", wireType)
7662 }
7663 var msglen int
7664 for shift := uint(0); ; shift += 7 {
7665 if shift >= 64 {
7666 return ErrIntOverflowAgent
7667 }
7668 if iNdEx >= l {
7669 return io.ErrUnexpectedEOF
7670 }
7671 b := dAtA[iNdEx]
7672 iNdEx++
7673 msglen |= (int(b) & 0x7F) << shift
7674 if b < 0x80 {
7675 break
7676 }
7677 }
7678 if msglen < 0 {
7679 return ErrInvalidLengthAgent
7680 }
7681 postIndex := iNdEx + msglen
7682 if postIndex > l {
7683 return io.ErrUnexpectedEOF
7684 }
7685 if m.ReadFile == nil {
7686 m.ReadFile = &Call_ReadFile{}
7687 }
7688 if err := m.ReadFile.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7689 return err
7690 }
7691 iNdEx = postIndex
7692 case 6:
7693 if wireType != 2 {
7694 return fmt.Errorf("proto: wrong wireType = %d for field LaunchNestedContainer", wireType)
7695 }
7696 var msglen int
7697 for shift := uint(0); ; shift += 7 {
7698 if shift >= 64 {
7699 return ErrIntOverflowAgent
7700 }
7701 if iNdEx >= l {
7702 return io.ErrUnexpectedEOF
7703 }
7704 b := dAtA[iNdEx]
7705 iNdEx++
7706 msglen |= (int(b) & 0x7F) << shift
7707 if b < 0x80 {
7708 break
7709 }
7710 }
7711 if msglen < 0 {
7712 return ErrInvalidLengthAgent
7713 }
7714 postIndex := iNdEx + msglen
7715 if postIndex > l {
7716 return io.ErrUnexpectedEOF
7717 }
7718 if m.LaunchNestedContainer == nil {
7719 m.LaunchNestedContainer = &Call_LaunchNestedContainer{}
7720 }
7721 if err := m.LaunchNestedContainer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7722 return err
7723 }
7724 iNdEx = postIndex
7725 case 7:
7726 if wireType != 2 {
7727 return fmt.Errorf("proto: wrong wireType = %d for field WaitNestedContainer", wireType)
7728 }
7729 var msglen int
7730 for shift := uint(0); ; shift += 7 {
7731 if shift >= 64 {
7732 return ErrIntOverflowAgent
7733 }
7734 if iNdEx >= l {
7735 return io.ErrUnexpectedEOF
7736 }
7737 b := dAtA[iNdEx]
7738 iNdEx++
7739 msglen |= (int(b) & 0x7F) << shift
7740 if b < 0x80 {
7741 break
7742 }
7743 }
7744 if msglen < 0 {
7745 return ErrInvalidLengthAgent
7746 }
7747 postIndex := iNdEx + msglen
7748 if postIndex > l {
7749 return io.ErrUnexpectedEOF
7750 }
7751 if m.WaitNestedContainer == nil {
7752 m.WaitNestedContainer = &Call_WaitNestedContainer{}
7753 }
7754 if err := m.WaitNestedContainer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7755 return err
7756 }
7757 iNdEx = postIndex
7758 case 8:
7759 if wireType != 2 {
7760 return fmt.Errorf("proto: wrong wireType = %d for field KillNestedContainer", wireType)
7761 }
7762 var msglen int
7763 for shift := uint(0); ; shift += 7 {
7764 if shift >= 64 {
7765 return ErrIntOverflowAgent
7766 }
7767 if iNdEx >= l {
7768 return io.ErrUnexpectedEOF
7769 }
7770 b := dAtA[iNdEx]
7771 iNdEx++
7772 msglen |= (int(b) & 0x7F) << shift
7773 if b < 0x80 {
7774 break
7775 }
7776 }
7777 if msglen < 0 {
7778 return ErrInvalidLengthAgent
7779 }
7780 postIndex := iNdEx + msglen
7781 if postIndex > l {
7782 return io.ErrUnexpectedEOF
7783 }
7784 if m.KillNestedContainer == nil {
7785 m.KillNestedContainer = &Call_KillNestedContainer{}
7786 }
7787 if err := m.KillNestedContainer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7788 return err
7789 }
7790 iNdEx = postIndex
7791 case 9:
7792 if wireType != 2 {
7793 return fmt.Errorf("proto: wrong wireType = %d for field LaunchNestedContainerSession", wireType)
7794 }
7795 var msglen int
7796 for shift := uint(0); ; shift += 7 {
7797 if shift >= 64 {
7798 return ErrIntOverflowAgent
7799 }
7800 if iNdEx >= l {
7801 return io.ErrUnexpectedEOF
7802 }
7803 b := dAtA[iNdEx]
7804 iNdEx++
7805 msglen |= (int(b) & 0x7F) << shift
7806 if b < 0x80 {
7807 break
7808 }
7809 }
7810 if msglen < 0 {
7811 return ErrInvalidLengthAgent
7812 }
7813 postIndex := iNdEx + msglen
7814 if postIndex > l {
7815 return io.ErrUnexpectedEOF
7816 }
7817 if m.LaunchNestedContainerSession == nil {
7818 m.LaunchNestedContainerSession = &Call_LaunchNestedContainerSession{}
7819 }
7820 if err := m.LaunchNestedContainerSession.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7821 return err
7822 }
7823 iNdEx = postIndex
7824 case 10:
7825 if wireType != 2 {
7826 return fmt.Errorf("proto: wrong wireType = %d for field AttachContainerInput", wireType)
7827 }
7828 var msglen int
7829 for shift := uint(0); ; shift += 7 {
7830 if shift >= 64 {
7831 return ErrIntOverflowAgent
7832 }
7833 if iNdEx >= l {
7834 return io.ErrUnexpectedEOF
7835 }
7836 b := dAtA[iNdEx]
7837 iNdEx++
7838 msglen |= (int(b) & 0x7F) << shift
7839 if b < 0x80 {
7840 break
7841 }
7842 }
7843 if msglen < 0 {
7844 return ErrInvalidLengthAgent
7845 }
7846 postIndex := iNdEx + msglen
7847 if postIndex > l {
7848 return io.ErrUnexpectedEOF
7849 }
7850 if m.AttachContainerInput == nil {
7851 m.AttachContainerInput = &Call_AttachContainerInput{}
7852 }
7853 if err := m.AttachContainerInput.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7854 return err
7855 }
7856 iNdEx = postIndex
7857 case 11:
7858 if wireType != 2 {
7859 return fmt.Errorf("proto: wrong wireType = %d for field AttachContainerOutput", wireType)
7860 }
7861 var msglen int
7862 for shift := uint(0); ; shift += 7 {
7863 if shift >= 64 {
7864 return ErrIntOverflowAgent
7865 }
7866 if iNdEx >= l {
7867 return io.ErrUnexpectedEOF
7868 }
7869 b := dAtA[iNdEx]
7870 iNdEx++
7871 msglen |= (int(b) & 0x7F) << shift
7872 if b < 0x80 {
7873 break
7874 }
7875 }
7876 if msglen < 0 {
7877 return ErrInvalidLengthAgent
7878 }
7879 postIndex := iNdEx + msglen
7880 if postIndex > l {
7881 return io.ErrUnexpectedEOF
7882 }
7883 if m.AttachContainerOutput == nil {
7884 m.AttachContainerOutput = &Call_AttachContainerOutput{}
7885 }
7886 if err := m.AttachContainerOutput.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7887 return err
7888 }
7889 iNdEx = postIndex
7890 case 12:
7891 if wireType != 2 {
7892 return fmt.Errorf("proto: wrong wireType = %d for field RemoveNestedContainer", wireType)
7893 }
7894 var msglen int
7895 for shift := uint(0); ; shift += 7 {
7896 if shift >= 64 {
7897 return ErrIntOverflowAgent
7898 }
7899 if iNdEx >= l {
7900 return io.ErrUnexpectedEOF
7901 }
7902 b := dAtA[iNdEx]
7903 iNdEx++
7904 msglen |= (int(b) & 0x7F) << shift
7905 if b < 0x80 {
7906 break
7907 }
7908 }
7909 if msglen < 0 {
7910 return ErrInvalidLengthAgent
7911 }
7912 postIndex := iNdEx + msglen
7913 if postIndex > l {
7914 return io.ErrUnexpectedEOF
7915 }
7916 if m.RemoveNestedContainer == nil {
7917 m.RemoveNestedContainer = &Call_RemoveNestedContainer{}
7918 }
7919 if err := m.RemoveNestedContainer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7920 return err
7921 }
7922 iNdEx = postIndex
7923 default:
7924 iNdEx = preIndex
7925 skippy, err := skipAgent(dAtA[iNdEx:])
7926 if err != nil {
7927 return err
7928 }
7929 if skippy < 0 {
7930 return ErrInvalidLengthAgent
7931 }
7932 if (iNdEx + skippy) > l {
7933 return io.ErrUnexpectedEOF
7934 }
7935 iNdEx += skippy
7936 }
7937 }
7938
7939 if iNdEx > l {
7940 return io.ErrUnexpectedEOF
7941 }
7942 return nil
7943 }
7944 func (m *Call_GetMetrics) Unmarshal(dAtA []byte) error {
7945 l := len(dAtA)
7946 iNdEx := 0
7947 for iNdEx < l {
7948 preIndex := iNdEx
7949 var wire uint64
7950 for shift := uint(0); ; shift += 7 {
7951 if shift >= 64 {
7952 return ErrIntOverflowAgent
7953 }
7954 if iNdEx >= l {
7955 return io.ErrUnexpectedEOF
7956 }
7957 b := dAtA[iNdEx]
7958 iNdEx++
7959 wire |= (uint64(b) & 0x7F) << shift
7960 if b < 0x80 {
7961 break
7962 }
7963 }
7964 fieldNum := int32(wire >> 3)
7965 wireType := int(wire & 0x7)
7966 if wireType == 4 {
7967 return fmt.Errorf("proto: GetMetrics: wiretype end group for non-group")
7968 }
7969 if fieldNum <= 0 {
7970 return fmt.Errorf("proto: GetMetrics: illegal tag %d (wire type %d)", fieldNum, wire)
7971 }
7972 switch fieldNum {
7973 case 1:
7974 if wireType != 2 {
7975 return fmt.Errorf("proto: wrong wireType = %d for field Timeout", wireType)
7976 }
7977 var msglen int
7978 for shift := uint(0); ; shift += 7 {
7979 if shift >= 64 {
7980 return ErrIntOverflowAgent
7981 }
7982 if iNdEx >= l {
7983 return io.ErrUnexpectedEOF
7984 }
7985 b := dAtA[iNdEx]
7986 iNdEx++
7987 msglen |= (int(b) & 0x7F) << shift
7988 if b < 0x80 {
7989 break
7990 }
7991 }
7992 if msglen < 0 {
7993 return ErrInvalidLengthAgent
7994 }
7995 postIndex := iNdEx + msglen
7996 if postIndex > l {
7997 return io.ErrUnexpectedEOF
7998 }
7999 if m.Timeout == nil {
8000 m.Timeout = &mesos.DurationInfo{}
8001 }
8002 if err := m.Timeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8003 return err
8004 }
8005 iNdEx = postIndex
8006 default:
8007 iNdEx = preIndex
8008 skippy, err := skipAgent(dAtA[iNdEx:])
8009 if err != nil {
8010 return err
8011 }
8012 if skippy < 0 {
8013 return ErrInvalidLengthAgent
8014 }
8015 if (iNdEx + skippy) > l {
8016 return io.ErrUnexpectedEOF
8017 }
8018 iNdEx += skippy
8019 }
8020 }
8021
8022 if iNdEx > l {
8023 return io.ErrUnexpectedEOF
8024 }
8025 return nil
8026 }
8027 func (m *Call_SetLoggingLevel) Unmarshal(dAtA []byte) error {
8028 var hasFields [1]uint64
8029 l := len(dAtA)
8030 iNdEx := 0
8031 for iNdEx < l {
8032 preIndex := iNdEx
8033 var wire uint64
8034 for shift := uint(0); ; shift += 7 {
8035 if shift >= 64 {
8036 return ErrIntOverflowAgent
8037 }
8038 if iNdEx >= l {
8039 return io.ErrUnexpectedEOF
8040 }
8041 b := dAtA[iNdEx]
8042 iNdEx++
8043 wire |= (uint64(b) & 0x7F) << shift
8044 if b < 0x80 {
8045 break
8046 }
8047 }
8048 fieldNum := int32(wire >> 3)
8049 wireType := int(wire & 0x7)
8050 if wireType == 4 {
8051 return fmt.Errorf("proto: SetLoggingLevel: wiretype end group for non-group")
8052 }
8053 if fieldNum <= 0 {
8054 return fmt.Errorf("proto: SetLoggingLevel: illegal tag %d (wire type %d)", fieldNum, wire)
8055 }
8056 switch fieldNum {
8057 case 1:
8058 if wireType != 0 {
8059 return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
8060 }
8061 m.Level = 0
8062 for shift := uint(0); ; shift += 7 {
8063 if shift >= 64 {
8064 return ErrIntOverflowAgent
8065 }
8066 if iNdEx >= l {
8067 return io.ErrUnexpectedEOF
8068 }
8069 b := dAtA[iNdEx]
8070 iNdEx++
8071 m.Level |= (uint32(b) & 0x7F) << shift
8072 if b < 0x80 {
8073 break
8074 }
8075 }
8076 hasFields[0] |= uint64(0x00000001)
8077 case 2:
8078 if wireType != 2 {
8079 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType)
8080 }
8081 var msglen int
8082 for shift := uint(0); ; shift += 7 {
8083 if shift >= 64 {
8084 return ErrIntOverflowAgent
8085 }
8086 if iNdEx >= l {
8087 return io.ErrUnexpectedEOF
8088 }
8089 b := dAtA[iNdEx]
8090 iNdEx++
8091 msglen |= (int(b) & 0x7F) << shift
8092 if b < 0x80 {
8093 break
8094 }
8095 }
8096 if msglen < 0 {
8097 return ErrInvalidLengthAgent
8098 }
8099 postIndex := iNdEx + msglen
8100 if postIndex > l {
8101 return io.ErrUnexpectedEOF
8102 }
8103 if err := m.Duration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8104 return err
8105 }
8106 iNdEx = postIndex
8107 hasFields[0] |= uint64(0x00000002)
8108 default:
8109 iNdEx = preIndex
8110 skippy, err := skipAgent(dAtA[iNdEx:])
8111 if err != nil {
8112 return err
8113 }
8114 if skippy < 0 {
8115 return ErrInvalidLengthAgent
8116 }
8117 if (iNdEx + skippy) > l {
8118 return io.ErrUnexpectedEOF
8119 }
8120 iNdEx += skippy
8121 }
8122 }
8123 if hasFields[0]&uint64(0x00000001) == 0 {
8124 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("level")
8125 }
8126 if hasFields[0]&uint64(0x00000002) == 0 {
8127 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("duration")
8128 }
8129
8130 if iNdEx > l {
8131 return io.ErrUnexpectedEOF
8132 }
8133 return nil
8134 }
8135 func (m *Call_ListFiles) Unmarshal(dAtA []byte) error {
8136 var hasFields [1]uint64
8137 l := len(dAtA)
8138 iNdEx := 0
8139 for iNdEx < l {
8140 preIndex := iNdEx
8141 var wire uint64
8142 for shift := uint(0); ; shift += 7 {
8143 if shift >= 64 {
8144 return ErrIntOverflowAgent
8145 }
8146 if iNdEx >= l {
8147 return io.ErrUnexpectedEOF
8148 }
8149 b := dAtA[iNdEx]
8150 iNdEx++
8151 wire |= (uint64(b) & 0x7F) << shift
8152 if b < 0x80 {
8153 break
8154 }
8155 }
8156 fieldNum := int32(wire >> 3)
8157 wireType := int(wire & 0x7)
8158 if wireType == 4 {
8159 return fmt.Errorf("proto: ListFiles: wiretype end group for non-group")
8160 }
8161 if fieldNum <= 0 {
8162 return fmt.Errorf("proto: ListFiles: illegal tag %d (wire type %d)", fieldNum, wire)
8163 }
8164 switch fieldNum {
8165 case 1:
8166 if wireType != 2 {
8167 return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
8168 }
8169 var stringLen uint64
8170 for shift := uint(0); ; shift += 7 {
8171 if shift >= 64 {
8172 return ErrIntOverflowAgent
8173 }
8174 if iNdEx >= l {
8175 return io.ErrUnexpectedEOF
8176 }
8177 b := dAtA[iNdEx]
8178 iNdEx++
8179 stringLen |= (uint64(b) & 0x7F) << shift
8180 if b < 0x80 {
8181 break
8182 }
8183 }
8184 intStringLen := int(stringLen)
8185 if intStringLen < 0 {
8186 return ErrInvalidLengthAgent
8187 }
8188 postIndex := iNdEx + intStringLen
8189 if postIndex > l {
8190 return io.ErrUnexpectedEOF
8191 }
8192 m.Path = string(dAtA[iNdEx:postIndex])
8193 iNdEx = postIndex
8194 hasFields[0] |= uint64(0x00000001)
8195 default:
8196 iNdEx = preIndex
8197 skippy, err := skipAgent(dAtA[iNdEx:])
8198 if err != nil {
8199 return err
8200 }
8201 if skippy < 0 {
8202 return ErrInvalidLengthAgent
8203 }
8204 if (iNdEx + skippy) > l {
8205 return io.ErrUnexpectedEOF
8206 }
8207 iNdEx += skippy
8208 }
8209 }
8210 if hasFields[0]&uint64(0x00000001) == 0 {
8211 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("path")
8212 }
8213
8214 if iNdEx > l {
8215 return io.ErrUnexpectedEOF
8216 }
8217 return nil
8218 }
8219 func (m *Call_ReadFile) Unmarshal(dAtA []byte) error {
8220 var hasFields [1]uint64
8221 l := len(dAtA)
8222 iNdEx := 0
8223 for iNdEx < l {
8224 preIndex := iNdEx
8225 var wire uint64
8226 for shift := uint(0); ; shift += 7 {
8227 if shift >= 64 {
8228 return ErrIntOverflowAgent
8229 }
8230 if iNdEx >= l {
8231 return io.ErrUnexpectedEOF
8232 }
8233 b := dAtA[iNdEx]
8234 iNdEx++
8235 wire |= (uint64(b) & 0x7F) << shift
8236 if b < 0x80 {
8237 break
8238 }
8239 }
8240 fieldNum := int32(wire >> 3)
8241 wireType := int(wire & 0x7)
8242 if wireType == 4 {
8243 return fmt.Errorf("proto: ReadFile: wiretype end group for non-group")
8244 }
8245 if fieldNum <= 0 {
8246 return fmt.Errorf("proto: ReadFile: illegal tag %d (wire type %d)", fieldNum, wire)
8247 }
8248 switch fieldNum {
8249 case 1:
8250 if wireType != 2 {
8251 return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
8252 }
8253 var stringLen uint64
8254 for shift := uint(0); ; shift += 7 {
8255 if shift >= 64 {
8256 return ErrIntOverflowAgent
8257 }
8258 if iNdEx >= l {
8259 return io.ErrUnexpectedEOF
8260 }
8261 b := dAtA[iNdEx]
8262 iNdEx++
8263 stringLen |= (uint64(b) & 0x7F) << shift
8264 if b < 0x80 {
8265 break
8266 }
8267 }
8268 intStringLen := int(stringLen)
8269 if intStringLen < 0 {
8270 return ErrInvalidLengthAgent
8271 }
8272 postIndex := iNdEx + intStringLen
8273 if postIndex > l {
8274 return io.ErrUnexpectedEOF
8275 }
8276 m.Path = string(dAtA[iNdEx:postIndex])
8277 iNdEx = postIndex
8278 hasFields[0] |= uint64(0x00000001)
8279 case 2:
8280 if wireType != 0 {
8281 return fmt.Errorf("proto: wrong wireType = %d for field Offset", wireType)
8282 }
8283 m.Offset = 0
8284 for shift := uint(0); ; shift += 7 {
8285 if shift >= 64 {
8286 return ErrIntOverflowAgent
8287 }
8288 if iNdEx >= l {
8289 return io.ErrUnexpectedEOF
8290 }
8291 b := dAtA[iNdEx]
8292 iNdEx++
8293 m.Offset |= (uint64(b) & 0x7F) << shift
8294 if b < 0x80 {
8295 break
8296 }
8297 }
8298 hasFields[0] |= uint64(0x00000002)
8299 case 3:
8300 if wireType != 0 {
8301 return fmt.Errorf("proto: wrong wireType = %d for field Length", wireType)
8302 }
8303 var v uint64
8304 for shift := uint(0); ; shift += 7 {
8305 if shift >= 64 {
8306 return ErrIntOverflowAgent
8307 }
8308 if iNdEx >= l {
8309 return io.ErrUnexpectedEOF
8310 }
8311 b := dAtA[iNdEx]
8312 iNdEx++
8313 v |= (uint64(b) & 0x7F) << shift
8314 if b < 0x80 {
8315 break
8316 }
8317 }
8318 m.Length = &v
8319 default:
8320 iNdEx = preIndex
8321 skippy, err := skipAgent(dAtA[iNdEx:])
8322 if err != nil {
8323 return err
8324 }
8325 if skippy < 0 {
8326 return ErrInvalidLengthAgent
8327 }
8328 if (iNdEx + skippy) > l {
8329 return io.ErrUnexpectedEOF
8330 }
8331 iNdEx += skippy
8332 }
8333 }
8334 if hasFields[0]&uint64(0x00000001) == 0 {
8335 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("path")
8336 }
8337 if hasFields[0]&uint64(0x00000002) == 0 {
8338 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("offset")
8339 }
8340
8341 if iNdEx > l {
8342 return io.ErrUnexpectedEOF
8343 }
8344 return nil
8345 }
8346 func (m *Call_LaunchNestedContainer) Unmarshal(dAtA []byte) error {
8347 var hasFields [1]uint64
8348 l := len(dAtA)
8349 iNdEx := 0
8350 for iNdEx < l {
8351 preIndex := iNdEx
8352 var wire uint64
8353 for shift := uint(0); ; shift += 7 {
8354 if shift >= 64 {
8355 return ErrIntOverflowAgent
8356 }
8357 if iNdEx >= l {
8358 return io.ErrUnexpectedEOF
8359 }
8360 b := dAtA[iNdEx]
8361 iNdEx++
8362 wire |= (uint64(b) & 0x7F) << shift
8363 if b < 0x80 {
8364 break
8365 }
8366 }
8367 fieldNum := int32(wire >> 3)
8368 wireType := int(wire & 0x7)
8369 if wireType == 4 {
8370 return fmt.Errorf("proto: LaunchNestedContainer: wiretype end group for non-group")
8371 }
8372 if fieldNum <= 0 {
8373 return fmt.Errorf("proto: LaunchNestedContainer: illegal tag %d (wire type %d)", fieldNum, wire)
8374 }
8375 switch fieldNum {
8376 case 1:
8377 if wireType != 2 {
8378 return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
8379 }
8380 var msglen int
8381 for shift := uint(0); ; shift += 7 {
8382 if shift >= 64 {
8383 return ErrIntOverflowAgent
8384 }
8385 if iNdEx >= l {
8386 return io.ErrUnexpectedEOF
8387 }
8388 b := dAtA[iNdEx]
8389 iNdEx++
8390 msglen |= (int(b) & 0x7F) << shift
8391 if b < 0x80 {
8392 break
8393 }
8394 }
8395 if msglen < 0 {
8396 return ErrInvalidLengthAgent
8397 }
8398 postIndex := iNdEx + msglen
8399 if postIndex > l {
8400 return io.ErrUnexpectedEOF
8401 }
8402 if err := m.ContainerID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8403 return err
8404 }
8405 iNdEx = postIndex
8406 hasFields[0] |= uint64(0x00000001)
8407 case 2:
8408 if wireType != 2 {
8409 return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType)
8410 }
8411 var msglen int
8412 for shift := uint(0); ; shift += 7 {
8413 if shift >= 64 {
8414 return ErrIntOverflowAgent
8415 }
8416 if iNdEx >= l {
8417 return io.ErrUnexpectedEOF
8418 }
8419 b := dAtA[iNdEx]
8420 iNdEx++
8421 msglen |= (int(b) & 0x7F) << shift
8422 if b < 0x80 {
8423 break
8424 }
8425 }
8426 if msglen < 0 {
8427 return ErrInvalidLengthAgent
8428 }
8429 postIndex := iNdEx + msglen
8430 if postIndex > l {
8431 return io.ErrUnexpectedEOF
8432 }
8433 if m.Command == nil {
8434 m.Command = &mesos.CommandInfo{}
8435 }
8436 if err := m.Command.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8437 return err
8438 }
8439 iNdEx = postIndex
8440 case 3:
8441 if wireType != 2 {
8442 return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
8443 }
8444 var msglen int
8445 for shift := uint(0); ; shift += 7 {
8446 if shift >= 64 {
8447 return ErrIntOverflowAgent
8448 }
8449 if iNdEx >= l {
8450 return io.ErrUnexpectedEOF
8451 }
8452 b := dAtA[iNdEx]
8453 iNdEx++
8454 msglen |= (int(b) & 0x7F) << shift
8455 if b < 0x80 {
8456 break
8457 }
8458 }
8459 if msglen < 0 {
8460 return ErrInvalidLengthAgent
8461 }
8462 postIndex := iNdEx + msglen
8463 if postIndex > l {
8464 return io.ErrUnexpectedEOF
8465 }
8466 if m.Container == nil {
8467 m.Container = &mesos.ContainerInfo{}
8468 }
8469 if err := m.Container.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8470 return err
8471 }
8472 iNdEx = postIndex
8473 default:
8474 iNdEx = preIndex
8475 skippy, err := skipAgent(dAtA[iNdEx:])
8476 if err != nil {
8477 return err
8478 }
8479 if skippy < 0 {
8480 return ErrInvalidLengthAgent
8481 }
8482 if (iNdEx + skippy) > l {
8483 return io.ErrUnexpectedEOF
8484 }
8485 iNdEx += skippy
8486 }
8487 }
8488 if hasFields[0]&uint64(0x00000001) == 0 {
8489 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("container_id")
8490 }
8491
8492 if iNdEx > l {
8493 return io.ErrUnexpectedEOF
8494 }
8495 return nil
8496 }
8497 func (m *Call_WaitNestedContainer) Unmarshal(dAtA []byte) error {
8498 var hasFields [1]uint64
8499 l := len(dAtA)
8500 iNdEx := 0
8501 for iNdEx < l {
8502 preIndex := iNdEx
8503 var wire uint64
8504 for shift := uint(0); ; shift += 7 {
8505 if shift >= 64 {
8506 return ErrIntOverflowAgent
8507 }
8508 if iNdEx >= l {
8509 return io.ErrUnexpectedEOF
8510 }
8511 b := dAtA[iNdEx]
8512 iNdEx++
8513 wire |= (uint64(b) & 0x7F) << shift
8514 if b < 0x80 {
8515 break
8516 }
8517 }
8518 fieldNum := int32(wire >> 3)
8519 wireType := int(wire & 0x7)
8520 if wireType == 4 {
8521 return fmt.Errorf("proto: WaitNestedContainer: wiretype end group for non-group")
8522 }
8523 if fieldNum <= 0 {
8524 return fmt.Errorf("proto: WaitNestedContainer: illegal tag %d (wire type %d)", fieldNum, wire)
8525 }
8526 switch fieldNum {
8527 case 1:
8528 if wireType != 2 {
8529 return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
8530 }
8531 var msglen int
8532 for shift := uint(0); ; shift += 7 {
8533 if shift >= 64 {
8534 return ErrIntOverflowAgent
8535 }
8536 if iNdEx >= l {
8537 return io.ErrUnexpectedEOF
8538 }
8539 b := dAtA[iNdEx]
8540 iNdEx++
8541 msglen |= (int(b) & 0x7F) << shift
8542 if b < 0x80 {
8543 break
8544 }
8545 }
8546 if msglen < 0 {
8547 return ErrInvalidLengthAgent
8548 }
8549 postIndex := iNdEx + msglen
8550 if postIndex > l {
8551 return io.ErrUnexpectedEOF
8552 }
8553 if err := m.ContainerID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8554 return err
8555 }
8556 iNdEx = postIndex
8557 hasFields[0] |= uint64(0x00000001)
8558 default:
8559 iNdEx = preIndex
8560 skippy, err := skipAgent(dAtA[iNdEx:])
8561 if err != nil {
8562 return err
8563 }
8564 if skippy < 0 {
8565 return ErrInvalidLengthAgent
8566 }
8567 if (iNdEx + skippy) > l {
8568 return io.ErrUnexpectedEOF
8569 }
8570 iNdEx += skippy
8571 }
8572 }
8573 if hasFields[0]&uint64(0x00000001) == 0 {
8574 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("container_id")
8575 }
8576
8577 if iNdEx > l {
8578 return io.ErrUnexpectedEOF
8579 }
8580 return nil
8581 }
8582 func (m *Call_KillNestedContainer) Unmarshal(dAtA []byte) error {
8583 var hasFields [1]uint64
8584 l := len(dAtA)
8585 iNdEx := 0
8586 for iNdEx < l {
8587 preIndex := iNdEx
8588 var wire uint64
8589 for shift := uint(0); ; shift += 7 {
8590 if shift >= 64 {
8591 return ErrIntOverflowAgent
8592 }
8593 if iNdEx >= l {
8594 return io.ErrUnexpectedEOF
8595 }
8596 b := dAtA[iNdEx]
8597 iNdEx++
8598 wire |= (uint64(b) & 0x7F) << shift
8599 if b < 0x80 {
8600 break
8601 }
8602 }
8603 fieldNum := int32(wire >> 3)
8604 wireType := int(wire & 0x7)
8605 if wireType == 4 {
8606 return fmt.Errorf("proto: KillNestedContainer: wiretype end group for non-group")
8607 }
8608 if fieldNum <= 0 {
8609 return fmt.Errorf("proto: KillNestedContainer: illegal tag %d (wire type %d)", fieldNum, wire)
8610 }
8611 switch fieldNum {
8612 case 1:
8613 if wireType != 2 {
8614 return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
8615 }
8616 var msglen int
8617 for shift := uint(0); ; shift += 7 {
8618 if shift >= 64 {
8619 return ErrIntOverflowAgent
8620 }
8621 if iNdEx >= l {
8622 return io.ErrUnexpectedEOF
8623 }
8624 b := dAtA[iNdEx]
8625 iNdEx++
8626 msglen |= (int(b) & 0x7F) << shift
8627 if b < 0x80 {
8628 break
8629 }
8630 }
8631 if msglen < 0 {
8632 return ErrInvalidLengthAgent
8633 }
8634 postIndex := iNdEx + msglen
8635 if postIndex > l {
8636 return io.ErrUnexpectedEOF
8637 }
8638 if err := m.ContainerID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8639 return err
8640 }
8641 iNdEx = postIndex
8642 hasFields[0] |= uint64(0x00000001)
8643 case 2:
8644 if wireType != 0 {
8645 return fmt.Errorf("proto: wrong wireType = %d for field Signal", wireType)
8646 }
8647 var v int32
8648 for shift := uint(0); ; shift += 7 {
8649 if shift >= 64 {
8650 return ErrIntOverflowAgent
8651 }
8652 if iNdEx >= l {
8653 return io.ErrUnexpectedEOF
8654 }
8655 b := dAtA[iNdEx]
8656 iNdEx++
8657 v |= (int32(b) & 0x7F) << shift
8658 if b < 0x80 {
8659 break
8660 }
8661 }
8662 m.Signal = &v
8663 default:
8664 iNdEx = preIndex
8665 skippy, err := skipAgent(dAtA[iNdEx:])
8666 if err != nil {
8667 return err
8668 }
8669 if skippy < 0 {
8670 return ErrInvalidLengthAgent
8671 }
8672 if (iNdEx + skippy) > l {
8673 return io.ErrUnexpectedEOF
8674 }
8675 iNdEx += skippy
8676 }
8677 }
8678 if hasFields[0]&uint64(0x00000001) == 0 {
8679 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("container_id")
8680 }
8681
8682 if iNdEx > l {
8683 return io.ErrUnexpectedEOF
8684 }
8685 return nil
8686 }
8687 func (m *Call_RemoveNestedContainer) Unmarshal(dAtA []byte) error {
8688 var hasFields [1]uint64
8689 l := len(dAtA)
8690 iNdEx := 0
8691 for iNdEx < l {
8692 preIndex := iNdEx
8693 var wire uint64
8694 for shift := uint(0); ; shift += 7 {
8695 if shift >= 64 {
8696 return ErrIntOverflowAgent
8697 }
8698 if iNdEx >= l {
8699 return io.ErrUnexpectedEOF
8700 }
8701 b := dAtA[iNdEx]
8702 iNdEx++
8703 wire |= (uint64(b) & 0x7F) << shift
8704 if b < 0x80 {
8705 break
8706 }
8707 }
8708 fieldNum := int32(wire >> 3)
8709 wireType := int(wire & 0x7)
8710 if wireType == 4 {
8711 return fmt.Errorf("proto: RemoveNestedContainer: wiretype end group for non-group")
8712 }
8713 if fieldNum <= 0 {
8714 return fmt.Errorf("proto: RemoveNestedContainer: illegal tag %d (wire type %d)", fieldNum, wire)
8715 }
8716 switch fieldNum {
8717 case 1:
8718 if wireType != 2 {
8719 return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
8720 }
8721 var msglen int
8722 for shift := uint(0); ; shift += 7 {
8723 if shift >= 64 {
8724 return ErrIntOverflowAgent
8725 }
8726 if iNdEx >= l {
8727 return io.ErrUnexpectedEOF
8728 }
8729 b := dAtA[iNdEx]
8730 iNdEx++
8731 msglen |= (int(b) & 0x7F) << shift
8732 if b < 0x80 {
8733 break
8734 }
8735 }
8736 if msglen < 0 {
8737 return ErrInvalidLengthAgent
8738 }
8739 postIndex := iNdEx + msglen
8740 if postIndex > l {
8741 return io.ErrUnexpectedEOF
8742 }
8743 if err := m.ContainerID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8744 return err
8745 }
8746 iNdEx = postIndex
8747 hasFields[0] |= uint64(0x00000001)
8748 default:
8749 iNdEx = preIndex
8750 skippy, err := skipAgent(dAtA[iNdEx:])
8751 if err != nil {
8752 return err
8753 }
8754 if skippy < 0 {
8755 return ErrInvalidLengthAgent
8756 }
8757 if (iNdEx + skippy) > l {
8758 return io.ErrUnexpectedEOF
8759 }
8760 iNdEx += skippy
8761 }
8762 }
8763 if hasFields[0]&uint64(0x00000001) == 0 {
8764 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("container_id")
8765 }
8766
8767 if iNdEx > l {
8768 return io.ErrUnexpectedEOF
8769 }
8770 return nil
8771 }
8772 func (m *Call_LaunchNestedContainerSession) Unmarshal(dAtA []byte) error {
8773 var hasFields [1]uint64
8774 l := len(dAtA)
8775 iNdEx := 0
8776 for iNdEx < l {
8777 preIndex := iNdEx
8778 var wire uint64
8779 for shift := uint(0); ; shift += 7 {
8780 if shift >= 64 {
8781 return ErrIntOverflowAgent
8782 }
8783 if iNdEx >= l {
8784 return io.ErrUnexpectedEOF
8785 }
8786 b := dAtA[iNdEx]
8787 iNdEx++
8788 wire |= (uint64(b) & 0x7F) << shift
8789 if b < 0x80 {
8790 break
8791 }
8792 }
8793 fieldNum := int32(wire >> 3)
8794 wireType := int(wire & 0x7)
8795 if wireType == 4 {
8796 return fmt.Errorf("proto: LaunchNestedContainerSession: wiretype end group for non-group")
8797 }
8798 if fieldNum <= 0 {
8799 return fmt.Errorf("proto: LaunchNestedContainerSession: illegal tag %d (wire type %d)", fieldNum, wire)
8800 }
8801 switch fieldNum {
8802 case 1:
8803 if wireType != 2 {
8804 return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
8805 }
8806 var msglen int
8807 for shift := uint(0); ; shift += 7 {
8808 if shift >= 64 {
8809 return ErrIntOverflowAgent
8810 }
8811 if iNdEx >= l {
8812 return io.ErrUnexpectedEOF
8813 }
8814 b := dAtA[iNdEx]
8815 iNdEx++
8816 msglen |= (int(b) & 0x7F) << shift
8817 if b < 0x80 {
8818 break
8819 }
8820 }
8821 if msglen < 0 {
8822 return ErrInvalidLengthAgent
8823 }
8824 postIndex := iNdEx + msglen
8825 if postIndex > l {
8826 return io.ErrUnexpectedEOF
8827 }
8828 if err := m.ContainerID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8829 return err
8830 }
8831 iNdEx = postIndex
8832 hasFields[0] |= uint64(0x00000001)
8833 case 2:
8834 if wireType != 2 {
8835 return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType)
8836 }
8837 var msglen int
8838 for shift := uint(0); ; shift += 7 {
8839 if shift >= 64 {
8840 return ErrIntOverflowAgent
8841 }
8842 if iNdEx >= l {
8843 return io.ErrUnexpectedEOF
8844 }
8845 b := dAtA[iNdEx]
8846 iNdEx++
8847 msglen |= (int(b) & 0x7F) << shift
8848 if b < 0x80 {
8849 break
8850 }
8851 }
8852 if msglen < 0 {
8853 return ErrInvalidLengthAgent
8854 }
8855 postIndex := iNdEx + msglen
8856 if postIndex > l {
8857 return io.ErrUnexpectedEOF
8858 }
8859 if m.Command == nil {
8860 m.Command = &mesos.CommandInfo{}
8861 }
8862 if err := m.Command.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8863 return err
8864 }
8865 iNdEx = postIndex
8866 case 3:
8867 if wireType != 2 {
8868 return fmt.Errorf("proto: wrong wireType = %d for field Container", wireType)
8869 }
8870 var msglen int
8871 for shift := uint(0); ; shift += 7 {
8872 if shift >= 64 {
8873 return ErrIntOverflowAgent
8874 }
8875 if iNdEx >= l {
8876 return io.ErrUnexpectedEOF
8877 }
8878 b := dAtA[iNdEx]
8879 iNdEx++
8880 msglen |= (int(b) & 0x7F) << shift
8881 if b < 0x80 {
8882 break
8883 }
8884 }
8885 if msglen < 0 {
8886 return ErrInvalidLengthAgent
8887 }
8888 postIndex := iNdEx + msglen
8889 if postIndex > l {
8890 return io.ErrUnexpectedEOF
8891 }
8892 if m.Container == nil {
8893 m.Container = &mesos.ContainerInfo{}
8894 }
8895 if err := m.Container.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8896 return err
8897 }
8898 iNdEx = postIndex
8899 default:
8900 iNdEx = preIndex
8901 skippy, err := skipAgent(dAtA[iNdEx:])
8902 if err != nil {
8903 return err
8904 }
8905 if skippy < 0 {
8906 return ErrInvalidLengthAgent
8907 }
8908 if (iNdEx + skippy) > l {
8909 return io.ErrUnexpectedEOF
8910 }
8911 iNdEx += skippy
8912 }
8913 }
8914 if hasFields[0]&uint64(0x00000001) == 0 {
8915 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("container_id")
8916 }
8917
8918 if iNdEx > l {
8919 return io.ErrUnexpectedEOF
8920 }
8921 return nil
8922 }
8923 func (m *Call_AttachContainerInput) Unmarshal(dAtA []byte) error {
8924 l := len(dAtA)
8925 iNdEx := 0
8926 for iNdEx < l {
8927 preIndex := iNdEx
8928 var wire uint64
8929 for shift := uint(0); ; shift += 7 {
8930 if shift >= 64 {
8931 return ErrIntOverflowAgent
8932 }
8933 if iNdEx >= l {
8934 return io.ErrUnexpectedEOF
8935 }
8936 b := dAtA[iNdEx]
8937 iNdEx++
8938 wire |= (uint64(b) & 0x7F) << shift
8939 if b < 0x80 {
8940 break
8941 }
8942 }
8943 fieldNum := int32(wire >> 3)
8944 wireType := int(wire & 0x7)
8945 if wireType == 4 {
8946 return fmt.Errorf("proto: AttachContainerInput: wiretype end group for non-group")
8947 }
8948 if fieldNum <= 0 {
8949 return fmt.Errorf("proto: AttachContainerInput: illegal tag %d (wire type %d)", fieldNum, wire)
8950 }
8951 switch fieldNum {
8952 case 1:
8953 if wireType != 0 {
8954 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
8955 }
8956 m.Type = 0
8957 for shift := uint(0); ; shift += 7 {
8958 if shift >= 64 {
8959 return ErrIntOverflowAgent
8960 }
8961 if iNdEx >= l {
8962 return io.ErrUnexpectedEOF
8963 }
8964 b := dAtA[iNdEx]
8965 iNdEx++
8966 m.Type |= (Call_AttachContainerInput_Type(b) & 0x7F) << shift
8967 if b < 0x80 {
8968 break
8969 }
8970 }
8971 case 2:
8972 if wireType != 2 {
8973 return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
8974 }
8975 var msglen int
8976 for shift := uint(0); ; shift += 7 {
8977 if shift >= 64 {
8978 return ErrIntOverflowAgent
8979 }
8980 if iNdEx >= l {
8981 return io.ErrUnexpectedEOF
8982 }
8983 b := dAtA[iNdEx]
8984 iNdEx++
8985 msglen |= (int(b) & 0x7F) << shift
8986 if b < 0x80 {
8987 break
8988 }
8989 }
8990 if msglen < 0 {
8991 return ErrInvalidLengthAgent
8992 }
8993 postIndex := iNdEx + msglen
8994 if postIndex > l {
8995 return io.ErrUnexpectedEOF
8996 }
8997 if m.ContainerID == nil {
8998 m.ContainerID = &mesos.ContainerID{}
8999 }
9000 if err := m.ContainerID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9001 return err
9002 }
9003 iNdEx = postIndex
9004 case 3:
9005 if wireType != 2 {
9006 return fmt.Errorf("proto: wrong wireType = %d for field ProcessIO", wireType)
9007 }
9008 var msglen int
9009 for shift := uint(0); ; shift += 7 {
9010 if shift >= 64 {
9011 return ErrIntOverflowAgent
9012 }
9013 if iNdEx >= l {
9014 return io.ErrUnexpectedEOF
9015 }
9016 b := dAtA[iNdEx]
9017 iNdEx++
9018 msglen |= (int(b) & 0x7F) << shift
9019 if b < 0x80 {
9020 break
9021 }
9022 }
9023 if msglen < 0 {
9024 return ErrInvalidLengthAgent
9025 }
9026 postIndex := iNdEx + msglen
9027 if postIndex > l {
9028 return io.ErrUnexpectedEOF
9029 }
9030 if m.ProcessIO == nil {
9031 m.ProcessIO = &ProcessIO{}
9032 }
9033 if err := m.ProcessIO.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9034 return err
9035 }
9036 iNdEx = postIndex
9037 default:
9038 iNdEx = preIndex
9039 skippy, err := skipAgent(dAtA[iNdEx:])
9040 if err != nil {
9041 return err
9042 }
9043 if skippy < 0 {
9044 return ErrInvalidLengthAgent
9045 }
9046 if (iNdEx + skippy) > l {
9047 return io.ErrUnexpectedEOF
9048 }
9049 iNdEx += skippy
9050 }
9051 }
9052
9053 if iNdEx > l {
9054 return io.ErrUnexpectedEOF
9055 }
9056 return nil
9057 }
9058 func (m *Call_AttachContainerOutput) Unmarshal(dAtA []byte) error {
9059 var hasFields [1]uint64
9060 l := len(dAtA)
9061 iNdEx := 0
9062 for iNdEx < l {
9063 preIndex := iNdEx
9064 var wire uint64
9065 for shift := uint(0); ; shift += 7 {
9066 if shift >= 64 {
9067 return ErrIntOverflowAgent
9068 }
9069 if iNdEx >= l {
9070 return io.ErrUnexpectedEOF
9071 }
9072 b := dAtA[iNdEx]
9073 iNdEx++
9074 wire |= (uint64(b) & 0x7F) << shift
9075 if b < 0x80 {
9076 break
9077 }
9078 }
9079 fieldNum := int32(wire >> 3)
9080 wireType := int(wire & 0x7)
9081 if wireType == 4 {
9082 return fmt.Errorf("proto: AttachContainerOutput: wiretype end group for non-group")
9083 }
9084 if fieldNum <= 0 {
9085 return fmt.Errorf("proto: AttachContainerOutput: illegal tag %d (wire type %d)", fieldNum, wire)
9086 }
9087 switch fieldNum {
9088 case 1:
9089 if wireType != 2 {
9090 return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
9091 }
9092 var msglen int
9093 for shift := uint(0); ; shift += 7 {
9094 if shift >= 64 {
9095 return ErrIntOverflowAgent
9096 }
9097 if iNdEx >= l {
9098 return io.ErrUnexpectedEOF
9099 }
9100 b := dAtA[iNdEx]
9101 iNdEx++
9102 msglen |= (int(b) & 0x7F) << shift
9103 if b < 0x80 {
9104 break
9105 }
9106 }
9107 if msglen < 0 {
9108 return ErrInvalidLengthAgent
9109 }
9110 postIndex := iNdEx + msglen
9111 if postIndex > l {
9112 return io.ErrUnexpectedEOF
9113 }
9114 if err := m.ContainerID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9115 return err
9116 }
9117 iNdEx = postIndex
9118 hasFields[0] |= uint64(0x00000001)
9119 default:
9120 iNdEx = preIndex
9121 skippy, err := skipAgent(dAtA[iNdEx:])
9122 if err != nil {
9123 return err
9124 }
9125 if skippy < 0 {
9126 return ErrInvalidLengthAgent
9127 }
9128 if (iNdEx + skippy) > l {
9129 return io.ErrUnexpectedEOF
9130 }
9131 iNdEx += skippy
9132 }
9133 }
9134 if hasFields[0]&uint64(0x00000001) == 0 {
9135 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("container_id")
9136 }
9137
9138 if iNdEx > l {
9139 return io.ErrUnexpectedEOF
9140 }
9141 return nil
9142 }
9143 func (m *Response) Unmarshal(dAtA []byte) error {
9144 l := len(dAtA)
9145 iNdEx := 0
9146 for iNdEx < l {
9147 preIndex := iNdEx
9148 var wire uint64
9149 for shift := uint(0); ; shift += 7 {
9150 if shift >= 64 {
9151 return ErrIntOverflowAgent
9152 }
9153 if iNdEx >= l {
9154 return io.ErrUnexpectedEOF
9155 }
9156 b := dAtA[iNdEx]
9157 iNdEx++
9158 wire |= (uint64(b) & 0x7F) << shift
9159 if b < 0x80 {
9160 break
9161 }
9162 }
9163 fieldNum := int32(wire >> 3)
9164 wireType := int(wire & 0x7)
9165 if wireType == 4 {
9166 return fmt.Errorf("proto: Response: wiretype end group for non-group")
9167 }
9168 if fieldNum <= 0 {
9169 return fmt.Errorf("proto: Response: illegal tag %d (wire type %d)", fieldNum, wire)
9170 }
9171 switch fieldNum {
9172 case 1:
9173 if wireType != 0 {
9174 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
9175 }
9176 m.Type = 0
9177 for shift := uint(0); ; shift += 7 {
9178 if shift >= 64 {
9179 return ErrIntOverflowAgent
9180 }
9181 if iNdEx >= l {
9182 return io.ErrUnexpectedEOF
9183 }
9184 b := dAtA[iNdEx]
9185 iNdEx++
9186 m.Type |= (Response_Type(b) & 0x7F) << shift
9187 if b < 0x80 {
9188 break
9189 }
9190 }
9191 case 2:
9192 if wireType != 2 {
9193 return fmt.Errorf("proto: wrong wireType = %d for field GetHealth", wireType)
9194 }
9195 var msglen int
9196 for shift := uint(0); ; shift += 7 {
9197 if shift >= 64 {
9198 return ErrIntOverflowAgent
9199 }
9200 if iNdEx >= l {
9201 return io.ErrUnexpectedEOF
9202 }
9203 b := dAtA[iNdEx]
9204 iNdEx++
9205 msglen |= (int(b) & 0x7F) << shift
9206 if b < 0x80 {
9207 break
9208 }
9209 }
9210 if msglen < 0 {
9211 return ErrInvalidLengthAgent
9212 }
9213 postIndex := iNdEx + msglen
9214 if postIndex > l {
9215 return io.ErrUnexpectedEOF
9216 }
9217 if m.GetHealth == nil {
9218 m.GetHealth = &Response_GetHealth{}
9219 }
9220 if err := m.GetHealth.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9221 return err
9222 }
9223 iNdEx = postIndex
9224 case 3:
9225 if wireType != 2 {
9226 return fmt.Errorf("proto: wrong wireType = %d for field GetFlags", wireType)
9227 }
9228 var msglen int
9229 for shift := uint(0); ; shift += 7 {
9230 if shift >= 64 {
9231 return ErrIntOverflowAgent
9232 }
9233 if iNdEx >= l {
9234 return io.ErrUnexpectedEOF
9235 }
9236 b := dAtA[iNdEx]
9237 iNdEx++
9238 msglen |= (int(b) & 0x7F) << shift
9239 if b < 0x80 {
9240 break
9241 }
9242 }
9243 if msglen < 0 {
9244 return ErrInvalidLengthAgent
9245 }
9246 postIndex := iNdEx + msglen
9247 if postIndex > l {
9248 return io.ErrUnexpectedEOF
9249 }
9250 if m.GetFlags == nil {
9251 m.GetFlags = &Response_GetFlags{}
9252 }
9253 if err := m.GetFlags.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9254 return err
9255 }
9256 iNdEx = postIndex
9257 case 4:
9258 if wireType != 2 {
9259 return fmt.Errorf("proto: wrong wireType = %d for field GetVersion", wireType)
9260 }
9261 var msglen int
9262 for shift := uint(0); ; shift += 7 {
9263 if shift >= 64 {
9264 return ErrIntOverflowAgent
9265 }
9266 if iNdEx >= l {
9267 return io.ErrUnexpectedEOF
9268 }
9269 b := dAtA[iNdEx]
9270 iNdEx++
9271 msglen |= (int(b) & 0x7F) << shift
9272 if b < 0x80 {
9273 break
9274 }
9275 }
9276 if msglen < 0 {
9277 return ErrInvalidLengthAgent
9278 }
9279 postIndex := iNdEx + msglen
9280 if postIndex > l {
9281 return io.ErrUnexpectedEOF
9282 }
9283 if m.GetVersion == nil {
9284 m.GetVersion = &Response_GetVersion{}
9285 }
9286 if err := m.GetVersion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9287 return err
9288 }
9289 iNdEx = postIndex
9290 case 5:
9291 if wireType != 2 {
9292 return fmt.Errorf("proto: wrong wireType = %d for field GetMetrics", wireType)
9293 }
9294 var msglen int
9295 for shift := uint(0); ; shift += 7 {
9296 if shift >= 64 {
9297 return ErrIntOverflowAgent
9298 }
9299 if iNdEx >= l {
9300 return io.ErrUnexpectedEOF
9301 }
9302 b := dAtA[iNdEx]
9303 iNdEx++
9304 msglen |= (int(b) & 0x7F) << shift
9305 if b < 0x80 {
9306 break
9307 }
9308 }
9309 if msglen < 0 {
9310 return ErrInvalidLengthAgent
9311 }
9312 postIndex := iNdEx + msglen
9313 if postIndex > l {
9314 return io.ErrUnexpectedEOF
9315 }
9316 if m.GetMetrics == nil {
9317 m.GetMetrics = &Response_GetMetrics{}
9318 }
9319 if err := m.GetMetrics.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9320 return err
9321 }
9322 iNdEx = postIndex
9323 case 6:
9324 if wireType != 2 {
9325 return fmt.Errorf("proto: wrong wireType = %d for field GetLoggingLevel", wireType)
9326 }
9327 var msglen int
9328 for shift := uint(0); ; shift += 7 {
9329 if shift >= 64 {
9330 return ErrIntOverflowAgent
9331 }
9332 if iNdEx >= l {
9333 return io.ErrUnexpectedEOF
9334 }
9335 b := dAtA[iNdEx]
9336 iNdEx++
9337 msglen |= (int(b) & 0x7F) << shift
9338 if b < 0x80 {
9339 break
9340 }
9341 }
9342 if msglen < 0 {
9343 return ErrInvalidLengthAgent
9344 }
9345 postIndex := iNdEx + msglen
9346 if postIndex > l {
9347 return io.ErrUnexpectedEOF
9348 }
9349 if m.GetLoggingLevel == nil {
9350 m.GetLoggingLevel = &Response_GetLoggingLevel{}
9351 }
9352 if err := m.GetLoggingLevel.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9353 return err
9354 }
9355 iNdEx = postIndex
9356 case 7:
9357 if wireType != 2 {
9358 return fmt.Errorf("proto: wrong wireType = %d for field ListFiles", wireType)
9359 }
9360 var msglen int
9361 for shift := uint(0); ; shift += 7 {
9362 if shift >= 64 {
9363 return ErrIntOverflowAgent
9364 }
9365 if iNdEx >= l {
9366 return io.ErrUnexpectedEOF
9367 }
9368 b := dAtA[iNdEx]
9369 iNdEx++
9370 msglen |= (int(b) & 0x7F) << shift
9371 if b < 0x80 {
9372 break
9373 }
9374 }
9375 if msglen < 0 {
9376 return ErrInvalidLengthAgent
9377 }
9378 postIndex := iNdEx + msglen
9379 if postIndex > l {
9380 return io.ErrUnexpectedEOF
9381 }
9382 if m.ListFiles == nil {
9383 m.ListFiles = &Response_ListFiles{}
9384 }
9385 if err := m.ListFiles.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9386 return err
9387 }
9388 iNdEx = postIndex
9389 case 8:
9390 if wireType != 2 {
9391 return fmt.Errorf("proto: wrong wireType = %d for field ReadFile", wireType)
9392 }
9393 var msglen int
9394 for shift := uint(0); ; shift += 7 {
9395 if shift >= 64 {
9396 return ErrIntOverflowAgent
9397 }
9398 if iNdEx >= l {
9399 return io.ErrUnexpectedEOF
9400 }
9401 b := dAtA[iNdEx]
9402 iNdEx++
9403 msglen |= (int(b) & 0x7F) << shift
9404 if b < 0x80 {
9405 break
9406 }
9407 }
9408 if msglen < 0 {
9409 return ErrInvalidLengthAgent
9410 }
9411 postIndex := iNdEx + msglen
9412 if postIndex > l {
9413 return io.ErrUnexpectedEOF
9414 }
9415 if m.ReadFile == nil {
9416 m.ReadFile = &Response_ReadFile{}
9417 }
9418 if err := m.ReadFile.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9419 return err
9420 }
9421 iNdEx = postIndex
9422 case 9:
9423 if wireType != 2 {
9424 return fmt.Errorf("proto: wrong wireType = %d for field GetState", wireType)
9425 }
9426 var msglen int
9427 for shift := uint(0); ; shift += 7 {
9428 if shift >= 64 {
9429 return ErrIntOverflowAgent
9430 }
9431 if iNdEx >= l {
9432 return io.ErrUnexpectedEOF
9433 }
9434 b := dAtA[iNdEx]
9435 iNdEx++
9436 msglen |= (int(b) & 0x7F) << shift
9437 if b < 0x80 {
9438 break
9439 }
9440 }
9441 if msglen < 0 {
9442 return ErrInvalidLengthAgent
9443 }
9444 postIndex := iNdEx + msglen
9445 if postIndex > l {
9446 return io.ErrUnexpectedEOF
9447 }
9448 if m.GetState == nil {
9449 m.GetState = &Response_GetState{}
9450 }
9451 if err := m.GetState.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9452 return err
9453 }
9454 iNdEx = postIndex
9455 case 10:
9456 if wireType != 2 {
9457 return fmt.Errorf("proto: wrong wireType = %d for field GetContainers", wireType)
9458 }
9459 var msglen int
9460 for shift := uint(0); ; shift += 7 {
9461 if shift >= 64 {
9462 return ErrIntOverflowAgent
9463 }
9464 if iNdEx >= l {
9465 return io.ErrUnexpectedEOF
9466 }
9467 b := dAtA[iNdEx]
9468 iNdEx++
9469 msglen |= (int(b) & 0x7F) << shift
9470 if b < 0x80 {
9471 break
9472 }
9473 }
9474 if msglen < 0 {
9475 return ErrInvalidLengthAgent
9476 }
9477 postIndex := iNdEx + msglen
9478 if postIndex > l {
9479 return io.ErrUnexpectedEOF
9480 }
9481 if m.GetContainers == nil {
9482 m.GetContainers = &Response_GetContainers{}
9483 }
9484 if err := m.GetContainers.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9485 return err
9486 }
9487 iNdEx = postIndex
9488 case 11:
9489 if wireType != 2 {
9490 return fmt.Errorf("proto: wrong wireType = %d for field GetFrameworks", wireType)
9491 }
9492 var msglen int
9493 for shift := uint(0); ; shift += 7 {
9494 if shift >= 64 {
9495 return ErrIntOverflowAgent
9496 }
9497 if iNdEx >= l {
9498 return io.ErrUnexpectedEOF
9499 }
9500 b := dAtA[iNdEx]
9501 iNdEx++
9502 msglen |= (int(b) & 0x7F) << shift
9503 if b < 0x80 {
9504 break
9505 }
9506 }
9507 if msglen < 0 {
9508 return ErrInvalidLengthAgent
9509 }
9510 postIndex := iNdEx + msglen
9511 if postIndex > l {
9512 return io.ErrUnexpectedEOF
9513 }
9514 if m.GetFrameworks == nil {
9515 m.GetFrameworks = &Response_GetFrameworks{}
9516 }
9517 if err := m.GetFrameworks.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9518 return err
9519 }
9520 iNdEx = postIndex
9521 case 12:
9522 if wireType != 2 {
9523 return fmt.Errorf("proto: wrong wireType = %d for field GetExecutors", wireType)
9524 }
9525 var msglen int
9526 for shift := uint(0); ; shift += 7 {
9527 if shift >= 64 {
9528 return ErrIntOverflowAgent
9529 }
9530 if iNdEx >= l {
9531 return io.ErrUnexpectedEOF
9532 }
9533 b := dAtA[iNdEx]
9534 iNdEx++
9535 msglen |= (int(b) & 0x7F) << shift
9536 if b < 0x80 {
9537 break
9538 }
9539 }
9540 if msglen < 0 {
9541 return ErrInvalidLengthAgent
9542 }
9543 postIndex := iNdEx + msglen
9544 if postIndex > l {
9545 return io.ErrUnexpectedEOF
9546 }
9547 if m.GetExecutors == nil {
9548 m.GetExecutors = &Response_GetExecutors{}
9549 }
9550 if err := m.GetExecutors.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9551 return err
9552 }
9553 iNdEx = postIndex
9554 case 13:
9555 if wireType != 2 {
9556 return fmt.Errorf("proto: wrong wireType = %d for field GetTasks", wireType)
9557 }
9558 var msglen int
9559 for shift := uint(0); ; shift += 7 {
9560 if shift >= 64 {
9561 return ErrIntOverflowAgent
9562 }
9563 if iNdEx >= l {
9564 return io.ErrUnexpectedEOF
9565 }
9566 b := dAtA[iNdEx]
9567 iNdEx++
9568 msglen |= (int(b) & 0x7F) << shift
9569 if b < 0x80 {
9570 break
9571 }
9572 }
9573 if msglen < 0 {
9574 return ErrInvalidLengthAgent
9575 }
9576 postIndex := iNdEx + msglen
9577 if postIndex > l {
9578 return io.ErrUnexpectedEOF
9579 }
9580 if m.GetTasks == nil {
9581 m.GetTasks = &Response_GetTasks{}
9582 }
9583 if err := m.GetTasks.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9584 return err
9585 }
9586 iNdEx = postIndex
9587 case 14:
9588 if wireType != 2 {
9589 return fmt.Errorf("proto: wrong wireType = %d for field WaitNestedContainer", wireType)
9590 }
9591 var msglen int
9592 for shift := uint(0); ; shift += 7 {
9593 if shift >= 64 {
9594 return ErrIntOverflowAgent
9595 }
9596 if iNdEx >= l {
9597 return io.ErrUnexpectedEOF
9598 }
9599 b := dAtA[iNdEx]
9600 iNdEx++
9601 msglen |= (int(b) & 0x7F) << shift
9602 if b < 0x80 {
9603 break
9604 }
9605 }
9606 if msglen < 0 {
9607 return ErrInvalidLengthAgent
9608 }
9609 postIndex := iNdEx + msglen
9610 if postIndex > l {
9611 return io.ErrUnexpectedEOF
9612 }
9613 if m.WaitNestedContainer == nil {
9614 m.WaitNestedContainer = &Response_WaitNestedContainer{}
9615 }
9616 if err := m.WaitNestedContainer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9617 return err
9618 }
9619 iNdEx = postIndex
9620 case 15:
9621 if wireType != 2 {
9622 return fmt.Errorf("proto: wrong wireType = %d for field GetAgent", wireType)
9623 }
9624 var msglen int
9625 for shift := uint(0); ; shift += 7 {
9626 if shift >= 64 {
9627 return ErrIntOverflowAgent
9628 }
9629 if iNdEx >= l {
9630 return io.ErrUnexpectedEOF
9631 }
9632 b := dAtA[iNdEx]
9633 iNdEx++
9634 msglen |= (int(b) & 0x7F) << shift
9635 if b < 0x80 {
9636 break
9637 }
9638 }
9639 if msglen < 0 {
9640 return ErrInvalidLengthAgent
9641 }
9642 postIndex := iNdEx + msglen
9643 if postIndex > l {
9644 return io.ErrUnexpectedEOF
9645 }
9646 if m.GetAgent == nil {
9647 m.GetAgent = &Response_GetAgent{}
9648 }
9649 if err := m.GetAgent.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9650 return err
9651 }
9652 iNdEx = postIndex
9653 default:
9654 iNdEx = preIndex
9655 skippy, err := skipAgent(dAtA[iNdEx:])
9656 if err != nil {
9657 return err
9658 }
9659 if skippy < 0 {
9660 return ErrInvalidLengthAgent
9661 }
9662 if (iNdEx + skippy) > l {
9663 return io.ErrUnexpectedEOF
9664 }
9665 iNdEx += skippy
9666 }
9667 }
9668
9669 if iNdEx > l {
9670 return io.ErrUnexpectedEOF
9671 }
9672 return nil
9673 }
9674 func (m *Response_GetHealth) Unmarshal(dAtA []byte) error {
9675 var hasFields [1]uint64
9676 l := len(dAtA)
9677 iNdEx := 0
9678 for iNdEx < l {
9679 preIndex := iNdEx
9680 var wire uint64
9681 for shift := uint(0); ; shift += 7 {
9682 if shift >= 64 {
9683 return ErrIntOverflowAgent
9684 }
9685 if iNdEx >= l {
9686 return io.ErrUnexpectedEOF
9687 }
9688 b := dAtA[iNdEx]
9689 iNdEx++
9690 wire |= (uint64(b) & 0x7F) << shift
9691 if b < 0x80 {
9692 break
9693 }
9694 }
9695 fieldNum := int32(wire >> 3)
9696 wireType := int(wire & 0x7)
9697 if wireType == 4 {
9698 return fmt.Errorf("proto: GetHealth: wiretype end group for non-group")
9699 }
9700 if fieldNum <= 0 {
9701 return fmt.Errorf("proto: GetHealth: illegal tag %d (wire type %d)", fieldNum, wire)
9702 }
9703 switch fieldNum {
9704 case 1:
9705 if wireType != 0 {
9706 return fmt.Errorf("proto: wrong wireType = %d for field Healthy", wireType)
9707 }
9708 var v int
9709 for shift := uint(0); ; shift += 7 {
9710 if shift >= 64 {
9711 return ErrIntOverflowAgent
9712 }
9713 if iNdEx >= l {
9714 return io.ErrUnexpectedEOF
9715 }
9716 b := dAtA[iNdEx]
9717 iNdEx++
9718 v |= (int(b) & 0x7F) << shift
9719 if b < 0x80 {
9720 break
9721 }
9722 }
9723 m.Healthy = bool(v != 0)
9724 hasFields[0] |= uint64(0x00000001)
9725 default:
9726 iNdEx = preIndex
9727 skippy, err := skipAgent(dAtA[iNdEx:])
9728 if err != nil {
9729 return err
9730 }
9731 if skippy < 0 {
9732 return ErrInvalidLengthAgent
9733 }
9734 if (iNdEx + skippy) > l {
9735 return io.ErrUnexpectedEOF
9736 }
9737 iNdEx += skippy
9738 }
9739 }
9740 if hasFields[0]&uint64(0x00000001) == 0 {
9741 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("healthy")
9742 }
9743
9744 if iNdEx > l {
9745 return io.ErrUnexpectedEOF
9746 }
9747 return nil
9748 }
9749 func (m *Response_GetFlags) Unmarshal(dAtA []byte) error {
9750 l := len(dAtA)
9751 iNdEx := 0
9752 for iNdEx < l {
9753 preIndex := iNdEx
9754 var wire uint64
9755 for shift := uint(0); ; shift += 7 {
9756 if shift >= 64 {
9757 return ErrIntOverflowAgent
9758 }
9759 if iNdEx >= l {
9760 return io.ErrUnexpectedEOF
9761 }
9762 b := dAtA[iNdEx]
9763 iNdEx++
9764 wire |= (uint64(b) & 0x7F) << shift
9765 if b < 0x80 {
9766 break
9767 }
9768 }
9769 fieldNum := int32(wire >> 3)
9770 wireType := int(wire & 0x7)
9771 if wireType == 4 {
9772 return fmt.Errorf("proto: GetFlags: wiretype end group for non-group")
9773 }
9774 if fieldNum <= 0 {
9775 return fmt.Errorf("proto: GetFlags: illegal tag %d (wire type %d)", fieldNum, wire)
9776 }
9777 switch fieldNum {
9778 case 1:
9779 if wireType != 2 {
9780 return fmt.Errorf("proto: wrong wireType = %d for field Flags", wireType)
9781 }
9782 var msglen int
9783 for shift := uint(0); ; shift += 7 {
9784 if shift >= 64 {
9785 return ErrIntOverflowAgent
9786 }
9787 if iNdEx >= l {
9788 return io.ErrUnexpectedEOF
9789 }
9790 b := dAtA[iNdEx]
9791 iNdEx++
9792 msglen |= (int(b) & 0x7F) << shift
9793 if b < 0x80 {
9794 break
9795 }
9796 }
9797 if msglen < 0 {
9798 return ErrInvalidLengthAgent
9799 }
9800 postIndex := iNdEx + msglen
9801 if postIndex > l {
9802 return io.ErrUnexpectedEOF
9803 }
9804 m.Flags = append(m.Flags, mesos.Flag{})
9805 if err := m.Flags[len(m.Flags)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9806 return err
9807 }
9808 iNdEx = postIndex
9809 default:
9810 iNdEx = preIndex
9811 skippy, err := skipAgent(dAtA[iNdEx:])
9812 if err != nil {
9813 return err
9814 }
9815 if skippy < 0 {
9816 return ErrInvalidLengthAgent
9817 }
9818 if (iNdEx + skippy) > l {
9819 return io.ErrUnexpectedEOF
9820 }
9821 iNdEx += skippy
9822 }
9823 }
9824
9825 if iNdEx > l {
9826 return io.ErrUnexpectedEOF
9827 }
9828 return nil
9829 }
9830 func (m *Response_GetVersion) Unmarshal(dAtA []byte) error {
9831 var hasFields [1]uint64
9832 l := len(dAtA)
9833 iNdEx := 0
9834 for iNdEx < l {
9835 preIndex := iNdEx
9836 var wire uint64
9837 for shift := uint(0); ; shift += 7 {
9838 if shift >= 64 {
9839 return ErrIntOverflowAgent
9840 }
9841 if iNdEx >= l {
9842 return io.ErrUnexpectedEOF
9843 }
9844 b := dAtA[iNdEx]
9845 iNdEx++
9846 wire |= (uint64(b) & 0x7F) << shift
9847 if b < 0x80 {
9848 break
9849 }
9850 }
9851 fieldNum := int32(wire >> 3)
9852 wireType := int(wire & 0x7)
9853 if wireType == 4 {
9854 return fmt.Errorf("proto: GetVersion: wiretype end group for non-group")
9855 }
9856 if fieldNum <= 0 {
9857 return fmt.Errorf("proto: GetVersion: illegal tag %d (wire type %d)", fieldNum, wire)
9858 }
9859 switch fieldNum {
9860 case 1:
9861 if wireType != 2 {
9862 return fmt.Errorf("proto: wrong wireType = %d for field VersionInfo", wireType)
9863 }
9864 var msglen int
9865 for shift := uint(0); ; shift += 7 {
9866 if shift >= 64 {
9867 return ErrIntOverflowAgent
9868 }
9869 if iNdEx >= l {
9870 return io.ErrUnexpectedEOF
9871 }
9872 b := dAtA[iNdEx]
9873 iNdEx++
9874 msglen |= (int(b) & 0x7F) << shift
9875 if b < 0x80 {
9876 break
9877 }
9878 }
9879 if msglen < 0 {
9880 return ErrInvalidLengthAgent
9881 }
9882 postIndex := iNdEx + msglen
9883 if postIndex > l {
9884 return io.ErrUnexpectedEOF
9885 }
9886 if err := m.VersionInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9887 return err
9888 }
9889 iNdEx = postIndex
9890 hasFields[0] |= uint64(0x00000001)
9891 default:
9892 iNdEx = preIndex
9893 skippy, err := skipAgent(dAtA[iNdEx:])
9894 if err != nil {
9895 return err
9896 }
9897 if skippy < 0 {
9898 return ErrInvalidLengthAgent
9899 }
9900 if (iNdEx + skippy) > l {
9901 return io.ErrUnexpectedEOF
9902 }
9903 iNdEx += skippy
9904 }
9905 }
9906 if hasFields[0]&uint64(0x00000001) == 0 {
9907 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("version_info")
9908 }
9909
9910 if iNdEx > l {
9911 return io.ErrUnexpectedEOF
9912 }
9913 return nil
9914 }
9915 func (m *Response_GetMetrics) Unmarshal(dAtA []byte) error {
9916 l := len(dAtA)
9917 iNdEx := 0
9918 for iNdEx < l {
9919 preIndex := iNdEx
9920 var wire uint64
9921 for shift := uint(0); ; shift += 7 {
9922 if shift >= 64 {
9923 return ErrIntOverflowAgent
9924 }
9925 if iNdEx >= l {
9926 return io.ErrUnexpectedEOF
9927 }
9928 b := dAtA[iNdEx]
9929 iNdEx++
9930 wire |= (uint64(b) & 0x7F) << shift
9931 if b < 0x80 {
9932 break
9933 }
9934 }
9935 fieldNum := int32(wire >> 3)
9936 wireType := int(wire & 0x7)
9937 if wireType == 4 {
9938 return fmt.Errorf("proto: GetMetrics: wiretype end group for non-group")
9939 }
9940 if fieldNum <= 0 {
9941 return fmt.Errorf("proto: GetMetrics: illegal tag %d (wire type %d)", fieldNum, wire)
9942 }
9943 switch fieldNum {
9944 case 1:
9945 if wireType != 2 {
9946 return fmt.Errorf("proto: wrong wireType = %d for field Metrics", wireType)
9947 }
9948 var msglen int
9949 for shift := uint(0); ; shift += 7 {
9950 if shift >= 64 {
9951 return ErrIntOverflowAgent
9952 }
9953 if iNdEx >= l {
9954 return io.ErrUnexpectedEOF
9955 }
9956 b := dAtA[iNdEx]
9957 iNdEx++
9958 msglen |= (int(b) & 0x7F) << shift
9959 if b < 0x80 {
9960 break
9961 }
9962 }
9963 if msglen < 0 {
9964 return ErrInvalidLengthAgent
9965 }
9966 postIndex := iNdEx + msglen
9967 if postIndex > l {
9968 return io.ErrUnexpectedEOF
9969 }
9970 m.Metrics = append(m.Metrics, mesos.Metric{})
9971 if err := m.Metrics[len(m.Metrics)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9972 return err
9973 }
9974 iNdEx = postIndex
9975 default:
9976 iNdEx = preIndex
9977 skippy, err := skipAgent(dAtA[iNdEx:])
9978 if err != nil {
9979 return err
9980 }
9981 if skippy < 0 {
9982 return ErrInvalidLengthAgent
9983 }
9984 if (iNdEx + skippy) > l {
9985 return io.ErrUnexpectedEOF
9986 }
9987 iNdEx += skippy
9988 }
9989 }
9990
9991 if iNdEx > l {
9992 return io.ErrUnexpectedEOF
9993 }
9994 return nil
9995 }
9996 func (m *Response_GetLoggingLevel) Unmarshal(dAtA []byte) error {
9997 var hasFields [1]uint64
9998 l := len(dAtA)
9999 iNdEx := 0
10000 for iNdEx < l {
10001 preIndex := iNdEx
10002 var wire uint64
10003 for shift := uint(0); ; shift += 7 {
10004 if shift >= 64 {
10005 return ErrIntOverflowAgent
10006 }
10007 if iNdEx >= l {
10008 return io.ErrUnexpectedEOF
10009 }
10010 b := dAtA[iNdEx]
10011 iNdEx++
10012 wire |= (uint64(b) & 0x7F) << shift
10013 if b < 0x80 {
10014 break
10015 }
10016 }
10017 fieldNum := int32(wire >> 3)
10018 wireType := int(wire & 0x7)
10019 if wireType == 4 {
10020 return fmt.Errorf("proto: GetLoggingLevel: wiretype end group for non-group")
10021 }
10022 if fieldNum <= 0 {
10023 return fmt.Errorf("proto: GetLoggingLevel: illegal tag %d (wire type %d)", fieldNum, wire)
10024 }
10025 switch fieldNum {
10026 case 1:
10027 if wireType != 0 {
10028 return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
10029 }
10030 m.Level = 0
10031 for shift := uint(0); ; shift += 7 {
10032 if shift >= 64 {
10033 return ErrIntOverflowAgent
10034 }
10035 if iNdEx >= l {
10036 return io.ErrUnexpectedEOF
10037 }
10038 b := dAtA[iNdEx]
10039 iNdEx++
10040 m.Level |= (uint32(b) & 0x7F) << shift
10041 if b < 0x80 {
10042 break
10043 }
10044 }
10045 hasFields[0] |= uint64(0x00000001)
10046 default:
10047 iNdEx = preIndex
10048 skippy, err := skipAgent(dAtA[iNdEx:])
10049 if err != nil {
10050 return err
10051 }
10052 if skippy < 0 {
10053 return ErrInvalidLengthAgent
10054 }
10055 if (iNdEx + skippy) > l {
10056 return io.ErrUnexpectedEOF
10057 }
10058 iNdEx += skippy
10059 }
10060 }
10061 if hasFields[0]&uint64(0x00000001) == 0 {
10062 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("level")
10063 }
10064
10065 if iNdEx > l {
10066 return io.ErrUnexpectedEOF
10067 }
10068 return nil
10069 }
10070 func (m *Response_ListFiles) Unmarshal(dAtA []byte) error {
10071 l := len(dAtA)
10072 iNdEx := 0
10073 for iNdEx < l {
10074 preIndex := iNdEx
10075 var wire uint64
10076 for shift := uint(0); ; shift += 7 {
10077 if shift >= 64 {
10078 return ErrIntOverflowAgent
10079 }
10080 if iNdEx >= l {
10081 return io.ErrUnexpectedEOF
10082 }
10083 b := dAtA[iNdEx]
10084 iNdEx++
10085 wire |= (uint64(b) & 0x7F) << shift
10086 if b < 0x80 {
10087 break
10088 }
10089 }
10090 fieldNum := int32(wire >> 3)
10091 wireType := int(wire & 0x7)
10092 if wireType == 4 {
10093 return fmt.Errorf("proto: ListFiles: wiretype end group for non-group")
10094 }
10095 if fieldNum <= 0 {
10096 return fmt.Errorf("proto: ListFiles: illegal tag %d (wire type %d)", fieldNum, wire)
10097 }
10098 switch fieldNum {
10099 case 1:
10100 if wireType != 2 {
10101 return fmt.Errorf("proto: wrong wireType = %d for field FileInfos", wireType)
10102 }
10103 var msglen int
10104 for shift := uint(0); ; shift += 7 {
10105 if shift >= 64 {
10106 return ErrIntOverflowAgent
10107 }
10108 if iNdEx >= l {
10109 return io.ErrUnexpectedEOF
10110 }
10111 b := dAtA[iNdEx]
10112 iNdEx++
10113 msglen |= (int(b) & 0x7F) << shift
10114 if b < 0x80 {
10115 break
10116 }
10117 }
10118 if msglen < 0 {
10119 return ErrInvalidLengthAgent
10120 }
10121 postIndex := iNdEx + msglen
10122 if postIndex > l {
10123 return io.ErrUnexpectedEOF
10124 }
10125 m.FileInfos = append(m.FileInfos, mesos.FileInfo{})
10126 if err := m.FileInfos[len(m.FileInfos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10127 return err
10128 }
10129 iNdEx = postIndex
10130 default:
10131 iNdEx = preIndex
10132 skippy, err := skipAgent(dAtA[iNdEx:])
10133 if err != nil {
10134 return err
10135 }
10136 if skippy < 0 {
10137 return ErrInvalidLengthAgent
10138 }
10139 if (iNdEx + skippy) > l {
10140 return io.ErrUnexpectedEOF
10141 }
10142 iNdEx += skippy
10143 }
10144 }
10145
10146 if iNdEx > l {
10147 return io.ErrUnexpectedEOF
10148 }
10149 return nil
10150 }
10151 func (m *Response_ReadFile) Unmarshal(dAtA []byte) error {
10152 var hasFields [1]uint64
10153 l := len(dAtA)
10154 iNdEx := 0
10155 for iNdEx < l {
10156 preIndex := iNdEx
10157 var wire uint64
10158 for shift := uint(0); ; shift += 7 {
10159 if shift >= 64 {
10160 return ErrIntOverflowAgent
10161 }
10162 if iNdEx >= l {
10163 return io.ErrUnexpectedEOF
10164 }
10165 b := dAtA[iNdEx]
10166 iNdEx++
10167 wire |= (uint64(b) & 0x7F) << shift
10168 if b < 0x80 {
10169 break
10170 }
10171 }
10172 fieldNum := int32(wire >> 3)
10173 wireType := int(wire & 0x7)
10174 if wireType == 4 {
10175 return fmt.Errorf("proto: ReadFile: wiretype end group for non-group")
10176 }
10177 if fieldNum <= 0 {
10178 return fmt.Errorf("proto: ReadFile: illegal tag %d (wire type %d)", fieldNum, wire)
10179 }
10180 switch fieldNum {
10181 case 1:
10182 if wireType != 0 {
10183 return fmt.Errorf("proto: wrong wireType = %d for field Size", wireType)
10184 }
10185 m.Size = 0
10186 for shift := uint(0); ; shift += 7 {
10187 if shift >= 64 {
10188 return ErrIntOverflowAgent
10189 }
10190 if iNdEx >= l {
10191 return io.ErrUnexpectedEOF
10192 }
10193 b := dAtA[iNdEx]
10194 iNdEx++
10195 m.Size |= (uint64(b) & 0x7F) << shift
10196 if b < 0x80 {
10197 break
10198 }
10199 }
10200 hasFields[0] |= uint64(0x00000001)
10201 case 2:
10202 if wireType != 2 {
10203 return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
10204 }
10205 var byteLen int
10206 for shift := uint(0); ; shift += 7 {
10207 if shift >= 64 {
10208 return ErrIntOverflowAgent
10209 }
10210 if iNdEx >= l {
10211 return io.ErrUnexpectedEOF
10212 }
10213 b := dAtA[iNdEx]
10214 iNdEx++
10215 byteLen |= (int(b) & 0x7F) << shift
10216 if b < 0x80 {
10217 break
10218 }
10219 }
10220 if byteLen < 0 {
10221 return ErrInvalidLengthAgent
10222 }
10223 postIndex := iNdEx + byteLen
10224 if postIndex > l {
10225 return io.ErrUnexpectedEOF
10226 }
10227 m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
10228 if m.Data == nil {
10229 m.Data = []byte{}
10230 }
10231 iNdEx = postIndex
10232 hasFields[0] |= uint64(0x00000002)
10233 default:
10234 iNdEx = preIndex
10235 skippy, err := skipAgent(dAtA[iNdEx:])
10236 if err != nil {
10237 return err
10238 }
10239 if skippy < 0 {
10240 return ErrInvalidLengthAgent
10241 }
10242 if (iNdEx + skippy) > l {
10243 return io.ErrUnexpectedEOF
10244 }
10245 iNdEx += skippy
10246 }
10247 }
10248 if hasFields[0]&uint64(0x00000001) == 0 {
10249 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("size")
10250 }
10251 if hasFields[0]&uint64(0x00000002) == 0 {
10252 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("data")
10253 }
10254
10255 if iNdEx > l {
10256 return io.ErrUnexpectedEOF
10257 }
10258 return nil
10259 }
10260 func (m *Response_GetState) Unmarshal(dAtA []byte) error {
10261 l := len(dAtA)
10262 iNdEx := 0
10263 for iNdEx < l {
10264 preIndex := iNdEx
10265 var wire uint64
10266 for shift := uint(0); ; shift += 7 {
10267 if shift >= 64 {
10268 return ErrIntOverflowAgent
10269 }
10270 if iNdEx >= l {
10271 return io.ErrUnexpectedEOF
10272 }
10273 b := dAtA[iNdEx]
10274 iNdEx++
10275 wire |= (uint64(b) & 0x7F) << shift
10276 if b < 0x80 {
10277 break
10278 }
10279 }
10280 fieldNum := int32(wire >> 3)
10281 wireType := int(wire & 0x7)
10282 if wireType == 4 {
10283 return fmt.Errorf("proto: GetState: wiretype end group for non-group")
10284 }
10285 if fieldNum <= 0 {
10286 return fmt.Errorf("proto: GetState: illegal tag %d (wire type %d)", fieldNum, wire)
10287 }
10288 switch fieldNum {
10289 case 1:
10290 if wireType != 2 {
10291 return fmt.Errorf("proto: wrong wireType = %d for field GetTasks", wireType)
10292 }
10293 var msglen int
10294 for shift := uint(0); ; shift += 7 {
10295 if shift >= 64 {
10296 return ErrIntOverflowAgent
10297 }
10298 if iNdEx >= l {
10299 return io.ErrUnexpectedEOF
10300 }
10301 b := dAtA[iNdEx]
10302 iNdEx++
10303 msglen |= (int(b) & 0x7F) << shift
10304 if b < 0x80 {
10305 break
10306 }
10307 }
10308 if msglen < 0 {
10309 return ErrInvalidLengthAgent
10310 }
10311 postIndex := iNdEx + msglen
10312 if postIndex > l {
10313 return io.ErrUnexpectedEOF
10314 }
10315 if m.GetTasks == nil {
10316 m.GetTasks = &Response_GetTasks{}
10317 }
10318 if err := m.GetTasks.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10319 return err
10320 }
10321 iNdEx = postIndex
10322 case 2:
10323 if wireType != 2 {
10324 return fmt.Errorf("proto: wrong wireType = %d for field GetExecutors", wireType)
10325 }
10326 var msglen int
10327 for shift := uint(0); ; shift += 7 {
10328 if shift >= 64 {
10329 return ErrIntOverflowAgent
10330 }
10331 if iNdEx >= l {
10332 return io.ErrUnexpectedEOF
10333 }
10334 b := dAtA[iNdEx]
10335 iNdEx++
10336 msglen |= (int(b) & 0x7F) << shift
10337 if b < 0x80 {
10338 break
10339 }
10340 }
10341 if msglen < 0 {
10342 return ErrInvalidLengthAgent
10343 }
10344 postIndex := iNdEx + msglen
10345 if postIndex > l {
10346 return io.ErrUnexpectedEOF
10347 }
10348 if m.GetExecutors == nil {
10349 m.GetExecutors = &Response_GetExecutors{}
10350 }
10351 if err := m.GetExecutors.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10352 return err
10353 }
10354 iNdEx = postIndex
10355 case 3:
10356 if wireType != 2 {
10357 return fmt.Errorf("proto: wrong wireType = %d for field GetFrameworks", wireType)
10358 }
10359 var msglen int
10360 for shift := uint(0); ; shift += 7 {
10361 if shift >= 64 {
10362 return ErrIntOverflowAgent
10363 }
10364 if iNdEx >= l {
10365 return io.ErrUnexpectedEOF
10366 }
10367 b := dAtA[iNdEx]
10368 iNdEx++
10369 msglen |= (int(b) & 0x7F) << shift
10370 if b < 0x80 {
10371 break
10372 }
10373 }
10374 if msglen < 0 {
10375 return ErrInvalidLengthAgent
10376 }
10377 postIndex := iNdEx + msglen
10378 if postIndex > l {
10379 return io.ErrUnexpectedEOF
10380 }
10381 if m.GetFrameworks == nil {
10382 m.GetFrameworks = &Response_GetFrameworks{}
10383 }
10384 if err := m.GetFrameworks.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10385 return err
10386 }
10387 iNdEx = postIndex
10388 default:
10389 iNdEx = preIndex
10390 skippy, err := skipAgent(dAtA[iNdEx:])
10391 if err != nil {
10392 return err
10393 }
10394 if skippy < 0 {
10395 return ErrInvalidLengthAgent
10396 }
10397 if (iNdEx + skippy) > l {
10398 return io.ErrUnexpectedEOF
10399 }
10400 iNdEx += skippy
10401 }
10402 }
10403
10404 if iNdEx > l {
10405 return io.ErrUnexpectedEOF
10406 }
10407 return nil
10408 }
10409 func (m *Response_GetContainers) Unmarshal(dAtA []byte) error {
10410 l := len(dAtA)
10411 iNdEx := 0
10412 for iNdEx < l {
10413 preIndex := iNdEx
10414 var wire uint64
10415 for shift := uint(0); ; shift += 7 {
10416 if shift >= 64 {
10417 return ErrIntOverflowAgent
10418 }
10419 if iNdEx >= l {
10420 return io.ErrUnexpectedEOF
10421 }
10422 b := dAtA[iNdEx]
10423 iNdEx++
10424 wire |= (uint64(b) & 0x7F) << shift
10425 if b < 0x80 {
10426 break
10427 }
10428 }
10429 fieldNum := int32(wire >> 3)
10430 wireType := int(wire & 0x7)
10431 if wireType == 4 {
10432 return fmt.Errorf("proto: GetContainers: wiretype end group for non-group")
10433 }
10434 if fieldNum <= 0 {
10435 return fmt.Errorf("proto: GetContainers: illegal tag %d (wire type %d)", fieldNum, wire)
10436 }
10437 switch fieldNum {
10438 case 1:
10439 if wireType != 2 {
10440 return fmt.Errorf("proto: wrong wireType = %d for field Containers", wireType)
10441 }
10442 var msglen int
10443 for shift := uint(0); ; shift += 7 {
10444 if shift >= 64 {
10445 return ErrIntOverflowAgent
10446 }
10447 if iNdEx >= l {
10448 return io.ErrUnexpectedEOF
10449 }
10450 b := dAtA[iNdEx]
10451 iNdEx++
10452 msglen |= (int(b) & 0x7F) << shift
10453 if b < 0x80 {
10454 break
10455 }
10456 }
10457 if msglen < 0 {
10458 return ErrInvalidLengthAgent
10459 }
10460 postIndex := iNdEx + msglen
10461 if postIndex > l {
10462 return io.ErrUnexpectedEOF
10463 }
10464 m.Containers = append(m.Containers, Response_GetContainers_Container{})
10465 if err := m.Containers[len(m.Containers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10466 return err
10467 }
10468 iNdEx = postIndex
10469 default:
10470 iNdEx = preIndex
10471 skippy, err := skipAgent(dAtA[iNdEx:])
10472 if err != nil {
10473 return err
10474 }
10475 if skippy < 0 {
10476 return ErrInvalidLengthAgent
10477 }
10478 if (iNdEx + skippy) > l {
10479 return io.ErrUnexpectedEOF
10480 }
10481 iNdEx += skippy
10482 }
10483 }
10484
10485 if iNdEx > l {
10486 return io.ErrUnexpectedEOF
10487 }
10488 return nil
10489 }
10490 func (m *Response_GetContainers_Container) Unmarshal(dAtA []byte) error {
10491 var hasFields [1]uint64
10492 l := len(dAtA)
10493 iNdEx := 0
10494 for iNdEx < l {
10495 preIndex := iNdEx
10496 var wire uint64
10497 for shift := uint(0); ; shift += 7 {
10498 if shift >= 64 {
10499 return ErrIntOverflowAgent
10500 }
10501 if iNdEx >= l {
10502 return io.ErrUnexpectedEOF
10503 }
10504 b := dAtA[iNdEx]
10505 iNdEx++
10506 wire |= (uint64(b) & 0x7F) << shift
10507 if b < 0x80 {
10508 break
10509 }
10510 }
10511 fieldNum := int32(wire >> 3)
10512 wireType := int(wire & 0x7)
10513 if wireType == 4 {
10514 return fmt.Errorf("proto: Container: wiretype end group for non-group")
10515 }
10516 if fieldNum <= 0 {
10517 return fmt.Errorf("proto: Container: illegal tag %d (wire type %d)", fieldNum, wire)
10518 }
10519 switch fieldNum {
10520 case 1:
10521 if wireType != 2 {
10522 return fmt.Errorf("proto: wrong wireType = %d for field FrameworkID", wireType)
10523 }
10524 var msglen int
10525 for shift := uint(0); ; shift += 7 {
10526 if shift >= 64 {
10527 return ErrIntOverflowAgent
10528 }
10529 if iNdEx >= l {
10530 return io.ErrUnexpectedEOF
10531 }
10532 b := dAtA[iNdEx]
10533 iNdEx++
10534 msglen |= (int(b) & 0x7F) << shift
10535 if b < 0x80 {
10536 break
10537 }
10538 }
10539 if msglen < 0 {
10540 return ErrInvalidLengthAgent
10541 }
10542 postIndex := iNdEx + msglen
10543 if postIndex > l {
10544 return io.ErrUnexpectedEOF
10545 }
10546 if err := m.FrameworkID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10547 return err
10548 }
10549 iNdEx = postIndex
10550 hasFields[0] |= uint64(0x00000001)
10551 case 2:
10552 if wireType != 2 {
10553 return fmt.Errorf("proto: wrong wireType = %d for field ExecutorID", wireType)
10554 }
10555 var msglen int
10556 for shift := uint(0); ; shift += 7 {
10557 if shift >= 64 {
10558 return ErrIntOverflowAgent
10559 }
10560 if iNdEx >= l {
10561 return io.ErrUnexpectedEOF
10562 }
10563 b := dAtA[iNdEx]
10564 iNdEx++
10565 msglen |= (int(b) & 0x7F) << shift
10566 if b < 0x80 {
10567 break
10568 }
10569 }
10570 if msglen < 0 {
10571 return ErrInvalidLengthAgent
10572 }
10573 postIndex := iNdEx + msglen
10574 if postIndex > l {
10575 return io.ErrUnexpectedEOF
10576 }
10577 if err := m.ExecutorID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10578 return err
10579 }
10580 iNdEx = postIndex
10581 hasFields[0] |= uint64(0x00000002)
10582 case 3:
10583 if wireType != 2 {
10584 return fmt.Errorf("proto: wrong wireType = %d for field ExecutorName", wireType)
10585 }
10586 var stringLen uint64
10587 for shift := uint(0); ; shift += 7 {
10588 if shift >= 64 {
10589 return ErrIntOverflowAgent
10590 }
10591 if iNdEx >= l {
10592 return io.ErrUnexpectedEOF
10593 }
10594 b := dAtA[iNdEx]
10595 iNdEx++
10596 stringLen |= (uint64(b) & 0x7F) << shift
10597 if b < 0x80 {
10598 break
10599 }
10600 }
10601 intStringLen := int(stringLen)
10602 if intStringLen < 0 {
10603 return ErrInvalidLengthAgent
10604 }
10605 postIndex := iNdEx + intStringLen
10606 if postIndex > l {
10607 return io.ErrUnexpectedEOF
10608 }
10609 m.ExecutorName = string(dAtA[iNdEx:postIndex])
10610 iNdEx = postIndex
10611 hasFields[0] |= uint64(0x00000004)
10612 case 4:
10613 if wireType != 2 {
10614 return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType)
10615 }
10616 var msglen int
10617 for shift := uint(0); ; shift += 7 {
10618 if shift >= 64 {
10619 return ErrIntOverflowAgent
10620 }
10621 if iNdEx >= l {
10622 return io.ErrUnexpectedEOF
10623 }
10624 b := dAtA[iNdEx]
10625 iNdEx++
10626 msglen |= (int(b) & 0x7F) << shift
10627 if b < 0x80 {
10628 break
10629 }
10630 }
10631 if msglen < 0 {
10632 return ErrInvalidLengthAgent
10633 }
10634 postIndex := iNdEx + msglen
10635 if postIndex > l {
10636 return io.ErrUnexpectedEOF
10637 }
10638 if err := m.ContainerID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10639 return err
10640 }
10641 iNdEx = postIndex
10642 hasFields[0] |= uint64(0x00000008)
10643 case 5:
10644 if wireType != 2 {
10645 return fmt.Errorf("proto: wrong wireType = %d for field ContainerStatus", wireType)
10646 }
10647 var msglen int
10648 for shift := uint(0); ; shift += 7 {
10649 if shift >= 64 {
10650 return ErrIntOverflowAgent
10651 }
10652 if iNdEx >= l {
10653 return io.ErrUnexpectedEOF
10654 }
10655 b := dAtA[iNdEx]
10656 iNdEx++
10657 msglen |= (int(b) & 0x7F) << shift
10658 if b < 0x80 {
10659 break
10660 }
10661 }
10662 if msglen < 0 {
10663 return ErrInvalidLengthAgent
10664 }
10665 postIndex := iNdEx + msglen
10666 if postIndex > l {
10667 return io.ErrUnexpectedEOF
10668 }
10669 if m.ContainerStatus == nil {
10670 m.ContainerStatus = &mesos.ContainerStatus{}
10671 }
10672 if err := m.ContainerStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10673 return err
10674 }
10675 iNdEx = postIndex
10676 case 6:
10677 if wireType != 2 {
10678 return fmt.Errorf("proto: wrong wireType = %d for field ResourceStatistics", wireType)
10679 }
10680 var msglen int
10681 for shift := uint(0); ; shift += 7 {
10682 if shift >= 64 {
10683 return ErrIntOverflowAgent
10684 }
10685 if iNdEx >= l {
10686 return io.ErrUnexpectedEOF
10687 }
10688 b := dAtA[iNdEx]
10689 iNdEx++
10690 msglen |= (int(b) & 0x7F) << shift
10691 if b < 0x80 {
10692 break
10693 }
10694 }
10695 if msglen < 0 {
10696 return ErrInvalidLengthAgent
10697 }
10698 postIndex := iNdEx + msglen
10699 if postIndex > l {
10700 return io.ErrUnexpectedEOF
10701 }
10702 if m.ResourceStatistics == nil {
10703 m.ResourceStatistics = &mesos.ResourceStatistics{}
10704 }
10705 if err := m.ResourceStatistics.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10706 return err
10707 }
10708 iNdEx = postIndex
10709 default:
10710 iNdEx = preIndex
10711 skippy, err := skipAgent(dAtA[iNdEx:])
10712 if err != nil {
10713 return err
10714 }
10715 if skippy < 0 {
10716 return ErrInvalidLengthAgent
10717 }
10718 if (iNdEx + skippy) > l {
10719 return io.ErrUnexpectedEOF
10720 }
10721 iNdEx += skippy
10722 }
10723 }
10724 if hasFields[0]&uint64(0x00000001) == 0 {
10725 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("framework_id")
10726 }
10727 if hasFields[0]&uint64(0x00000002) == 0 {
10728 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("executor_id")
10729 }
10730 if hasFields[0]&uint64(0x00000004) == 0 {
10731 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("executor_name")
10732 }
10733 if hasFields[0]&uint64(0x00000008) == 0 {
10734 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("container_id")
10735 }
10736
10737 if iNdEx > l {
10738 return io.ErrUnexpectedEOF
10739 }
10740 return nil
10741 }
10742 func (m *Response_GetFrameworks) Unmarshal(dAtA []byte) error {
10743 l := len(dAtA)
10744 iNdEx := 0
10745 for iNdEx < l {
10746 preIndex := iNdEx
10747 var wire uint64
10748 for shift := uint(0); ; shift += 7 {
10749 if shift >= 64 {
10750 return ErrIntOverflowAgent
10751 }
10752 if iNdEx >= l {
10753 return io.ErrUnexpectedEOF
10754 }
10755 b := dAtA[iNdEx]
10756 iNdEx++
10757 wire |= (uint64(b) & 0x7F) << shift
10758 if b < 0x80 {
10759 break
10760 }
10761 }
10762 fieldNum := int32(wire >> 3)
10763 wireType := int(wire & 0x7)
10764 if wireType == 4 {
10765 return fmt.Errorf("proto: GetFrameworks: wiretype end group for non-group")
10766 }
10767 if fieldNum <= 0 {
10768 return fmt.Errorf("proto: GetFrameworks: illegal tag %d (wire type %d)", fieldNum, wire)
10769 }
10770 switch fieldNum {
10771 case 1:
10772 if wireType != 2 {
10773 return fmt.Errorf("proto: wrong wireType = %d for field Frameworks", wireType)
10774 }
10775 var msglen int
10776 for shift := uint(0); ; shift += 7 {
10777 if shift >= 64 {
10778 return ErrIntOverflowAgent
10779 }
10780 if iNdEx >= l {
10781 return io.ErrUnexpectedEOF
10782 }
10783 b := dAtA[iNdEx]
10784 iNdEx++
10785 msglen |= (int(b) & 0x7F) << shift
10786 if b < 0x80 {
10787 break
10788 }
10789 }
10790 if msglen < 0 {
10791 return ErrInvalidLengthAgent
10792 }
10793 postIndex := iNdEx + msglen
10794 if postIndex > l {
10795 return io.ErrUnexpectedEOF
10796 }
10797 m.Frameworks = append(m.Frameworks, Response_GetFrameworks_Framework{})
10798 if err := m.Frameworks[len(m.Frameworks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10799 return err
10800 }
10801 iNdEx = postIndex
10802 case 2:
10803 if wireType != 2 {
10804 return fmt.Errorf("proto: wrong wireType = %d for field CompletedFrameworks", wireType)
10805 }
10806 var msglen int
10807 for shift := uint(0); ; shift += 7 {
10808 if shift >= 64 {
10809 return ErrIntOverflowAgent
10810 }
10811 if iNdEx >= l {
10812 return io.ErrUnexpectedEOF
10813 }
10814 b := dAtA[iNdEx]
10815 iNdEx++
10816 msglen |= (int(b) & 0x7F) << shift
10817 if b < 0x80 {
10818 break
10819 }
10820 }
10821 if msglen < 0 {
10822 return ErrInvalidLengthAgent
10823 }
10824 postIndex := iNdEx + msglen
10825 if postIndex > l {
10826 return io.ErrUnexpectedEOF
10827 }
10828 m.CompletedFrameworks = append(m.CompletedFrameworks, Response_GetFrameworks_Framework{})
10829 if err := m.CompletedFrameworks[len(m.CompletedFrameworks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10830 return err
10831 }
10832 iNdEx = postIndex
10833 default:
10834 iNdEx = preIndex
10835 skippy, err := skipAgent(dAtA[iNdEx:])
10836 if err != nil {
10837 return err
10838 }
10839 if skippy < 0 {
10840 return ErrInvalidLengthAgent
10841 }
10842 if (iNdEx + skippy) > l {
10843 return io.ErrUnexpectedEOF
10844 }
10845 iNdEx += skippy
10846 }
10847 }
10848
10849 if iNdEx > l {
10850 return io.ErrUnexpectedEOF
10851 }
10852 return nil
10853 }
10854 func (m *Response_GetFrameworks_Framework) Unmarshal(dAtA []byte) error {
10855 var hasFields [1]uint64
10856 l := len(dAtA)
10857 iNdEx := 0
10858 for iNdEx < l {
10859 preIndex := iNdEx
10860 var wire uint64
10861 for shift := uint(0); ; shift += 7 {
10862 if shift >= 64 {
10863 return ErrIntOverflowAgent
10864 }
10865 if iNdEx >= l {
10866 return io.ErrUnexpectedEOF
10867 }
10868 b := dAtA[iNdEx]
10869 iNdEx++
10870 wire |= (uint64(b) & 0x7F) << shift
10871 if b < 0x80 {
10872 break
10873 }
10874 }
10875 fieldNum := int32(wire >> 3)
10876 wireType := int(wire & 0x7)
10877 if wireType == 4 {
10878 return fmt.Errorf("proto: Framework: wiretype end group for non-group")
10879 }
10880 if fieldNum <= 0 {
10881 return fmt.Errorf("proto: Framework: illegal tag %d (wire type %d)", fieldNum, wire)
10882 }
10883 switch fieldNum {
10884 case 1:
10885 if wireType != 2 {
10886 return fmt.Errorf("proto: wrong wireType = %d for field FrameworkInfo", wireType)
10887 }
10888 var msglen int
10889 for shift := uint(0); ; shift += 7 {
10890 if shift >= 64 {
10891 return ErrIntOverflowAgent
10892 }
10893 if iNdEx >= l {
10894 return io.ErrUnexpectedEOF
10895 }
10896 b := dAtA[iNdEx]
10897 iNdEx++
10898 msglen |= (int(b) & 0x7F) << shift
10899 if b < 0x80 {
10900 break
10901 }
10902 }
10903 if msglen < 0 {
10904 return ErrInvalidLengthAgent
10905 }
10906 postIndex := iNdEx + msglen
10907 if postIndex > l {
10908 return io.ErrUnexpectedEOF
10909 }
10910 if err := m.FrameworkInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10911 return err
10912 }
10913 iNdEx = postIndex
10914 hasFields[0] |= uint64(0x00000001)
10915 default:
10916 iNdEx = preIndex
10917 skippy, err := skipAgent(dAtA[iNdEx:])
10918 if err != nil {
10919 return err
10920 }
10921 if skippy < 0 {
10922 return ErrInvalidLengthAgent
10923 }
10924 if (iNdEx + skippy) > l {
10925 return io.ErrUnexpectedEOF
10926 }
10927 iNdEx += skippy
10928 }
10929 }
10930 if hasFields[0]&uint64(0x00000001) == 0 {
10931 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("framework_info")
10932 }
10933
10934 if iNdEx > l {
10935 return io.ErrUnexpectedEOF
10936 }
10937 return nil
10938 }
10939 func (m *Response_GetExecutors) Unmarshal(dAtA []byte) error {
10940 l := len(dAtA)
10941 iNdEx := 0
10942 for iNdEx < l {
10943 preIndex := iNdEx
10944 var wire uint64
10945 for shift := uint(0); ; shift += 7 {
10946 if shift >= 64 {
10947 return ErrIntOverflowAgent
10948 }
10949 if iNdEx >= l {
10950 return io.ErrUnexpectedEOF
10951 }
10952 b := dAtA[iNdEx]
10953 iNdEx++
10954 wire |= (uint64(b) & 0x7F) << shift
10955 if b < 0x80 {
10956 break
10957 }
10958 }
10959 fieldNum := int32(wire >> 3)
10960 wireType := int(wire & 0x7)
10961 if wireType == 4 {
10962 return fmt.Errorf("proto: GetExecutors: wiretype end group for non-group")
10963 }
10964 if fieldNum <= 0 {
10965 return fmt.Errorf("proto: GetExecutors: illegal tag %d (wire type %d)", fieldNum, wire)
10966 }
10967 switch fieldNum {
10968 case 1:
10969 if wireType != 2 {
10970 return fmt.Errorf("proto: wrong wireType = %d for field Executors", wireType)
10971 }
10972 var msglen int
10973 for shift := uint(0); ; shift += 7 {
10974 if shift >= 64 {
10975 return ErrIntOverflowAgent
10976 }
10977 if iNdEx >= l {
10978 return io.ErrUnexpectedEOF
10979 }
10980 b := dAtA[iNdEx]
10981 iNdEx++
10982 msglen |= (int(b) & 0x7F) << shift
10983 if b < 0x80 {
10984 break
10985 }
10986 }
10987 if msglen < 0 {
10988 return ErrInvalidLengthAgent
10989 }
10990 postIndex := iNdEx + msglen
10991 if postIndex > l {
10992 return io.ErrUnexpectedEOF
10993 }
10994 m.Executors = append(m.Executors, Response_GetExecutors_Executor{})
10995 if err := m.Executors[len(m.Executors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10996 return err
10997 }
10998 iNdEx = postIndex
10999 case 2:
11000 if wireType != 2 {
11001 return fmt.Errorf("proto: wrong wireType = %d for field CompletedExecutors", wireType)
11002 }
11003 var msglen int
11004 for shift := uint(0); ; shift += 7 {
11005 if shift >= 64 {
11006 return ErrIntOverflowAgent
11007 }
11008 if iNdEx >= l {
11009 return io.ErrUnexpectedEOF
11010 }
11011 b := dAtA[iNdEx]
11012 iNdEx++
11013 msglen |= (int(b) & 0x7F) << shift
11014 if b < 0x80 {
11015 break
11016 }
11017 }
11018 if msglen < 0 {
11019 return ErrInvalidLengthAgent
11020 }
11021 postIndex := iNdEx + msglen
11022 if postIndex > l {
11023 return io.ErrUnexpectedEOF
11024 }
11025 m.CompletedExecutors = append(m.CompletedExecutors, Response_GetExecutors_Executor{})
11026 if err := m.CompletedExecutors[len(m.CompletedExecutors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11027 return err
11028 }
11029 iNdEx = postIndex
11030 default:
11031 iNdEx = preIndex
11032 skippy, err := skipAgent(dAtA[iNdEx:])
11033 if err != nil {
11034 return err
11035 }
11036 if skippy < 0 {
11037 return ErrInvalidLengthAgent
11038 }
11039 if (iNdEx + skippy) > l {
11040 return io.ErrUnexpectedEOF
11041 }
11042 iNdEx += skippy
11043 }
11044 }
11045
11046 if iNdEx > l {
11047 return io.ErrUnexpectedEOF
11048 }
11049 return nil
11050 }
11051 func (m *Response_GetExecutors_Executor) Unmarshal(dAtA []byte) error {
11052 var hasFields [1]uint64
11053 l := len(dAtA)
11054 iNdEx := 0
11055 for iNdEx < l {
11056 preIndex := iNdEx
11057 var wire uint64
11058 for shift := uint(0); ; shift += 7 {
11059 if shift >= 64 {
11060 return ErrIntOverflowAgent
11061 }
11062 if iNdEx >= l {
11063 return io.ErrUnexpectedEOF
11064 }
11065 b := dAtA[iNdEx]
11066 iNdEx++
11067 wire |= (uint64(b) & 0x7F) << shift
11068 if b < 0x80 {
11069 break
11070 }
11071 }
11072 fieldNum := int32(wire >> 3)
11073 wireType := int(wire & 0x7)
11074 if wireType == 4 {
11075 return fmt.Errorf("proto: Executor: wiretype end group for non-group")
11076 }
11077 if fieldNum <= 0 {
11078 return fmt.Errorf("proto: Executor: illegal tag %d (wire type %d)", fieldNum, wire)
11079 }
11080 switch fieldNum {
11081 case 1:
11082 if wireType != 2 {
11083 return fmt.Errorf("proto: wrong wireType = %d for field ExecutorInfo", wireType)
11084 }
11085 var msglen int
11086 for shift := uint(0); ; shift += 7 {
11087 if shift >= 64 {
11088 return ErrIntOverflowAgent
11089 }
11090 if iNdEx >= l {
11091 return io.ErrUnexpectedEOF
11092 }
11093 b := dAtA[iNdEx]
11094 iNdEx++
11095 msglen |= (int(b) & 0x7F) << shift
11096 if b < 0x80 {
11097 break
11098 }
11099 }
11100 if msglen < 0 {
11101 return ErrInvalidLengthAgent
11102 }
11103 postIndex := iNdEx + msglen
11104 if postIndex > l {
11105 return io.ErrUnexpectedEOF
11106 }
11107 if err := m.ExecutorInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11108 return err
11109 }
11110 iNdEx = postIndex
11111 hasFields[0] |= uint64(0x00000001)
11112 default:
11113 iNdEx = preIndex
11114 skippy, err := skipAgent(dAtA[iNdEx:])
11115 if err != nil {
11116 return err
11117 }
11118 if skippy < 0 {
11119 return ErrInvalidLengthAgent
11120 }
11121 if (iNdEx + skippy) > l {
11122 return io.ErrUnexpectedEOF
11123 }
11124 iNdEx += skippy
11125 }
11126 }
11127 if hasFields[0]&uint64(0x00000001) == 0 {
11128 return github_com_gogo_protobuf_proto.NewRequiredNotSetError("executor_info")
11129 }
11130
11131 if iNdEx > l {
11132 return io.ErrUnexpectedEOF
11133 }
11134 return nil
11135 }
11136 func (m *Response_GetTasks) Unmarshal(dAtA []byte) error {
11137 l := len(dAtA)
11138 iNdEx := 0
11139 for iNdEx < l {
11140 preIndex := iNdEx
11141 var wire uint64
11142 for shift := uint(0); ; shift += 7 {
11143 if shift >= 64 {
11144 return ErrIntOverflowAgent
11145 }
11146 if iNdEx >= l {
11147 return io.ErrUnexpectedEOF
11148 }
11149 b := dAtA[iNdEx]
11150 iNdEx++
11151 wire |= (uint64(b) & 0x7F) << shift
11152 if b < 0x80 {
11153 break
11154 }
11155 }
11156 fieldNum := int32(wire >> 3)
11157 wireType := int(wire & 0x7)
11158 if wireType == 4 {
11159 return fmt.Errorf("proto: GetTasks: wiretype end group for non-group")
11160 }
11161 if fieldNum <= 0 {
11162 return fmt.Errorf("proto: GetTasks: illegal tag %d (wire type %d)", fieldNum, wire)
11163 }
11164 switch fieldNum {
11165 case 1:
11166 if wireType != 2 {
11167 return fmt.Errorf("proto: wrong wireType = %d for field PendingTasks", wireType)
11168 }
11169 var msglen int
11170 for shift := uint(0); ; shift += 7 {
11171 if shift >= 64 {
11172 return ErrIntOverflowAgent
11173 }
11174 if iNdEx >= l {
11175 return io.ErrUnexpectedEOF
11176 }
11177 b := dAtA[iNdEx]
11178 iNdEx++
11179 msglen |= (int(b) & 0x7F) << shift
11180 if b < 0x80 {
11181 break
11182 }
11183 }
11184 if msglen < 0 {
11185 return ErrInvalidLengthAgent
11186 }
11187 postIndex := iNdEx + msglen
11188 if postIndex > l {
11189 return io.ErrUnexpectedEOF
11190 }
11191 m.PendingTasks = append(m.PendingTasks, mesos.Task{})
11192 if err := m.PendingTasks[len(m.PendingTasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11193 return err
11194 }
11195 iNdEx = postIndex
11196 case 2:
11197 if wireType != 2 {
11198 return fmt.Errorf("proto: wrong wireType = %d for field QueuedTasks", wireType)
11199 }
11200 var msglen int
11201 for shift := uint(0); ; shift += 7 {
11202 if shift >= 64 {
11203 return ErrIntOverflowAgent
11204 }
11205 if iNdEx >= l {
11206 return io.ErrUnexpectedEOF
11207 }
11208 b := dAtA[iNdEx]
11209 iNdEx++
11210 msglen |= (int(b) & 0x7F) << shift
11211 if b < 0x80 {
11212 break
11213 }
11214 }
11215 if msglen < 0 {
11216 return ErrInvalidLengthAgent
11217 }
11218 postIndex := iNdEx + msglen
11219 if postIndex > l {
11220 return io.ErrUnexpectedEOF
11221 }
11222 m.QueuedTasks = append(m.QueuedTasks, mesos.Task{})
11223 if err := m.QueuedTasks[len(m.QueuedTasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11224 return err
11225 }
11226 iNdEx = postIndex
11227 case 3:
11228 if wireType != 2 {
11229 return fmt.Errorf("proto: wrong wireType = %d for field LaunchedTasks", wireType)
11230 }
11231 var msglen int
11232 for shift := uint(0); ; shift += 7 {
11233 if shift >= 64 {
11234 return ErrIntOverflowAgent
11235 }
11236 if iNdEx >= l {
11237 return io.ErrUnexpectedEOF
11238 }
11239 b := dAtA[iNdEx]
11240 iNdEx++
11241 msglen |= (int(b) & 0x7F) << shift
11242 if b < 0x80 {
11243 break
11244 }
11245 }
11246 if msglen < 0 {
11247 return ErrInvalidLengthAgent
11248 }
11249 postIndex := iNdEx + msglen
11250 if postIndex > l {
11251 return io.ErrUnexpectedEOF
11252 }
11253 m.LaunchedTasks = append(m.LaunchedTasks, mesos.Task{})
11254 if err := m.LaunchedTasks[len(m.LaunchedTasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11255 return err
11256 }
11257 iNdEx = postIndex
11258 case 4:
11259 if wireType != 2 {
11260 return fmt.Errorf("proto: wrong wireType = %d for field TerminatedTasks", wireType)
11261 }
11262 var msglen int
11263 for shift := uint(0); ; shift += 7 {
11264 if shift >= 64 {
11265 return ErrIntOverflowAgent
11266 }
11267 if iNdEx >= l {
11268 return io.ErrUnexpectedEOF
11269 }
11270 b := dAtA[iNdEx]
11271 iNdEx++
11272 msglen |= (int(b) & 0x7F) << shift
11273 if b < 0x80 {
11274 break
11275 }
11276 }
11277 if msglen < 0 {
11278 return ErrInvalidLengthAgent
11279 }
11280 postIndex := iNdEx + msglen
11281 if postIndex > l {
11282 return io.ErrUnexpectedEOF
11283 }
11284 m.TerminatedTasks = append(m.TerminatedTasks, mesos.Task{})
11285 if err := m.TerminatedTasks[len(m.TerminatedTasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11286 return err
11287 }
11288 iNdEx = postIndex
11289 case 5:
11290 if wireType != 2 {
11291 return fmt.Errorf("proto: wrong wireType = %d for field CompletedTasks", wireType)
11292 }
11293 var msglen int
11294 for shift := uint(0); ; shift += 7 {
11295 if shift >= 64 {
11296 return ErrIntOverflowAgent
11297 }
11298 if iNdEx >= l {
11299 return io.ErrUnexpectedEOF
11300 }
11301 b := dAtA[iNdEx]
11302 iNdEx++
11303 msglen |= (int(b) & 0x7F) << shift
11304 if b < 0x80 {
11305 break
11306 }
11307 }
11308 if msglen < 0 {
11309 return ErrInvalidLengthAgent
11310 }
11311 postIndex := iNdEx + msglen
11312 if postIndex > l {
11313 return io.ErrUnexpectedEOF
11314 }
11315 m.CompletedTasks = append(m.CompletedTasks, mesos.Task{})
11316 if err := m.CompletedTasks[len(m.CompletedTasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11317 return err
11318 }
11319 iNdEx = postIndex
11320 default:
11321 iNdEx = preIndex
11322 skippy, err := skipAgent(dAtA[iNdEx:])
11323 if err != nil {
11324 return err
11325 }
11326 if skippy < 0 {
11327 return ErrInvalidLengthAgent
11328 }
11329 if (iNdEx + skippy) > l {
11330 return io.ErrUnexpectedEOF
11331 }
11332 iNdEx += skippy
11333 }
11334 }
11335
11336 if iNdEx > l {
11337 return io.ErrUnexpectedEOF
11338 }
11339 return nil
11340 }
11341 func (m *Response_GetAgent) Unmarshal(dAtA []byte) error {
11342 l := len(dAtA)
11343 iNdEx := 0
11344 for iNdEx < l {
11345 preIndex := iNdEx
11346 var wire uint64
11347 for shift := uint(0); ; shift += 7 {
11348 if shift >= 64 {
11349 return ErrIntOverflowAgent
11350 }
11351 if iNdEx >= l {
11352 return io.ErrUnexpectedEOF
11353 }
11354 b := dAtA[iNdEx]
11355 iNdEx++
11356 wire |= (uint64(b) & 0x7F) << shift
11357 if b < 0x80 {
11358 break
11359 }
11360 }
11361 fieldNum := int32(wire >> 3)
11362 wireType := int(wire & 0x7)
11363 if wireType == 4 {
11364 return fmt.Errorf("proto: GetAgent: wiretype end group for non-group")
11365 }
11366 if fieldNum <= 0 {
11367 return fmt.Errorf("proto: GetAgent: illegal tag %d (wire type %d)", fieldNum, wire)
11368 }
11369 switch fieldNum {
11370 case 1:
11371 if wireType != 2 {
11372 return fmt.Errorf("proto: wrong wireType = %d for field AgentInfo", wireType)
11373 }
11374 var msglen int
11375 for shift := uint(0); ; shift += 7 {
11376 if shift >= 64 {
11377 return ErrIntOverflowAgent
11378 }
11379 if iNdEx >= l {
11380 return io.ErrUnexpectedEOF
11381 }
11382 b := dAtA[iNdEx]
11383 iNdEx++
11384 msglen |= (int(b) & 0x7F) << shift
11385 if b < 0x80 {
11386 break
11387 }
11388 }
11389 if msglen < 0 {
11390 return ErrInvalidLengthAgent
11391 }
11392 postIndex := iNdEx + msglen
11393 if postIndex > l {
11394 return io.ErrUnexpectedEOF
11395 }
11396 if m.AgentInfo == nil {
11397 m.AgentInfo = &mesos.AgentInfo{}
11398 }
11399 if err := m.AgentInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11400 return err
11401 }
11402 iNdEx = postIndex
11403 default:
11404 iNdEx = preIndex
11405 skippy, err := skipAgent(dAtA[iNdEx:])
11406 if err != nil {
11407 return err
11408 }
11409 if skippy < 0 {
11410 return ErrInvalidLengthAgent
11411 }
11412 if (iNdEx + skippy) > l {
11413 return io.ErrUnexpectedEOF
11414 }
11415 iNdEx += skippy
11416 }
11417 }
11418
11419 if iNdEx > l {
11420 return io.ErrUnexpectedEOF
11421 }
11422 return nil
11423 }
11424 func (m *Response_WaitNestedContainer) Unmarshal(dAtA []byte) error {
11425 l := len(dAtA)
11426 iNdEx := 0
11427 for iNdEx < l {
11428 preIndex := iNdEx
11429 var wire uint64
11430 for shift := uint(0); ; shift += 7 {
11431 if shift >= 64 {
11432 return ErrIntOverflowAgent
11433 }
11434 if iNdEx >= l {
11435 return io.ErrUnexpectedEOF
11436 }
11437 b := dAtA[iNdEx]
11438 iNdEx++
11439 wire |= (uint64(b) & 0x7F) << shift
11440 if b < 0x80 {
11441 break
11442 }
11443 }
11444 fieldNum := int32(wire >> 3)
11445 wireType := int(wire & 0x7)
11446 if wireType == 4 {
11447 return fmt.Errorf("proto: WaitNestedContainer: wiretype end group for non-group")
11448 }
11449 if fieldNum <= 0 {
11450 return fmt.Errorf("proto: WaitNestedContainer: illegal tag %d (wire type %d)", fieldNum, wire)
11451 }
11452 switch fieldNum {
11453 case 1:
11454 if wireType != 0 {
11455 return fmt.Errorf("proto: wrong wireType = %d for field ExitStatus", wireType)
11456 }
11457 var v int32
11458 for shift := uint(0); ; shift += 7 {
11459 if shift >= 64 {
11460 return ErrIntOverflowAgent
11461 }
11462 if iNdEx >= l {
11463 return io.ErrUnexpectedEOF
11464 }
11465 b := dAtA[iNdEx]
11466 iNdEx++
11467 v |= (int32(b) & 0x7F) << shift
11468 if b < 0x80 {
11469 break
11470 }
11471 }
11472 m.ExitStatus = &v
11473 default:
11474 iNdEx = preIndex
11475 skippy, err := skipAgent(dAtA[iNdEx:])
11476 if err != nil {
11477 return err
11478 }
11479 if skippy < 0 {
11480 return ErrInvalidLengthAgent
11481 }
11482 if (iNdEx + skippy) > l {
11483 return io.ErrUnexpectedEOF
11484 }
11485 iNdEx += skippy
11486 }
11487 }
11488
11489 if iNdEx > l {
11490 return io.ErrUnexpectedEOF
11491 }
11492 return nil
11493 }
11494 func (m *ProcessIO) Unmarshal(dAtA []byte) error {
11495 l := len(dAtA)
11496 iNdEx := 0
11497 for iNdEx < l {
11498 preIndex := iNdEx
11499 var wire uint64
11500 for shift := uint(0); ; shift += 7 {
11501 if shift >= 64 {
11502 return ErrIntOverflowAgent
11503 }
11504 if iNdEx >= l {
11505 return io.ErrUnexpectedEOF
11506 }
11507 b := dAtA[iNdEx]
11508 iNdEx++
11509 wire |= (uint64(b) & 0x7F) << shift
11510 if b < 0x80 {
11511 break
11512 }
11513 }
11514 fieldNum := int32(wire >> 3)
11515 wireType := int(wire & 0x7)
11516 if wireType == 4 {
11517 return fmt.Errorf("proto: ProcessIO: wiretype end group for non-group")
11518 }
11519 if fieldNum <= 0 {
11520 return fmt.Errorf("proto: ProcessIO: illegal tag %d (wire type %d)", fieldNum, wire)
11521 }
11522 switch fieldNum {
11523 case 1:
11524 if wireType != 0 {
11525 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
11526 }
11527 m.Type = 0
11528 for shift := uint(0); ; shift += 7 {
11529 if shift >= 64 {
11530 return ErrIntOverflowAgent
11531 }
11532 if iNdEx >= l {
11533 return io.ErrUnexpectedEOF
11534 }
11535 b := dAtA[iNdEx]
11536 iNdEx++
11537 m.Type |= (ProcessIO_Type(b) & 0x7F) << shift
11538 if b < 0x80 {
11539 break
11540 }
11541 }
11542 case 2:
11543 if wireType != 2 {
11544 return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
11545 }
11546 var msglen int
11547 for shift := uint(0); ; shift += 7 {
11548 if shift >= 64 {
11549 return ErrIntOverflowAgent
11550 }
11551 if iNdEx >= l {
11552 return io.ErrUnexpectedEOF
11553 }
11554 b := dAtA[iNdEx]
11555 iNdEx++
11556 msglen |= (int(b) & 0x7F) << shift
11557 if b < 0x80 {
11558 break
11559 }
11560 }
11561 if msglen < 0 {
11562 return ErrInvalidLengthAgent
11563 }
11564 postIndex := iNdEx + msglen
11565 if postIndex > l {
11566 return io.ErrUnexpectedEOF
11567 }
11568 if m.Data == nil {
11569 m.Data = &ProcessIO_Data{}
11570 }
11571 if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11572 return err
11573 }
11574 iNdEx = postIndex
11575 case 3:
11576 if wireType != 2 {
11577 return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType)
11578 }
11579 var msglen int
11580 for shift := uint(0); ; shift += 7 {
11581 if shift >= 64 {
11582 return ErrIntOverflowAgent
11583 }
11584 if iNdEx >= l {
11585 return io.ErrUnexpectedEOF
11586 }
11587 b := dAtA[iNdEx]
11588 iNdEx++
11589 msglen |= (int(b) & 0x7F) << shift
11590 if b < 0x80 {
11591 break
11592 }
11593 }
11594 if msglen < 0 {
11595 return ErrInvalidLengthAgent
11596 }
11597 postIndex := iNdEx + msglen
11598 if postIndex > l {
11599 return io.ErrUnexpectedEOF
11600 }
11601 if m.Control == nil {
11602 m.Control = &ProcessIO_Control{}
11603 }
11604 if err := m.Control.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11605 return err
11606 }
11607 iNdEx = postIndex
11608 default:
11609 iNdEx = preIndex
11610 skippy, err := skipAgent(dAtA[iNdEx:])
11611 if err != nil {
11612 return err
11613 }
11614 if skippy < 0 {
11615 return ErrInvalidLengthAgent
11616 }
11617 if (iNdEx + skippy) > l {
11618 return io.ErrUnexpectedEOF
11619 }
11620 iNdEx += skippy
11621 }
11622 }
11623
11624 if iNdEx > l {
11625 return io.ErrUnexpectedEOF
11626 }
11627 return nil
11628 }
11629 func (m *ProcessIO_Data) Unmarshal(dAtA []byte) error {
11630 l := len(dAtA)
11631 iNdEx := 0
11632 for iNdEx < l {
11633 preIndex := iNdEx
11634 var wire uint64
11635 for shift := uint(0); ; shift += 7 {
11636 if shift >= 64 {
11637 return ErrIntOverflowAgent
11638 }
11639 if iNdEx >= l {
11640 return io.ErrUnexpectedEOF
11641 }
11642 b := dAtA[iNdEx]
11643 iNdEx++
11644 wire |= (uint64(b) & 0x7F) << shift
11645 if b < 0x80 {
11646 break
11647 }
11648 }
11649 fieldNum := int32(wire >> 3)
11650 wireType := int(wire & 0x7)
11651 if wireType == 4 {
11652 return fmt.Errorf("proto: Data: wiretype end group for non-group")
11653 }
11654 if fieldNum <= 0 {
11655 return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
11656 }
11657 switch fieldNum {
11658 case 1:
11659 if wireType != 0 {
11660 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
11661 }
11662 m.Type = 0
11663 for shift := uint(0); ; shift += 7 {
11664 if shift >= 64 {
11665 return ErrIntOverflowAgent
11666 }
11667 if iNdEx >= l {
11668 return io.ErrUnexpectedEOF
11669 }
11670 b := dAtA[iNdEx]
11671 iNdEx++
11672 m.Type |= (ProcessIO_Data_Type(b) & 0x7F) << shift
11673 if b < 0x80 {
11674 break
11675 }
11676 }
11677 case 2:
11678 if wireType != 2 {
11679 return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
11680 }
11681 var byteLen int
11682 for shift := uint(0); ; shift += 7 {
11683 if shift >= 64 {
11684 return ErrIntOverflowAgent
11685 }
11686 if iNdEx >= l {
11687 return io.ErrUnexpectedEOF
11688 }
11689 b := dAtA[iNdEx]
11690 iNdEx++
11691 byteLen |= (int(b) & 0x7F) << shift
11692 if b < 0x80 {
11693 break
11694 }
11695 }
11696 if byteLen < 0 {
11697 return ErrInvalidLengthAgent
11698 }
11699 postIndex := iNdEx + byteLen
11700 if postIndex > l {
11701 return io.ErrUnexpectedEOF
11702 }
11703 m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
11704 if m.Data == nil {
11705 m.Data = []byte{}
11706 }
11707 iNdEx = postIndex
11708 default:
11709 iNdEx = preIndex
11710 skippy, err := skipAgent(dAtA[iNdEx:])
11711 if err != nil {
11712 return err
11713 }
11714 if skippy < 0 {
11715 return ErrInvalidLengthAgent
11716 }
11717 if (iNdEx + skippy) > l {
11718 return io.ErrUnexpectedEOF
11719 }
11720 iNdEx += skippy
11721 }
11722 }
11723
11724 if iNdEx > l {
11725 return io.ErrUnexpectedEOF
11726 }
11727 return nil
11728 }
11729 func (m *ProcessIO_Control) Unmarshal(dAtA []byte) error {
11730 l := len(dAtA)
11731 iNdEx := 0
11732 for iNdEx < l {
11733 preIndex := iNdEx
11734 var wire uint64
11735 for shift := uint(0); ; shift += 7 {
11736 if shift >= 64 {
11737 return ErrIntOverflowAgent
11738 }
11739 if iNdEx >= l {
11740 return io.ErrUnexpectedEOF
11741 }
11742 b := dAtA[iNdEx]
11743 iNdEx++
11744 wire |= (uint64(b) & 0x7F) << shift
11745 if b < 0x80 {
11746 break
11747 }
11748 }
11749 fieldNum := int32(wire >> 3)
11750 wireType := int(wire & 0x7)
11751 if wireType == 4 {
11752 return fmt.Errorf("proto: Control: wiretype end group for non-group")
11753 }
11754 if fieldNum <= 0 {
11755 return fmt.Errorf("proto: Control: illegal tag %d (wire type %d)", fieldNum, wire)
11756 }
11757 switch fieldNum {
11758 case 1:
11759 if wireType != 0 {
11760 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
11761 }
11762 m.Type = 0
11763 for shift := uint(0); ; shift += 7 {
11764 if shift >= 64 {
11765 return ErrIntOverflowAgent
11766 }
11767 if iNdEx >= l {
11768 return io.ErrUnexpectedEOF
11769 }
11770 b := dAtA[iNdEx]
11771 iNdEx++
11772 m.Type |= (ProcessIO_Control_Type(b) & 0x7F) << shift
11773 if b < 0x80 {
11774 break
11775 }
11776 }
11777 case 2:
11778 if wireType != 2 {
11779 return fmt.Errorf("proto: wrong wireType = %d for field TTYInfo", wireType)
11780 }
11781 var msglen int
11782 for shift := uint(0); ; shift += 7 {
11783 if shift >= 64 {
11784 return ErrIntOverflowAgent
11785 }
11786 if iNdEx >= l {
11787 return io.ErrUnexpectedEOF
11788 }
11789 b := dAtA[iNdEx]
11790 iNdEx++
11791 msglen |= (int(b) & 0x7F) << shift
11792 if b < 0x80 {
11793 break
11794 }
11795 }
11796 if msglen < 0 {
11797 return ErrInvalidLengthAgent
11798 }
11799 postIndex := iNdEx + msglen
11800 if postIndex > l {
11801 return io.ErrUnexpectedEOF
11802 }
11803 if m.TTYInfo == nil {
11804 m.TTYInfo = &mesos.TTYInfo{}
11805 }
11806 if err := m.TTYInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11807 return err
11808 }
11809 iNdEx = postIndex
11810 case 3:
11811 if wireType != 2 {
11812 return fmt.Errorf("proto: wrong wireType = %d for field Heartbeat", wireType)
11813 }
11814 var msglen int
11815 for shift := uint(0); ; shift += 7 {
11816 if shift >= 64 {
11817 return ErrIntOverflowAgent
11818 }
11819 if iNdEx >= l {
11820 return io.ErrUnexpectedEOF
11821 }
11822 b := dAtA[iNdEx]
11823 iNdEx++
11824 msglen |= (int(b) & 0x7F) << shift
11825 if b < 0x80 {
11826 break
11827 }
11828 }
11829 if msglen < 0 {
11830 return ErrInvalidLengthAgent
11831 }
11832 postIndex := iNdEx + msglen
11833 if postIndex > l {
11834 return io.ErrUnexpectedEOF
11835 }
11836 if m.Heartbeat == nil {
11837 m.Heartbeat = &ProcessIO_Control_Heartbeat{}
11838 }
11839 if err := m.Heartbeat.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11840 return err
11841 }
11842 iNdEx = postIndex
11843 default:
11844 iNdEx = preIndex
11845 skippy, err := skipAgent(dAtA[iNdEx:])
11846 if err != nil {
11847 return err
11848 }
11849 if skippy < 0 {
11850 return ErrInvalidLengthAgent
11851 }
11852 if (iNdEx + skippy) > l {
11853 return io.ErrUnexpectedEOF
11854 }
11855 iNdEx += skippy
11856 }
11857 }
11858
11859 if iNdEx > l {
11860 return io.ErrUnexpectedEOF
11861 }
11862 return nil
11863 }
11864 func (m *ProcessIO_Control_Heartbeat) Unmarshal(dAtA []byte) error {
11865 l := len(dAtA)
11866 iNdEx := 0
11867 for iNdEx < l {
11868 preIndex := iNdEx
11869 var wire uint64
11870 for shift := uint(0); ; shift += 7 {
11871 if shift >= 64 {
11872 return ErrIntOverflowAgent
11873 }
11874 if iNdEx >= l {
11875 return io.ErrUnexpectedEOF
11876 }
11877 b := dAtA[iNdEx]
11878 iNdEx++
11879 wire |= (uint64(b) & 0x7F) << shift
11880 if b < 0x80 {
11881 break
11882 }
11883 }
11884 fieldNum := int32(wire >> 3)
11885 wireType := int(wire & 0x7)
11886 if wireType == 4 {
11887 return fmt.Errorf("proto: Heartbeat: wiretype end group for non-group")
11888 }
11889 if fieldNum <= 0 {
11890 return fmt.Errorf("proto: Heartbeat: illegal tag %d (wire type %d)", fieldNum, wire)
11891 }
11892 switch fieldNum {
11893 case 1:
11894 if wireType != 2 {
11895 return fmt.Errorf("proto: wrong wireType = %d for field Interval", wireType)
11896 }
11897 var msglen int
11898 for shift := uint(0); ; shift += 7 {
11899 if shift >= 64 {
11900 return ErrIntOverflowAgent
11901 }
11902 if iNdEx >= l {
11903 return io.ErrUnexpectedEOF
11904 }
11905 b := dAtA[iNdEx]
11906 iNdEx++
11907 msglen |= (int(b) & 0x7F) << shift
11908 if b < 0x80 {
11909 break
11910 }
11911 }
11912 if msglen < 0 {
11913 return ErrInvalidLengthAgent
11914 }
11915 postIndex := iNdEx + msglen
11916 if postIndex > l {
11917 return io.ErrUnexpectedEOF
11918 }
11919 if m.Interval == nil {
11920 m.Interval = &mesos.DurationInfo{}
11921 }
11922 if err := m.Interval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11923 return err
11924 }
11925 iNdEx = postIndex
11926 default:
11927 iNdEx = preIndex
11928 skippy, err := skipAgent(dAtA[iNdEx:])
11929 if err != nil {
11930 return err
11931 }
11932 if skippy < 0 {
11933 return ErrInvalidLengthAgent
11934 }
11935 if (iNdEx + skippy) > l {
11936 return io.ErrUnexpectedEOF
11937 }
11938 iNdEx += skippy
11939 }
11940 }
11941
11942 if iNdEx > l {
11943 return io.ErrUnexpectedEOF
11944 }
11945 return nil
11946 }
11947 func skipAgent(dAtA []byte) (n int, err error) {
11948 l := len(dAtA)
11949 iNdEx := 0
11950 for iNdEx < l {
11951 var wire uint64
11952 for shift := uint(0); ; shift += 7 {
11953 if shift >= 64 {
11954 return 0, ErrIntOverflowAgent
11955 }
11956 if iNdEx >= l {
11957 return 0, io.ErrUnexpectedEOF
11958 }
11959 b := dAtA[iNdEx]
11960 iNdEx++
11961 wire |= (uint64(b) & 0x7F) << shift
11962 if b < 0x80 {
11963 break
11964 }
11965 }
11966 wireType := int(wire & 0x7)
11967 switch wireType {
11968 case 0:
11969 for shift := uint(0); ; shift += 7 {
11970 if shift >= 64 {
11971 return 0, ErrIntOverflowAgent
11972 }
11973 if iNdEx >= l {
11974 return 0, io.ErrUnexpectedEOF
11975 }
11976 iNdEx++
11977 if dAtA[iNdEx-1] < 0x80 {
11978 break
11979 }
11980 }
11981 return iNdEx, nil
11982 case 1:
11983 iNdEx += 8
11984 return iNdEx, nil
11985 case 2:
11986 var length int
11987 for shift := uint(0); ; shift += 7 {
11988 if shift >= 64 {
11989 return 0, ErrIntOverflowAgent
11990 }
11991 if iNdEx >= l {
11992 return 0, io.ErrUnexpectedEOF
11993 }
11994 b := dAtA[iNdEx]
11995 iNdEx++
11996 length |= (int(b) & 0x7F) << shift
11997 if b < 0x80 {
11998 break
11999 }
12000 }
12001 iNdEx += length
12002 if length < 0 {
12003 return 0, ErrInvalidLengthAgent
12004 }
12005 return iNdEx, nil
12006 case 3:
12007 for {
12008 var innerWire uint64
12009 var start int = iNdEx
12010 for shift := uint(0); ; shift += 7 {
12011 if shift >= 64 {
12012 return 0, ErrIntOverflowAgent
12013 }
12014 if iNdEx >= l {
12015 return 0, io.ErrUnexpectedEOF
12016 }
12017 b := dAtA[iNdEx]
12018 iNdEx++
12019 innerWire |= (uint64(b) & 0x7F) << shift
12020 if b < 0x80 {
12021 break
12022 }
12023 }
12024 innerWireType := int(innerWire & 0x7)
12025 if innerWireType == 4 {
12026 break
12027 }
12028 next, err := skipAgent(dAtA[start:])
12029 if err != nil {
12030 return 0, err
12031 }
12032 iNdEx = start + next
12033 }
12034 return iNdEx, nil
12035 case 4:
12036 return iNdEx, nil
12037 case 5:
12038 iNdEx += 4
12039 return iNdEx, nil
12040 default:
12041 return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
12042 }
12043 }
12044 panic("unreachable")
12045 }
12046
12047 var (
12048 ErrInvalidLengthAgent = fmt.Errorf("proto: negative length found during unmarshaling")
12049 ErrIntOverflowAgent = fmt.Errorf("proto: integer overflow")
12050 )
12051
12052 func init() { proto.RegisterFile("agent/agent.proto", fileDescriptorAgent) }
12053
12054 var fileDescriptorAgent = []byte{
12055 // 2295 bytes of a gzipped FileDescriptorProto
12056 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0x4d, 0x6c, 0xdb, 0xc8,
12057 0x15, 0x36, 0x65, 0xd9, 0x92, 0x9e, 0x24, 0x9b, 0x1e, 0xff, 0xac, 0x96, 0x1b, 0xc8, 0xae, 0x17,
12058 0xdb, 0xcd, 0x62, 0x1b, 0x3b, 0x75, 0xb3, 0x69, 0x10, 0x67, 0x03, 0xd0, 0x36, 0x6d, 0x33, 0x51,
12059 0xa4, 0x94, 0xa4, 0x93, 0x66, 0xd1, 0x42, 0x60, 0xa4, 0x91, 0x4c, 0x84, 0x12, 0x5d, 0x71, 0xe4,
12060 0xd4, 0x3d, 0xf5, 0xd8, 0x43, 0x81, 0x16, 0x68, 0x8f, 0x3d, 0x14, 0x28, 0x0a, 0xec, 0xa1, 0xf7,
12061 0xf6, 0x54, 0xf4, 0x52, 0x60, 0x0f, 0x3d, 0xec, 0xb1, 0x05, 0xda, 0xa0, 0xd1, 0x5e, 0x7a, 0xdc,
12062 0x63, 0x7b, 0x2b, 0x66, 0x38, 0x43, 0x52, 0x26, 0x65, 0xa7, 0x69, 0x50, 0xa0, 0x17, 0x61, 0xe6,
12063 0xcd, 0xf7, 0xbe, 0x19, 0xbe, 0x79, 0xef, 0xf1, 0x3d, 0x0a, 0x16, 0xec, 0x2e, 0xee, 0x93, 0x4d,
12064 0xf6, 0xbb, 0x71, 0x32, 0xf0, 0x88, 0x87, 0x8a, 0x3d, 0xec, 0x7b, 0xfe, 0x06, 0x13, 0x29, 0xd7,
12065 0xbb, 0x0e, 0x39, 0x1e, 0x3e, 0xdd, 0x68, 0x79, 0xbd, 0x4d, 0x26, 0x0f, 0x7e, 0xaf, 0x75, 0xbd,
12066 0x4d, 0xfb, 0xc4, 0xd9, 0x3c, 0xfd, 0xfa, 0xa6, 0xeb, 0x3c, 0x0d, 0x64, 0x81, 0xba, 0x72, 0x2d,
12067 0xa6, 0xd1, 0xf5, 0xba, 0xde, 0x26, 0x13, 0x3f, 0x1d, 0x76, 0xd8, 0x8c, 0x4d, 0xd8, 0x28, 0x80,
12068 0xaf, 0xff, 0x65, 0x05, 0xb2, 0xbb, 0xb6, 0xeb, 0xa2, 0xeb, 0x90, 0x25, 0x67, 0x27, 0xb8, 0x22,
12069 0xad, 0x49, 0x57, 0xe7, 0xb6, 0x56, 0x36, 0x62, 0xa7, 0xd8, 0xa0, 0x80, 0x0d, 0xeb, 0xec, 0x04,
12070 0xef, 0x64, 0x3f, 0x7b, 0xb1, 0x3a, 0x65, 0x30, 0x24, 0xfa, 0x18, 0x8a, 0x5d, 0x4c, 0x9a, 0x3d,
12071 0x4c, 0x06, 0x4e, 0xcb, 0xaf, 0x64, 0xd6, 0xa4, 0xab, 0xc5, 0xad, 0x2b, 0x49, 0xc5, 0x03, 0x4c,
12072 0x1e, 0x04, 0x18, 0x03, 0xba, 0xe1, 0x18, 0x3d, 0x80, 0x05, 0x1f, 0x93, 0xa6, 0xeb, 0x75, 0xbb,
12073 0x4e, 0xbf, 0xdb, 0x74, 0xf1, 0x29, 0x76, 0x2b, 0xd3, 0x8c, 0xe4, 0x2b, 0x49, 0x12, 0x13, 0x93,
12074 0x5a, 0x80, 0xac, 0x51, 0xa0, 0x31, 0xef, 0x8f, 0x0b, 0xd0, 0x6d, 0x00, 0xd7, 0xf1, 0x49, 0xb3,
12075 0xe3, 0xb8, 0xd8, 0xaf, 0x64, 0x19, 0xcf, 0x3b, 0x49, 0x9e, 0x9a, 0xe3, 0x93, 0x7d, 0x0a, 0x31,
12076 0x0a, 0xae, 0x18, 0xa2, 0x6f, 0x42, 0x61, 0x80, 0xed, 0x36, 0xd3, 0xad, 0xcc, 0x30, 0x55, 0x25,
12077 0xa9, 0x6a, 0x60, 0xbb, 0x4d, 0xf1, 0x46, 0x7e, 0xc0, 0x47, 0xa8, 0x09, 0x6f, 0xb9, 0xf6, 0xb0,
12078 0xdf, 0x3a, 0x6e, 0xf6, 0xb1, 0x4f, 0x70, 0xbb, 0xd9, 0xf2, 0xfa, 0xc4, 0x76, 0xfa, 0x78, 0x50,
12079 0x99, 0x65, 0x34, 0xef, 0xa7, 0x9c, 0x80, 0x29, 0xd4, 0x19, 0x7e, 0x57, 0xc0, 0x8d, 0x65, 0x37,
12080 0x4d, 0x8c, 0x9e, 0xc0, 0xf2, 0x73, 0xdb, 0x21, 0x49, 0xfa, 0x1c, 0xa3, 0x7f, 0x2f, 0x49, 0xff,
12081 0xd8, 0x76, 0xc8, 0x79, 0xf2, 0xc5, 0xe7, 0x49, 0x21, 0xa5, 0x7e, 0xe6, 0xb8, 0x6e, 0x92, 0x3a,
12082 0x3f, 0x89, 0xfa, 0xbe, 0xe3, 0xba, 0x09, 0xea, 0x67, 0x49, 0x21, 0x1a, 0xc2, 0xea, 0x04, 0xb3,
12083 0x34, 0x7d, 0xec, 0xfb, 0x8e, 0xd7, 0xaf, 0x14, 0xd8, 0x26, 0x1b, 0xaf, 0x68, 0x1e, 0x33, 0xd0,
12084 0x32, 0xae, 0xb8, 0x17, 0xac, 0xa2, 0xef, 0xc0, 0x8a, 0x4d, 0x88, 0xdd, 0x3a, 0x8e, 0xed, 0xe7,
12085 0xf4, 0x4f, 0x86, 0xa4, 0x02, 0x6c, 0xb7, 0xaf, 0x26, 0x77, 0x53, 0x19, 0x3e, 0x64, 0xd2, 0x29,
12086 0xda, 0x58, 0xb2, 0x53, 0xa4, 0xf4, 0xae, 0x13, 0xec, 0xde, 0x90, 0x50, 0xfa, 0xe2, 0xa4, 0xbb,
12087 0x3e, 0x47, 0xdf, 0x60, 0x70, 0x63, 0xd9, 0x4e, 0x13, 0xd3, 0x0d, 0x06, 0xb8, 0xe7, 0x9d, 0xe2,
12088 0xe4, 0x95, 0x94, 0x26, 0x6d, 0x60, 0x30, 0x85, 0x84, 0x33, 0x0d, 0xd2, 0xc4, 0xca, 0x36, 0x40,
12089 0x14, 0x8b, 0xe8, 0x1a, 0xe4, 0x88, 0xd3, 0xc3, 0xde, 0x90, 0xb0, 0x98, 0x2f, 0x6e, 0x2d, 0x72,
12090 0xfa, 0xbd, 0xe1, 0xc0, 0x26, 0x8e, 0xd7, 0xd7, 0xfb, 0x1d, 0xcf, 0x10, 0x18, 0xa5, 0x0d, 0xf3,
12091 0xe7, 0x62, 0x10, 0x29, 0x30, 0x13, 0x44, 0xad, 0xb4, 0x96, 0xb9, 0x5a, 0xe6, 0xb9, 0x21, 0x10,
12092 0xa1, 0x8f, 0x20, 0xdf, 0xe6, 0x3c, 0x95, 0xcc, 0x5a, 0x66, 0x02, 0x3d, 0xd7, 0x09, 0xa1, 0xca,
12093 0x7b, 0x50, 0x08, 0x23, 0x14, 0x55, 0x20, 0x7b, 0x62, 0x93, 0x63, 0x46, 0x5f, 0x10, 0xa9, 0x87,
12094 0x4a, 0x94, 0x4f, 0x20, 0x2f, 0xa2, 0x71, 0x32, 0x0a, 0x5d, 0x81, 0x59, 0xaf, 0xd3, 0xf1, 0x31,
12095 0x61, 0x27, 0xc8, 0xf2, 0x35, 0x2e, 0x43, 0x2b, 0x30, 0xeb, 0xe2, 0x7e, 0x97, 0x1c, 0xb3, 0xa4,
12096 0x93, 0x35, 0xf8, 0x4c, 0xf9, 0xa3, 0x04, 0xcb, 0xa9, 0x4e, 0x88, 0xee, 0x41, 0x29, 0xe6, 0x58,
12097 0x6d, 0xb6, 0x63, 0x71, 0x0b, 0xf1, 0xe7, 0x8a, 0xdc, 0x65, 0x6f, 0x67, 0x91, 0xee, 0x34, 0x7a,
12098 0xb1, 0x5a, 0x8c, 0x09, 0x8d, 0x62, 0xa8, 0xac, 0xb7, 0xd1, 0xd7, 0x20, 0xd7, 0xf2, 0x7a, 0x3d,
12099 0xbb, 0xdf, 0xe6, 0x89, 0x33, 0xa2, 0x61, 0xd2, 0xc0, 0xf8, 0x1c, 0x82, 0xb6, 0xa0, 0x10, 0x39,
12100 0x43, 0x90, 0x23, 0x97, 0x12, 0xdb, 0x52, 0x8d, 0x08, 0xa6, 0xd8, 0xb0, 0x98, 0x92, 0x0b, 0xde,
12101 0xe4, 0x43, 0x28, 0x67, 0xb0, 0x98, 0x92, 0x13, 0xde, 0xa8, 0x9d, 0x56, 0x60, 0xd6, 0x77, 0xba,
12102 0x7d, 0xdb, 0x65, 0x66, 0x9a, 0x31, 0xf8, 0x4c, 0x69, 0xc1, 0x72, 0xaa, 0xef, 0xbf, 0xd1, 0xe7,
12103 0xfb, 0x93, 0x04, 0x57, 0x2e, 0xca, 0x47, 0xff, 0x67, 0x1e, 0xf1, 0x69, 0x06, 0x96, 0xd2, 0x12,
12104 0x1e, 0xd2, 0xc6, 0xde, 0xfd, 0x1f, 0xbe, 0x5a, 0x9a, 0x4c, 0x16, 0x04, 0xfb, 0xe7, 0xac, 0x71,
12105 0xfe, 0x31, 0x22, 0x6b, 0xcc, 0x5f, 0x68, 0x89, 0x3d, 0x80, 0x93, 0x81, 0xd7, 0xc2, 0xbe, 0xdf,
12106 0x74, 0x3c, 0xfe, 0x70, 0xe3, 0x05, 0xc9, 0xc3, 0x60, 0x59, 0x6f, 0xec, 0x94, 0x47, 0x2f, 0x56,
12107 0x0b, 0xe1, 0xd4, 0x28, 0x70, 0x45, 0xdd, 0x5b, 0xdf, 0x86, 0x2c, 0x3d, 0x21, 0x2a, 0x42, 0xee,
12108 0xa8, 0x7e, 0xbf, 0xde, 0x78, 0x5c, 0x97, 0xa7, 0x90, 0x0c, 0xa5, 0xdd, 0x46, 0xdd, 0x52, 0xf5,
12109 0xba, 0x66, 0x34, 0xf5, 0x3d, 0x59, 0x42, 0x73, 0x00, 0x0f, 0x8d, 0xc6, 0xae, 0x66, 0x9a, 0x4d,
12110 0xbd, 0x21, 0x67, 0x94, 0xec, 0x8f, 0x7e, 0x55, 0x95, 0xa8, 0x7b, 0xa5, 0xe6, 0xee, 0x37, 0x79,
12111 0xe3, 0xeb, 0x7f, 0x9b, 0x4e, 0x3b, 0xe2, 0x1c, 0xc0, 0x81, 0x66, 0x35, 0x0f, 0x35, 0xb5, 0x66,
12112 0x1d, 0xca, 0x12, 0x2a, 0x43, 0x81, 0xce, 0xf7, 0x6b, 0xea, 0x81, 0x29, 0x67, 0xd0, 0x3c, 0x14,
12113 0xe9, 0xf4, 0x91, 0x66, 0x98, 0x7a, 0xa3, 0x2e, 0x4f, 0x0b, 0xc1, 0x03, 0xcd, 0x32, 0xf4, 0x5d,
12114 0x53, 0xce, 0xa2, 0x65, 0x58, 0xa0, 0x82, 0x5a, 0xe3, 0xe0, 0x40, 0xaf, 0x1f, 0x34, 0x6b, 0xda,
12115 0x23, 0xad, 0x26, 0xcf, 0x50, 0xb1, 0x99, 0x10, 0xcf, 0xd2, 0xed, 0x6a, 0xba, 0x69, 0x35, 0xf7,
12116 0xf5, 0x9a, 0x66, 0xca, 0x39, 0xba, 0x9d, 0xa1, 0xa9, 0x7b, 0x6c, 0x2e, 0xe7, 0xc5, 0xee, 0xa6,
12117 0xa5, 0x5a, 0x9a, 0x5c, 0x40, 0x08, 0xe6, 0xe8, 0x34, 0xb4, 0xa1, 0x29, 0x83, 0x90, 0xed, 0x1b,
12118 0xea, 0x03, 0xed, 0x71, 0xc3, 0xb8, 0x6f, 0xca, 0x45, 0xb4, 0x00, 0x65, 0x2a, 0xd3, 0xbe, 0xad,
12119 0xed, 0x1e, 0x59, 0x0d, 0xc3, 0x94, 0x4b, 0x82, 0xc9, 0x52, 0xcd, 0xfb, 0xa6, 0x5c, 0x16, 0x53,
12120 0xf5, 0x40, 0xab, 0x5b, 0xf2, 0x12, 0x7a, 0x07, 0xde, 0xaa, 0xa9, 0x47, 0xf5, 0xdd, 0xc3, 0x66,
12121 0x5d, 0x33, 0x2d, 0x6d, 0x2f, 0xda, 0x42, 0x9e, 0x43, 0x6f, 0xc3, 0xf2, 0x63, 0x55, 0xb7, 0x92,
12122 0x4b, 0xf3, 0x74, 0xe9, 0xbe, 0x5e, 0xab, 0x25, 0x97, 0x64, 0x4a, 0x69, 0x68, 0x0f, 0x1a, 0x8f,
12123 0xb4, 0xe4, 0xe2, 0x32, 0x7a, 0x17, 0x56, 0x27, 0xec, 0xd7, 0x34, 0x35, 0x93, 0x99, 0x76, 0x01,
12124 0x29, 0xb0, 0xa2, 0x5a, 0x96, 0xba, 0x7b, 0x18, 0x5b, 0xd5, 0xeb, 0x0f, 0x8f, 0x2c, 0x19, 0x51,
12125 0xf6, 0xc4, 0x5a, 0xe3, 0xc8, 0xa2, 0x8b, 0x8b, 0x81, 0x13, 0xad, 0xff, 0x4b, 0xa1, 0xaf, 0x29,
12126 0xff, 0xc4, 0xeb, 0xfb, 0x18, 0xdd, 0x18, 0x8b, 0xb1, 0xf1, 0xf2, 0x52, 0x80, 0x92, 0x21, 0x75,
12127 0x17, 0x68, 0xc9, 0xdc, 0x3c, 0xc6, 0xb6, 0x4b, 0x8e, 0x79, 0x40, 0xad, 0xa6, 0xeb, 0x1e, 0x60,
12128 0x72, 0xc8, 0x60, 0x46, 0xa1, 0x2b, 0x86, 0x68, 0x1b, 0xe8, 0xa4, 0xd9, 0x71, 0xed, 0xae, 0xcf,
12129 0x23, 0xa9, 0x3a, 0x51, 0x7d, 0x9f, 0xa2, 0x8c, 0x7c, 0x97, 0x8f, 0x90, 0x1a, 0x14, 0xf8, 0xa7,
12130 0x78, 0xc0, 0x4a, 0xb6, 0xa0, 0xa6, 0x5e, 0x9b, 0xa8, 0xfe, 0x28, 0xc0, 0xb1, 0x22, 0x9f, 0x8f,
12131 0x05, 0x85, 0xe8, 0x11, 0x66, 0x2e, 0xa1, 0x48, 0xeb, 0x13, 0xbe, 0x05, 0x0b, 0xdd, 0x44, 0x9f,
12132 0x30, 0x9b, 0x52, 0xa3, 0xc6, 0x89, 0xc6, 0x7b, 0x85, 0xee, 0xb9, 0xc2, 0xe5, 0xee, 0x58, 0xaf,
12133 0x90, 0xbb, 0xc8, 0xaa, 0xa9, 0xfd, 0xc2, 0x76, 0xbc, 0x5f, 0xc8, 0x5f, 0x64, 0xd5, 0x94, 0x9e,
12134 0x81, 0x5f, 0x89, 0x4f, 0x6c, 0x82, 0x79, 0x19, 0x3c, 0xf9, 0x4a, 0x4c, 0x8a, 0x62, 0x57, 0xc2,
12135 0x46, 0xe8, 0x1e, 0xcc, 0x51, 0xe5, 0x30, 0x8b, 0xf8, 0xbc, 0xb4, 0x7d, 0x77, 0x22, 0x43, 0x98,
12136 0x7d, 0x7c, 0xa3, 0xdc, 0x8d, 0x4f, 0x05, 0x57, 0x67, 0x60, 0xf7, 0xf0, 0x73, 0x6f, 0xf0, 0xcc,
12137 0xe7, 0x75, 0xec, 0x64, 0xae, 0xfd, 0x10, 0xca, 0xb8, 0xa2, 0x29, 0x3a, 0x00, 0x2a, 0x68, 0xe2,
12138 0xef, 0xe3, 0xd6, 0x90, 0x78, 0x03, 0x9f, 0x57, 0xac, 0xeb, 0x13, 0xa9, 0x34, 0x81, 0x34, 0x4a,
12139 0xdd, 0xd8, 0x4c, 0x58, 0x87, 0xd8, 0xfe, 0x33, 0xbf, 0x52, 0xbe, 0xc4, 0x3a, 0x16, 0x45, 0x31,
12140 0xeb, 0xb0, 0x11, 0xfa, 0xee, 0xa4, 0x6e, 0x69, 0x8e, 0x11, 0x7d, 0x90, 0x4e, 0xf4, 0xca, 0x1d,
12141 0x13, 0x3f, 0x1b, 0x53, 0xaf, 0xcc, 0x5f, 0x72, 0x36, 0x95, 0x4a, 0xd8, 0xd9, 0xd8, 0x48, 0xf9,
12142 0x10, 0x0a, 0x61, 0x84, 0xa2, 0x2a, 0xe4, 0x82, 0x90, 0x3e, 0x63, 0x2f, 0x90, 0x3c, 0x8f, 0x79,
12143 0x21, 0x54, 0xbe, 0x01, 0x79, 0x11, 0x8f, 0xe8, 0x7d, 0x98, 0x09, 0xc2, 0x57, 0x5a, 0x9b, 0xbe,
12144 0x5a, 0xdc, 0x2a, 0xf2, 0x1d, 0xe9, 0xa2, 0x28, 0xb9, 0xd9, 0xba, 0xa2, 0xb3, 0xf2, 0x5e, 0x44,
12145 0xde, 0x36, 0x94, 0x78, 0xe0, 0x36, 0x9d, 0x7e, 0xc7, 0x3b, 0xf7, 0xa2, 0xe2, 0xa8, 0x58, 0x0d,
12146 0x5e, 0x3c, 0x8d, 0x44, 0xc9, 0x4e, 0x41, 0x04, 0x70, 0x70, 0x86, 0x32, 0x67, 0x09, 0x00, 0xe2,
12147 0xf0, 0x1c, 0xa3, 0x5c, 0x83, 0xf9, 0x83, 0x57, 0xef, 0x14, 0x14, 0x35, 0x5e, 0xf2, 0xdf, 0x00,
12148 0xa0, 0x41, 0xc5, 0x8e, 0x2c, 0x76, 0x9b, 0x17, 0x4f, 0xec, 0xb8, 0x38, 0x76, 0xe0, 0x42, 0x87,
12149 0xcf, 0x7d, 0xe5, 0xd6, 0x78, 0x3b, 0xe0, 0x3b, 0x3f, 0xc0, 0x6c, 0x27, 0x51, 0xf2, 0x33, 0x09,
12150 0x42, 0x90, 0x6d, 0xdb, 0xc4, 0x66, 0xcd, 0x40, 0xc9, 0x60, 0x63, 0xe5, 0xaf, 0x12, 0xb3, 0x74,
12151 0x10, 0x5c, 0x63, 0xbe, 0x27, 0xfd, 0x87, 0xbe, 0x97, 0x88, 0x80, 0xcc, 0x6b, 0x46, 0x40, 0x32,
12152 0x2c, 0xa7, 0x5f, 0x37, 0x2c, 0x95, 0x1f, 0x67, 0xa1, 0x3c, 0x96, 0x03, 0x90, 0x09, 0x10, 0x4b,
12153 0x1e, 0x81, 0x81, 0xaf, 0xbd, 0x42, 0xf2, 0x88, 0x4a, 0x1b, 0x6e, 0xd3, 0x18, 0x8d, 0xf2, 0xeb,
12154 0x69, 0x28, 0x8c, 0x55, 0xe0, 0xe1, 0xe1, 0x93, 0x25, 0x52, 0x78, 0xba, 0x78, 0x89, 0x14, 0x13,
12155 0x1a, 0xc5, 0x50, 0x59, 0x6f, 0xa3, 0x7d, 0x28, 0x0a, 0x8b, 0x06, 0x15, 0x25, 0xa5, 0x5a, 0xe0,
12156 0x54, 0xc2, 0x66, 0xfa, 0xde, 0x0e, 0xe2, 0x4c, 0x10, 0xc9, 0x0c, 0x10, 0x9a, 0x7a, 0x1b, 0x7d,
12157 0x00, 0xe5, 0x90, 0xa7, 0x6f, 0xf7, 0x70, 0x65, 0x3a, 0xd6, 0x2d, 0x96, 0xc4, 0x52, 0xdd, 0xee,
12158 0xe1, 0x44, 0x85, 0x97, 0xfd, 0x2f, 0x6a, 0x7a, 0x15, 0xe4, 0xd8, 0xa7, 0x0f, 0x62, 0x93, 0xa1,
12159 0x78, 0x07, 0xae, 0x9c, 0xe7, 0x33, 0xd9, 0xaa, 0x31, 0xdf, 0x1a, 0x17, 0xa0, 0x7b, 0xb0, 0x38,
12160 0xc0, 0xbe, 0x37, 0x1c, 0xb4, 0x30, 0x63, 0x70, 0x7c, 0x42, 0x03, 0x31, 0x78, 0x01, 0xbe, 0xcd,
12161 0x59, 0x0c, 0x8e, 0x30, 0x43, 0x80, 0x81, 0x06, 0x09, 0x99, 0xf2, 0x8b, 0x0c, 0x73, 0x87, 0x58,
12162 0xde, 0x36, 0x01, 0x62, 0x8e, 0x76, 0x99, 0x3b, 0x44, 0x8a, 0xd1, 0x35, 0x0a, 0x77, 0x88, 0x68,
12163 0x50, 0x07, 0x96, 0x5a, 0x5e, 0xef, 0xc4, 0xc5, 0x34, 0x09, 0xc7, 0xe8, 0x33, 0xaf, 0x4f, 0xbf,
12164 0x18, 0x12, 0xc6, 0xbc, 0xbb, 0x0e, 0x85, 0x70, 0x86, 0x54, 0x98, 0x8b, 0x79, 0x5d, 0x94, 0xf1,
12165 0x96, 0x12, 0x7e, 0x17, 0xa5, 0x90, 0x72, 0x27, 0x2e, 0x54, 0x7e, 0x92, 0x81, 0x52, 0x3c, 0x30,
12166 0x51, 0x03, 0x0a, 0x51, 0x3c, 0x07, 0xc6, 0xf9, 0xf0, 0xf2, 0x78, 0x0e, 0xfd, 0x52, 0x24, 0xaa,
12167 0x90, 0x03, 0x3d, 0x85, 0xe8, 0x41, 0xc6, 0x52, 0xc5, 0x6b, 0x52, 0xa3, 0x90, 0x2d, 0x84, 0x28,
12168 0xf7, 0x20, 0x2f, 0x26, 0xe8, 0x6e, 0xcc, 0xed, 0x63, 0x36, 0x59, 0x3c, 0x1f, 0x40, 0x91, 0x49,
12169 0xc2, 0x58, 0x60, 0x16, 0xf9, 0x4d, 0x86, 0xa5, 0xc7, 0x20, 0xc3, 0xdd, 0x84, 0xf2, 0x09, 0xee,
12170 0xb7, 0x69, 0x11, 0x26, 0x52, 0x64, 0xfc, 0x85, 0x44, 0x41, 0x82, 0x84, 0xe3, 0x02, 0xbd, 0x1b,
12171 0x50, 0xfa, 0xde, 0x10, 0x0f, 0x71, 0x9b, 0xab, 0x65, 0x26, 0xa9, 0x15, 0x03, 0x58, 0xa0, 0x75,
12172 0x0b, 0xe6, 0x82, 0x8f, 0x7d, 0xa1, 0xde, 0xf4, 0x24, 0xbd, 0xb2, 0x00, 0x06, 0x9a, 0x77, 0x40,
12173 0x26, 0x78, 0xd0, 0x73, 0xfa, 0x36, 0x09, 0x75, 0xb3, 0x93, 0x74, 0xe7, 0x23, 0x68, 0xa0, 0x7d,
12174 0x1b, 0xe6, 0xa3, 0x2b, 0x0a, 0x94, 0x67, 0x26, 0x29, 0xcf, 0x85, 0x48, 0xa6, 0xab, 0x6c, 0x33,
12175 0x6b, 0xb1, 0xf7, 0x3d, 0xda, 0x04, 0x60, 0x17, 0x29, 0xec, 0x4e, 0xc3, 0x55, 0xe6, 0x14, 0x0c,
12176 0x11, 0x74, 0xe7, 0xb6, 0x18, 0x2a, 0x37, 0xd3, 0xbf, 0xd7, 0xac, 0xd2, 0x0c, 0xe8, 0x10, 0x91,
12177 0x3d, 0x24, 0xf6, 0x15, 0x04, 0xa8, 0x28, 0x48, 0x10, 0xeb, 0x3f, 0xcb, 0xfc, 0x2f, 0xbb, 0xc8,
12178 0xf1, 0x76, 0x71, 0x76, 0xbc, 0x5d, 0xcc, 0x8d, 0xb7, 0x8b, 0xf9, 0x94, 0x76, 0xb1, 0x90, 0xd2,
12179 0x2e, 0x42, 0xb2, 0x5d, 0x2c, 0x8e, 0xb7, 0x8b, 0xa5, 0xf1, 0x76, 0xf1, 0x82, 0x8e, 0xb0, 0xcc,
12180 0x7b, 0xaf, 0xdf, 0xce, 0x40, 0xf4, 0x59, 0x00, 0x7d, 0x34, 0xd6, 0x7c, 0xbd, 0x93, 0xfe, 0x2d,
12181 0x21, 0xd9, 0x7d, 0x6d, 0x86, 0x15, 0x43, 0xf2, 0xdf, 0x84, 0x48, 0x6d, 0xcf, 0x26, 0x76, 0x50,
12182 0x4e, 0xa0, 0x5b, 0x90, 0xa3, 0xf9, 0x7b, 0xe0, 0xb9, 0xa9, 0xcd, 0x56, 0xa4, 0xb3, 0x1b, 0xa0,
12183 0x0c, 0x01, 0x57, 0x7e, 0x2e, 0x41, 0x96, 0x12, 0xa1, 0xdb, 0x63, 0x47, 0x5d, 0xbb, 0x60, 0xcf,
12184 0xe4, 0x79, 0x51, 0xec, 0xbc, 0xbc, 0xc2, 0x59, 0xbf, 0x93, 0xe6, 0x1d, 0x05, 0x98, 0x31, 0xad,
12185 0x3d, 0xbd, 0x2e, 0x4b, 0x08, 0x60, 0xd6, 0xb4, 0xf6, 0x1a, 0x47, 0x96, 0x9c, 0xe1, 0x63, 0xcd,
12186 0x30, 0xe4, 0x69, 0xfe, 0x1d, 0xe4, 0xf7, 0x19, 0xc8, 0xf1, 0xb3, 0xa2, 0x8f, 0xc7, 0x4e, 0xf6,
12187 0xee, 0xc5, 0x4f, 0x96, 0x3c, 0xdc, 0x4d, 0xc8, 0x13, 0x72, 0x16, 0x84, 0x43, 0x60, 0xd0, 0x39,
12188 0x11, 0x51, 0xd6, 0x13, 0x96, 0x81, 0x8a, 0xa3, 0x17, 0xab, 0x39, 0x3e, 0x31, 0x72, 0x84, 0x9c,
12189 0xd1, 0x01, 0xda, 0x87, 0xc2, 0x31, 0xb6, 0x07, 0xe4, 0x29, 0xb6, 0x09, 0xb7, 0xea, 0xd5, 0x4b,
12190 0xf6, 0x3e, 0x14, 0x78, 0x23, 0x52, 0x55, 0xee, 0x40, 0x21, 0x94, 0xa3, 0x4d, 0xc8, 0x3b, 0x7d,
12191 0x82, 0x07, 0xa7, 0xb6, 0x7b, 0xd1, 0xd7, 0xef, 0x10, 0xb4, 0x7e, 0x33, 0xcd, 0x8c, 0x25, 0xc8,
12192 0x5b, 0xd6, 0x93, 0xa6, 0x5e, 0xdf, 0x6f, 0x04, 0x21, 0x76, 0xa8, 0xa9, 0x86, 0xb5, 0xa3, 0xa9,
12193 0x96, 0xf8, 0x90, 0xb4, 0x7e, 0x3d, 0x4d, 0x2f, 0x0f, 0xd9, 0x3d, 0xd5, 0x52, 0x65, 0x89, 0x8a,
12194 0xa9, 0xef, 0x1a, 0x8d, 0x9a, 0xd0, 0xd8, 0xd9, 0xfd, 0xfc, 0x65, 0x75, 0xea, 0xcf, 0x2f, 0xab,
12195 0x53, 0x7f, 0x7f, 0x59, 0x95, 0xbe, 0x7c, 0x59, 0x95, 0xfe, 0xf9, 0xb2, 0x2a, 0xfd, 0x70, 0x54,
12196 0x95, 0x3e, 0x1d, 0x55, 0xa5, 0xdf, 0x8d, 0xaa, 0xd2, 0x1f, 0x46, 0x55, 0xe9, 0xb3, 0x51, 0x55,
12197 0xfa, 0x7c, 0x54, 0x95, 0xfe, 0x31, 0xaa, 0x4e, 0x7d, 0x39, 0xaa, 0x4a, 0x3f, 0xfd, 0xa2, 0x3a,
12198 0xf5, 0xcb, 0x2f, 0xaa, 0xd2, 0x27, 0x33, 0xcc, 0x26, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x8f,
12199 0xc3, 0x46, 0xfa, 0x58, 0x1c, 0x00, 0x00,
12200 }