containers.pb.go 69 KB

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