containers.pb.go 63 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792
  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. reflect "reflect"
  21. sync "sync"
  22. proto "github.com/golang/protobuf/proto"
  23. grpc "google.golang.org/grpc"
  24. codes "google.golang.org/grpc/codes"
  25. status "google.golang.org/grpc/status"
  26. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  27. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  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 StopRequest 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. Timeout uint32 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
  390. }
  391. func (x *StopRequest) Reset() {
  392. *x = StopRequest{}
  393. if protoimpl.UnsafeEnabled {
  394. mi := &file_protos_containers_v1_containers_proto_msgTypes[6]
  395. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  396. ms.StoreMessageInfo(mi)
  397. }
  398. }
  399. func (x *StopRequest) String() string {
  400. return protoimpl.X.MessageStringOf(x)
  401. }
  402. func (*StopRequest) ProtoMessage() {}
  403. func (x *StopRequest) ProtoReflect() protoreflect.Message {
  404. mi := &file_protos_containers_v1_containers_proto_msgTypes[6]
  405. if protoimpl.UnsafeEnabled && x != nil {
  406. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  407. if ms.LoadMessageInfo() == nil {
  408. ms.StoreMessageInfo(mi)
  409. }
  410. return ms
  411. }
  412. return mi.MessageOf(x)
  413. }
  414. // Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.
  415. func (*StopRequest) Descriptor() ([]byte, []int) {
  416. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{6}
  417. }
  418. func (x *StopRequest) GetId() string {
  419. if x != nil {
  420. return x.Id
  421. }
  422. return ""
  423. }
  424. func (x *StopRequest) GetTimeout() uint32 {
  425. if x != nil {
  426. return x.Timeout
  427. }
  428. return 0
  429. }
  430. type StopResponse struct {
  431. state protoimpl.MessageState
  432. sizeCache protoimpl.SizeCache
  433. unknownFields protoimpl.UnknownFields
  434. }
  435. func (x *StopResponse) Reset() {
  436. *x = StopResponse{}
  437. if protoimpl.UnsafeEnabled {
  438. mi := &file_protos_containers_v1_containers_proto_msgTypes[7]
  439. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  440. ms.StoreMessageInfo(mi)
  441. }
  442. }
  443. func (x *StopResponse) String() string {
  444. return protoimpl.X.MessageStringOf(x)
  445. }
  446. func (*StopResponse) ProtoMessage() {}
  447. func (x *StopResponse) ProtoReflect() protoreflect.Message {
  448. mi := &file_protos_containers_v1_containers_proto_msgTypes[7]
  449. if protoimpl.UnsafeEnabled && x != nil {
  450. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  451. if ms.LoadMessageInfo() == nil {
  452. ms.StoreMessageInfo(mi)
  453. }
  454. return ms
  455. }
  456. return mi.MessageOf(x)
  457. }
  458. // Deprecated: Use StopResponse.ProtoReflect.Descriptor instead.
  459. func (*StopResponse) Descriptor() ([]byte, []int) {
  460. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{7}
  461. }
  462. type RunRequest struct {
  463. state protoimpl.MessageState
  464. sizeCache protoimpl.SizeCache
  465. unknownFields protoimpl.UnknownFields
  466. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  467. Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
  468. Ports []*Port `protobuf:"bytes,3,rep,name=ports,proto3" json:"ports,omitempty"`
  469. 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"`
  470. Volumes []string `protobuf:"bytes,5,rep,name=volumes,proto3" json:"volumes,omitempty"`
  471. MemoryLimit uint64 `protobuf:"varint,6,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
  472. CpuLimit uint64 `protobuf:"varint,7,opt,name=cpu_limit,json=cpuLimit,proto3" json:"cpu_limit,omitempty"`
  473. RestartPolicyCondition string `protobuf:"bytes,8,opt,name=restart_policy_condition,json=restartPolicyCondition,proto3" json:"restart_policy_condition,omitempty"`
  474. }
  475. func (x *RunRequest) Reset() {
  476. *x = RunRequest{}
  477. if protoimpl.UnsafeEnabled {
  478. mi := &file_protos_containers_v1_containers_proto_msgTypes[8]
  479. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  480. ms.StoreMessageInfo(mi)
  481. }
  482. }
  483. func (x *RunRequest) String() string {
  484. return protoimpl.X.MessageStringOf(x)
  485. }
  486. func (*RunRequest) ProtoMessage() {}
  487. func (x *RunRequest) ProtoReflect() protoreflect.Message {
  488. mi := &file_protos_containers_v1_containers_proto_msgTypes[8]
  489. if protoimpl.UnsafeEnabled && x != nil {
  490. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  491. if ms.LoadMessageInfo() == nil {
  492. ms.StoreMessageInfo(mi)
  493. }
  494. return ms
  495. }
  496. return mi.MessageOf(x)
  497. }
  498. // Deprecated: Use RunRequest.ProtoReflect.Descriptor instead.
  499. func (*RunRequest) Descriptor() ([]byte, []int) {
  500. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{8}
  501. }
  502. func (x *RunRequest) GetId() string {
  503. if x != nil {
  504. return x.Id
  505. }
  506. return ""
  507. }
  508. func (x *RunRequest) GetImage() string {
  509. if x != nil {
  510. return x.Image
  511. }
  512. return ""
  513. }
  514. func (x *RunRequest) GetPorts() []*Port {
  515. if x != nil {
  516. return x.Ports
  517. }
  518. return nil
  519. }
  520. func (x *RunRequest) GetLabels() map[string]string {
  521. if x != nil {
  522. return x.Labels
  523. }
  524. return nil
  525. }
  526. func (x *RunRequest) GetVolumes() []string {
  527. if x != nil {
  528. return x.Volumes
  529. }
  530. return nil
  531. }
  532. func (x *RunRequest) GetMemoryLimit() uint64 {
  533. if x != nil {
  534. return x.MemoryLimit
  535. }
  536. return 0
  537. }
  538. func (x *RunRequest) GetCpuLimit() uint64 {
  539. if x != nil {
  540. return x.CpuLimit
  541. }
  542. return 0
  543. }
  544. func (x *RunRequest) GetRestartPolicyCondition() string {
  545. if x != nil {
  546. return x.RestartPolicyCondition
  547. }
  548. return ""
  549. }
  550. type RunResponse struct {
  551. state protoimpl.MessageState
  552. sizeCache protoimpl.SizeCache
  553. unknownFields protoimpl.UnknownFields
  554. }
  555. func (x *RunResponse) Reset() {
  556. *x = RunResponse{}
  557. if protoimpl.UnsafeEnabled {
  558. mi := &file_protos_containers_v1_containers_proto_msgTypes[9]
  559. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  560. ms.StoreMessageInfo(mi)
  561. }
  562. }
  563. func (x *RunResponse) String() string {
  564. return protoimpl.X.MessageStringOf(x)
  565. }
  566. func (*RunResponse) ProtoMessage() {}
  567. func (x *RunResponse) ProtoReflect() protoreflect.Message {
  568. mi := &file_protos_containers_v1_containers_proto_msgTypes[9]
  569. if protoimpl.UnsafeEnabled && x != nil {
  570. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  571. if ms.LoadMessageInfo() == nil {
  572. ms.StoreMessageInfo(mi)
  573. }
  574. return ms
  575. }
  576. return mi.MessageOf(x)
  577. }
  578. // Deprecated: Use RunResponse.ProtoReflect.Descriptor instead.
  579. func (*RunResponse) Descriptor() ([]byte, []int) {
  580. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{9}
  581. }
  582. type ExecRequest struct {
  583. state protoimpl.MessageState
  584. sizeCache protoimpl.SizeCache
  585. unknownFields protoimpl.UnknownFields
  586. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  587. Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
  588. StreamId string `protobuf:"bytes,3,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
  589. Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
  590. Env []string `protobuf:"bytes,5,rep,name=env,proto3" json:"env,omitempty"`
  591. Tty bool `protobuf:"varint,6,opt,name=tty,proto3" json:"tty,omitempty"`
  592. }
  593. func (x *ExecRequest) Reset() {
  594. *x = ExecRequest{}
  595. if protoimpl.UnsafeEnabled {
  596. mi := &file_protos_containers_v1_containers_proto_msgTypes[10]
  597. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  598. ms.StoreMessageInfo(mi)
  599. }
  600. }
  601. func (x *ExecRequest) String() string {
  602. return protoimpl.X.MessageStringOf(x)
  603. }
  604. func (*ExecRequest) ProtoMessage() {}
  605. func (x *ExecRequest) ProtoReflect() protoreflect.Message {
  606. mi := &file_protos_containers_v1_containers_proto_msgTypes[10]
  607. if protoimpl.UnsafeEnabled && x != nil {
  608. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  609. if ms.LoadMessageInfo() == nil {
  610. ms.StoreMessageInfo(mi)
  611. }
  612. return ms
  613. }
  614. return mi.MessageOf(x)
  615. }
  616. // Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead.
  617. func (*ExecRequest) Descriptor() ([]byte, []int) {
  618. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{10}
  619. }
  620. func (x *ExecRequest) GetId() string {
  621. if x != nil {
  622. return x.Id
  623. }
  624. return ""
  625. }
  626. func (x *ExecRequest) GetCommand() string {
  627. if x != nil {
  628. return x.Command
  629. }
  630. return ""
  631. }
  632. func (x *ExecRequest) GetStreamId() string {
  633. if x != nil {
  634. return x.StreamId
  635. }
  636. return ""
  637. }
  638. func (x *ExecRequest) GetArgs() []string {
  639. if x != nil {
  640. return x.Args
  641. }
  642. return nil
  643. }
  644. func (x *ExecRequest) GetEnv() []string {
  645. if x != nil {
  646. return x.Env
  647. }
  648. return nil
  649. }
  650. func (x *ExecRequest) GetTty() bool {
  651. if x != nil {
  652. return x.Tty
  653. }
  654. return false
  655. }
  656. type ExecResponse struct {
  657. state protoimpl.MessageState
  658. sizeCache protoimpl.SizeCache
  659. unknownFields protoimpl.UnknownFields
  660. Output []byte `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
  661. }
  662. func (x *ExecResponse) Reset() {
  663. *x = ExecResponse{}
  664. if protoimpl.UnsafeEnabled {
  665. mi := &file_protos_containers_v1_containers_proto_msgTypes[11]
  666. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  667. ms.StoreMessageInfo(mi)
  668. }
  669. }
  670. func (x *ExecResponse) String() string {
  671. return protoimpl.X.MessageStringOf(x)
  672. }
  673. func (*ExecResponse) ProtoMessage() {}
  674. func (x *ExecResponse) ProtoReflect() protoreflect.Message {
  675. mi := &file_protos_containers_v1_containers_proto_msgTypes[11]
  676. if protoimpl.UnsafeEnabled && x != nil {
  677. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  678. if ms.LoadMessageInfo() == nil {
  679. ms.StoreMessageInfo(mi)
  680. }
  681. return ms
  682. }
  683. return mi.MessageOf(x)
  684. }
  685. // Deprecated: Use ExecResponse.ProtoReflect.Descriptor instead.
  686. func (*ExecResponse) Descriptor() ([]byte, []int) {
  687. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{11}
  688. }
  689. func (x *ExecResponse) GetOutput() []byte {
  690. if x != nil {
  691. return x.Output
  692. }
  693. return nil
  694. }
  695. type ListRequest struct {
  696. state protoimpl.MessageState
  697. sizeCache protoimpl.SizeCache
  698. unknownFields protoimpl.UnknownFields
  699. All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
  700. }
  701. func (x *ListRequest) Reset() {
  702. *x = ListRequest{}
  703. if protoimpl.UnsafeEnabled {
  704. mi := &file_protos_containers_v1_containers_proto_msgTypes[12]
  705. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  706. ms.StoreMessageInfo(mi)
  707. }
  708. }
  709. func (x *ListRequest) String() string {
  710. return protoimpl.X.MessageStringOf(x)
  711. }
  712. func (*ListRequest) ProtoMessage() {}
  713. func (x *ListRequest) ProtoReflect() protoreflect.Message {
  714. mi := &file_protos_containers_v1_containers_proto_msgTypes[12]
  715. if protoimpl.UnsafeEnabled && x != nil {
  716. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  717. if ms.LoadMessageInfo() == nil {
  718. ms.StoreMessageInfo(mi)
  719. }
  720. return ms
  721. }
  722. return mi.MessageOf(x)
  723. }
  724. // Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
  725. func (*ListRequest) Descriptor() ([]byte, []int) {
  726. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{12}
  727. }
  728. func (x *ListRequest) GetAll() bool {
  729. if x != nil {
  730. return x.All
  731. }
  732. return false
  733. }
  734. type ListResponse struct {
  735. state protoimpl.MessageState
  736. sizeCache protoimpl.SizeCache
  737. unknownFields protoimpl.UnknownFields
  738. Containers []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"`
  739. }
  740. func (x *ListResponse) Reset() {
  741. *x = ListResponse{}
  742. if protoimpl.UnsafeEnabled {
  743. mi := &file_protos_containers_v1_containers_proto_msgTypes[13]
  744. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  745. ms.StoreMessageInfo(mi)
  746. }
  747. }
  748. func (x *ListResponse) String() string {
  749. return protoimpl.X.MessageStringOf(x)
  750. }
  751. func (*ListResponse) ProtoMessage() {}
  752. func (x *ListResponse) ProtoReflect() protoreflect.Message {
  753. mi := &file_protos_containers_v1_containers_proto_msgTypes[13]
  754. if protoimpl.UnsafeEnabled && x != nil {
  755. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  756. if ms.LoadMessageInfo() == nil {
  757. ms.StoreMessageInfo(mi)
  758. }
  759. return ms
  760. }
  761. return mi.MessageOf(x)
  762. }
  763. // Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
  764. func (*ListResponse) Descriptor() ([]byte, []int) {
  765. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{13}
  766. }
  767. func (x *ListResponse) GetContainers() []*Container {
  768. if x != nil {
  769. return x.Containers
  770. }
  771. return nil
  772. }
  773. type LogsRequest struct {
  774. state protoimpl.MessageState
  775. sizeCache protoimpl.SizeCache
  776. unknownFields protoimpl.UnknownFields
  777. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
  778. Follow bool `protobuf:"varint,3,opt,name=follow,proto3" json:"follow,omitempty"`
  779. }
  780. func (x *LogsRequest) Reset() {
  781. *x = LogsRequest{}
  782. if protoimpl.UnsafeEnabled {
  783. mi := &file_protos_containers_v1_containers_proto_msgTypes[14]
  784. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  785. ms.StoreMessageInfo(mi)
  786. }
  787. }
  788. func (x *LogsRequest) String() string {
  789. return protoimpl.X.MessageStringOf(x)
  790. }
  791. func (*LogsRequest) ProtoMessage() {}
  792. func (x *LogsRequest) ProtoReflect() protoreflect.Message {
  793. mi := &file_protos_containers_v1_containers_proto_msgTypes[14]
  794. if protoimpl.UnsafeEnabled && x != nil {
  795. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  796. if ms.LoadMessageInfo() == nil {
  797. ms.StoreMessageInfo(mi)
  798. }
  799. return ms
  800. }
  801. return mi.MessageOf(x)
  802. }
  803. // Deprecated: Use LogsRequest.ProtoReflect.Descriptor instead.
  804. func (*LogsRequest) Descriptor() ([]byte, []int) {
  805. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{14}
  806. }
  807. func (x *LogsRequest) GetContainerId() string {
  808. if x != nil {
  809. return x.ContainerId
  810. }
  811. return ""
  812. }
  813. func (x *LogsRequest) GetFollow() bool {
  814. if x != nil {
  815. return x.Follow
  816. }
  817. return false
  818. }
  819. type LogsResponse struct {
  820. state protoimpl.MessageState
  821. sizeCache protoimpl.SizeCache
  822. unknownFields protoimpl.UnknownFields
  823. Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  824. }
  825. func (x *LogsResponse) Reset() {
  826. *x = LogsResponse{}
  827. if protoimpl.UnsafeEnabled {
  828. mi := &file_protos_containers_v1_containers_proto_msgTypes[15]
  829. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  830. ms.StoreMessageInfo(mi)
  831. }
  832. }
  833. func (x *LogsResponse) String() string {
  834. return protoimpl.X.MessageStringOf(x)
  835. }
  836. func (*LogsResponse) ProtoMessage() {}
  837. func (x *LogsResponse) ProtoReflect() protoreflect.Message {
  838. mi := &file_protos_containers_v1_containers_proto_msgTypes[15]
  839. if protoimpl.UnsafeEnabled && x != nil {
  840. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  841. if ms.LoadMessageInfo() == nil {
  842. ms.StoreMessageInfo(mi)
  843. }
  844. return ms
  845. }
  846. return mi.MessageOf(x)
  847. }
  848. // Deprecated: Use LogsResponse.ProtoReflect.Descriptor instead.
  849. func (*LogsResponse) Descriptor() ([]byte, []int) {
  850. return file_protos_containers_v1_containers_proto_rawDescGZIP(), []int{15}
  851. }
  852. func (x *LogsResponse) GetValue() []byte {
  853. if x != nil {
  854. return x.Value
  855. }
  856. return nil
  857. }
  858. var File_protos_containers_v1_containers_proto protoreflect.FileDescriptor
  859. var file_protos_containers_v1_containers_proto_rawDesc = []byte{
  860. 0x0a, 0x25, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
  861. 0x65, 0x72, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
  862. 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63,
  863. 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63,
  864. 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x7f, 0x0a, 0x04,
  865. 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x6f, 0x72,
  866. 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x50, 0x6f, 0x72,
  867. 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x70,
  868. 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61,
  869. 0x69, 0x6e, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74,
  870. 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74,
  871. 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x70, 0x18,
  872. 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x70, 0x22, 0xd2, 0x03,
  873. 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69,
  874. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69,
  875. 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67,
  876. 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
  877. 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d,
  878. 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d,
  879. 0x61, 0x6e, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x70, 0x75, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
  880. 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x70, 0x75, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21,
  881. 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06,
  882. 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x61, 0x67,
  883. 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69,
  884. 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4c,
  885. 0x69, 0x6d, 0x69, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x69, 0x64, 0x73, 0x5f, 0x63, 0x75, 0x72,
  886. 0x72, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x69, 0x64, 0x73,
  887. 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x69, 0x64, 0x73, 0x5f,
  888. 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x70, 0x69, 0x64,
  889. 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
  890. 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x3f,
  891. 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e,
  892. 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70,
  893. 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73,
  894. 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12,
  895. 0x1b, 0x0a, 0x09, 0x63, 0x70, 0x75, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0c, 0x20, 0x01,
  896. 0x28, 0x04, 0x52, 0x08, 0x63, 0x70, 0x75, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1a, 0x0a, 0x08,
  897. 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  898. 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x38, 0x0a, 0x18, 0x72, 0x65, 0x73, 0x74,
  899. 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69,
  900. 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x73, 0x74,
  901. 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69,
  902. 0x6f, 0x6e, 0x22, 0x20, 0x0a, 0x0e, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71,
  903. 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  904. 0x52, 0x02, 0x69, 0x64, 0x22, 0x5f, 0x0a, 0x0f, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52,
  905. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61,
  906. 0x69, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d,
  907. 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  908. 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31,
  909. 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74,
  910. 0x61, 0x69, 0x6e, 0x65, 0x72, 0x22, 0x35, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52,
  911. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  912. 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18,
  913. 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x10, 0x0a, 0x0e,
  914. 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37,
  915. 0x0a, 0x0b, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a,
  916. 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a,
  917. 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07,
  918. 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x0e, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x70, 0x52,
  919. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x97, 0x03, 0x0a, 0x0a, 0x52, 0x75, 0x6e, 0x52,
  920. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  921. 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18,
  922. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x3f, 0x0a, 0x05,
  923. 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6f,
  924. 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f,
  925. 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76,
  926. 0x31, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x53, 0x0a,
  927. 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e,
  928. 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70,
  929. 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73,
  930. 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c,
  931. 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65,
  932. 0x6c, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20,
  933. 0x03, 0x28, 0x09, 0x52, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c,
  934. 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01,
  935. 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12,
  936. 0x1b, 0x0a, 0x09, 0x63, 0x70, 0x75, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01,
  937. 0x28, 0x04, 0x52, 0x08, 0x63, 0x70, 0x75, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x38, 0x0a, 0x18,
  938. 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x63,
  939. 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16,
  940. 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e,
  941. 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,
  942. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
  943. 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  944. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
  945. 0x01, 0x22, 0x0d, 0x0a, 0x0b, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  946. 0x22, 0x8c, 0x01, 0x0a, 0x0b, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  947. 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
  948. 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  949. 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74,
  950. 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73,
  951. 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18,
  952. 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x65,
  953. 0x6e, 0x76, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, 0x10, 0x0a,
  954. 0x03, 0x74, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x74, 0x74, 0x79, 0x22,
  955. 0x26, 0x0a, 0x0c, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  956. 0x16, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
  957. 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22, 0x1f, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52,
  958. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x01, 0x20,
  959. 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x22, 0x5e, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74,
  960. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74,
  961. 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63,
  962. 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72,
  963. 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e,
  964. 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x0a, 0x63, 0x6f,
  965. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x22, 0x48, 0x0a, 0x0b, 0x4c, 0x6f, 0x67, 0x73,
  966. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61,
  967. 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63,
  968. 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f,
  969. 0x6c, 0x6c, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x66, 0x6f, 0x6c, 0x6c,
  970. 0x6f, 0x77, 0x22, 0x24, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  971. 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  972. 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x32, 0x95, 0x06, 0x0a, 0x0a, 0x43, 0x6f, 0x6e,
  973. 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x6b, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12,
  974. 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69,
  975. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
  976. 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  977. 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61,
  978. 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69,
  979. 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70,
  980. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x04, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x30, 0x2e, 0x63,
  981. 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72,
  982. 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e,
  983. 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31,
  984. 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  985. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
  986. 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  987. 0x65, 0x12, 0x68, 0x0a, 0x03, 0x52, 0x75, 0x6e, 0x12, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64,
  988. 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
  989. 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52,
  990. 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e,
  991. 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  992. 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e,
  993. 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x04, 0x45,
  994. 0x78, 0x65, 0x63, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72,
  995. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74,
  996. 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65,
  997. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b,
  998. 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f,
  999. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63,
  1000. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6d, 0x0a, 0x04, 0x4c, 0x6f, 0x67, 0x73,
  1001. 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70,
  1002. 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
  1003. 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
  1004. 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e,
  1005. 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61,
  1006. 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73,
  1007. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x71, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74,
  1008. 0x65, 0x12, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61,
  1009. 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69,
  1010. 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65,
  1011. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b,
  1012. 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f,
  1013. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65,
  1014. 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x07, 0x49, 0x6e,
  1015. 0x73, 0x70, 0x65, 0x63, 0x74, 0x12, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b,
  1016. 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f,
  1017. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x70,
  1018. 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x6f, 0x6d,
  1019. 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1020. 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31,
  1021. 0x2e, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1022. 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64,
  1023. 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
  1024. 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x76,
  1025. 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1026. }
  1027. var (
  1028. file_protos_containers_v1_containers_proto_rawDescOnce sync.Once
  1029. file_protos_containers_v1_containers_proto_rawDescData = file_protos_containers_v1_containers_proto_rawDesc
  1030. )
  1031. func file_protos_containers_v1_containers_proto_rawDescGZIP() []byte {
  1032. file_protos_containers_v1_containers_proto_rawDescOnce.Do(func() {
  1033. file_protos_containers_v1_containers_proto_rawDescData = protoimpl.X.CompressGZIP(file_protos_containers_v1_containers_proto_rawDescData)
  1034. })
  1035. return file_protos_containers_v1_containers_proto_rawDescData
  1036. }
  1037. var file_protos_containers_v1_containers_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
  1038. var file_protos_containers_v1_containers_proto_goTypes = []interface{}{
  1039. (*Port)(nil), // 0: com.docker.api.protos.containers.v1.Port
  1040. (*Container)(nil), // 1: com.docker.api.protos.containers.v1.Container
  1041. (*InspectRequest)(nil), // 2: com.docker.api.protos.containers.v1.InspectRequest
  1042. (*InspectResponse)(nil), // 3: com.docker.api.protos.containers.v1.InspectResponse
  1043. (*DeleteRequest)(nil), // 4: com.docker.api.protos.containers.v1.DeleteRequest
  1044. (*DeleteResponse)(nil), // 5: com.docker.api.protos.containers.v1.DeleteResponse
  1045. (*StopRequest)(nil), // 6: com.docker.api.protos.containers.v1.StopRequest
  1046. (*StopResponse)(nil), // 7: com.docker.api.protos.containers.v1.StopResponse
  1047. (*RunRequest)(nil), // 8: com.docker.api.protos.containers.v1.RunRequest
  1048. (*RunResponse)(nil), // 9: com.docker.api.protos.containers.v1.RunResponse
  1049. (*ExecRequest)(nil), // 10: com.docker.api.protos.containers.v1.ExecRequest
  1050. (*ExecResponse)(nil), // 11: com.docker.api.protos.containers.v1.ExecResponse
  1051. (*ListRequest)(nil), // 12: com.docker.api.protos.containers.v1.ListRequest
  1052. (*ListResponse)(nil), // 13: com.docker.api.protos.containers.v1.ListResponse
  1053. (*LogsRequest)(nil), // 14: com.docker.api.protos.containers.v1.LogsRequest
  1054. (*LogsResponse)(nil), // 15: com.docker.api.protos.containers.v1.LogsResponse
  1055. nil, // 16: com.docker.api.protos.containers.v1.RunRequest.LabelsEntry
  1056. }
  1057. var file_protos_containers_v1_containers_proto_depIdxs = []int32{
  1058. 0, // 0: com.docker.api.protos.containers.v1.Container.ports:type_name -> com.docker.api.protos.containers.v1.Port
  1059. 1, // 1: com.docker.api.protos.containers.v1.InspectResponse.container:type_name -> com.docker.api.protos.containers.v1.Container
  1060. 0, // 2: com.docker.api.protos.containers.v1.RunRequest.ports:type_name -> com.docker.api.protos.containers.v1.Port
  1061. 16, // 3: com.docker.api.protos.containers.v1.RunRequest.labels:type_name -> com.docker.api.protos.containers.v1.RunRequest.LabelsEntry
  1062. 1, // 4: com.docker.api.protos.containers.v1.ListResponse.containers:type_name -> com.docker.api.protos.containers.v1.Container
  1063. 12, // 5: com.docker.api.protos.containers.v1.Containers.List:input_type -> com.docker.api.protos.containers.v1.ListRequest
  1064. 6, // 6: com.docker.api.protos.containers.v1.Containers.Stop:input_type -> com.docker.api.protos.containers.v1.StopRequest
  1065. 8, // 7: com.docker.api.protos.containers.v1.Containers.Run:input_type -> com.docker.api.protos.containers.v1.RunRequest
  1066. 10, // 8: com.docker.api.protos.containers.v1.Containers.Exec:input_type -> com.docker.api.protos.containers.v1.ExecRequest
  1067. 14, // 9: com.docker.api.protos.containers.v1.Containers.Logs:input_type -> com.docker.api.protos.containers.v1.LogsRequest
  1068. 4, // 10: com.docker.api.protos.containers.v1.Containers.Delete:input_type -> com.docker.api.protos.containers.v1.DeleteRequest
  1069. 2, // 11: com.docker.api.protos.containers.v1.Containers.Inspect:input_type -> com.docker.api.protos.containers.v1.InspectRequest
  1070. 13, // 12: com.docker.api.protos.containers.v1.Containers.List:output_type -> com.docker.api.protos.containers.v1.ListResponse
  1071. 7, // 13: com.docker.api.protos.containers.v1.Containers.Stop:output_type -> com.docker.api.protos.containers.v1.StopResponse
  1072. 9, // 14: com.docker.api.protos.containers.v1.Containers.Run:output_type -> com.docker.api.protos.containers.v1.RunResponse
  1073. 11, // 15: com.docker.api.protos.containers.v1.Containers.Exec:output_type -> com.docker.api.protos.containers.v1.ExecResponse
  1074. 15, // 16: com.docker.api.protos.containers.v1.Containers.Logs:output_type -> com.docker.api.protos.containers.v1.LogsResponse
  1075. 5, // 17: com.docker.api.protos.containers.v1.Containers.Delete:output_type -> com.docker.api.protos.containers.v1.DeleteResponse
  1076. 3, // 18: com.docker.api.protos.containers.v1.Containers.Inspect:output_type -> com.docker.api.protos.containers.v1.InspectResponse
  1077. 12, // [12:19] is the sub-list for method output_type
  1078. 5, // [5:12] is the sub-list for method input_type
  1079. 5, // [5:5] is the sub-list for extension type_name
  1080. 5, // [5:5] is the sub-list for extension extendee
  1081. 0, // [0:5] is the sub-list for field type_name
  1082. }
  1083. func init() { file_protos_containers_v1_containers_proto_init() }
  1084. func file_protos_containers_v1_containers_proto_init() {
  1085. if File_protos_containers_v1_containers_proto != nil {
  1086. return
  1087. }
  1088. if !protoimpl.UnsafeEnabled {
  1089. file_protos_containers_v1_containers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1090. switch v := v.(*Port); i {
  1091. case 0:
  1092. return &v.state
  1093. case 1:
  1094. return &v.sizeCache
  1095. case 2:
  1096. return &v.unknownFields
  1097. default:
  1098. return nil
  1099. }
  1100. }
  1101. file_protos_containers_v1_containers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1102. switch v := v.(*Container); i {
  1103. case 0:
  1104. return &v.state
  1105. case 1:
  1106. return &v.sizeCache
  1107. case 2:
  1108. return &v.unknownFields
  1109. default:
  1110. return nil
  1111. }
  1112. }
  1113. file_protos_containers_v1_containers_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1114. switch v := v.(*InspectRequest); i {
  1115. case 0:
  1116. return &v.state
  1117. case 1:
  1118. return &v.sizeCache
  1119. case 2:
  1120. return &v.unknownFields
  1121. default:
  1122. return nil
  1123. }
  1124. }
  1125. file_protos_containers_v1_containers_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1126. switch v := v.(*InspectResponse); i {
  1127. case 0:
  1128. return &v.state
  1129. case 1:
  1130. return &v.sizeCache
  1131. case 2:
  1132. return &v.unknownFields
  1133. default:
  1134. return nil
  1135. }
  1136. }
  1137. file_protos_containers_v1_containers_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1138. switch v := v.(*DeleteRequest); i {
  1139. case 0:
  1140. return &v.state
  1141. case 1:
  1142. return &v.sizeCache
  1143. case 2:
  1144. return &v.unknownFields
  1145. default:
  1146. return nil
  1147. }
  1148. }
  1149. file_protos_containers_v1_containers_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1150. switch v := v.(*DeleteResponse); i {
  1151. case 0:
  1152. return &v.state
  1153. case 1:
  1154. return &v.sizeCache
  1155. case 2:
  1156. return &v.unknownFields
  1157. default:
  1158. return nil
  1159. }
  1160. }
  1161. file_protos_containers_v1_containers_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1162. switch v := v.(*StopRequest); i {
  1163. case 0:
  1164. return &v.state
  1165. case 1:
  1166. return &v.sizeCache
  1167. case 2:
  1168. return &v.unknownFields
  1169. default:
  1170. return nil
  1171. }
  1172. }
  1173. file_protos_containers_v1_containers_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1174. switch v := v.(*StopResponse); i {
  1175. case 0:
  1176. return &v.state
  1177. case 1:
  1178. return &v.sizeCache
  1179. case 2:
  1180. return &v.unknownFields
  1181. default:
  1182. return nil
  1183. }
  1184. }
  1185. file_protos_containers_v1_containers_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1186. switch v := v.(*RunRequest); i {
  1187. case 0:
  1188. return &v.state
  1189. case 1:
  1190. return &v.sizeCache
  1191. case 2:
  1192. return &v.unknownFields
  1193. default:
  1194. return nil
  1195. }
  1196. }
  1197. file_protos_containers_v1_containers_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1198. switch v := v.(*RunResponse); i {
  1199. case 0:
  1200. return &v.state
  1201. case 1:
  1202. return &v.sizeCache
  1203. case 2:
  1204. return &v.unknownFields
  1205. default:
  1206. return nil
  1207. }
  1208. }
  1209. file_protos_containers_v1_containers_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1210. switch v := v.(*ExecRequest); i {
  1211. case 0:
  1212. return &v.state
  1213. case 1:
  1214. return &v.sizeCache
  1215. case 2:
  1216. return &v.unknownFields
  1217. default:
  1218. return nil
  1219. }
  1220. }
  1221. file_protos_containers_v1_containers_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1222. switch v := v.(*ExecResponse); i {
  1223. case 0:
  1224. return &v.state
  1225. case 1:
  1226. return &v.sizeCache
  1227. case 2:
  1228. return &v.unknownFields
  1229. default:
  1230. return nil
  1231. }
  1232. }
  1233. file_protos_containers_v1_containers_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1234. switch v := v.(*ListRequest); i {
  1235. case 0:
  1236. return &v.state
  1237. case 1:
  1238. return &v.sizeCache
  1239. case 2:
  1240. return &v.unknownFields
  1241. default:
  1242. return nil
  1243. }
  1244. }
  1245. file_protos_containers_v1_containers_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1246. switch v := v.(*ListResponse); i {
  1247. case 0:
  1248. return &v.state
  1249. case 1:
  1250. return &v.sizeCache
  1251. case 2:
  1252. return &v.unknownFields
  1253. default:
  1254. return nil
  1255. }
  1256. }
  1257. file_protos_containers_v1_containers_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1258. switch v := v.(*LogsRequest); i {
  1259. case 0:
  1260. return &v.state
  1261. case 1:
  1262. return &v.sizeCache
  1263. case 2:
  1264. return &v.unknownFields
  1265. default:
  1266. return nil
  1267. }
  1268. }
  1269. file_protos_containers_v1_containers_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1270. switch v := v.(*LogsResponse); i {
  1271. case 0:
  1272. return &v.state
  1273. case 1:
  1274. return &v.sizeCache
  1275. case 2:
  1276. return &v.unknownFields
  1277. default:
  1278. return nil
  1279. }
  1280. }
  1281. }
  1282. type x struct{}
  1283. out := protoimpl.TypeBuilder{
  1284. File: protoimpl.DescBuilder{
  1285. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1286. RawDescriptor: file_protos_containers_v1_containers_proto_rawDesc,
  1287. NumEnums: 0,
  1288. NumMessages: 17,
  1289. NumExtensions: 0,
  1290. NumServices: 1,
  1291. },
  1292. GoTypes: file_protos_containers_v1_containers_proto_goTypes,
  1293. DependencyIndexes: file_protos_containers_v1_containers_proto_depIdxs,
  1294. MessageInfos: file_protos_containers_v1_containers_proto_msgTypes,
  1295. }.Build()
  1296. File_protos_containers_v1_containers_proto = out.File
  1297. file_protos_containers_v1_containers_proto_rawDesc = nil
  1298. file_protos_containers_v1_containers_proto_goTypes = nil
  1299. file_protos_containers_v1_containers_proto_depIdxs = nil
  1300. }
  1301. // Reference imports to suppress errors if they are not otherwise used.
  1302. var _ context.Context
  1303. var _ grpc.ClientConnInterface
  1304. // This is a compile-time assertion to ensure that this generated file
  1305. // is compatible with the grpc package it is being compiled against.
  1306. const _ = grpc.SupportPackageIsVersion6
  1307. // ContainersClient is the client API for Containers service.
  1308. //
  1309. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1310. type ContainersClient interface {
  1311. List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
  1312. Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error)
  1313. Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error)
  1314. Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error)
  1315. Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (Containers_LogsClient, error)
  1316. Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
  1317. Inspect(ctx context.Context, in *InspectRequest, opts ...grpc.CallOption) (*InspectResponse, error)
  1318. }
  1319. type containersClient struct {
  1320. cc grpc.ClientConnInterface
  1321. }
  1322. func NewContainersClient(cc grpc.ClientConnInterface) ContainersClient {
  1323. return &containersClient{cc}
  1324. }
  1325. func (c *containersClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) {
  1326. out := new(ListResponse)
  1327. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/List", in, out, opts...)
  1328. if err != nil {
  1329. return nil, err
  1330. }
  1331. return out, nil
  1332. }
  1333. func (c *containersClient) Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error) {
  1334. out := new(StopResponse)
  1335. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Stop", in, out, opts...)
  1336. if err != nil {
  1337. return nil, err
  1338. }
  1339. return out, nil
  1340. }
  1341. func (c *containersClient) Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error) {
  1342. out := new(RunResponse)
  1343. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Run", in, out, opts...)
  1344. if err != nil {
  1345. return nil, err
  1346. }
  1347. return out, nil
  1348. }
  1349. func (c *containersClient) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) {
  1350. out := new(ExecResponse)
  1351. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Exec", in, out, opts...)
  1352. if err != nil {
  1353. return nil, err
  1354. }
  1355. return out, nil
  1356. }
  1357. func (c *containersClient) Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (Containers_LogsClient, error) {
  1358. stream, err := c.cc.NewStream(ctx, &_Containers_serviceDesc.Streams[0], "/com.docker.api.protos.containers.v1.Containers/Logs", opts...)
  1359. if err != nil {
  1360. return nil, err
  1361. }
  1362. x := &containersLogsClient{stream}
  1363. if err := x.ClientStream.SendMsg(in); err != nil {
  1364. return nil, err
  1365. }
  1366. if err := x.ClientStream.CloseSend(); err != nil {
  1367. return nil, err
  1368. }
  1369. return x, nil
  1370. }
  1371. type Containers_LogsClient interface {
  1372. Recv() (*LogsResponse, error)
  1373. grpc.ClientStream
  1374. }
  1375. type containersLogsClient struct {
  1376. grpc.ClientStream
  1377. }
  1378. func (x *containersLogsClient) Recv() (*LogsResponse, error) {
  1379. m := new(LogsResponse)
  1380. if err := x.ClientStream.RecvMsg(m); err != nil {
  1381. return nil, err
  1382. }
  1383. return m, nil
  1384. }
  1385. func (c *containersClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) {
  1386. out := new(DeleteResponse)
  1387. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Delete", in, out, opts...)
  1388. if err != nil {
  1389. return nil, err
  1390. }
  1391. return out, nil
  1392. }
  1393. func (c *containersClient) Inspect(ctx context.Context, in *InspectRequest, opts ...grpc.CallOption) (*InspectResponse, error) {
  1394. out := new(InspectResponse)
  1395. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Inspect", in, out, opts...)
  1396. if err != nil {
  1397. return nil, err
  1398. }
  1399. return out, nil
  1400. }
  1401. // ContainersServer is the server API for Containers service.
  1402. type ContainersServer interface {
  1403. List(context.Context, *ListRequest) (*ListResponse, error)
  1404. Stop(context.Context, *StopRequest) (*StopResponse, error)
  1405. Run(context.Context, *RunRequest) (*RunResponse, error)
  1406. Exec(context.Context, *ExecRequest) (*ExecResponse, error)
  1407. Logs(*LogsRequest, Containers_LogsServer) error
  1408. Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
  1409. Inspect(context.Context, *InspectRequest) (*InspectResponse, error)
  1410. }
  1411. // UnimplementedContainersServer can be embedded to have forward compatible implementations.
  1412. type UnimplementedContainersServer struct {
  1413. }
  1414. func (*UnimplementedContainersServer) List(context.Context, *ListRequest) (*ListResponse, error) {
  1415. return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
  1416. }
  1417. func (*UnimplementedContainersServer) Stop(context.Context, *StopRequest) (*StopResponse, error) {
  1418. return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented")
  1419. }
  1420. func (*UnimplementedContainersServer) Run(context.Context, *RunRequest) (*RunResponse, error) {
  1421. return nil, status.Errorf(codes.Unimplemented, "method Run not implemented")
  1422. }
  1423. func (*UnimplementedContainersServer) Exec(context.Context, *ExecRequest) (*ExecResponse, error) {
  1424. return nil, status.Errorf(codes.Unimplemented, "method Exec not implemented")
  1425. }
  1426. func (*UnimplementedContainersServer) Logs(*LogsRequest, Containers_LogsServer) error {
  1427. return status.Errorf(codes.Unimplemented, "method Logs not implemented")
  1428. }
  1429. func (*UnimplementedContainersServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) {
  1430. return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
  1431. }
  1432. func (*UnimplementedContainersServer) Inspect(context.Context, *InspectRequest) (*InspectResponse, error) {
  1433. return nil, status.Errorf(codes.Unimplemented, "method Inspect not implemented")
  1434. }
  1435. func RegisterContainersServer(s *grpc.Server, srv ContainersServer) {
  1436. s.RegisterService(&_Containers_serviceDesc, srv)
  1437. }
  1438. func _Containers_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1439. in := new(ListRequest)
  1440. if err := dec(in); err != nil {
  1441. return nil, err
  1442. }
  1443. if interceptor == nil {
  1444. return srv.(ContainersServer).List(ctx, in)
  1445. }
  1446. info := &grpc.UnaryServerInfo{
  1447. Server: srv,
  1448. FullMethod: "/com.docker.api.protos.containers.v1.Containers/List",
  1449. }
  1450. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1451. return srv.(ContainersServer).List(ctx, req.(*ListRequest))
  1452. }
  1453. return interceptor(ctx, in, info, handler)
  1454. }
  1455. func _Containers_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1456. in := new(StopRequest)
  1457. if err := dec(in); err != nil {
  1458. return nil, err
  1459. }
  1460. if interceptor == nil {
  1461. return srv.(ContainersServer).Stop(ctx, in)
  1462. }
  1463. info := &grpc.UnaryServerInfo{
  1464. Server: srv,
  1465. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Stop",
  1466. }
  1467. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1468. return srv.(ContainersServer).Stop(ctx, req.(*StopRequest))
  1469. }
  1470. return interceptor(ctx, in, info, handler)
  1471. }
  1472. func _Containers_Run_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1473. in := new(RunRequest)
  1474. if err := dec(in); err != nil {
  1475. return nil, err
  1476. }
  1477. if interceptor == nil {
  1478. return srv.(ContainersServer).Run(ctx, in)
  1479. }
  1480. info := &grpc.UnaryServerInfo{
  1481. Server: srv,
  1482. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Run",
  1483. }
  1484. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1485. return srv.(ContainersServer).Run(ctx, req.(*RunRequest))
  1486. }
  1487. return interceptor(ctx, in, info, handler)
  1488. }
  1489. func _Containers_Exec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1490. in := new(ExecRequest)
  1491. if err := dec(in); err != nil {
  1492. return nil, err
  1493. }
  1494. if interceptor == nil {
  1495. return srv.(ContainersServer).Exec(ctx, in)
  1496. }
  1497. info := &grpc.UnaryServerInfo{
  1498. Server: srv,
  1499. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Exec",
  1500. }
  1501. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1502. return srv.(ContainersServer).Exec(ctx, req.(*ExecRequest))
  1503. }
  1504. return interceptor(ctx, in, info, handler)
  1505. }
  1506. func _Containers_Logs_Handler(srv interface{}, stream grpc.ServerStream) error {
  1507. m := new(LogsRequest)
  1508. if err := stream.RecvMsg(m); err != nil {
  1509. return err
  1510. }
  1511. return srv.(ContainersServer).Logs(m, &containersLogsServer{stream})
  1512. }
  1513. type Containers_LogsServer interface {
  1514. Send(*LogsResponse) error
  1515. grpc.ServerStream
  1516. }
  1517. type containersLogsServer struct {
  1518. grpc.ServerStream
  1519. }
  1520. func (x *containersLogsServer) Send(m *LogsResponse) error {
  1521. return x.ServerStream.SendMsg(m)
  1522. }
  1523. func _Containers_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1524. in := new(DeleteRequest)
  1525. if err := dec(in); err != nil {
  1526. return nil, err
  1527. }
  1528. if interceptor == nil {
  1529. return srv.(ContainersServer).Delete(ctx, in)
  1530. }
  1531. info := &grpc.UnaryServerInfo{
  1532. Server: srv,
  1533. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Delete",
  1534. }
  1535. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1536. return srv.(ContainersServer).Delete(ctx, req.(*DeleteRequest))
  1537. }
  1538. return interceptor(ctx, in, info, handler)
  1539. }
  1540. func _Containers_Inspect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1541. in := new(InspectRequest)
  1542. if err := dec(in); err != nil {
  1543. return nil, err
  1544. }
  1545. if interceptor == nil {
  1546. return srv.(ContainersServer).Inspect(ctx, in)
  1547. }
  1548. info := &grpc.UnaryServerInfo{
  1549. Server: srv,
  1550. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Inspect",
  1551. }
  1552. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1553. return srv.(ContainersServer).Inspect(ctx, req.(*InspectRequest))
  1554. }
  1555. return interceptor(ctx, in, info, handler)
  1556. }
  1557. var _Containers_serviceDesc = grpc.ServiceDesc{
  1558. ServiceName: "com.docker.api.protos.containers.v1.Containers",
  1559. HandlerType: (*ContainersServer)(nil),
  1560. Methods: []grpc.MethodDesc{
  1561. {
  1562. MethodName: "List",
  1563. Handler: _Containers_List_Handler,
  1564. },
  1565. {
  1566. MethodName: "Stop",
  1567. Handler: _Containers_Stop_Handler,
  1568. },
  1569. {
  1570. MethodName: "Run",
  1571. Handler: _Containers_Run_Handler,
  1572. },
  1573. {
  1574. MethodName: "Exec",
  1575. Handler: _Containers_Exec_Handler,
  1576. },
  1577. {
  1578. MethodName: "Delete",
  1579. Handler: _Containers_Delete_Handler,
  1580. },
  1581. {
  1582. MethodName: "Inspect",
  1583. Handler: _Containers_Inspect_Handler,
  1584. },
  1585. },
  1586. Streams: []grpc.StreamDesc{
  1587. {
  1588. StreamName: "Logs",
  1589. Handler: _Containers_Logs_Handler,
  1590. ServerStreams: true,
  1591. },
  1592. },
  1593. Metadata: "protos/containers/v1/containers.proto",
  1594. }