containers.pb.go 85 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367
  1. //
  2. // Copyright 2020 Docker Compose CLI authors
  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.13.0
  16. // source: cli/server/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_cli_server_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_cli_server_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_cli_server_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. PidsCurrent uint64 `protobuf:"varint,8,opt,name=pids_current,json=pidsCurrent,proto3" json:"pids_current,omitempty"`
  109. PidsLimit uint64 `protobuf:"varint,9,opt,name=pids_limit,json=pidsLimit,proto3" json:"pids_limit,omitempty"`
  110. Labels []string `protobuf:"bytes,10,rep,name=labels,proto3" json:"labels,omitempty"`
  111. Ports []*Port `protobuf:"bytes,11,rep,name=ports,proto3" json:"ports,omitempty"`
  112. Platform string `protobuf:"bytes,13,opt,name=platform,proto3" json:"platform,omitempty"`
  113. HostConfig *HostConfig `protobuf:"bytes,15,opt,name=host_config,json=hostConfig,proto3" json:"host_config,omitempty"`
  114. Healthcheck *Healthcheck `protobuf:"bytes,16,opt,name=healthcheck,proto3" json:"healthcheck,omitempty"`
  115. }
  116. func (x *Container) Reset() {
  117. *x = Container{}
  118. if protoimpl.UnsafeEnabled {
  119. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[1]
  120. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  121. ms.StoreMessageInfo(mi)
  122. }
  123. }
  124. func (x *Container) String() string {
  125. return protoimpl.X.MessageStringOf(x)
  126. }
  127. func (*Container) ProtoMessage() {}
  128. func (x *Container) ProtoReflect() protoreflect.Message {
  129. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[1]
  130. if protoimpl.UnsafeEnabled && x != nil {
  131. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  132. if ms.LoadMessageInfo() == nil {
  133. ms.StoreMessageInfo(mi)
  134. }
  135. return ms
  136. }
  137. return mi.MessageOf(x)
  138. }
  139. // Deprecated: Use Container.ProtoReflect.Descriptor instead.
  140. func (*Container) Descriptor() ([]byte, []int) {
  141. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{1}
  142. }
  143. func (x *Container) GetId() string {
  144. if x != nil {
  145. return x.Id
  146. }
  147. return ""
  148. }
  149. func (x *Container) GetImage() string {
  150. if x != nil {
  151. return x.Image
  152. }
  153. return ""
  154. }
  155. func (x *Container) GetStatus() string {
  156. if x != nil {
  157. return x.Status
  158. }
  159. return ""
  160. }
  161. func (x *Container) GetCommand() string {
  162. if x != nil {
  163. return x.Command
  164. }
  165. return ""
  166. }
  167. func (x *Container) GetCpuTime() uint64 {
  168. if x != nil {
  169. return x.CpuTime
  170. }
  171. return 0
  172. }
  173. func (x *Container) GetMemoryUsage() uint64 {
  174. if x != nil {
  175. return x.MemoryUsage
  176. }
  177. return 0
  178. }
  179. func (x *Container) GetPidsCurrent() uint64 {
  180. if x != nil {
  181. return x.PidsCurrent
  182. }
  183. return 0
  184. }
  185. func (x *Container) GetPidsLimit() uint64 {
  186. if x != nil {
  187. return x.PidsLimit
  188. }
  189. return 0
  190. }
  191. func (x *Container) GetLabels() []string {
  192. if x != nil {
  193. return x.Labels
  194. }
  195. return nil
  196. }
  197. func (x *Container) GetPorts() []*Port {
  198. if x != nil {
  199. return x.Ports
  200. }
  201. return nil
  202. }
  203. func (x *Container) GetPlatform() string {
  204. if x != nil {
  205. return x.Platform
  206. }
  207. return ""
  208. }
  209. func (x *Container) GetHostConfig() *HostConfig {
  210. if x != nil {
  211. return x.HostConfig
  212. }
  213. return nil
  214. }
  215. func (x *Container) GetHealthcheck() *Healthcheck {
  216. if x != nil {
  217. return x.Healthcheck
  218. }
  219. return nil
  220. }
  221. type HostConfig struct {
  222. state protoimpl.MessageState
  223. sizeCache protoimpl.SizeCache
  224. unknownFields protoimpl.UnknownFields
  225. MemoryReservation uint64 `protobuf:"varint,1,opt,name=memory_reservation,json=memoryReservation,proto3" json:"memory_reservation,omitempty"`
  226. MemoryLimit uint64 `protobuf:"varint,2,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
  227. CpuReservation uint64 `protobuf:"varint,3,opt,name=cpu_reservation,json=cpuReservation,proto3" json:"cpu_reservation,omitempty"`
  228. CpuLimit uint64 `protobuf:"varint,4,opt,name=cpu_limit,json=cpuLimit,proto3" json:"cpu_limit,omitempty"`
  229. RestartPolicy string `protobuf:"bytes,5,opt,name=restart_policy,json=restartPolicy,proto3" json:"restart_policy,omitempty"`
  230. AutoRemove bool `protobuf:"varint,6,opt,name=auto_remove,json=autoRemove,proto3" json:"auto_remove,omitempty"`
  231. }
  232. func (x *HostConfig) Reset() {
  233. *x = HostConfig{}
  234. if protoimpl.UnsafeEnabled {
  235. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[2]
  236. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  237. ms.StoreMessageInfo(mi)
  238. }
  239. }
  240. func (x *HostConfig) String() string {
  241. return protoimpl.X.MessageStringOf(x)
  242. }
  243. func (*HostConfig) ProtoMessage() {}
  244. func (x *HostConfig) ProtoReflect() protoreflect.Message {
  245. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[2]
  246. if protoimpl.UnsafeEnabled && x != nil {
  247. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  248. if ms.LoadMessageInfo() == nil {
  249. ms.StoreMessageInfo(mi)
  250. }
  251. return ms
  252. }
  253. return mi.MessageOf(x)
  254. }
  255. // Deprecated: Use HostConfig.ProtoReflect.Descriptor instead.
  256. func (*HostConfig) Descriptor() ([]byte, []int) {
  257. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{2}
  258. }
  259. func (x *HostConfig) GetMemoryReservation() uint64 {
  260. if x != nil {
  261. return x.MemoryReservation
  262. }
  263. return 0
  264. }
  265. func (x *HostConfig) GetMemoryLimit() uint64 {
  266. if x != nil {
  267. return x.MemoryLimit
  268. }
  269. return 0
  270. }
  271. func (x *HostConfig) GetCpuReservation() uint64 {
  272. if x != nil {
  273. return x.CpuReservation
  274. }
  275. return 0
  276. }
  277. func (x *HostConfig) GetCpuLimit() uint64 {
  278. if x != nil {
  279. return x.CpuLimit
  280. }
  281. return 0
  282. }
  283. func (x *HostConfig) GetRestartPolicy() string {
  284. if x != nil {
  285. return x.RestartPolicy
  286. }
  287. return ""
  288. }
  289. func (x *HostConfig) GetAutoRemove() bool {
  290. if x != nil {
  291. return x.AutoRemove
  292. }
  293. return false
  294. }
  295. type Healthcheck struct {
  296. state protoimpl.MessageState
  297. sizeCache protoimpl.SizeCache
  298. unknownFields protoimpl.UnknownFields
  299. Disable bool `protobuf:"varint,1,opt,name=disable,proto3" json:"disable,omitempty"`
  300. Test []string `protobuf:"bytes,2,rep,name=test,proto3" json:"test,omitempty"`
  301. Interval int64 `protobuf:"varint,3,opt,name=interval,proto3" json:"interval,omitempty"`
  302. }
  303. func (x *Healthcheck) Reset() {
  304. *x = Healthcheck{}
  305. if protoimpl.UnsafeEnabled {
  306. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[3]
  307. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  308. ms.StoreMessageInfo(mi)
  309. }
  310. }
  311. func (x *Healthcheck) String() string {
  312. return protoimpl.X.MessageStringOf(x)
  313. }
  314. func (*Healthcheck) ProtoMessage() {}
  315. func (x *Healthcheck) ProtoReflect() protoreflect.Message {
  316. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[3]
  317. if protoimpl.UnsafeEnabled && x != nil {
  318. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  319. if ms.LoadMessageInfo() == nil {
  320. ms.StoreMessageInfo(mi)
  321. }
  322. return ms
  323. }
  324. return mi.MessageOf(x)
  325. }
  326. // Deprecated: Use Healthcheck.ProtoReflect.Descriptor instead.
  327. func (*Healthcheck) Descriptor() ([]byte, []int) {
  328. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{3}
  329. }
  330. func (x *Healthcheck) GetDisable() bool {
  331. if x != nil {
  332. return x.Disable
  333. }
  334. return false
  335. }
  336. func (x *Healthcheck) GetTest() []string {
  337. if x != nil {
  338. return x.Test
  339. }
  340. return nil
  341. }
  342. func (x *Healthcheck) GetInterval() int64 {
  343. if x != nil {
  344. return x.Interval
  345. }
  346. return 0
  347. }
  348. type InspectRequest struct {
  349. state protoimpl.MessageState
  350. sizeCache protoimpl.SizeCache
  351. unknownFields protoimpl.UnknownFields
  352. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  353. }
  354. func (x *InspectRequest) Reset() {
  355. *x = InspectRequest{}
  356. if protoimpl.UnsafeEnabled {
  357. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[4]
  358. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  359. ms.StoreMessageInfo(mi)
  360. }
  361. }
  362. func (x *InspectRequest) String() string {
  363. return protoimpl.X.MessageStringOf(x)
  364. }
  365. func (*InspectRequest) ProtoMessage() {}
  366. func (x *InspectRequest) ProtoReflect() protoreflect.Message {
  367. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[4]
  368. if protoimpl.UnsafeEnabled && x != nil {
  369. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  370. if ms.LoadMessageInfo() == nil {
  371. ms.StoreMessageInfo(mi)
  372. }
  373. return ms
  374. }
  375. return mi.MessageOf(x)
  376. }
  377. // Deprecated: Use InspectRequest.ProtoReflect.Descriptor instead.
  378. func (*InspectRequest) Descriptor() ([]byte, []int) {
  379. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{4}
  380. }
  381. func (x *InspectRequest) GetId() string {
  382. if x != nil {
  383. return x.Id
  384. }
  385. return ""
  386. }
  387. type InspectResponse struct {
  388. state protoimpl.MessageState
  389. sizeCache protoimpl.SizeCache
  390. unknownFields protoimpl.UnknownFields
  391. Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
  392. }
  393. func (x *InspectResponse) Reset() {
  394. *x = InspectResponse{}
  395. if protoimpl.UnsafeEnabled {
  396. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[5]
  397. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  398. ms.StoreMessageInfo(mi)
  399. }
  400. }
  401. func (x *InspectResponse) String() string {
  402. return protoimpl.X.MessageStringOf(x)
  403. }
  404. func (*InspectResponse) ProtoMessage() {}
  405. func (x *InspectResponse) ProtoReflect() protoreflect.Message {
  406. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[5]
  407. if protoimpl.UnsafeEnabled && x != nil {
  408. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  409. if ms.LoadMessageInfo() == nil {
  410. ms.StoreMessageInfo(mi)
  411. }
  412. return ms
  413. }
  414. return mi.MessageOf(x)
  415. }
  416. // Deprecated: Use InspectResponse.ProtoReflect.Descriptor instead.
  417. func (*InspectResponse) Descriptor() ([]byte, []int) {
  418. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{5}
  419. }
  420. func (x *InspectResponse) GetContainer() *Container {
  421. if x != nil {
  422. return x.Container
  423. }
  424. return nil
  425. }
  426. type DeleteRequest struct {
  427. state protoimpl.MessageState
  428. sizeCache protoimpl.SizeCache
  429. unknownFields protoimpl.UnknownFields
  430. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  431. Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
  432. }
  433. func (x *DeleteRequest) Reset() {
  434. *x = DeleteRequest{}
  435. if protoimpl.UnsafeEnabled {
  436. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[6]
  437. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  438. ms.StoreMessageInfo(mi)
  439. }
  440. }
  441. func (x *DeleteRequest) String() string {
  442. return protoimpl.X.MessageStringOf(x)
  443. }
  444. func (*DeleteRequest) ProtoMessage() {}
  445. func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
  446. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[6]
  447. if protoimpl.UnsafeEnabled && x != nil {
  448. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  449. if ms.LoadMessageInfo() == nil {
  450. ms.StoreMessageInfo(mi)
  451. }
  452. return ms
  453. }
  454. return mi.MessageOf(x)
  455. }
  456. // Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
  457. func (*DeleteRequest) Descriptor() ([]byte, []int) {
  458. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{6}
  459. }
  460. func (x *DeleteRequest) GetId() string {
  461. if x != nil {
  462. return x.Id
  463. }
  464. return ""
  465. }
  466. func (x *DeleteRequest) GetForce() bool {
  467. if x != nil {
  468. return x.Force
  469. }
  470. return false
  471. }
  472. type DeleteResponse struct {
  473. state protoimpl.MessageState
  474. sizeCache protoimpl.SizeCache
  475. unknownFields protoimpl.UnknownFields
  476. }
  477. func (x *DeleteResponse) Reset() {
  478. *x = DeleteResponse{}
  479. if protoimpl.UnsafeEnabled {
  480. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[7]
  481. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  482. ms.StoreMessageInfo(mi)
  483. }
  484. }
  485. func (x *DeleteResponse) String() string {
  486. return protoimpl.X.MessageStringOf(x)
  487. }
  488. func (*DeleteResponse) ProtoMessage() {}
  489. func (x *DeleteResponse) ProtoReflect() protoreflect.Message {
  490. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[7]
  491. if protoimpl.UnsafeEnabled && x != nil {
  492. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  493. if ms.LoadMessageInfo() == nil {
  494. ms.StoreMessageInfo(mi)
  495. }
  496. return ms
  497. }
  498. return mi.MessageOf(x)
  499. }
  500. // Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
  501. func (*DeleteResponse) Descriptor() ([]byte, []int) {
  502. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{7}
  503. }
  504. type StartRequest struct {
  505. state protoimpl.MessageState
  506. sizeCache protoimpl.SizeCache
  507. unknownFields protoimpl.UnknownFields
  508. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  509. }
  510. func (x *StartRequest) Reset() {
  511. *x = StartRequest{}
  512. if protoimpl.UnsafeEnabled {
  513. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[8]
  514. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  515. ms.StoreMessageInfo(mi)
  516. }
  517. }
  518. func (x *StartRequest) String() string {
  519. return protoimpl.X.MessageStringOf(x)
  520. }
  521. func (*StartRequest) ProtoMessage() {}
  522. func (x *StartRequest) ProtoReflect() protoreflect.Message {
  523. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[8]
  524. if protoimpl.UnsafeEnabled && x != nil {
  525. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  526. if ms.LoadMessageInfo() == nil {
  527. ms.StoreMessageInfo(mi)
  528. }
  529. return ms
  530. }
  531. return mi.MessageOf(x)
  532. }
  533. // Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.
  534. func (*StartRequest) Descriptor() ([]byte, []int) {
  535. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{8}
  536. }
  537. func (x *StartRequest) GetId() string {
  538. if x != nil {
  539. return x.Id
  540. }
  541. return ""
  542. }
  543. type StartResponse struct {
  544. state protoimpl.MessageState
  545. sizeCache protoimpl.SizeCache
  546. unknownFields protoimpl.UnknownFields
  547. }
  548. func (x *StartResponse) Reset() {
  549. *x = StartResponse{}
  550. if protoimpl.UnsafeEnabled {
  551. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[9]
  552. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  553. ms.StoreMessageInfo(mi)
  554. }
  555. }
  556. func (x *StartResponse) String() string {
  557. return protoimpl.X.MessageStringOf(x)
  558. }
  559. func (*StartResponse) ProtoMessage() {}
  560. func (x *StartResponse) ProtoReflect() protoreflect.Message {
  561. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[9]
  562. if protoimpl.UnsafeEnabled && x != nil {
  563. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  564. if ms.LoadMessageInfo() == nil {
  565. ms.StoreMessageInfo(mi)
  566. }
  567. return ms
  568. }
  569. return mi.MessageOf(x)
  570. }
  571. // Deprecated: Use StartResponse.ProtoReflect.Descriptor instead.
  572. func (*StartResponse) Descriptor() ([]byte, []int) {
  573. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{9}
  574. }
  575. type StopRequest struct {
  576. state protoimpl.MessageState
  577. sizeCache protoimpl.SizeCache
  578. unknownFields protoimpl.UnknownFields
  579. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  580. Timeout uint32 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
  581. }
  582. func (x *StopRequest) Reset() {
  583. *x = StopRequest{}
  584. if protoimpl.UnsafeEnabled {
  585. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[10]
  586. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  587. ms.StoreMessageInfo(mi)
  588. }
  589. }
  590. func (x *StopRequest) String() string {
  591. return protoimpl.X.MessageStringOf(x)
  592. }
  593. func (*StopRequest) ProtoMessage() {}
  594. func (x *StopRequest) ProtoReflect() protoreflect.Message {
  595. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[10]
  596. if protoimpl.UnsafeEnabled && x != nil {
  597. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  598. if ms.LoadMessageInfo() == nil {
  599. ms.StoreMessageInfo(mi)
  600. }
  601. return ms
  602. }
  603. return mi.MessageOf(x)
  604. }
  605. // Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.
  606. func (*StopRequest) Descriptor() ([]byte, []int) {
  607. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{10}
  608. }
  609. func (x *StopRequest) GetId() string {
  610. if x != nil {
  611. return x.Id
  612. }
  613. return ""
  614. }
  615. func (x *StopRequest) GetTimeout() uint32 {
  616. if x != nil {
  617. return x.Timeout
  618. }
  619. return 0
  620. }
  621. type StopResponse struct {
  622. state protoimpl.MessageState
  623. sizeCache protoimpl.SizeCache
  624. unknownFields protoimpl.UnknownFields
  625. }
  626. func (x *StopResponse) Reset() {
  627. *x = StopResponse{}
  628. if protoimpl.UnsafeEnabled {
  629. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[11]
  630. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  631. ms.StoreMessageInfo(mi)
  632. }
  633. }
  634. func (x *StopResponse) String() string {
  635. return protoimpl.X.MessageStringOf(x)
  636. }
  637. func (*StopResponse) ProtoMessage() {}
  638. func (x *StopResponse) ProtoReflect() protoreflect.Message {
  639. mi := &file_cli_server_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 StopResponse.ProtoReflect.Descriptor instead.
  650. func (*StopResponse) Descriptor() ([]byte, []int) {
  651. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{11}
  652. }
  653. type KillRequest 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. Signal string `protobuf:"bytes,2,opt,name=signal,proto3" json:"signal,omitempty"`
  659. }
  660. func (x *KillRequest) Reset() {
  661. *x = KillRequest{}
  662. if protoimpl.UnsafeEnabled {
  663. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[12]
  664. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  665. ms.StoreMessageInfo(mi)
  666. }
  667. }
  668. func (x *KillRequest) String() string {
  669. return protoimpl.X.MessageStringOf(x)
  670. }
  671. func (*KillRequest) ProtoMessage() {}
  672. func (x *KillRequest) ProtoReflect() protoreflect.Message {
  673. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[12]
  674. if protoimpl.UnsafeEnabled && x != nil {
  675. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  676. if ms.LoadMessageInfo() == nil {
  677. ms.StoreMessageInfo(mi)
  678. }
  679. return ms
  680. }
  681. return mi.MessageOf(x)
  682. }
  683. // Deprecated: Use KillRequest.ProtoReflect.Descriptor instead.
  684. func (*KillRequest) Descriptor() ([]byte, []int) {
  685. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{12}
  686. }
  687. func (x *KillRequest) GetId() string {
  688. if x != nil {
  689. return x.Id
  690. }
  691. return ""
  692. }
  693. func (x *KillRequest) GetSignal() string {
  694. if x != nil {
  695. return x.Signal
  696. }
  697. return ""
  698. }
  699. type KillResponse struct {
  700. state protoimpl.MessageState
  701. sizeCache protoimpl.SizeCache
  702. unknownFields protoimpl.UnknownFields
  703. }
  704. func (x *KillResponse) Reset() {
  705. *x = KillResponse{}
  706. if protoimpl.UnsafeEnabled {
  707. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[13]
  708. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  709. ms.StoreMessageInfo(mi)
  710. }
  711. }
  712. func (x *KillResponse) String() string {
  713. return protoimpl.X.MessageStringOf(x)
  714. }
  715. func (*KillResponse) ProtoMessage() {}
  716. func (x *KillResponse) ProtoReflect() protoreflect.Message {
  717. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[13]
  718. if protoimpl.UnsafeEnabled && x != nil {
  719. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  720. if ms.LoadMessageInfo() == nil {
  721. ms.StoreMessageInfo(mi)
  722. }
  723. return ms
  724. }
  725. return mi.MessageOf(x)
  726. }
  727. // Deprecated: Use KillResponse.ProtoReflect.Descriptor instead.
  728. func (*KillResponse) Descriptor() ([]byte, []int) {
  729. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{13}
  730. }
  731. type RunRequest struct {
  732. state protoimpl.MessageState
  733. sizeCache protoimpl.SizeCache
  734. unknownFields protoimpl.UnknownFields
  735. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  736. Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
  737. Ports []*Port `protobuf:"bytes,3,rep,name=ports,proto3" json:"ports,omitempty"`
  738. 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"`
  739. Volumes []string `protobuf:"bytes,5,rep,name=volumes,proto3" json:"volumes,omitempty"`
  740. MemoryLimit uint64 `protobuf:"varint,6,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
  741. CpuLimit uint64 `protobuf:"varint,7,opt,name=cpu_limit,json=cpuLimit,proto3" json:"cpu_limit,omitempty"`
  742. RestartPolicyCondition string `protobuf:"bytes,8,opt,name=restart_policy_condition,json=restartPolicyCondition,proto3" json:"restart_policy_condition,omitempty"`
  743. Command []string `protobuf:"bytes,9,rep,name=command,proto3" json:"command,omitempty"`
  744. Environment []string `protobuf:"bytes,10,rep,name=environment,proto3" json:"environment,omitempty"`
  745. AutoRemove bool `protobuf:"varint,11,opt,name=auto_remove,json=autoRemove,proto3" json:"auto_remove,omitempty"`
  746. Healthcheck *Healthcheck `protobuf:"bytes,12,opt,name=healthcheck,proto3" json:"healthcheck,omitempty"`
  747. Platform string `protobuf:"bytes,13,opt,name=platform,proto3" json:"platform,omitempty"`
  748. }
  749. func (x *RunRequest) Reset() {
  750. *x = RunRequest{}
  751. if protoimpl.UnsafeEnabled {
  752. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[14]
  753. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  754. ms.StoreMessageInfo(mi)
  755. }
  756. }
  757. func (x *RunRequest) String() string {
  758. return protoimpl.X.MessageStringOf(x)
  759. }
  760. func (*RunRequest) ProtoMessage() {}
  761. func (x *RunRequest) ProtoReflect() protoreflect.Message {
  762. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[14]
  763. if protoimpl.UnsafeEnabled && x != nil {
  764. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  765. if ms.LoadMessageInfo() == nil {
  766. ms.StoreMessageInfo(mi)
  767. }
  768. return ms
  769. }
  770. return mi.MessageOf(x)
  771. }
  772. // Deprecated: Use RunRequest.ProtoReflect.Descriptor instead.
  773. func (*RunRequest) Descriptor() ([]byte, []int) {
  774. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{14}
  775. }
  776. func (x *RunRequest) GetId() string {
  777. if x != nil {
  778. return x.Id
  779. }
  780. return ""
  781. }
  782. func (x *RunRequest) GetImage() string {
  783. if x != nil {
  784. return x.Image
  785. }
  786. return ""
  787. }
  788. func (x *RunRequest) GetPorts() []*Port {
  789. if x != nil {
  790. return x.Ports
  791. }
  792. return nil
  793. }
  794. func (x *RunRequest) GetLabels() map[string]string {
  795. if x != nil {
  796. return x.Labels
  797. }
  798. return nil
  799. }
  800. func (x *RunRequest) GetVolumes() []string {
  801. if x != nil {
  802. return x.Volumes
  803. }
  804. return nil
  805. }
  806. func (x *RunRequest) GetMemoryLimit() uint64 {
  807. if x != nil {
  808. return x.MemoryLimit
  809. }
  810. return 0
  811. }
  812. func (x *RunRequest) GetCpuLimit() uint64 {
  813. if x != nil {
  814. return x.CpuLimit
  815. }
  816. return 0
  817. }
  818. func (x *RunRequest) GetRestartPolicyCondition() string {
  819. if x != nil {
  820. return x.RestartPolicyCondition
  821. }
  822. return ""
  823. }
  824. func (x *RunRequest) GetCommand() []string {
  825. if x != nil {
  826. return x.Command
  827. }
  828. return nil
  829. }
  830. func (x *RunRequest) GetEnvironment() []string {
  831. if x != nil {
  832. return x.Environment
  833. }
  834. return nil
  835. }
  836. func (x *RunRequest) GetAutoRemove() bool {
  837. if x != nil {
  838. return x.AutoRemove
  839. }
  840. return false
  841. }
  842. func (x *RunRequest) GetHealthcheck() *Healthcheck {
  843. if x != nil {
  844. return x.Healthcheck
  845. }
  846. return nil
  847. }
  848. func (x *RunRequest) GetPlatform() string {
  849. if x != nil {
  850. return x.Platform
  851. }
  852. return ""
  853. }
  854. type RunResponse struct {
  855. state protoimpl.MessageState
  856. sizeCache protoimpl.SizeCache
  857. unknownFields protoimpl.UnknownFields
  858. }
  859. func (x *RunResponse) Reset() {
  860. *x = RunResponse{}
  861. if protoimpl.UnsafeEnabled {
  862. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[15]
  863. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  864. ms.StoreMessageInfo(mi)
  865. }
  866. }
  867. func (x *RunResponse) String() string {
  868. return protoimpl.X.MessageStringOf(x)
  869. }
  870. func (*RunResponse) ProtoMessage() {}
  871. func (x *RunResponse) ProtoReflect() protoreflect.Message {
  872. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[15]
  873. if protoimpl.UnsafeEnabled && x != nil {
  874. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  875. if ms.LoadMessageInfo() == nil {
  876. ms.StoreMessageInfo(mi)
  877. }
  878. return ms
  879. }
  880. return mi.MessageOf(x)
  881. }
  882. // Deprecated: Use RunResponse.ProtoReflect.Descriptor instead.
  883. func (*RunResponse) Descriptor() ([]byte, []int) {
  884. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{15}
  885. }
  886. type ExecRequest struct {
  887. state protoimpl.MessageState
  888. sizeCache protoimpl.SizeCache
  889. unknownFields protoimpl.UnknownFields
  890. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  891. Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
  892. StreamId string `protobuf:"bytes,3,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
  893. Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
  894. Env []string `protobuf:"bytes,5,rep,name=env,proto3" json:"env,omitempty"`
  895. Tty bool `protobuf:"varint,6,opt,name=tty,proto3" json:"tty,omitempty"`
  896. }
  897. func (x *ExecRequest) Reset() {
  898. *x = ExecRequest{}
  899. if protoimpl.UnsafeEnabled {
  900. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[16]
  901. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  902. ms.StoreMessageInfo(mi)
  903. }
  904. }
  905. func (x *ExecRequest) String() string {
  906. return protoimpl.X.MessageStringOf(x)
  907. }
  908. func (*ExecRequest) ProtoMessage() {}
  909. func (x *ExecRequest) ProtoReflect() protoreflect.Message {
  910. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[16]
  911. if protoimpl.UnsafeEnabled && x != nil {
  912. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  913. if ms.LoadMessageInfo() == nil {
  914. ms.StoreMessageInfo(mi)
  915. }
  916. return ms
  917. }
  918. return mi.MessageOf(x)
  919. }
  920. // Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead.
  921. func (*ExecRequest) Descriptor() ([]byte, []int) {
  922. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{16}
  923. }
  924. func (x *ExecRequest) GetId() string {
  925. if x != nil {
  926. return x.Id
  927. }
  928. return ""
  929. }
  930. func (x *ExecRequest) GetCommand() string {
  931. if x != nil {
  932. return x.Command
  933. }
  934. return ""
  935. }
  936. func (x *ExecRequest) GetStreamId() string {
  937. if x != nil {
  938. return x.StreamId
  939. }
  940. return ""
  941. }
  942. func (x *ExecRequest) GetArgs() []string {
  943. if x != nil {
  944. return x.Args
  945. }
  946. return nil
  947. }
  948. func (x *ExecRequest) GetEnv() []string {
  949. if x != nil {
  950. return x.Env
  951. }
  952. return nil
  953. }
  954. func (x *ExecRequest) GetTty() bool {
  955. if x != nil {
  956. return x.Tty
  957. }
  958. return false
  959. }
  960. type ExecResponse struct {
  961. state protoimpl.MessageState
  962. sizeCache protoimpl.SizeCache
  963. unknownFields protoimpl.UnknownFields
  964. Output []byte `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
  965. }
  966. func (x *ExecResponse) Reset() {
  967. *x = ExecResponse{}
  968. if protoimpl.UnsafeEnabled {
  969. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[17]
  970. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  971. ms.StoreMessageInfo(mi)
  972. }
  973. }
  974. func (x *ExecResponse) String() string {
  975. return protoimpl.X.MessageStringOf(x)
  976. }
  977. func (*ExecResponse) ProtoMessage() {}
  978. func (x *ExecResponse) ProtoReflect() protoreflect.Message {
  979. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[17]
  980. if protoimpl.UnsafeEnabled && x != nil {
  981. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  982. if ms.LoadMessageInfo() == nil {
  983. ms.StoreMessageInfo(mi)
  984. }
  985. return ms
  986. }
  987. return mi.MessageOf(x)
  988. }
  989. // Deprecated: Use ExecResponse.ProtoReflect.Descriptor instead.
  990. func (*ExecResponse) Descriptor() ([]byte, []int) {
  991. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{17}
  992. }
  993. func (x *ExecResponse) GetOutput() []byte {
  994. if x != nil {
  995. return x.Output
  996. }
  997. return nil
  998. }
  999. type ListRequest struct {
  1000. state protoimpl.MessageState
  1001. sizeCache protoimpl.SizeCache
  1002. unknownFields protoimpl.UnknownFields
  1003. All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
  1004. }
  1005. func (x *ListRequest) Reset() {
  1006. *x = ListRequest{}
  1007. if protoimpl.UnsafeEnabled {
  1008. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[18]
  1009. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1010. ms.StoreMessageInfo(mi)
  1011. }
  1012. }
  1013. func (x *ListRequest) String() string {
  1014. return protoimpl.X.MessageStringOf(x)
  1015. }
  1016. func (*ListRequest) ProtoMessage() {}
  1017. func (x *ListRequest) ProtoReflect() protoreflect.Message {
  1018. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[18]
  1019. if protoimpl.UnsafeEnabled && x != nil {
  1020. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1021. if ms.LoadMessageInfo() == nil {
  1022. ms.StoreMessageInfo(mi)
  1023. }
  1024. return ms
  1025. }
  1026. return mi.MessageOf(x)
  1027. }
  1028. // Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
  1029. func (*ListRequest) Descriptor() ([]byte, []int) {
  1030. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{18}
  1031. }
  1032. func (x *ListRequest) GetAll() bool {
  1033. if x != nil {
  1034. return x.All
  1035. }
  1036. return false
  1037. }
  1038. type ListResponse struct {
  1039. state protoimpl.MessageState
  1040. sizeCache protoimpl.SizeCache
  1041. unknownFields protoimpl.UnknownFields
  1042. Containers []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"`
  1043. }
  1044. func (x *ListResponse) Reset() {
  1045. *x = ListResponse{}
  1046. if protoimpl.UnsafeEnabled {
  1047. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[19]
  1048. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1049. ms.StoreMessageInfo(mi)
  1050. }
  1051. }
  1052. func (x *ListResponse) String() string {
  1053. return protoimpl.X.MessageStringOf(x)
  1054. }
  1055. func (*ListResponse) ProtoMessage() {}
  1056. func (x *ListResponse) ProtoReflect() protoreflect.Message {
  1057. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[19]
  1058. if protoimpl.UnsafeEnabled && x != nil {
  1059. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1060. if ms.LoadMessageInfo() == nil {
  1061. ms.StoreMessageInfo(mi)
  1062. }
  1063. return ms
  1064. }
  1065. return mi.MessageOf(x)
  1066. }
  1067. // Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
  1068. func (*ListResponse) Descriptor() ([]byte, []int) {
  1069. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{19}
  1070. }
  1071. func (x *ListResponse) GetContainers() []*Container {
  1072. if x != nil {
  1073. return x.Containers
  1074. }
  1075. return nil
  1076. }
  1077. type LogsRequest struct {
  1078. state protoimpl.MessageState
  1079. sizeCache protoimpl.SizeCache
  1080. unknownFields protoimpl.UnknownFields
  1081. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
  1082. Follow bool `protobuf:"varint,3,opt,name=follow,proto3" json:"follow,omitempty"`
  1083. }
  1084. func (x *LogsRequest) Reset() {
  1085. *x = LogsRequest{}
  1086. if protoimpl.UnsafeEnabled {
  1087. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[20]
  1088. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1089. ms.StoreMessageInfo(mi)
  1090. }
  1091. }
  1092. func (x *LogsRequest) String() string {
  1093. return protoimpl.X.MessageStringOf(x)
  1094. }
  1095. func (*LogsRequest) ProtoMessage() {}
  1096. func (x *LogsRequest) ProtoReflect() protoreflect.Message {
  1097. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[20]
  1098. if protoimpl.UnsafeEnabled && x != nil {
  1099. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1100. if ms.LoadMessageInfo() == nil {
  1101. ms.StoreMessageInfo(mi)
  1102. }
  1103. return ms
  1104. }
  1105. return mi.MessageOf(x)
  1106. }
  1107. // Deprecated: Use LogsRequest.ProtoReflect.Descriptor instead.
  1108. func (*LogsRequest) Descriptor() ([]byte, []int) {
  1109. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{20}
  1110. }
  1111. func (x *LogsRequest) GetContainerId() string {
  1112. if x != nil {
  1113. return x.ContainerId
  1114. }
  1115. return ""
  1116. }
  1117. func (x *LogsRequest) GetFollow() bool {
  1118. if x != nil {
  1119. return x.Follow
  1120. }
  1121. return false
  1122. }
  1123. type LogsResponse struct {
  1124. state protoimpl.MessageState
  1125. sizeCache protoimpl.SizeCache
  1126. unknownFields protoimpl.UnknownFields
  1127. Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  1128. }
  1129. func (x *LogsResponse) Reset() {
  1130. *x = LogsResponse{}
  1131. if protoimpl.UnsafeEnabled {
  1132. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[21]
  1133. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1134. ms.StoreMessageInfo(mi)
  1135. }
  1136. }
  1137. func (x *LogsResponse) String() string {
  1138. return protoimpl.X.MessageStringOf(x)
  1139. }
  1140. func (*LogsResponse) ProtoMessage() {}
  1141. func (x *LogsResponse) ProtoReflect() protoreflect.Message {
  1142. mi := &file_cli_server_protos_containers_v1_containers_proto_msgTypes[21]
  1143. if protoimpl.UnsafeEnabled && x != nil {
  1144. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1145. if ms.LoadMessageInfo() == nil {
  1146. ms.StoreMessageInfo(mi)
  1147. }
  1148. return ms
  1149. }
  1150. return mi.MessageOf(x)
  1151. }
  1152. // Deprecated: Use LogsResponse.ProtoReflect.Descriptor instead.
  1153. func (*LogsResponse) Descriptor() ([]byte, []int) {
  1154. return file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP(), []int{21}
  1155. }
  1156. func (x *LogsResponse) GetValue() []byte {
  1157. if x != nil {
  1158. return x.Value
  1159. }
  1160. return nil
  1161. }
  1162. var File_cli_server_protos_containers_v1_containers_proto protoreflect.FileDescriptor
  1163. var file_cli_server_protos_containers_v1_containers_proto_rawDesc = []byte{
  1164. 0x0a, 0x30, 0x63, 0x6c, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f,
  1165. 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2f, 0x76,
  1166. 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f,
  1167. 0x74, 0x6f, 0x12, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61,
  1168. 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69,
  1169. 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x7f, 0x0a, 0x04, 0x50, 0x6f, 0x72, 0x74, 0x12,
  1170. 0x1b, 0x0a, 0x09, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01,
  1171. 0x28, 0x0d, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x25, 0x0a, 0x0e,
  1172. 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02,
  1173. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x50,
  1174. 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18,
  1175. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12,
  1176. 0x17, 0x0a, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
  1177. 0x52, 0x06, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x70, 0x22, 0xfe, 0x03, 0x0a, 0x09, 0x43, 0x6f, 0x6e,
  1178. 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1179. 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18,
  1180. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06,
  1181. 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74,
  1182. 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18,
  1183. 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x19,
  1184. 0x0a, 0x08, 0x63, 0x70, 0x75, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04,
  1185. 0x52, 0x07, 0x63, 0x70, 0x75, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x6d,
  1186. 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52,
  1187. 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c,
  1188. 0x70, 0x69, 0x64, 0x73, 0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01,
  1189. 0x28, 0x04, 0x52, 0x0b, 0x70, 0x69, 0x64, 0x73, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12,
  1190. 0x1d, 0x0a, 0x0a, 0x70, 0x69, 0x64, 0x73, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x09, 0x20,
  1191. 0x01, 0x28, 0x04, 0x52, 0x09, 0x70, 0x69, 0x64, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16,
  1192. 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06,
  1193. 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x3f, 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18,
  1194. 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b,
  1195. 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f,
  1196. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x72, 0x74,
  1197. 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66,
  1198. 0x6f, 0x72, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66,
  1199. 0x6f, 0x72, 0x6d, 0x12, 0x50, 0x0a, 0x0b, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
  1200. 0x69, 0x67, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64,
  1201. 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
  1202. 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48,
  1203. 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0a, 0x68, 0x6f, 0x73, 0x74, 0x43,
  1204. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x52, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63,
  1205. 0x68, 0x65, 0x63, 0x6b, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d,
  1206. 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1207. 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31,
  1208. 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x0b, 0x68, 0x65,
  1209. 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x22, 0xec, 0x01, 0x0a, 0x0a, 0x48, 0x6f,
  1210. 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2d, 0x0a, 0x12, 0x6d, 0x65, 0x6d, 0x6f,
  1211. 0x72, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01,
  1212. 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x65,
  1213. 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72,
  1214. 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d,
  1215. 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x70,
  1216. 0x75, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
  1217. 0x01, 0x28, 0x04, 0x52, 0x0e, 0x63, 0x70, 0x75, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74,
  1218. 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x70, 0x75, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74,
  1219. 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x63, 0x70, 0x75, 0x4c, 0x69, 0x6d, 0x69, 0x74,
  1220. 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69,
  1221. 0x63, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72,
  1222. 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x6f, 0x5f,
  1223. 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x75,
  1224. 0x74, 0x6f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x22, 0x57, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x6c,
  1225. 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x61, 0x62,
  1226. 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c,
  1227. 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52,
  1228. 0x04, 0x74, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
  1229. 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
  1230. 0x6c, 0x22, 0x20, 0x0a, 0x0e, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75,
  1231. 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  1232. 0x02, 0x69, 0x64, 0x22, 0x5f, 0x0a, 0x0f, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x65,
  1233. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69,
  1234. 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e,
  1235. 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1236. 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e,
  1237. 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61,
  1238. 0x69, 0x6e, 0x65, 0x72, 0x22, 0x35, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65,
  1239. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1240. 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02,
  1241. 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x44,
  1242. 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x0a,
  1243. 0x0c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a,
  1244. 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x0f, 0x0a,
  1245. 0x0d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37,
  1246. 0x0a, 0x0b, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a,
  1247. 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a,
  1248. 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07,
  1249. 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x0e, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x70, 0x52,
  1250. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0x0a, 0x0b, 0x4b, 0x69, 0x6c, 0x6c, 0x52,
  1251. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1252. 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c,
  1253. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x22, 0x0e,
  1254. 0x0a, 0x0c, 0x4b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe4,
  1255. 0x04, 0x0a, 0x0a, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a,
  1256. 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a,
  1257. 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d,
  1258. 0x61, 0x67, 0x65, 0x12, 0x3f, 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03,
  1259. 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e,
  1260. 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61,
  1261. 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x05, 0x70,
  1262. 0x6f, 0x72, 0x74, 0x73, 0x12, 0x53, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04,
  1263. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65,
  1264. 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e,
  1265. 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x52, 0x65,
  1266. 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72,
  1267. 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x6f, 0x6c,
  1268. 0x75, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x76, 0x6f, 0x6c, 0x75,
  1269. 0x6d, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6c, 0x69,
  1270. 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72,
  1271. 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x70, 0x75, 0x5f, 0x6c, 0x69,
  1272. 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x63, 0x70, 0x75, 0x4c, 0x69,
  1273. 0x6d, 0x69, 0x74, 0x12, 0x38, 0x0a, 0x18, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70,
  1274. 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18,
  1275. 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f,
  1276. 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a,
  1277. 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07,
  1278. 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72,
  1279. 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x6e,
  1280. 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x75, 0x74,
  1281. 0x6f, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a,
  1282. 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x52, 0x0a, 0x0b, 0x68, 0x65,
  1283. 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1284. 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69,
  1285. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
  1286. 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63,
  1287. 0x6b, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x1a,
  1288. 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,
  1289. 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61,
  1290. 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
  1291. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
  1292. 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
  1293. 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x0d, 0x0a, 0x0b, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x70,
  1294. 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x0b, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x71,
  1295. 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  1296. 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18,
  1297. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1b,
  1298. 0x0a, 0x09, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
  1299. 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x61,
  1300. 0x72, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12,
  1301. 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e,
  1302. 0x76, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03,
  1303. 0x74, 0x74, 0x79, 0x22, 0x26, 0x0a, 0x0c, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f,
  1304. 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x01, 0x20,
  1305. 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22, 0x1f, 0x0a, 0x0b, 0x4c,
  1306. 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c,
  1307. 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x22, 0x5e, 0x0a, 0x0c,
  1308. 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0a,
  1309. 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
  1310. 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70,
  1311. 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
  1312. 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
  1313. 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x22, 0x48, 0x0a, 0x0b,
  1314. 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63,
  1315. 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1316. 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16,
  1317. 0x0a, 0x06, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06,
  1318. 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x22, 0x24, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65,
  1319. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
  1320. 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x32, 0xf2, 0x07, 0x0a,
  1321. 0x0a, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x6b, 0x0a, 0x04, 0x4c,
  1322. 0x69, 0x73, 0x74, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72,
  1323. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74,
  1324. 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
  1325. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b,
  1326. 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f,
  1327. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,
  1328. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x72,
  1329. 0x74, 0x12, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61,
  1330. 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69,
  1331. 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71,
  1332. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65,
  1333. 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e,
  1334. 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74,
  1335. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x04, 0x53, 0x74, 0x6f, 0x70,
  1336. 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70,
  1337. 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
  1338. 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,
  1339. 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e,
  1340. 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61,
  1341. 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x73,
  1342. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x04, 0x4b, 0x69, 0x6c, 0x6c, 0x12, 0x30, 0x2e,
  1343. 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70,
  1344. 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73,
  1345. 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  1346. 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69,
  1347. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
  1348. 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  1349. 0x73, 0x65, 0x12, 0x68, 0x0a, 0x03, 0x52, 0x75, 0x6e, 0x12, 0x2f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e,
  1350. 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1351. 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e,
  1352. 0x52, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x6f, 0x6d,
  1353. 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1354. 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31,
  1355. 0x2e, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x04,
  1356. 0x45, 0x78, 0x65, 0x63, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65,
  1357. 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e,
  1358. 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x52,
  1359. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63,
  1360. 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63,
  1361. 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65,
  1362. 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6d, 0x0a, 0x04, 0x4c, 0x6f, 0x67,
  1363. 0x73, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61,
  1364. 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69,
  1365. 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75,
  1366. 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72,
  1367. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74,
  1368. 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65,
  1369. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x71, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65,
  1370. 0x74, 0x65, 0x12, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e,
  1371. 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61,
  1372. 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52,
  1373. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63,
  1374. 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63,
  1375. 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c,
  1376. 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x07, 0x49,
  1377. 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x12, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63,
  1378. 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63,
  1379. 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73,
  1380. 0x70, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x6f,
  1381. 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f,
  1382. 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76,
  1383. 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  1384. 0x65, 0x42, 0x42, 0x5a, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
  1385. 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x2d, 0x63,
  1386. 0x6c, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x72,
  1387. 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2f,
  1388. 0x76, 0x31, 0x3b, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1389. }
  1390. var (
  1391. file_cli_server_protos_containers_v1_containers_proto_rawDescOnce sync.Once
  1392. file_cli_server_protos_containers_v1_containers_proto_rawDescData = file_cli_server_protos_containers_v1_containers_proto_rawDesc
  1393. )
  1394. func file_cli_server_protos_containers_v1_containers_proto_rawDescGZIP() []byte {
  1395. file_cli_server_protos_containers_v1_containers_proto_rawDescOnce.Do(func() {
  1396. file_cli_server_protos_containers_v1_containers_proto_rawDescData = protoimpl.X.CompressGZIP(file_cli_server_protos_containers_v1_containers_proto_rawDescData)
  1397. })
  1398. return file_cli_server_protos_containers_v1_containers_proto_rawDescData
  1399. }
  1400. var file_cli_server_protos_containers_v1_containers_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
  1401. var file_cli_server_protos_containers_v1_containers_proto_goTypes = []interface{}{
  1402. (*Port)(nil), // 0: com.docker.api.protos.containers.v1.Port
  1403. (*Container)(nil), // 1: com.docker.api.protos.containers.v1.Container
  1404. (*HostConfig)(nil), // 2: com.docker.api.protos.containers.v1.HostConfig
  1405. (*Healthcheck)(nil), // 3: com.docker.api.protos.containers.v1.Healthcheck
  1406. (*InspectRequest)(nil), // 4: com.docker.api.protos.containers.v1.InspectRequest
  1407. (*InspectResponse)(nil), // 5: com.docker.api.protos.containers.v1.InspectResponse
  1408. (*DeleteRequest)(nil), // 6: com.docker.api.protos.containers.v1.DeleteRequest
  1409. (*DeleteResponse)(nil), // 7: com.docker.api.protos.containers.v1.DeleteResponse
  1410. (*StartRequest)(nil), // 8: com.docker.api.protos.containers.v1.StartRequest
  1411. (*StartResponse)(nil), // 9: com.docker.api.protos.containers.v1.StartResponse
  1412. (*StopRequest)(nil), // 10: com.docker.api.protos.containers.v1.StopRequest
  1413. (*StopResponse)(nil), // 11: com.docker.api.protos.containers.v1.StopResponse
  1414. (*KillRequest)(nil), // 12: com.docker.api.protos.containers.v1.KillRequest
  1415. (*KillResponse)(nil), // 13: com.docker.api.protos.containers.v1.KillResponse
  1416. (*RunRequest)(nil), // 14: com.docker.api.protos.containers.v1.RunRequest
  1417. (*RunResponse)(nil), // 15: com.docker.api.protos.containers.v1.RunResponse
  1418. (*ExecRequest)(nil), // 16: com.docker.api.protos.containers.v1.ExecRequest
  1419. (*ExecResponse)(nil), // 17: com.docker.api.protos.containers.v1.ExecResponse
  1420. (*ListRequest)(nil), // 18: com.docker.api.protos.containers.v1.ListRequest
  1421. (*ListResponse)(nil), // 19: com.docker.api.protos.containers.v1.ListResponse
  1422. (*LogsRequest)(nil), // 20: com.docker.api.protos.containers.v1.LogsRequest
  1423. (*LogsResponse)(nil), // 21: com.docker.api.protos.containers.v1.LogsResponse
  1424. nil, // 22: com.docker.api.protos.containers.v1.RunRequest.LabelsEntry
  1425. }
  1426. var file_cli_server_protos_containers_v1_containers_proto_depIdxs = []int32{
  1427. 0, // 0: com.docker.api.protos.containers.v1.Container.ports:type_name -> com.docker.api.protos.containers.v1.Port
  1428. 2, // 1: com.docker.api.protos.containers.v1.Container.host_config:type_name -> com.docker.api.protos.containers.v1.HostConfig
  1429. 3, // 2: com.docker.api.protos.containers.v1.Container.healthcheck:type_name -> com.docker.api.protos.containers.v1.Healthcheck
  1430. 1, // 3: com.docker.api.protos.containers.v1.InspectResponse.container:type_name -> com.docker.api.protos.containers.v1.Container
  1431. 0, // 4: com.docker.api.protos.containers.v1.RunRequest.ports:type_name -> com.docker.api.protos.containers.v1.Port
  1432. 22, // 5: com.docker.api.protos.containers.v1.RunRequest.labels:type_name -> com.docker.api.protos.containers.v1.RunRequest.LabelsEntry
  1433. 3, // 6: com.docker.api.protos.containers.v1.RunRequest.healthcheck:type_name -> com.docker.api.protos.containers.v1.Healthcheck
  1434. 1, // 7: com.docker.api.protos.containers.v1.ListResponse.containers:type_name -> com.docker.api.protos.containers.v1.Container
  1435. 18, // 8: com.docker.api.protos.containers.v1.Containers.List:input_type -> com.docker.api.protos.containers.v1.ListRequest
  1436. 8, // 9: com.docker.api.protos.containers.v1.Containers.Start:input_type -> com.docker.api.protos.containers.v1.StartRequest
  1437. 10, // 10: com.docker.api.protos.containers.v1.Containers.Stop:input_type -> com.docker.api.protos.containers.v1.StopRequest
  1438. 12, // 11: com.docker.api.protos.containers.v1.Containers.Kill:input_type -> com.docker.api.protos.containers.v1.KillRequest
  1439. 14, // 12: com.docker.api.protos.containers.v1.Containers.Run:input_type -> com.docker.api.protos.containers.v1.RunRequest
  1440. 16, // 13: com.docker.api.protos.containers.v1.Containers.Exec:input_type -> com.docker.api.protos.containers.v1.ExecRequest
  1441. 20, // 14: com.docker.api.protos.containers.v1.Containers.Logs:input_type -> com.docker.api.protos.containers.v1.LogsRequest
  1442. 6, // 15: com.docker.api.protos.containers.v1.Containers.Delete:input_type -> com.docker.api.protos.containers.v1.DeleteRequest
  1443. 4, // 16: com.docker.api.protos.containers.v1.Containers.Inspect:input_type -> com.docker.api.protos.containers.v1.InspectRequest
  1444. 19, // 17: com.docker.api.protos.containers.v1.Containers.List:output_type -> com.docker.api.protos.containers.v1.ListResponse
  1445. 9, // 18: com.docker.api.protos.containers.v1.Containers.Start:output_type -> com.docker.api.protos.containers.v1.StartResponse
  1446. 11, // 19: com.docker.api.protos.containers.v1.Containers.Stop:output_type -> com.docker.api.protos.containers.v1.StopResponse
  1447. 13, // 20: com.docker.api.protos.containers.v1.Containers.Kill:output_type -> com.docker.api.protos.containers.v1.KillResponse
  1448. 15, // 21: com.docker.api.protos.containers.v1.Containers.Run:output_type -> com.docker.api.protos.containers.v1.RunResponse
  1449. 17, // 22: com.docker.api.protos.containers.v1.Containers.Exec:output_type -> com.docker.api.protos.containers.v1.ExecResponse
  1450. 21, // 23: com.docker.api.protos.containers.v1.Containers.Logs:output_type -> com.docker.api.protos.containers.v1.LogsResponse
  1451. 7, // 24: com.docker.api.protos.containers.v1.Containers.Delete:output_type -> com.docker.api.protos.containers.v1.DeleteResponse
  1452. 5, // 25: com.docker.api.protos.containers.v1.Containers.Inspect:output_type -> com.docker.api.protos.containers.v1.InspectResponse
  1453. 17, // [17:26] is the sub-list for method output_type
  1454. 8, // [8:17] is the sub-list for method input_type
  1455. 8, // [8:8] is the sub-list for extension type_name
  1456. 8, // [8:8] is the sub-list for extension extendee
  1457. 0, // [0:8] is the sub-list for field type_name
  1458. }
  1459. func init() { file_cli_server_protos_containers_v1_containers_proto_init() }
  1460. func file_cli_server_protos_containers_v1_containers_proto_init() {
  1461. if File_cli_server_protos_containers_v1_containers_proto != nil {
  1462. return
  1463. }
  1464. if !protoimpl.UnsafeEnabled {
  1465. file_cli_server_protos_containers_v1_containers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1466. switch v := v.(*Port); i {
  1467. case 0:
  1468. return &v.state
  1469. case 1:
  1470. return &v.sizeCache
  1471. case 2:
  1472. return &v.unknownFields
  1473. default:
  1474. return nil
  1475. }
  1476. }
  1477. file_cli_server_protos_containers_v1_containers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1478. switch v := v.(*Container); i {
  1479. case 0:
  1480. return &v.state
  1481. case 1:
  1482. return &v.sizeCache
  1483. case 2:
  1484. return &v.unknownFields
  1485. default:
  1486. return nil
  1487. }
  1488. }
  1489. file_cli_server_protos_containers_v1_containers_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1490. switch v := v.(*HostConfig); i {
  1491. case 0:
  1492. return &v.state
  1493. case 1:
  1494. return &v.sizeCache
  1495. case 2:
  1496. return &v.unknownFields
  1497. default:
  1498. return nil
  1499. }
  1500. }
  1501. file_cli_server_protos_containers_v1_containers_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1502. switch v := v.(*Healthcheck); i {
  1503. case 0:
  1504. return &v.state
  1505. case 1:
  1506. return &v.sizeCache
  1507. case 2:
  1508. return &v.unknownFields
  1509. default:
  1510. return nil
  1511. }
  1512. }
  1513. file_cli_server_protos_containers_v1_containers_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1514. switch v := v.(*InspectRequest); i {
  1515. case 0:
  1516. return &v.state
  1517. case 1:
  1518. return &v.sizeCache
  1519. case 2:
  1520. return &v.unknownFields
  1521. default:
  1522. return nil
  1523. }
  1524. }
  1525. file_cli_server_protos_containers_v1_containers_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1526. switch v := v.(*InspectResponse); i {
  1527. case 0:
  1528. return &v.state
  1529. case 1:
  1530. return &v.sizeCache
  1531. case 2:
  1532. return &v.unknownFields
  1533. default:
  1534. return nil
  1535. }
  1536. }
  1537. file_cli_server_protos_containers_v1_containers_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1538. switch v := v.(*DeleteRequest); i {
  1539. case 0:
  1540. return &v.state
  1541. case 1:
  1542. return &v.sizeCache
  1543. case 2:
  1544. return &v.unknownFields
  1545. default:
  1546. return nil
  1547. }
  1548. }
  1549. file_cli_server_protos_containers_v1_containers_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1550. switch v := v.(*DeleteResponse); i {
  1551. case 0:
  1552. return &v.state
  1553. case 1:
  1554. return &v.sizeCache
  1555. case 2:
  1556. return &v.unknownFields
  1557. default:
  1558. return nil
  1559. }
  1560. }
  1561. file_cli_server_protos_containers_v1_containers_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1562. switch v := v.(*StartRequest); i {
  1563. case 0:
  1564. return &v.state
  1565. case 1:
  1566. return &v.sizeCache
  1567. case 2:
  1568. return &v.unknownFields
  1569. default:
  1570. return nil
  1571. }
  1572. }
  1573. file_cli_server_protos_containers_v1_containers_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1574. switch v := v.(*StartResponse); i {
  1575. case 0:
  1576. return &v.state
  1577. case 1:
  1578. return &v.sizeCache
  1579. case 2:
  1580. return &v.unknownFields
  1581. default:
  1582. return nil
  1583. }
  1584. }
  1585. file_cli_server_protos_containers_v1_containers_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1586. switch v := v.(*StopRequest); i {
  1587. case 0:
  1588. return &v.state
  1589. case 1:
  1590. return &v.sizeCache
  1591. case 2:
  1592. return &v.unknownFields
  1593. default:
  1594. return nil
  1595. }
  1596. }
  1597. file_cli_server_protos_containers_v1_containers_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1598. switch v := v.(*StopResponse); i {
  1599. case 0:
  1600. return &v.state
  1601. case 1:
  1602. return &v.sizeCache
  1603. case 2:
  1604. return &v.unknownFields
  1605. default:
  1606. return nil
  1607. }
  1608. }
  1609. file_cli_server_protos_containers_v1_containers_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1610. switch v := v.(*KillRequest); i {
  1611. case 0:
  1612. return &v.state
  1613. case 1:
  1614. return &v.sizeCache
  1615. case 2:
  1616. return &v.unknownFields
  1617. default:
  1618. return nil
  1619. }
  1620. }
  1621. file_cli_server_protos_containers_v1_containers_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1622. switch v := v.(*KillResponse); i {
  1623. case 0:
  1624. return &v.state
  1625. case 1:
  1626. return &v.sizeCache
  1627. case 2:
  1628. return &v.unknownFields
  1629. default:
  1630. return nil
  1631. }
  1632. }
  1633. file_cli_server_protos_containers_v1_containers_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1634. switch v := v.(*RunRequest); i {
  1635. case 0:
  1636. return &v.state
  1637. case 1:
  1638. return &v.sizeCache
  1639. case 2:
  1640. return &v.unknownFields
  1641. default:
  1642. return nil
  1643. }
  1644. }
  1645. file_cli_server_protos_containers_v1_containers_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1646. switch v := v.(*RunResponse); i {
  1647. case 0:
  1648. return &v.state
  1649. case 1:
  1650. return &v.sizeCache
  1651. case 2:
  1652. return &v.unknownFields
  1653. default:
  1654. return nil
  1655. }
  1656. }
  1657. file_cli_server_protos_containers_v1_containers_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  1658. switch v := v.(*ExecRequest); i {
  1659. case 0:
  1660. return &v.state
  1661. case 1:
  1662. return &v.sizeCache
  1663. case 2:
  1664. return &v.unknownFields
  1665. default:
  1666. return nil
  1667. }
  1668. }
  1669. file_cli_server_protos_containers_v1_containers_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  1670. switch v := v.(*ExecResponse); i {
  1671. case 0:
  1672. return &v.state
  1673. case 1:
  1674. return &v.sizeCache
  1675. case 2:
  1676. return &v.unknownFields
  1677. default:
  1678. return nil
  1679. }
  1680. }
  1681. file_cli_server_protos_containers_v1_containers_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  1682. switch v := v.(*ListRequest); i {
  1683. case 0:
  1684. return &v.state
  1685. case 1:
  1686. return &v.sizeCache
  1687. case 2:
  1688. return &v.unknownFields
  1689. default:
  1690. return nil
  1691. }
  1692. }
  1693. file_cli_server_protos_containers_v1_containers_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  1694. switch v := v.(*ListResponse); i {
  1695. case 0:
  1696. return &v.state
  1697. case 1:
  1698. return &v.sizeCache
  1699. case 2:
  1700. return &v.unknownFields
  1701. default:
  1702. return nil
  1703. }
  1704. }
  1705. file_cli_server_protos_containers_v1_containers_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  1706. switch v := v.(*LogsRequest); i {
  1707. case 0:
  1708. return &v.state
  1709. case 1:
  1710. return &v.sizeCache
  1711. case 2:
  1712. return &v.unknownFields
  1713. default:
  1714. return nil
  1715. }
  1716. }
  1717. file_cli_server_protos_containers_v1_containers_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  1718. switch v := v.(*LogsResponse); i {
  1719. case 0:
  1720. return &v.state
  1721. case 1:
  1722. return &v.sizeCache
  1723. case 2:
  1724. return &v.unknownFields
  1725. default:
  1726. return nil
  1727. }
  1728. }
  1729. }
  1730. type x struct{}
  1731. out := protoimpl.TypeBuilder{
  1732. File: protoimpl.DescBuilder{
  1733. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1734. RawDescriptor: file_cli_server_protos_containers_v1_containers_proto_rawDesc,
  1735. NumEnums: 0,
  1736. NumMessages: 23,
  1737. NumExtensions: 0,
  1738. NumServices: 1,
  1739. },
  1740. GoTypes: file_cli_server_protos_containers_v1_containers_proto_goTypes,
  1741. DependencyIndexes: file_cli_server_protos_containers_v1_containers_proto_depIdxs,
  1742. MessageInfos: file_cli_server_protos_containers_v1_containers_proto_msgTypes,
  1743. }.Build()
  1744. File_cli_server_protos_containers_v1_containers_proto = out.File
  1745. file_cli_server_protos_containers_v1_containers_proto_rawDesc = nil
  1746. file_cli_server_protos_containers_v1_containers_proto_goTypes = nil
  1747. file_cli_server_protos_containers_v1_containers_proto_depIdxs = nil
  1748. }
  1749. // Reference imports to suppress errors if they are not otherwise used.
  1750. var _ context.Context
  1751. var _ grpc.ClientConnInterface
  1752. // This is a compile-time assertion to ensure that this generated file
  1753. // is compatible with the grpc package it is being compiled against.
  1754. const _ = grpc.SupportPackageIsVersion6
  1755. // ContainersClient is the client API for Containers service.
  1756. //
  1757. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1758. type ContainersClient interface {
  1759. List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
  1760. Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error)
  1761. Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error)
  1762. Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*KillResponse, error)
  1763. Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error)
  1764. Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error)
  1765. Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (Containers_LogsClient, error)
  1766. Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
  1767. Inspect(ctx context.Context, in *InspectRequest, opts ...grpc.CallOption) (*InspectResponse, error)
  1768. }
  1769. type containersClient struct {
  1770. cc grpc.ClientConnInterface
  1771. }
  1772. func NewContainersClient(cc grpc.ClientConnInterface) ContainersClient {
  1773. return &containersClient{cc}
  1774. }
  1775. func (c *containersClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) {
  1776. out := new(ListResponse)
  1777. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/List", in, out, opts...)
  1778. if err != nil {
  1779. return nil, err
  1780. }
  1781. return out, nil
  1782. }
  1783. func (c *containersClient) Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error) {
  1784. out := new(StartResponse)
  1785. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Start", in, out, opts...)
  1786. if err != nil {
  1787. return nil, err
  1788. }
  1789. return out, nil
  1790. }
  1791. func (c *containersClient) Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error) {
  1792. out := new(StopResponse)
  1793. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Stop", in, out, opts...)
  1794. if err != nil {
  1795. return nil, err
  1796. }
  1797. return out, nil
  1798. }
  1799. func (c *containersClient) Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*KillResponse, error) {
  1800. out := new(KillResponse)
  1801. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Kill", in, out, opts...)
  1802. if err != nil {
  1803. return nil, err
  1804. }
  1805. return out, nil
  1806. }
  1807. func (c *containersClient) Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error) {
  1808. out := new(RunResponse)
  1809. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Run", in, out, opts...)
  1810. if err != nil {
  1811. return nil, err
  1812. }
  1813. return out, nil
  1814. }
  1815. func (c *containersClient) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) {
  1816. out := new(ExecResponse)
  1817. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Exec", in, out, opts...)
  1818. if err != nil {
  1819. return nil, err
  1820. }
  1821. return out, nil
  1822. }
  1823. func (c *containersClient) Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (Containers_LogsClient, error) {
  1824. stream, err := c.cc.NewStream(ctx, &_Containers_serviceDesc.Streams[0], "/com.docker.api.protos.containers.v1.Containers/Logs", opts...)
  1825. if err != nil {
  1826. return nil, err
  1827. }
  1828. x := &containersLogsClient{stream}
  1829. if err := x.ClientStream.SendMsg(in); err != nil {
  1830. return nil, err
  1831. }
  1832. if err := x.ClientStream.CloseSend(); err != nil {
  1833. return nil, err
  1834. }
  1835. return x, nil
  1836. }
  1837. type Containers_LogsClient interface {
  1838. Recv() (*LogsResponse, error)
  1839. grpc.ClientStream
  1840. }
  1841. type containersLogsClient struct {
  1842. grpc.ClientStream
  1843. }
  1844. func (x *containersLogsClient) Recv() (*LogsResponse, error) {
  1845. m := new(LogsResponse)
  1846. if err := x.ClientStream.RecvMsg(m); err != nil {
  1847. return nil, err
  1848. }
  1849. return m, nil
  1850. }
  1851. func (c *containersClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) {
  1852. out := new(DeleteResponse)
  1853. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Delete", in, out, opts...)
  1854. if err != nil {
  1855. return nil, err
  1856. }
  1857. return out, nil
  1858. }
  1859. func (c *containersClient) Inspect(ctx context.Context, in *InspectRequest, opts ...grpc.CallOption) (*InspectResponse, error) {
  1860. out := new(InspectResponse)
  1861. err := c.cc.Invoke(ctx, "/com.docker.api.protos.containers.v1.Containers/Inspect", in, out, opts...)
  1862. if err != nil {
  1863. return nil, err
  1864. }
  1865. return out, nil
  1866. }
  1867. // ContainersServer is the server API for Containers service.
  1868. type ContainersServer interface {
  1869. List(context.Context, *ListRequest) (*ListResponse, error)
  1870. Start(context.Context, *StartRequest) (*StartResponse, error)
  1871. Stop(context.Context, *StopRequest) (*StopResponse, error)
  1872. Kill(context.Context, *KillRequest) (*KillResponse, error)
  1873. Run(context.Context, *RunRequest) (*RunResponse, error)
  1874. Exec(context.Context, *ExecRequest) (*ExecResponse, error)
  1875. Logs(*LogsRequest, Containers_LogsServer) error
  1876. Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
  1877. Inspect(context.Context, *InspectRequest) (*InspectResponse, error)
  1878. }
  1879. // UnimplementedContainersServer can be embedded to have forward compatible implementations.
  1880. type UnimplementedContainersServer struct {
  1881. }
  1882. func (*UnimplementedContainersServer) List(context.Context, *ListRequest) (*ListResponse, error) {
  1883. return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
  1884. }
  1885. func (*UnimplementedContainersServer) Start(context.Context, *StartRequest) (*StartResponse, error) {
  1886. return nil, status.Errorf(codes.Unimplemented, "method Start not implemented")
  1887. }
  1888. func (*UnimplementedContainersServer) Stop(context.Context, *StopRequest) (*StopResponse, error) {
  1889. return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented")
  1890. }
  1891. func (*UnimplementedContainersServer) Kill(context.Context, *KillRequest) (*KillResponse, error) {
  1892. return nil, status.Errorf(codes.Unimplemented, "method Kill not implemented")
  1893. }
  1894. func (*UnimplementedContainersServer) Run(context.Context, *RunRequest) (*RunResponse, error) {
  1895. return nil, status.Errorf(codes.Unimplemented, "method Run not implemented")
  1896. }
  1897. func (*UnimplementedContainersServer) Exec(context.Context, *ExecRequest) (*ExecResponse, error) {
  1898. return nil, status.Errorf(codes.Unimplemented, "method Exec not implemented")
  1899. }
  1900. func (*UnimplementedContainersServer) Logs(*LogsRequest, Containers_LogsServer) error {
  1901. return status.Errorf(codes.Unimplemented, "method Logs not implemented")
  1902. }
  1903. func (*UnimplementedContainersServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) {
  1904. return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
  1905. }
  1906. func (*UnimplementedContainersServer) Inspect(context.Context, *InspectRequest) (*InspectResponse, error) {
  1907. return nil, status.Errorf(codes.Unimplemented, "method Inspect not implemented")
  1908. }
  1909. func RegisterContainersServer(s *grpc.Server, srv ContainersServer) {
  1910. s.RegisterService(&_Containers_serviceDesc, srv)
  1911. }
  1912. func _Containers_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1913. in := new(ListRequest)
  1914. if err := dec(in); err != nil {
  1915. return nil, err
  1916. }
  1917. if interceptor == nil {
  1918. return srv.(ContainersServer).List(ctx, in)
  1919. }
  1920. info := &grpc.UnaryServerInfo{
  1921. Server: srv,
  1922. FullMethod: "/com.docker.api.protos.containers.v1.Containers/List",
  1923. }
  1924. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1925. return srv.(ContainersServer).List(ctx, req.(*ListRequest))
  1926. }
  1927. return interceptor(ctx, in, info, handler)
  1928. }
  1929. func _Containers_Start_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1930. in := new(StartRequest)
  1931. if err := dec(in); err != nil {
  1932. return nil, err
  1933. }
  1934. if interceptor == nil {
  1935. return srv.(ContainersServer).Start(ctx, in)
  1936. }
  1937. info := &grpc.UnaryServerInfo{
  1938. Server: srv,
  1939. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Start",
  1940. }
  1941. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1942. return srv.(ContainersServer).Start(ctx, req.(*StartRequest))
  1943. }
  1944. return interceptor(ctx, in, info, handler)
  1945. }
  1946. func _Containers_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1947. in := new(StopRequest)
  1948. if err := dec(in); err != nil {
  1949. return nil, err
  1950. }
  1951. if interceptor == nil {
  1952. return srv.(ContainersServer).Stop(ctx, in)
  1953. }
  1954. info := &grpc.UnaryServerInfo{
  1955. Server: srv,
  1956. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Stop",
  1957. }
  1958. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1959. return srv.(ContainersServer).Stop(ctx, req.(*StopRequest))
  1960. }
  1961. return interceptor(ctx, in, info, handler)
  1962. }
  1963. func _Containers_Kill_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1964. in := new(KillRequest)
  1965. if err := dec(in); err != nil {
  1966. return nil, err
  1967. }
  1968. if interceptor == nil {
  1969. return srv.(ContainersServer).Kill(ctx, in)
  1970. }
  1971. info := &grpc.UnaryServerInfo{
  1972. Server: srv,
  1973. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Kill",
  1974. }
  1975. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1976. return srv.(ContainersServer).Kill(ctx, req.(*KillRequest))
  1977. }
  1978. return interceptor(ctx, in, info, handler)
  1979. }
  1980. func _Containers_Run_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1981. in := new(RunRequest)
  1982. if err := dec(in); err != nil {
  1983. return nil, err
  1984. }
  1985. if interceptor == nil {
  1986. return srv.(ContainersServer).Run(ctx, in)
  1987. }
  1988. info := &grpc.UnaryServerInfo{
  1989. Server: srv,
  1990. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Run",
  1991. }
  1992. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1993. return srv.(ContainersServer).Run(ctx, req.(*RunRequest))
  1994. }
  1995. return interceptor(ctx, in, info, handler)
  1996. }
  1997. func _Containers_Exec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1998. in := new(ExecRequest)
  1999. if err := dec(in); err != nil {
  2000. return nil, err
  2001. }
  2002. if interceptor == nil {
  2003. return srv.(ContainersServer).Exec(ctx, in)
  2004. }
  2005. info := &grpc.UnaryServerInfo{
  2006. Server: srv,
  2007. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Exec",
  2008. }
  2009. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2010. return srv.(ContainersServer).Exec(ctx, req.(*ExecRequest))
  2011. }
  2012. return interceptor(ctx, in, info, handler)
  2013. }
  2014. func _Containers_Logs_Handler(srv interface{}, stream grpc.ServerStream) error {
  2015. m := new(LogsRequest)
  2016. if err := stream.RecvMsg(m); err != nil {
  2017. return err
  2018. }
  2019. return srv.(ContainersServer).Logs(m, &containersLogsServer{stream})
  2020. }
  2021. type Containers_LogsServer interface {
  2022. Send(*LogsResponse) error
  2023. grpc.ServerStream
  2024. }
  2025. type containersLogsServer struct {
  2026. grpc.ServerStream
  2027. }
  2028. func (x *containersLogsServer) Send(m *LogsResponse) error {
  2029. return x.ServerStream.SendMsg(m)
  2030. }
  2031. func _Containers_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2032. in := new(DeleteRequest)
  2033. if err := dec(in); err != nil {
  2034. return nil, err
  2035. }
  2036. if interceptor == nil {
  2037. return srv.(ContainersServer).Delete(ctx, in)
  2038. }
  2039. info := &grpc.UnaryServerInfo{
  2040. Server: srv,
  2041. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Delete",
  2042. }
  2043. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2044. return srv.(ContainersServer).Delete(ctx, req.(*DeleteRequest))
  2045. }
  2046. return interceptor(ctx, in, info, handler)
  2047. }
  2048. func _Containers_Inspect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2049. in := new(InspectRequest)
  2050. if err := dec(in); err != nil {
  2051. return nil, err
  2052. }
  2053. if interceptor == nil {
  2054. return srv.(ContainersServer).Inspect(ctx, in)
  2055. }
  2056. info := &grpc.UnaryServerInfo{
  2057. Server: srv,
  2058. FullMethod: "/com.docker.api.protos.containers.v1.Containers/Inspect",
  2059. }
  2060. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2061. return srv.(ContainersServer).Inspect(ctx, req.(*InspectRequest))
  2062. }
  2063. return interceptor(ctx, in, info, handler)
  2064. }
  2065. var _Containers_serviceDesc = grpc.ServiceDesc{
  2066. ServiceName: "com.docker.api.protos.containers.v1.Containers",
  2067. HandlerType: (*ContainersServer)(nil),
  2068. Methods: []grpc.MethodDesc{
  2069. {
  2070. MethodName: "List",
  2071. Handler: _Containers_List_Handler,
  2072. },
  2073. {
  2074. MethodName: "Start",
  2075. Handler: _Containers_Start_Handler,
  2076. },
  2077. {
  2078. MethodName: "Stop",
  2079. Handler: _Containers_Stop_Handler,
  2080. },
  2081. {
  2082. MethodName: "Kill",
  2083. Handler: _Containers_Kill_Handler,
  2084. },
  2085. {
  2086. MethodName: "Run",
  2087. Handler: _Containers_Run_Handler,
  2088. },
  2089. {
  2090. MethodName: "Exec",
  2091. Handler: _Containers_Exec_Handler,
  2092. },
  2093. {
  2094. MethodName: "Delete",
  2095. Handler: _Containers_Delete_Handler,
  2096. },
  2097. {
  2098. MethodName: "Inspect",
  2099. Handler: _Containers_Inspect_Handler,
  2100. },
  2101. },
  2102. Streams: []grpc.StreamDesc{
  2103. {
  2104. StreamName: "Logs",
  2105. Handler: _Containers_Logs_Handler,
  2106. ServerStreams: true,
  2107. },
  2108. },
  2109. Metadata: "cli/server/protos/containers/v1/containers.proto",
  2110. }