containers.pb.go 64 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900
  1. //
  2. //Copyright (c) 2020 Docker Inc.
  3. //
  4. //Permission is hereby granted, free of charge, to any person
  5. //obtaining a copy of this software and associated documentation
  6. //files (the "Software"), to deal in the Software without
  7. //restriction, including without limitation the rights to use, copy,
  8. //modify, merge, publish, distribute, sublicense, and/or sell copies
  9. //of the Software, and to permit persons to whom the Software is
  10. //furnished to do so, subject to the following conditions:
  11. //
  12. //The above copyright notice and this permission notice shall be
  13. //included in all copies or substantial portions of the Software.
  14. //
  15. //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  16. //EXPRESS OR IMPLIED,
  17. //INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  18. //FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  19. //IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  20. //HOLDERS BE LIABLE FOR ANY CLAIM,
  21. //DAMAGES OR OTHER LIABILITY,
  22. //WHETHER IN AN ACTION OF CONTRACT,
  23. //TORT OR OTHERWISE,
  24. //ARISING FROM, OUT OF OR IN CONNECTION WITH
  25. //THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  26. // Code generated by protoc-gen-go. DO NOT EDIT.
  27. // versions:
  28. // protoc-gen-go v1.21.0-devel
  29. // protoc v3.6.1
  30. // source: containers/v1/containers.proto
  31. package v1
  32. import (
  33. context "context"
  34. reflect "reflect"
  35. sync "sync"
  36. proto "github.com/golang/protobuf/proto"
  37. grpc "google.golang.org/grpc"
  38. codes "google.golang.org/grpc/codes"
  39. status "google.golang.org/grpc/status"
  40. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  41. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  42. )
  43. const (
  44. // Verify that this generated code is sufficiently up-to-date.
  45. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  46. // Verify that runtime/protoimpl is sufficiently up-to-date.
  47. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  48. )
  49. // This is a compile-time assertion that a sufficiently up-to-date version
  50. // of the legacy proto package is being used.
  51. const _ = proto.ProtoPackageIsVersion4
  52. type Container struct {
  53. state protoimpl.MessageState
  54. sizeCache protoimpl.SizeCache
  55. unknownFields protoimpl.UnknownFields
  56. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  57. Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
  58. Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
  59. CpuTime uint64 `protobuf:"varint,4,opt,name=cpu_time,json=cpuTime,proto3" json:"cpu_time,omitempty"`
  60. MemoryUsage uint64 `protobuf:"varint,5,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"`
  61. MemoryLimit uint64 `protobuf:"varint,6,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
  62. PidsCurrent uint64 `protobuf:"varint,7,opt,name=pids_current,json=pidsCurrent,proto3" json:"pids_current,omitempty"`
  63. PidsLimit uint64 `protobuf:"varint,8,opt,name=pids_limit,json=pidsLimit,proto3" json:"pids_limit,omitempty"`
  64. Labels []string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty"`
  65. }
  66. func (x *Container) Reset() {
  67. *x = Container{}
  68. if protoimpl.UnsafeEnabled {
  69. mi := &file_containers_v1_containers_proto_msgTypes[0]
  70. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  71. ms.StoreMessageInfo(mi)
  72. }
  73. }
  74. func (x *Container) String() string {
  75. return protoimpl.X.MessageStringOf(x)
  76. }
  77. func (*Container) ProtoMessage() {}
  78. func (x *Container) ProtoReflect() protoreflect.Message {
  79. mi := &file_containers_v1_containers_proto_msgTypes[0]
  80. if protoimpl.UnsafeEnabled && x != nil {
  81. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  82. if ms.LoadMessageInfo() == nil {
  83. ms.StoreMessageInfo(mi)
  84. }
  85. return ms
  86. }
  87. return mi.MessageOf(x)
  88. }
  89. // Deprecated: Use Container.ProtoReflect.Descriptor instead.
  90. func (*Container) Descriptor() ([]byte, []int) {
  91. return file_containers_v1_containers_proto_rawDescGZIP(), []int{0}
  92. }
  93. func (x *Container) GetId() string {
  94. if x != nil {
  95. return x.Id
  96. }
  97. return ""
  98. }
  99. func (x *Container) GetImage() string {
  100. if x != nil {
  101. return x.Image
  102. }
  103. return ""
  104. }
  105. func (x *Container) GetStatus() string {
  106. if x != nil {
  107. return x.Status
  108. }
  109. return ""
  110. }
  111. func (x *Container) GetCpuTime() uint64 {
  112. if x != nil {
  113. return x.CpuTime
  114. }
  115. return 0
  116. }
  117. func (x *Container) GetMemoryUsage() uint64 {
  118. if x != nil {
  119. return x.MemoryUsage
  120. }
  121. return 0
  122. }
  123. func (x *Container) GetMemoryLimit() uint64 {
  124. if x != nil {
  125. return x.MemoryLimit
  126. }
  127. return 0
  128. }
  129. func (x *Container) GetPidsCurrent() uint64 {
  130. if x != nil {
  131. return x.PidsCurrent
  132. }
  133. return 0
  134. }
  135. func (x *Container) GetPidsLimit() uint64 {
  136. if x != nil {
  137. return x.PidsLimit
  138. }
  139. return 0
  140. }
  141. func (x *Container) GetLabels() []string {
  142. if x != nil {
  143. return x.Labels
  144. }
  145. return nil
  146. }
  147. type CreateRequest struct {
  148. state protoimpl.MessageState
  149. sizeCache protoimpl.SizeCache
  150. unknownFields protoimpl.UnknownFields
  151. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  152. Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
  153. Env []string `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty"`
  154. Tty bool `protobuf:"varint,4,opt,name=tty,proto3" json:"tty,omitempty"`
  155. Image string `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"`
  156. Hostname string `protobuf:"bytes,6,opt,name=hostname,proto3" json:"hostname,omitempty"`
  157. Networks []string `protobuf:"bytes,7,rep,name=networks,proto3" json:"networks,omitempty"`
  158. Snapshotter string `protobuf:"bytes,8,opt,name=snapshotter,proto3" json:"snapshotter,omitempty"`
  159. Logger string `protobuf:"bytes,9,opt,name=logger,proto3" json:"logger,omitempty"`
  160. Profile string `protobuf:"bytes,10,opt,name=profile,proto3" json:"profile,omitempty"`
  161. RestartStatus string `protobuf:"bytes,11,opt,name=restart_status,json=restartStatus,proto3" json:"restart_status,omitempty"`
  162. Mounts []*Mount `protobuf:"bytes,12,rep,name=mounts,proto3" json:"mounts,omitempty"`
  163. WorkingDir string `protobuf:"bytes,13,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
  164. Labels []string `protobuf:"bytes,14,rep,name=labels,proto3" json:"labels,omitempty"`
  165. }
  166. func (x *CreateRequest) Reset() {
  167. *x = CreateRequest{}
  168. if protoimpl.UnsafeEnabled {
  169. mi := &file_containers_v1_containers_proto_msgTypes[1]
  170. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  171. ms.StoreMessageInfo(mi)
  172. }
  173. }
  174. func (x *CreateRequest) String() string {
  175. return protoimpl.X.MessageStringOf(x)
  176. }
  177. func (*CreateRequest) ProtoMessage() {}
  178. func (x *CreateRequest) ProtoReflect() protoreflect.Message {
  179. mi := &file_containers_v1_containers_proto_msgTypes[1]
  180. if protoimpl.UnsafeEnabled && x != nil {
  181. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  182. if ms.LoadMessageInfo() == nil {
  183. ms.StoreMessageInfo(mi)
  184. }
  185. return ms
  186. }
  187. return mi.MessageOf(x)
  188. }
  189. // Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
  190. func (*CreateRequest) Descriptor() ([]byte, []int) {
  191. return file_containers_v1_containers_proto_rawDescGZIP(), []int{1}
  192. }
  193. func (x *CreateRequest) GetId() string {
  194. if x != nil {
  195. return x.Id
  196. }
  197. return ""
  198. }
  199. func (x *CreateRequest) GetArgs() []string {
  200. if x != nil {
  201. return x.Args
  202. }
  203. return nil
  204. }
  205. func (x *CreateRequest) GetEnv() []string {
  206. if x != nil {
  207. return x.Env
  208. }
  209. return nil
  210. }
  211. func (x *CreateRequest) GetTty() bool {
  212. if x != nil {
  213. return x.Tty
  214. }
  215. return false
  216. }
  217. func (x *CreateRequest) GetImage() string {
  218. if x != nil {
  219. return x.Image
  220. }
  221. return ""
  222. }
  223. func (x *CreateRequest) GetHostname() string {
  224. if x != nil {
  225. return x.Hostname
  226. }
  227. return ""
  228. }
  229. func (x *CreateRequest) GetNetworks() []string {
  230. if x != nil {
  231. return x.Networks
  232. }
  233. return nil
  234. }
  235. func (x *CreateRequest) GetSnapshotter() string {
  236. if x != nil {
  237. return x.Snapshotter
  238. }
  239. return ""
  240. }
  241. func (x *CreateRequest) GetLogger() string {
  242. if x != nil {
  243. return x.Logger
  244. }
  245. return ""
  246. }
  247. func (x *CreateRequest) GetProfile() string {
  248. if x != nil {
  249. return x.Profile
  250. }
  251. return ""
  252. }
  253. func (x *CreateRequest) GetRestartStatus() string {
  254. if x != nil {
  255. return x.RestartStatus
  256. }
  257. return ""
  258. }
  259. func (x *CreateRequest) GetMounts() []*Mount {
  260. if x != nil {
  261. return x.Mounts
  262. }
  263. return nil
  264. }
  265. func (x *CreateRequest) GetWorkingDir() string {
  266. if x != nil {
  267. return x.WorkingDir
  268. }
  269. return ""
  270. }
  271. func (x *CreateRequest) GetLabels() []string {
  272. if x != nil {
  273. return x.Labels
  274. }
  275. return nil
  276. }
  277. type Mount struct {
  278. state protoimpl.MessageState
  279. sizeCache protoimpl.SizeCache
  280. unknownFields protoimpl.UnknownFields
  281. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
  282. Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
  283. Destination string `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
  284. Options []string `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"`
  285. }
  286. func (x *Mount) Reset() {
  287. *x = Mount{}
  288. if protoimpl.UnsafeEnabled {
  289. mi := &file_containers_v1_containers_proto_msgTypes[2]
  290. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  291. ms.StoreMessageInfo(mi)
  292. }
  293. }
  294. func (x *Mount) String() string {
  295. return protoimpl.X.MessageStringOf(x)
  296. }
  297. func (*Mount) ProtoMessage() {}
  298. func (x *Mount) ProtoReflect() protoreflect.Message {
  299. mi := &file_containers_v1_containers_proto_msgTypes[2]
  300. if protoimpl.UnsafeEnabled && x != nil {
  301. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  302. if ms.LoadMessageInfo() == nil {
  303. ms.StoreMessageInfo(mi)
  304. }
  305. return ms
  306. }
  307. return mi.MessageOf(x)
  308. }
  309. // Deprecated: Use Mount.ProtoReflect.Descriptor instead.
  310. func (*Mount) Descriptor() ([]byte, []int) {
  311. return file_containers_v1_containers_proto_rawDescGZIP(), []int{2}
  312. }
  313. func (x *Mount) GetType() string {
  314. if x != nil {
  315. return x.Type
  316. }
  317. return ""
  318. }
  319. func (x *Mount) GetSource() string {
  320. if x != nil {
  321. return x.Source
  322. }
  323. return ""
  324. }
  325. func (x *Mount) GetDestination() string {
  326. if x != nil {
  327. return x.Destination
  328. }
  329. return ""
  330. }
  331. func (x *Mount) GetOptions() []string {
  332. if x != nil {
  333. return x.Options
  334. }
  335. return nil
  336. }
  337. type CreateResponse struct {
  338. state protoimpl.MessageState
  339. sizeCache protoimpl.SizeCache
  340. unknownFields protoimpl.UnknownFields
  341. }
  342. func (x *CreateResponse) Reset() {
  343. *x = CreateResponse{}
  344. if protoimpl.UnsafeEnabled {
  345. mi := &file_containers_v1_containers_proto_msgTypes[3]
  346. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  347. ms.StoreMessageInfo(mi)
  348. }
  349. }
  350. func (x *CreateResponse) String() string {
  351. return protoimpl.X.MessageStringOf(x)
  352. }
  353. func (*CreateResponse) ProtoMessage() {}
  354. func (x *CreateResponse) ProtoReflect() protoreflect.Message {
  355. mi := &file_containers_v1_containers_proto_msgTypes[3]
  356. if protoimpl.UnsafeEnabled && x != nil {
  357. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  358. if ms.LoadMessageInfo() == nil {
  359. ms.StoreMessageInfo(mi)
  360. }
  361. return ms
  362. }
  363. return mi.MessageOf(x)
  364. }
  365. // Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
  366. func (*CreateResponse) Descriptor() ([]byte, []int) {
  367. return file_containers_v1_containers_proto_rawDescGZIP(), []int{3}
  368. }
  369. type UpdateRequest struct {
  370. state protoimpl.MessageState
  371. sizeCache protoimpl.SizeCache
  372. unknownFields protoimpl.UnknownFields
  373. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  374. Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
  375. }
  376. func (x *UpdateRequest) Reset() {
  377. *x = UpdateRequest{}
  378. if protoimpl.UnsafeEnabled {
  379. mi := &file_containers_v1_containers_proto_msgTypes[4]
  380. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  381. ms.StoreMessageInfo(mi)
  382. }
  383. }
  384. func (x *UpdateRequest) String() string {
  385. return protoimpl.X.MessageStringOf(x)
  386. }
  387. func (*UpdateRequest) ProtoMessage() {}
  388. func (x *UpdateRequest) ProtoReflect() protoreflect.Message {
  389. mi := &file_containers_v1_containers_proto_msgTypes[4]
  390. if protoimpl.UnsafeEnabled && x != nil {
  391. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  392. if ms.LoadMessageInfo() == nil {
  393. ms.StoreMessageInfo(mi)
  394. }
  395. return ms
  396. }
  397. return mi.MessageOf(x)
  398. }
  399. // Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
  400. func (*UpdateRequest) Descriptor() ([]byte, []int) {
  401. return file_containers_v1_containers_proto_rawDescGZIP(), []int{4}
  402. }
  403. func (x *UpdateRequest) GetId() string {
  404. if x != nil {
  405. return x.Id
  406. }
  407. return ""
  408. }
  409. func (x *UpdateRequest) GetImage() string {
  410. if x != nil {
  411. return x.Image
  412. }
  413. return ""
  414. }
  415. type UpdateResponse struct {
  416. state protoimpl.MessageState
  417. sizeCache protoimpl.SizeCache
  418. unknownFields protoimpl.UnknownFields
  419. }
  420. func (x *UpdateResponse) Reset() {
  421. *x = UpdateResponse{}
  422. if protoimpl.UnsafeEnabled {
  423. mi := &file_containers_v1_containers_proto_msgTypes[5]
  424. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  425. ms.StoreMessageInfo(mi)
  426. }
  427. }
  428. func (x *UpdateResponse) String() string {
  429. return protoimpl.X.MessageStringOf(x)
  430. }
  431. func (*UpdateResponse) ProtoMessage() {}
  432. func (x *UpdateResponse) ProtoReflect() protoreflect.Message {
  433. mi := &file_containers_v1_containers_proto_msgTypes[5]
  434. if protoimpl.UnsafeEnabled && x != nil {
  435. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  436. if ms.LoadMessageInfo() == nil {
  437. ms.StoreMessageInfo(mi)
  438. }
  439. return ms
  440. }
  441. return mi.MessageOf(x)
  442. }
  443. // Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
  444. func (*UpdateResponse) Descriptor() ([]byte, []int) {
  445. return file_containers_v1_containers_proto_rawDescGZIP(), []int{5}
  446. }
  447. type DeleteRequest struct {
  448. state protoimpl.MessageState
  449. sizeCache protoimpl.SizeCache
  450. unknownFields protoimpl.UnknownFields
  451. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  452. Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
  453. }
  454. func (x *DeleteRequest) Reset() {
  455. *x = DeleteRequest{}
  456. if protoimpl.UnsafeEnabled {
  457. mi := &file_containers_v1_containers_proto_msgTypes[6]
  458. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  459. ms.StoreMessageInfo(mi)
  460. }
  461. }
  462. func (x *DeleteRequest) String() string {
  463. return protoimpl.X.MessageStringOf(x)
  464. }
  465. func (*DeleteRequest) ProtoMessage() {}
  466. func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
  467. mi := &file_containers_v1_containers_proto_msgTypes[6]
  468. if protoimpl.UnsafeEnabled && x != nil {
  469. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  470. if ms.LoadMessageInfo() == nil {
  471. ms.StoreMessageInfo(mi)
  472. }
  473. return ms
  474. }
  475. return mi.MessageOf(x)
  476. }
  477. // Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
  478. func (*DeleteRequest) Descriptor() ([]byte, []int) {
  479. return file_containers_v1_containers_proto_rawDescGZIP(), []int{6}
  480. }
  481. func (x *DeleteRequest) GetId() string {
  482. if x != nil {
  483. return x.Id
  484. }
  485. return ""
  486. }
  487. func (x *DeleteRequest) GetForce() bool {
  488. if x != nil {
  489. return x.Force
  490. }
  491. return false
  492. }
  493. type DeleteResponse struct {
  494. state protoimpl.MessageState
  495. sizeCache protoimpl.SizeCache
  496. unknownFields protoimpl.UnknownFields
  497. }
  498. func (x *DeleteResponse) Reset() {
  499. *x = DeleteResponse{}
  500. if protoimpl.UnsafeEnabled {
  501. mi := &file_containers_v1_containers_proto_msgTypes[7]
  502. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  503. ms.StoreMessageInfo(mi)
  504. }
  505. }
  506. func (x *DeleteResponse) String() string {
  507. return protoimpl.X.MessageStringOf(x)
  508. }
  509. func (*DeleteResponse) ProtoMessage() {}
  510. func (x *DeleteResponse) ProtoReflect() protoreflect.Message {
  511. mi := &file_containers_v1_containers_proto_msgTypes[7]
  512. if protoimpl.UnsafeEnabled && x != nil {
  513. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  514. if ms.LoadMessageInfo() == nil {
  515. ms.StoreMessageInfo(mi)
  516. }
  517. return ms
  518. }
  519. return mi.MessageOf(x)
  520. }
  521. // Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
  522. func (*DeleteResponse) Descriptor() ([]byte, []int) {
  523. return file_containers_v1_containers_proto_rawDescGZIP(), []int{7}
  524. }
  525. type StartRequest struct {
  526. state protoimpl.MessageState
  527. sizeCache protoimpl.SizeCache
  528. unknownFields protoimpl.UnknownFields
  529. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  530. StreamId string `protobuf:"bytes,2,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
  531. }
  532. func (x *StartRequest) Reset() {
  533. *x = StartRequest{}
  534. if protoimpl.UnsafeEnabled {
  535. mi := &file_containers_v1_containers_proto_msgTypes[8]
  536. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  537. ms.StoreMessageInfo(mi)
  538. }
  539. }
  540. func (x *StartRequest) String() string {
  541. return protoimpl.X.MessageStringOf(x)
  542. }
  543. func (*StartRequest) ProtoMessage() {}
  544. func (x *StartRequest) ProtoReflect() protoreflect.Message {
  545. mi := &file_containers_v1_containers_proto_msgTypes[8]
  546. if protoimpl.UnsafeEnabled && x != nil {
  547. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  548. if ms.LoadMessageInfo() == nil {
  549. ms.StoreMessageInfo(mi)
  550. }
  551. return ms
  552. }
  553. return mi.MessageOf(x)
  554. }
  555. // Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.
  556. func (*StartRequest) Descriptor() ([]byte, []int) {
  557. return file_containers_v1_containers_proto_rawDescGZIP(), []int{8}
  558. }
  559. func (x *StartRequest) GetId() string {
  560. if x != nil {
  561. return x.Id
  562. }
  563. return ""
  564. }
  565. func (x *StartRequest) GetStreamId() string {
  566. if x != nil {
  567. return x.StreamId
  568. }
  569. return ""
  570. }
  571. type StartResponse struct {
  572. state protoimpl.MessageState
  573. sizeCache protoimpl.SizeCache
  574. unknownFields protoimpl.UnknownFields
  575. }
  576. func (x *StartResponse) Reset() {
  577. *x = StartResponse{}
  578. if protoimpl.UnsafeEnabled {
  579. mi := &file_containers_v1_containers_proto_msgTypes[9]
  580. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  581. ms.StoreMessageInfo(mi)
  582. }
  583. }
  584. func (x *StartResponse) String() string {
  585. return protoimpl.X.MessageStringOf(x)
  586. }
  587. func (*StartResponse) ProtoMessage() {}
  588. func (x *StartResponse) ProtoReflect() protoreflect.Message {
  589. mi := &file_containers_v1_containers_proto_msgTypes[9]
  590. if protoimpl.UnsafeEnabled && x != nil {
  591. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  592. if ms.LoadMessageInfo() == nil {
  593. ms.StoreMessageInfo(mi)
  594. }
  595. return ms
  596. }
  597. return mi.MessageOf(x)
  598. }
  599. // Deprecated: Use StartResponse.ProtoReflect.Descriptor instead.
  600. func (*StartResponse) Descriptor() ([]byte, []int) {
  601. return file_containers_v1_containers_proto_rawDescGZIP(), []int{9}
  602. }
  603. type StopRequest struct {
  604. state protoimpl.MessageState
  605. sizeCache protoimpl.SizeCache
  606. unknownFields protoimpl.UnknownFields
  607. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  608. Signal int64 `protobuf:"varint,2,opt,name=signal,proto3" json:"signal,omitempty"`
  609. }
  610. func (x *StopRequest) Reset() {
  611. *x = StopRequest{}
  612. if protoimpl.UnsafeEnabled {
  613. mi := &file_containers_v1_containers_proto_msgTypes[10]
  614. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  615. ms.StoreMessageInfo(mi)
  616. }
  617. }
  618. func (x *StopRequest) String() string {
  619. return protoimpl.X.MessageStringOf(x)
  620. }
  621. func (*StopRequest) ProtoMessage() {}
  622. func (x *StopRequest) ProtoReflect() protoreflect.Message {
  623. mi := &file_containers_v1_containers_proto_msgTypes[10]
  624. if protoimpl.UnsafeEnabled && x != nil {
  625. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  626. if ms.LoadMessageInfo() == nil {
  627. ms.StoreMessageInfo(mi)
  628. }
  629. return ms
  630. }
  631. return mi.MessageOf(x)
  632. }
  633. // Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.
  634. func (*StopRequest) Descriptor() ([]byte, []int) {
  635. return file_containers_v1_containers_proto_rawDescGZIP(), []int{10}
  636. }
  637. func (x *StopRequest) GetId() string {
  638. if x != nil {
  639. return x.Id
  640. }
  641. return ""
  642. }
  643. func (x *StopRequest) GetSignal() int64 {
  644. if x != nil {
  645. return x.Signal
  646. }
  647. return 0
  648. }
  649. type StopResponse struct {
  650. state protoimpl.MessageState
  651. sizeCache protoimpl.SizeCache
  652. unknownFields protoimpl.UnknownFields
  653. }
  654. func (x *StopResponse) Reset() {
  655. *x = StopResponse{}
  656. if protoimpl.UnsafeEnabled {
  657. mi := &file_containers_v1_containers_proto_msgTypes[11]
  658. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  659. ms.StoreMessageInfo(mi)
  660. }
  661. }
  662. func (x *StopResponse) String() string {
  663. return protoimpl.X.MessageStringOf(x)
  664. }
  665. func (*StopResponse) ProtoMessage() {}
  666. func (x *StopResponse) ProtoReflect() protoreflect.Message {
  667. mi := &file_containers_v1_containers_proto_msgTypes[11]
  668. if protoimpl.UnsafeEnabled && x != nil {
  669. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  670. if ms.LoadMessageInfo() == nil {
  671. ms.StoreMessageInfo(mi)
  672. }
  673. return ms
  674. }
  675. return mi.MessageOf(x)
  676. }
  677. // Deprecated: Use StopResponse.ProtoReflect.Descriptor instead.
  678. func (*StopResponse) Descriptor() ([]byte, []int) {
  679. return file_containers_v1_containers_proto_rawDescGZIP(), []int{11}
  680. }
  681. type ExecRequest struct {
  682. state protoimpl.MessageState
  683. sizeCache protoimpl.SizeCache
  684. unknownFields protoimpl.UnknownFields
  685. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  686. StreamId string `protobuf:"bytes,2,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
  687. Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
  688. Env []string `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"`
  689. Tty bool `protobuf:"varint,5,opt,name=tty,proto3" json:"tty,omitempty"`
  690. WorkingDir string `protobuf:"bytes,6,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
  691. }
  692. func (x *ExecRequest) Reset() {
  693. *x = ExecRequest{}
  694. if protoimpl.UnsafeEnabled {
  695. mi := &file_containers_v1_containers_proto_msgTypes[12]
  696. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  697. ms.StoreMessageInfo(mi)
  698. }
  699. }
  700. func (x *ExecRequest) String() string {
  701. return protoimpl.X.MessageStringOf(x)
  702. }
  703. func (*ExecRequest) ProtoMessage() {}
  704. func (x *ExecRequest) ProtoReflect() protoreflect.Message {
  705. mi := &file_containers_v1_containers_proto_msgTypes[12]
  706. if protoimpl.UnsafeEnabled && x != nil {
  707. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  708. if ms.LoadMessageInfo() == nil {
  709. ms.StoreMessageInfo(mi)
  710. }
  711. return ms
  712. }
  713. return mi.MessageOf(x)
  714. }
  715. // Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead.
  716. func (*ExecRequest) Descriptor() ([]byte, []int) {
  717. return file_containers_v1_containers_proto_rawDescGZIP(), []int{12}
  718. }
  719. func (x *ExecRequest) GetId() string {
  720. if x != nil {
  721. return x.Id
  722. }
  723. return ""
  724. }
  725. func (x *ExecRequest) GetStreamId() string {
  726. if x != nil {
  727. return x.StreamId
  728. }
  729. return ""
  730. }
  731. func (x *ExecRequest) GetArgs() []string {
  732. if x != nil {
  733. return x.Args
  734. }
  735. return nil
  736. }
  737. func (x *ExecRequest) GetEnv() []string {
  738. if x != nil {
  739. return x.Env
  740. }
  741. return nil
  742. }
  743. func (x *ExecRequest) GetTty() bool {
  744. if x != nil {
  745. return x.Tty
  746. }
  747. return false
  748. }
  749. func (x *ExecRequest) GetWorkingDir() string {
  750. if x != nil {
  751. return x.WorkingDir
  752. }
  753. return ""
  754. }
  755. type ExecResponse struct {
  756. state protoimpl.MessageState
  757. sizeCache protoimpl.SizeCache
  758. unknownFields protoimpl.UnknownFields
  759. }
  760. func (x *ExecResponse) Reset() {
  761. *x = ExecResponse{}
  762. if protoimpl.UnsafeEnabled {
  763. mi := &file_containers_v1_containers_proto_msgTypes[13]
  764. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  765. ms.StoreMessageInfo(mi)
  766. }
  767. }
  768. func (x *ExecResponse) String() string {
  769. return protoimpl.X.MessageStringOf(x)
  770. }
  771. func (*ExecResponse) ProtoMessage() {}
  772. func (x *ExecResponse) ProtoReflect() protoreflect.Message {
  773. mi := &file_containers_v1_containers_proto_msgTypes[13]
  774. if protoimpl.UnsafeEnabled && x != nil {
  775. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  776. if ms.LoadMessageInfo() == nil {
  777. ms.StoreMessageInfo(mi)
  778. }
  779. return ms
  780. }
  781. return mi.MessageOf(x)
  782. }
  783. // Deprecated: Use ExecResponse.ProtoReflect.Descriptor instead.
  784. func (*ExecResponse) Descriptor() ([]byte, []int) {
  785. return file_containers_v1_containers_proto_rawDescGZIP(), []int{13}
  786. }
  787. type KillRequest struct {
  788. state protoimpl.MessageState
  789. sizeCache protoimpl.SizeCache
  790. unknownFields protoimpl.UnknownFields
  791. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  792. Signal int64 `protobuf:"varint,2,opt,name=signal,proto3" json:"signal,omitempty"`
  793. }
  794. func (x *KillRequest) Reset() {
  795. *x = KillRequest{}
  796. if protoimpl.UnsafeEnabled {
  797. mi := &file_containers_v1_containers_proto_msgTypes[14]
  798. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  799. ms.StoreMessageInfo(mi)
  800. }
  801. }
  802. func (x *KillRequest) String() string {
  803. return protoimpl.X.MessageStringOf(x)
  804. }
  805. func (*KillRequest) ProtoMessage() {}
  806. func (x *KillRequest) ProtoReflect() protoreflect.Message {
  807. mi := &file_containers_v1_containers_proto_msgTypes[14]
  808. if protoimpl.UnsafeEnabled && x != nil {
  809. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  810. if ms.LoadMessageInfo() == nil {
  811. ms.StoreMessageInfo(mi)
  812. }
  813. return ms
  814. }
  815. return mi.MessageOf(x)
  816. }
  817. // Deprecated: Use KillRequest.ProtoReflect.Descriptor instead.
  818. func (*KillRequest) Descriptor() ([]byte, []int) {
  819. return file_containers_v1_containers_proto_rawDescGZIP(), []int{14}
  820. }
  821. func (x *KillRequest) GetId() string {
  822. if x != nil {
  823. return x.Id
  824. }
  825. return ""
  826. }
  827. func (x *KillRequest) GetSignal() int64 {
  828. if x != nil {
  829. return x.Signal
  830. }
  831. return 0
  832. }
  833. type KillResponse struct {
  834. state protoimpl.MessageState
  835. sizeCache protoimpl.SizeCache
  836. unknownFields protoimpl.UnknownFields
  837. }
  838. func (x *KillResponse) Reset() {
  839. *x = KillResponse{}
  840. if protoimpl.UnsafeEnabled {
  841. mi := &file_containers_v1_containers_proto_msgTypes[15]
  842. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  843. ms.StoreMessageInfo(mi)
  844. }
  845. }
  846. func (x *KillResponse) String() string {
  847. return protoimpl.X.MessageStringOf(x)
  848. }
  849. func (*KillResponse) ProtoMessage() {}
  850. func (x *KillResponse) ProtoReflect() protoreflect.Message {
  851. mi := &file_containers_v1_containers_proto_msgTypes[15]
  852. if protoimpl.UnsafeEnabled && x != nil {
  853. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  854. if ms.LoadMessageInfo() == nil {
  855. ms.StoreMessageInfo(mi)
  856. }
  857. return ms
  858. }
  859. return mi.MessageOf(x)
  860. }
  861. // Deprecated: Use KillResponse.ProtoReflect.Descriptor instead.
  862. func (*KillResponse) Descriptor() ([]byte, []int) {
  863. return file_containers_v1_containers_proto_rawDescGZIP(), []int{15}
  864. }
  865. type ListRequest struct {
  866. state protoimpl.MessageState
  867. sizeCache protoimpl.SizeCache
  868. unknownFields protoimpl.UnknownFields
  869. Filters []string `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
  870. }
  871. func (x *ListRequest) Reset() {
  872. *x = ListRequest{}
  873. if protoimpl.UnsafeEnabled {
  874. mi := &file_containers_v1_containers_proto_msgTypes[16]
  875. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  876. ms.StoreMessageInfo(mi)
  877. }
  878. }
  879. func (x *ListRequest) String() string {
  880. return protoimpl.X.MessageStringOf(x)
  881. }
  882. func (*ListRequest) ProtoMessage() {}
  883. func (x *ListRequest) ProtoReflect() protoreflect.Message {
  884. mi := &file_containers_v1_containers_proto_msgTypes[16]
  885. if protoimpl.UnsafeEnabled && x != nil {
  886. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  887. if ms.LoadMessageInfo() == nil {
  888. ms.StoreMessageInfo(mi)
  889. }
  890. return ms
  891. }
  892. return mi.MessageOf(x)
  893. }
  894. // Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
  895. func (*ListRequest) Descriptor() ([]byte, []int) {
  896. return file_containers_v1_containers_proto_rawDescGZIP(), []int{16}
  897. }
  898. func (x *ListRequest) GetFilters() []string {
  899. if x != nil {
  900. return x.Filters
  901. }
  902. return nil
  903. }
  904. type ListResponse struct {
  905. state protoimpl.MessageState
  906. sizeCache protoimpl.SizeCache
  907. unknownFields protoimpl.UnknownFields
  908. Containers []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"`
  909. }
  910. func (x *ListResponse) Reset() {
  911. *x = ListResponse{}
  912. if protoimpl.UnsafeEnabled {
  913. mi := &file_containers_v1_containers_proto_msgTypes[17]
  914. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  915. ms.StoreMessageInfo(mi)
  916. }
  917. }
  918. func (x *ListResponse) String() string {
  919. return protoimpl.X.MessageStringOf(x)
  920. }
  921. func (*ListResponse) ProtoMessage() {}
  922. func (x *ListResponse) ProtoReflect() protoreflect.Message {
  923. mi := &file_containers_v1_containers_proto_msgTypes[17]
  924. if protoimpl.UnsafeEnabled && x != nil {
  925. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  926. if ms.LoadMessageInfo() == nil {
  927. ms.StoreMessageInfo(mi)
  928. }
  929. return ms
  930. }
  931. return mi.MessageOf(x)
  932. }
  933. // Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
  934. func (*ListResponse) Descriptor() ([]byte, []int) {
  935. return file_containers_v1_containers_proto_rawDescGZIP(), []int{17}
  936. }
  937. func (x *ListResponse) GetContainers() []*Container {
  938. if x != nil {
  939. return x.Containers
  940. }
  941. return nil
  942. }
  943. var File_containers_v1_containers_proto protoreflect.FileDescriptor
  944. var file_containers_v1_containers_proto_rawDesc = []byte{
  945. 0x0a, 0x1e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2f, 0x76, 0x31, 0x2f,
  946. 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  947. 0x12, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69,
  948. 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x84,
  949. 0x02, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02,
  950. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05,
  951. 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61,
  952. 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01,
  953. 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x70,
  954. 0x75, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x70,
  955. 0x75, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f,
  956. 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x65, 0x6d,
  957. 0x6f, 0x72, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f,
  958. 0x72, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b,
  959. 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70,
  960. 0x69, 0x64, 0x73, 0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28,
  961. 0x04, 0x52, 0x0b, 0x70, 0x69, 0x64, 0x73, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1d,
  962. 0x0a, 0x0a, 0x70, 0x69, 0x64, 0x73, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01,
  963. 0x28, 0x04, 0x52, 0x09, 0x70, 0x69, 0x64, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a,
  964. 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c,
  965. 0x61, 0x62, 0x65, 0x6c, 0x73, 0x22, 0x96, 0x03, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
  966. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
  967. 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18,
  968. 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x65,
  969. 0x6e, 0x76, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, 0x10, 0x0a,
  970. 0x03, 0x74, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x74, 0x74, 0x79, 0x12,
  971. 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  972. 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d,
  973. 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d,
  974. 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x18, 0x07, 0x20,
  975. 0x03, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x12, 0x20, 0x0a,
  976. 0x0b, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01,
  977. 0x28, 0x09, 0x52, 0x0b, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x12,
  978. 0x16, 0x0a, 0x06, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52,
  979. 0x06, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69,
  980. 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c,
  981. 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x73, 0x74, 0x61,
  982. 0x74, 0x75, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x74, 0x61,
  983. 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3b, 0x0a, 0x06, 0x6d, 0x6f, 0x75, 0x6e,
  984. 0x74, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64,
  985. 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69,
  986. 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x06, 0x6d,
  987. 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67,
  988. 0x5f, 0x64, 0x69, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6b,
  989. 0x69, 0x6e, 0x67, 0x44, 0x69, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
  990. 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x22, 0x6f,
  991. 0x0a, 0x05, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
  992. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73,
  993. 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75,
  994. 0x72, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69,
  995. 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e,
  996. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  997. 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22,
  998. 0x10, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  999. 0x65, 0x22, 0x35, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
  1000. 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
  1001. 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  1002. 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61,
  1003. 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0x0a, 0x0d, 0x44, 0x65,
  1004. 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69,
  1005. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66,
  1006. 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63,
  1007. 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
  1008. 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75,
  1009. 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  1010. 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64,
  1011. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x64,
  1012. 0x22, 0x0f, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  1013. 0x65, 0x22, 0x35, 0x0a, 0x0b, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1014. 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
  1015. 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
  1016. 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x22, 0x0e, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x70,
  1017. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x93, 0x01, 0x0a, 0x0b, 0x45, 0x78, 0x65,
  1018. 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  1019. 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x72, 0x65,
  1020. 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72,
  1021. 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x03, 0x20,
  1022. 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x76,
  1023. 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, 0x10, 0x0a, 0x03, 0x74,
  1024. 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x74, 0x74, 0x79, 0x12, 0x1f, 0x0a,
  1025. 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x06, 0x20, 0x01,
  1026. 0x28, 0x09, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x72, 0x22, 0x0e,
  1027. 0x0a, 0x0c, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35,
  1028. 0x0a, 0x0b, 0x4b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a,
  1029. 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a,
  1030. 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73,
  1031. 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x22, 0x0e, 0x0a, 0x0c, 0x4b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73,
  1032. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71,
  1033. 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18,
  1034. 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x22, 0x57,
  1035. 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47,
  1036. 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03,
  1037. 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e,
  1038. 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76,
  1039. 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x0a, 0x63, 0x6f, 0x6e,
  1040. 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x32, 0x99, 0x06, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x74,
  1041. 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x5d, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x29,
  1042. 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  1043. 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,
  1044. 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e,
  1045. 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61,
  1046. 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
  1047. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12,
  1048. 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69,
  1049. 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43,
  1050. 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63,
  1051. 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
  1052. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61,
  1053. 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x05, 0x53, 0x74,
  1054. 0x61, 0x72, 0x74, 0x12, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72,
  1055. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e,
  1056. 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  1057. 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69,
  1058. 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53,
  1059. 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x04,
  1060. 0x53, 0x74, 0x6f, 0x70, 0x12, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65,
  1061. 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73,
  1062. 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  1063. 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69,
  1064. 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53,
  1065. 0x74, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x04, 0x4b,
  1066. 0x69, 0x6c, 0x6c, 0x12, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72,
  1067. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e,
  1068. 0x76, 0x31, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a,
  1069. 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  1070. 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x69,
  1071. 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x06, 0x44, 0x65,
  1072. 0x6c, 0x65, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65,
  1073. 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73,
  1074. 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  1075. 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61,
  1076. 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31,
  1077. 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  1078. 0x63, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e,
  1079. 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61,
  1080. 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,
  1081. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63,
  1082. 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
  1083. 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
  1084. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x04, 0x45, 0x78, 0x65, 0x63, 0x12, 0x29, 0x2e, 0x63,
  1085. 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
  1086. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63,
  1087. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f,
  1088. 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
  1089. 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f,
  1090. 0x6e, 0x73, 0x65, 0x42, 0x28, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
  1091. 0x6d, 0x2f, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6e,
  1092. 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x31, 0x62, 0x06, 0x70,
  1093. 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1094. }
  1095. var (
  1096. file_containers_v1_containers_proto_rawDescOnce sync.Once
  1097. file_containers_v1_containers_proto_rawDescData = file_containers_v1_containers_proto_rawDesc
  1098. )
  1099. func file_containers_v1_containers_proto_rawDescGZIP() []byte {
  1100. file_containers_v1_containers_proto_rawDescOnce.Do(func() {
  1101. file_containers_v1_containers_proto_rawDescData = protoimpl.X.CompressGZIP(file_containers_v1_containers_proto_rawDescData)
  1102. })
  1103. return file_containers_v1_containers_proto_rawDescData
  1104. }
  1105. var file_containers_v1_containers_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
  1106. var file_containers_v1_containers_proto_goTypes = []interface{}{
  1107. (*Container)(nil), // 0: com.docker.api.containers.v1.Container
  1108. (*CreateRequest)(nil), // 1: com.docker.api.containers.v1.CreateRequest
  1109. (*Mount)(nil), // 2: com.docker.api.containers.v1.Mount
  1110. (*CreateResponse)(nil), // 3: com.docker.api.containers.v1.CreateResponse
  1111. (*UpdateRequest)(nil), // 4: com.docker.api.containers.v1.UpdateRequest
  1112. (*UpdateResponse)(nil), // 5: com.docker.api.containers.v1.UpdateResponse
  1113. (*DeleteRequest)(nil), // 6: com.docker.api.containers.v1.DeleteRequest
  1114. (*DeleteResponse)(nil), // 7: com.docker.api.containers.v1.DeleteResponse
  1115. (*StartRequest)(nil), // 8: com.docker.api.containers.v1.StartRequest
  1116. (*StartResponse)(nil), // 9: com.docker.api.containers.v1.StartResponse
  1117. (*StopRequest)(nil), // 10: com.docker.api.containers.v1.StopRequest
  1118. (*StopResponse)(nil), // 11: com.docker.api.containers.v1.StopResponse
  1119. (*ExecRequest)(nil), // 12: com.docker.api.containers.v1.ExecRequest
  1120. (*ExecResponse)(nil), // 13: com.docker.api.containers.v1.ExecResponse
  1121. (*KillRequest)(nil), // 14: com.docker.api.containers.v1.KillRequest
  1122. (*KillResponse)(nil), // 15: com.docker.api.containers.v1.KillResponse
  1123. (*ListRequest)(nil), // 16: com.docker.api.containers.v1.ListRequest
  1124. (*ListResponse)(nil), // 17: com.docker.api.containers.v1.ListResponse
  1125. }
  1126. var file_containers_v1_containers_proto_depIdxs = []int32{
  1127. 2, // 0: com.docker.api.containers.v1.CreateRequest.mounts:type_name -> com.docker.api.containers.v1.Mount
  1128. 0, // 1: com.docker.api.containers.v1.ListResponse.containers:type_name -> com.docker.api.containers.v1.Container
  1129. 16, // 2: com.docker.api.containers.v1.Containers.List:input_type -> com.docker.api.containers.v1.ListRequest
  1130. 1, // 3: com.docker.api.containers.v1.Containers.Create:input_type -> com.docker.api.containers.v1.CreateRequest
  1131. 8, // 4: com.docker.api.containers.v1.Containers.Start:input_type -> com.docker.api.containers.v1.StartRequest
  1132. 10, // 5: com.docker.api.containers.v1.Containers.Stop:input_type -> com.docker.api.containers.v1.StopRequest
  1133. 14, // 6: com.docker.api.containers.v1.Containers.Kill:input_type -> com.docker.api.containers.v1.KillRequest
  1134. 6, // 7: com.docker.api.containers.v1.Containers.Delete:input_type -> com.docker.api.containers.v1.DeleteRequest
  1135. 4, // 8: com.docker.api.containers.v1.Containers.Update:input_type -> com.docker.api.containers.v1.UpdateRequest
  1136. 12, // 9: com.docker.api.containers.v1.Containers.Exec:input_type -> com.docker.api.containers.v1.ExecRequest
  1137. 17, // 10: com.docker.api.containers.v1.Containers.List:output_type -> com.docker.api.containers.v1.ListResponse
  1138. 3, // 11: com.docker.api.containers.v1.Containers.Create:output_type -> com.docker.api.containers.v1.CreateResponse
  1139. 9, // 12: com.docker.api.containers.v1.Containers.Start:output_type -> com.docker.api.containers.v1.StartResponse
  1140. 11, // 13: com.docker.api.containers.v1.Containers.Stop:output_type -> com.docker.api.containers.v1.StopResponse
  1141. 15, // 14: com.docker.api.containers.v1.Containers.Kill:output_type -> com.docker.api.containers.v1.KillResponse
  1142. 7, // 15: com.docker.api.containers.v1.Containers.Delete:output_type -> com.docker.api.containers.v1.DeleteResponse
  1143. 5, // 16: com.docker.api.containers.v1.Containers.Update:output_type -> com.docker.api.containers.v1.UpdateResponse
  1144. 13, // 17: com.docker.api.containers.v1.Containers.Exec:output_type -> com.docker.api.containers.v1.ExecResponse
  1145. 10, // [10:18] is the sub-list for method output_type
  1146. 2, // [2:10] is the sub-list for method input_type
  1147. 2, // [2:2] is the sub-list for extension type_name
  1148. 2, // [2:2] is the sub-list for extension extendee
  1149. 0, // [0:2] is the sub-list for field type_name
  1150. }
  1151. func init() { file_containers_v1_containers_proto_init() }
  1152. func file_containers_v1_containers_proto_init() {
  1153. if File_containers_v1_containers_proto != nil {
  1154. return
  1155. }
  1156. if !protoimpl.UnsafeEnabled {
  1157. file_containers_v1_containers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1158. switch v := v.(*Container); i {
  1159. case 0:
  1160. return &v.state
  1161. case 1:
  1162. return &v.sizeCache
  1163. case 2:
  1164. return &v.unknownFields
  1165. default:
  1166. return nil
  1167. }
  1168. }
  1169. file_containers_v1_containers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1170. switch v := v.(*CreateRequest); i {
  1171. case 0:
  1172. return &v.state
  1173. case 1:
  1174. return &v.sizeCache
  1175. case 2:
  1176. return &v.unknownFields
  1177. default:
  1178. return nil
  1179. }
  1180. }
  1181. file_containers_v1_containers_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1182. switch v := v.(*Mount); i {
  1183. case 0:
  1184. return &v.state
  1185. case 1:
  1186. return &v.sizeCache
  1187. case 2:
  1188. return &v.unknownFields
  1189. default:
  1190. return nil
  1191. }
  1192. }
  1193. file_containers_v1_containers_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1194. switch v := v.(*CreateResponse); i {
  1195. case 0:
  1196. return &v.state
  1197. case 1:
  1198. return &v.sizeCache
  1199. case 2:
  1200. return &v.unknownFields
  1201. default:
  1202. return nil
  1203. }
  1204. }
  1205. file_containers_v1_containers_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1206. switch v := v.(*UpdateRequest); i {
  1207. case 0:
  1208. return &v.state
  1209. case 1:
  1210. return &v.sizeCache
  1211. case 2:
  1212. return &v.unknownFields
  1213. default:
  1214. return nil
  1215. }
  1216. }
  1217. file_containers_v1_containers_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1218. switch v := v.(*UpdateResponse); i {
  1219. case 0:
  1220. return &v.state
  1221. case 1:
  1222. return &v.sizeCache
  1223. case 2:
  1224. return &v.unknownFields
  1225. default:
  1226. return nil
  1227. }
  1228. }
  1229. file_containers_v1_containers_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1230. switch v := v.(*DeleteRequest); i {
  1231. case 0:
  1232. return &v.state
  1233. case 1:
  1234. return &v.sizeCache
  1235. case 2:
  1236. return &v.unknownFields
  1237. default:
  1238. return nil
  1239. }
  1240. }
  1241. file_containers_v1_containers_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1242. switch v := v.(*DeleteResponse); i {
  1243. case 0:
  1244. return &v.state
  1245. case 1:
  1246. return &v.sizeCache
  1247. case 2:
  1248. return &v.unknownFields
  1249. default:
  1250. return nil
  1251. }
  1252. }
  1253. file_containers_v1_containers_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1254. switch v := v.(*StartRequest); i {
  1255. case 0:
  1256. return &v.state
  1257. case 1:
  1258. return &v.sizeCache
  1259. case 2:
  1260. return &v.unknownFields
  1261. default:
  1262. return nil
  1263. }
  1264. }
  1265. file_containers_v1_containers_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1266. switch v := v.(*StartResponse); i {
  1267. case 0:
  1268. return &v.state
  1269. case 1:
  1270. return &v.sizeCache
  1271. case 2:
  1272. return &v.unknownFields
  1273. default:
  1274. return nil
  1275. }
  1276. }
  1277. file_containers_v1_containers_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1278. switch v := v.(*StopRequest); i {
  1279. case 0:
  1280. return &v.state
  1281. case 1:
  1282. return &v.sizeCache
  1283. case 2:
  1284. return &v.unknownFields
  1285. default:
  1286. return nil
  1287. }
  1288. }
  1289. file_containers_v1_containers_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1290. switch v := v.(*StopResponse); i {
  1291. case 0:
  1292. return &v.state
  1293. case 1:
  1294. return &v.sizeCache
  1295. case 2:
  1296. return &v.unknownFields
  1297. default:
  1298. return nil
  1299. }
  1300. }
  1301. file_containers_v1_containers_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1302. switch v := v.(*ExecRequest); i {
  1303. case 0:
  1304. return &v.state
  1305. case 1:
  1306. return &v.sizeCache
  1307. case 2:
  1308. return &v.unknownFields
  1309. default:
  1310. return nil
  1311. }
  1312. }
  1313. file_containers_v1_containers_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1314. switch v := v.(*ExecResponse); i {
  1315. case 0:
  1316. return &v.state
  1317. case 1:
  1318. return &v.sizeCache
  1319. case 2:
  1320. return &v.unknownFields
  1321. default:
  1322. return nil
  1323. }
  1324. }
  1325. file_containers_v1_containers_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1326. switch v := v.(*KillRequest); i {
  1327. case 0:
  1328. return &v.state
  1329. case 1:
  1330. return &v.sizeCache
  1331. case 2:
  1332. return &v.unknownFields
  1333. default:
  1334. return nil
  1335. }
  1336. }
  1337. file_containers_v1_containers_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1338. switch v := v.(*KillResponse); i {
  1339. case 0:
  1340. return &v.state
  1341. case 1:
  1342. return &v.sizeCache
  1343. case 2:
  1344. return &v.unknownFields
  1345. default:
  1346. return nil
  1347. }
  1348. }
  1349. file_containers_v1_containers_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  1350. switch v := v.(*ListRequest); i {
  1351. case 0:
  1352. return &v.state
  1353. case 1:
  1354. return &v.sizeCache
  1355. case 2:
  1356. return &v.unknownFields
  1357. default:
  1358. return nil
  1359. }
  1360. }
  1361. file_containers_v1_containers_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  1362. switch v := v.(*ListResponse); i {
  1363. case 0:
  1364. return &v.state
  1365. case 1:
  1366. return &v.sizeCache
  1367. case 2:
  1368. return &v.unknownFields
  1369. default:
  1370. return nil
  1371. }
  1372. }
  1373. }
  1374. type x struct{}
  1375. out := protoimpl.TypeBuilder{
  1376. File: protoimpl.DescBuilder{
  1377. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1378. RawDescriptor: file_containers_v1_containers_proto_rawDesc,
  1379. NumEnums: 0,
  1380. NumMessages: 18,
  1381. NumExtensions: 0,
  1382. NumServices: 1,
  1383. },
  1384. GoTypes: file_containers_v1_containers_proto_goTypes,
  1385. DependencyIndexes: file_containers_v1_containers_proto_depIdxs,
  1386. MessageInfos: file_containers_v1_containers_proto_msgTypes,
  1387. }.Build()
  1388. File_containers_v1_containers_proto = out.File
  1389. file_containers_v1_containers_proto_rawDesc = nil
  1390. file_containers_v1_containers_proto_goTypes = nil
  1391. file_containers_v1_containers_proto_depIdxs = nil
  1392. }
  1393. // Reference imports to suppress errors if they are not otherwise used.
  1394. var _ context.Context
  1395. var _ grpc.ClientConnInterface
  1396. // This is a compile-time assertion to ensure that this generated file
  1397. // is compatible with the grpc package it is being compiled against.
  1398. const _ = grpc.SupportPackageIsVersion6
  1399. // ContainersClient is the client API for Containers service.
  1400. //
  1401. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1402. type ContainersClient interface {
  1403. List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
  1404. Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
  1405. Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error)
  1406. Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error)
  1407. Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*KillResponse, error)
  1408. Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
  1409. Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
  1410. Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error)
  1411. }
  1412. type containersClient struct {
  1413. cc grpc.ClientConnInterface
  1414. }
  1415. func NewContainersClient(cc grpc.ClientConnInterface) ContainersClient {
  1416. return &containersClient{cc}
  1417. }
  1418. func (c *containersClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) {
  1419. out := new(ListResponse)
  1420. err := c.cc.Invoke(ctx, "/com.docker.api.containers.v1.Containers/List", in, out, opts...)
  1421. if err != nil {
  1422. return nil, err
  1423. }
  1424. return out, nil
  1425. }
  1426. func (c *containersClient) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) {
  1427. out := new(CreateResponse)
  1428. err := c.cc.Invoke(ctx, "/com.docker.api.containers.v1.Containers/Create", in, out, opts...)
  1429. if err != nil {
  1430. return nil, err
  1431. }
  1432. return out, nil
  1433. }
  1434. func (c *containersClient) Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error) {
  1435. out := new(StartResponse)
  1436. err := c.cc.Invoke(ctx, "/com.docker.api.containers.v1.Containers/Start", in, out, opts...)
  1437. if err != nil {
  1438. return nil, err
  1439. }
  1440. return out, nil
  1441. }
  1442. func (c *containersClient) Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error) {
  1443. out := new(StopResponse)
  1444. err := c.cc.Invoke(ctx, "/com.docker.api.containers.v1.Containers/Stop", in, out, opts...)
  1445. if err != nil {
  1446. return nil, err
  1447. }
  1448. return out, nil
  1449. }
  1450. func (c *containersClient) Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*KillResponse, error) {
  1451. out := new(KillResponse)
  1452. err := c.cc.Invoke(ctx, "/com.docker.api.containers.v1.Containers/Kill", in, out, opts...)
  1453. if err != nil {
  1454. return nil, err
  1455. }
  1456. return out, nil
  1457. }
  1458. func (c *containersClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) {
  1459. out := new(DeleteResponse)
  1460. err := c.cc.Invoke(ctx, "/com.docker.api.containers.v1.Containers/Delete", in, out, opts...)
  1461. if err != nil {
  1462. return nil, err
  1463. }
  1464. return out, nil
  1465. }
  1466. func (c *containersClient) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) {
  1467. out := new(UpdateResponse)
  1468. err := c.cc.Invoke(ctx, "/com.docker.api.containers.v1.Containers/Update", in, out, opts...)
  1469. if err != nil {
  1470. return nil, err
  1471. }
  1472. return out, nil
  1473. }
  1474. func (c *containersClient) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) {
  1475. out := new(ExecResponse)
  1476. err := c.cc.Invoke(ctx, "/com.docker.api.containers.v1.Containers/Exec", in, out, opts...)
  1477. if err != nil {
  1478. return nil, err
  1479. }
  1480. return out, nil
  1481. }
  1482. // ContainersServer is the server API for Containers service.
  1483. type ContainersServer interface {
  1484. List(context.Context, *ListRequest) (*ListResponse, error)
  1485. Create(context.Context, *CreateRequest) (*CreateResponse, error)
  1486. Start(context.Context, *StartRequest) (*StartResponse, error)
  1487. Stop(context.Context, *StopRequest) (*StopResponse, error)
  1488. Kill(context.Context, *KillRequest) (*KillResponse, error)
  1489. Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
  1490. Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
  1491. Exec(context.Context, *ExecRequest) (*ExecResponse, error)
  1492. }
  1493. // UnimplementedContainersServer can be embedded to have forward compatible implementations.
  1494. type UnimplementedContainersServer struct {
  1495. }
  1496. func (*UnimplementedContainersServer) List(context.Context, *ListRequest) (*ListResponse, error) {
  1497. return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
  1498. }
  1499. func (*UnimplementedContainersServer) Create(context.Context, *CreateRequest) (*CreateResponse, error) {
  1500. return nil, status.Errorf(codes.Unimplemented, "method Create not implemented")
  1501. }
  1502. func (*UnimplementedContainersServer) Start(context.Context, *StartRequest) (*StartResponse, error) {
  1503. return nil, status.Errorf(codes.Unimplemented, "method Start not implemented")
  1504. }
  1505. func (*UnimplementedContainersServer) Stop(context.Context, *StopRequest) (*StopResponse, error) {
  1506. return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented")
  1507. }
  1508. func (*UnimplementedContainersServer) Kill(context.Context, *KillRequest) (*KillResponse, error) {
  1509. return nil, status.Errorf(codes.Unimplemented, "method Kill not implemented")
  1510. }
  1511. func (*UnimplementedContainersServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) {
  1512. return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
  1513. }
  1514. func (*UnimplementedContainersServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error) {
  1515. return nil, status.Errorf(codes.Unimplemented, "method Update not implemented")
  1516. }
  1517. func (*UnimplementedContainersServer) Exec(context.Context, *ExecRequest) (*ExecResponse, error) {
  1518. return nil, status.Errorf(codes.Unimplemented, "method Exec not implemented")
  1519. }
  1520. func RegisterContainersServer(s *grpc.Server, srv ContainersServer) {
  1521. s.RegisterService(&_Containers_serviceDesc, srv)
  1522. }
  1523. func _Containers_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1524. in := new(ListRequest)
  1525. if err := dec(in); err != nil {
  1526. return nil, err
  1527. }
  1528. if interceptor == nil {
  1529. return srv.(ContainersServer).List(ctx, in)
  1530. }
  1531. info := &grpc.UnaryServerInfo{
  1532. Server: srv,
  1533. FullMethod: "/com.docker.api.containers.v1.Containers/List",
  1534. }
  1535. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1536. return srv.(ContainersServer).List(ctx, req.(*ListRequest))
  1537. }
  1538. return interceptor(ctx, in, info, handler)
  1539. }
  1540. func _Containers_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1541. in := new(CreateRequest)
  1542. if err := dec(in); err != nil {
  1543. return nil, err
  1544. }
  1545. if interceptor == nil {
  1546. return srv.(ContainersServer).Create(ctx, in)
  1547. }
  1548. info := &grpc.UnaryServerInfo{
  1549. Server: srv,
  1550. FullMethod: "/com.docker.api.containers.v1.Containers/Create",
  1551. }
  1552. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1553. return srv.(ContainersServer).Create(ctx, req.(*CreateRequest))
  1554. }
  1555. return interceptor(ctx, in, info, handler)
  1556. }
  1557. func _Containers_Start_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1558. in := new(StartRequest)
  1559. if err := dec(in); err != nil {
  1560. return nil, err
  1561. }
  1562. if interceptor == nil {
  1563. return srv.(ContainersServer).Start(ctx, in)
  1564. }
  1565. info := &grpc.UnaryServerInfo{
  1566. Server: srv,
  1567. FullMethod: "/com.docker.api.containers.v1.Containers/Start",
  1568. }
  1569. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1570. return srv.(ContainersServer).Start(ctx, req.(*StartRequest))
  1571. }
  1572. return interceptor(ctx, in, info, handler)
  1573. }
  1574. func _Containers_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1575. in := new(StopRequest)
  1576. if err := dec(in); err != nil {
  1577. return nil, err
  1578. }
  1579. if interceptor == nil {
  1580. return srv.(ContainersServer).Stop(ctx, in)
  1581. }
  1582. info := &grpc.UnaryServerInfo{
  1583. Server: srv,
  1584. FullMethod: "/com.docker.api.containers.v1.Containers/Stop",
  1585. }
  1586. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1587. return srv.(ContainersServer).Stop(ctx, req.(*StopRequest))
  1588. }
  1589. return interceptor(ctx, in, info, handler)
  1590. }
  1591. func _Containers_Kill_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1592. in := new(KillRequest)
  1593. if err := dec(in); err != nil {
  1594. return nil, err
  1595. }
  1596. if interceptor == nil {
  1597. return srv.(ContainersServer).Kill(ctx, in)
  1598. }
  1599. info := &grpc.UnaryServerInfo{
  1600. Server: srv,
  1601. FullMethod: "/com.docker.api.containers.v1.Containers/Kill",
  1602. }
  1603. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1604. return srv.(ContainersServer).Kill(ctx, req.(*KillRequest))
  1605. }
  1606. return interceptor(ctx, in, info, handler)
  1607. }
  1608. func _Containers_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1609. in := new(DeleteRequest)
  1610. if err := dec(in); err != nil {
  1611. return nil, err
  1612. }
  1613. if interceptor == nil {
  1614. return srv.(ContainersServer).Delete(ctx, in)
  1615. }
  1616. info := &grpc.UnaryServerInfo{
  1617. Server: srv,
  1618. FullMethod: "/com.docker.api.containers.v1.Containers/Delete",
  1619. }
  1620. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1621. return srv.(ContainersServer).Delete(ctx, req.(*DeleteRequest))
  1622. }
  1623. return interceptor(ctx, in, info, handler)
  1624. }
  1625. func _Containers_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1626. in := new(UpdateRequest)
  1627. if err := dec(in); err != nil {
  1628. return nil, err
  1629. }
  1630. if interceptor == nil {
  1631. return srv.(ContainersServer).Update(ctx, in)
  1632. }
  1633. info := &grpc.UnaryServerInfo{
  1634. Server: srv,
  1635. FullMethod: "/com.docker.api.containers.v1.Containers/Update",
  1636. }
  1637. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1638. return srv.(ContainersServer).Update(ctx, req.(*UpdateRequest))
  1639. }
  1640. return interceptor(ctx, in, info, handler)
  1641. }
  1642. func _Containers_Exec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1643. in := new(ExecRequest)
  1644. if err := dec(in); err != nil {
  1645. return nil, err
  1646. }
  1647. if interceptor == nil {
  1648. return srv.(ContainersServer).Exec(ctx, in)
  1649. }
  1650. info := &grpc.UnaryServerInfo{
  1651. Server: srv,
  1652. FullMethod: "/com.docker.api.containers.v1.Containers/Exec",
  1653. }
  1654. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1655. return srv.(ContainersServer).Exec(ctx, req.(*ExecRequest))
  1656. }
  1657. return interceptor(ctx, in, info, handler)
  1658. }
  1659. var _Containers_serviceDesc = grpc.ServiceDesc{
  1660. ServiceName: "com.docker.api.containers.v1.Containers",
  1661. HandlerType: (*ContainersServer)(nil),
  1662. Methods: []grpc.MethodDesc{
  1663. {
  1664. MethodName: "List",
  1665. Handler: _Containers_List_Handler,
  1666. },
  1667. {
  1668. MethodName: "Create",
  1669. Handler: _Containers_Create_Handler,
  1670. },
  1671. {
  1672. MethodName: "Start",
  1673. Handler: _Containers_Start_Handler,
  1674. },
  1675. {
  1676. MethodName: "Stop",
  1677. Handler: _Containers_Stop_Handler,
  1678. },
  1679. {
  1680. MethodName: "Kill",
  1681. Handler: _Containers_Kill_Handler,
  1682. },
  1683. {
  1684. MethodName: "Delete",
  1685. Handler: _Containers_Delete_Handler,
  1686. },
  1687. {
  1688. MethodName: "Update",
  1689. Handler: _Containers_Update_Handler,
  1690. },
  1691. {
  1692. MethodName: "Exec",
  1693. Handler: _Containers_Exec_Handler,
  1694. },
  1695. },
  1696. Streams: []grpc.StreamDesc{},
  1697. Metadata: "containers/v1/containers.proto",
  1698. }