volumes.pb.go 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008
  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/volumes/v1/volumes.proto
  17. package v1
  18. import (
  19. context "context"
  20. proto "github.com/golang/protobuf/proto"
  21. _ "github.com/golang/protobuf/ptypes/any"
  22. grpc "google.golang.org/grpc"
  23. codes "google.golang.org/grpc/codes"
  24. status "google.golang.org/grpc/status"
  25. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  26. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  27. reflect "reflect"
  28. sync "sync"
  29. )
  30. const (
  31. // Verify that this generated code is sufficiently up-to-date.
  32. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  33. // Verify that runtime/protoimpl is sufficiently up-to-date.
  34. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  35. )
  36. // This is a compile-time assertion that a sufficiently up-to-date version
  37. // of the legacy proto package is being used.
  38. const _ = proto.ProtoPackageIsVersion4
  39. type Volume struct {
  40. state protoimpl.MessageState
  41. sizeCache protoimpl.SizeCache
  42. unknownFields protoimpl.UnknownFields
  43. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  44. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
  45. }
  46. func (x *Volume) Reset() {
  47. *x = Volume{}
  48. if protoimpl.UnsafeEnabled {
  49. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[0]
  50. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  51. ms.StoreMessageInfo(mi)
  52. }
  53. }
  54. func (x *Volume) String() string {
  55. return protoimpl.X.MessageStringOf(x)
  56. }
  57. func (*Volume) ProtoMessage() {}
  58. func (x *Volume) ProtoReflect() protoreflect.Message {
  59. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[0]
  60. if protoimpl.UnsafeEnabled && x != nil {
  61. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  62. if ms.LoadMessageInfo() == nil {
  63. ms.StoreMessageInfo(mi)
  64. }
  65. return ms
  66. }
  67. return mi.MessageOf(x)
  68. }
  69. // Deprecated: Use Volume.ProtoReflect.Descriptor instead.
  70. func (*Volume) Descriptor() ([]byte, []int) {
  71. return file_cli_server_protos_volumes_v1_volumes_proto_rawDescGZIP(), []int{0}
  72. }
  73. func (x *Volume) GetId() string {
  74. if x != nil {
  75. return x.Id
  76. }
  77. return ""
  78. }
  79. func (x *Volume) GetDescription() string {
  80. if x != nil {
  81. return x.Description
  82. }
  83. return ""
  84. }
  85. type AciVolumeCreateOptions struct {
  86. state protoimpl.MessageState
  87. sizeCache protoimpl.SizeCache
  88. unknownFields protoimpl.UnknownFields
  89. StorageAccount string `protobuf:"bytes,1,opt,name=storage_account,json=storageAccount,proto3" json:"storage_account,omitempty"`
  90. }
  91. func (x *AciVolumeCreateOptions) Reset() {
  92. *x = AciVolumeCreateOptions{}
  93. if protoimpl.UnsafeEnabled {
  94. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[1]
  95. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  96. ms.StoreMessageInfo(mi)
  97. }
  98. }
  99. func (x *AciVolumeCreateOptions) String() string {
  100. return protoimpl.X.MessageStringOf(x)
  101. }
  102. func (*AciVolumeCreateOptions) ProtoMessage() {}
  103. func (x *AciVolumeCreateOptions) ProtoReflect() protoreflect.Message {
  104. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[1]
  105. if protoimpl.UnsafeEnabled && x != nil {
  106. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  107. if ms.LoadMessageInfo() == nil {
  108. ms.StoreMessageInfo(mi)
  109. }
  110. return ms
  111. }
  112. return mi.MessageOf(x)
  113. }
  114. // Deprecated: Use AciVolumeCreateOptions.ProtoReflect.Descriptor instead.
  115. func (*AciVolumeCreateOptions) Descriptor() ([]byte, []int) {
  116. return file_cli_server_protos_volumes_v1_volumes_proto_rawDescGZIP(), []int{1}
  117. }
  118. func (x *AciVolumeCreateOptions) GetStorageAccount() string {
  119. if x != nil {
  120. return x.StorageAccount
  121. }
  122. return ""
  123. }
  124. type VolumesCreateRequest struct {
  125. state protoimpl.MessageState
  126. sizeCache protoimpl.SizeCache
  127. unknownFields protoimpl.UnknownFields
  128. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  129. // Types that are assignable to Options:
  130. // *VolumesCreateRequest_AciOption
  131. Options isVolumesCreateRequest_Options `protobuf_oneof:"options"`
  132. }
  133. func (x *VolumesCreateRequest) Reset() {
  134. *x = VolumesCreateRequest{}
  135. if protoimpl.UnsafeEnabled {
  136. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[2]
  137. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  138. ms.StoreMessageInfo(mi)
  139. }
  140. }
  141. func (x *VolumesCreateRequest) String() string {
  142. return protoimpl.X.MessageStringOf(x)
  143. }
  144. func (*VolumesCreateRequest) ProtoMessage() {}
  145. func (x *VolumesCreateRequest) ProtoReflect() protoreflect.Message {
  146. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[2]
  147. if protoimpl.UnsafeEnabled && x != nil {
  148. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  149. if ms.LoadMessageInfo() == nil {
  150. ms.StoreMessageInfo(mi)
  151. }
  152. return ms
  153. }
  154. return mi.MessageOf(x)
  155. }
  156. // Deprecated: Use VolumesCreateRequest.ProtoReflect.Descriptor instead.
  157. func (*VolumesCreateRequest) Descriptor() ([]byte, []int) {
  158. return file_cli_server_protos_volumes_v1_volumes_proto_rawDescGZIP(), []int{2}
  159. }
  160. func (x *VolumesCreateRequest) GetName() string {
  161. if x != nil {
  162. return x.Name
  163. }
  164. return ""
  165. }
  166. func (m *VolumesCreateRequest) GetOptions() isVolumesCreateRequest_Options {
  167. if m != nil {
  168. return m.Options
  169. }
  170. return nil
  171. }
  172. func (x *VolumesCreateRequest) GetAciOption() *AciVolumeCreateOptions {
  173. if x, ok := x.GetOptions().(*VolumesCreateRequest_AciOption); ok {
  174. return x.AciOption
  175. }
  176. return nil
  177. }
  178. type isVolumesCreateRequest_Options interface {
  179. isVolumesCreateRequest_Options()
  180. }
  181. type VolumesCreateRequest_AciOption struct {
  182. AciOption *AciVolumeCreateOptions `protobuf:"bytes,2,opt,name=aci_option,json=aciOption,proto3,oneof"`
  183. }
  184. func (*VolumesCreateRequest_AciOption) isVolumesCreateRequest_Options() {}
  185. type VolumesCreateResponse struct {
  186. state protoimpl.MessageState
  187. sizeCache protoimpl.SizeCache
  188. unknownFields protoimpl.UnknownFields
  189. Volume *Volume `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
  190. }
  191. func (x *VolumesCreateResponse) Reset() {
  192. *x = VolumesCreateResponse{}
  193. if protoimpl.UnsafeEnabled {
  194. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[3]
  195. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  196. ms.StoreMessageInfo(mi)
  197. }
  198. }
  199. func (x *VolumesCreateResponse) String() string {
  200. return protoimpl.X.MessageStringOf(x)
  201. }
  202. func (*VolumesCreateResponse) ProtoMessage() {}
  203. func (x *VolumesCreateResponse) ProtoReflect() protoreflect.Message {
  204. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[3]
  205. if protoimpl.UnsafeEnabled && x != nil {
  206. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  207. if ms.LoadMessageInfo() == nil {
  208. ms.StoreMessageInfo(mi)
  209. }
  210. return ms
  211. }
  212. return mi.MessageOf(x)
  213. }
  214. // Deprecated: Use VolumesCreateResponse.ProtoReflect.Descriptor instead.
  215. func (*VolumesCreateResponse) Descriptor() ([]byte, []int) {
  216. return file_cli_server_protos_volumes_v1_volumes_proto_rawDescGZIP(), []int{3}
  217. }
  218. func (x *VolumesCreateResponse) GetVolume() *Volume {
  219. if x != nil {
  220. return x.Volume
  221. }
  222. return nil
  223. }
  224. type VolumesListRequest struct {
  225. state protoimpl.MessageState
  226. sizeCache protoimpl.SizeCache
  227. unknownFields protoimpl.UnknownFields
  228. }
  229. func (x *VolumesListRequest) Reset() {
  230. *x = VolumesListRequest{}
  231. if protoimpl.UnsafeEnabled {
  232. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[4]
  233. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  234. ms.StoreMessageInfo(mi)
  235. }
  236. }
  237. func (x *VolumesListRequest) String() string {
  238. return protoimpl.X.MessageStringOf(x)
  239. }
  240. func (*VolumesListRequest) ProtoMessage() {}
  241. func (x *VolumesListRequest) ProtoReflect() protoreflect.Message {
  242. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[4]
  243. if protoimpl.UnsafeEnabled && x != nil {
  244. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  245. if ms.LoadMessageInfo() == nil {
  246. ms.StoreMessageInfo(mi)
  247. }
  248. return ms
  249. }
  250. return mi.MessageOf(x)
  251. }
  252. // Deprecated: Use VolumesListRequest.ProtoReflect.Descriptor instead.
  253. func (*VolumesListRequest) Descriptor() ([]byte, []int) {
  254. return file_cli_server_protos_volumes_v1_volumes_proto_rawDescGZIP(), []int{4}
  255. }
  256. type VolumesListResponse struct {
  257. state protoimpl.MessageState
  258. sizeCache protoimpl.SizeCache
  259. unknownFields protoimpl.UnknownFields
  260. Volumes []*Volume `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"`
  261. }
  262. func (x *VolumesListResponse) Reset() {
  263. *x = VolumesListResponse{}
  264. if protoimpl.UnsafeEnabled {
  265. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[5]
  266. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  267. ms.StoreMessageInfo(mi)
  268. }
  269. }
  270. func (x *VolumesListResponse) String() string {
  271. return protoimpl.X.MessageStringOf(x)
  272. }
  273. func (*VolumesListResponse) ProtoMessage() {}
  274. func (x *VolumesListResponse) ProtoReflect() protoreflect.Message {
  275. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[5]
  276. if protoimpl.UnsafeEnabled && x != nil {
  277. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  278. if ms.LoadMessageInfo() == nil {
  279. ms.StoreMessageInfo(mi)
  280. }
  281. return ms
  282. }
  283. return mi.MessageOf(x)
  284. }
  285. // Deprecated: Use VolumesListResponse.ProtoReflect.Descriptor instead.
  286. func (*VolumesListResponse) Descriptor() ([]byte, []int) {
  287. return file_cli_server_protos_volumes_v1_volumes_proto_rawDescGZIP(), []int{5}
  288. }
  289. func (x *VolumesListResponse) GetVolumes() []*Volume {
  290. if x != nil {
  291. return x.Volumes
  292. }
  293. return nil
  294. }
  295. type VolumesDeleteRequest struct {
  296. state protoimpl.MessageState
  297. sizeCache protoimpl.SizeCache
  298. unknownFields protoimpl.UnknownFields
  299. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  300. }
  301. func (x *VolumesDeleteRequest) Reset() {
  302. *x = VolumesDeleteRequest{}
  303. if protoimpl.UnsafeEnabled {
  304. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[6]
  305. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  306. ms.StoreMessageInfo(mi)
  307. }
  308. }
  309. func (x *VolumesDeleteRequest) String() string {
  310. return protoimpl.X.MessageStringOf(x)
  311. }
  312. func (*VolumesDeleteRequest) ProtoMessage() {}
  313. func (x *VolumesDeleteRequest) ProtoReflect() protoreflect.Message {
  314. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[6]
  315. if protoimpl.UnsafeEnabled && x != nil {
  316. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  317. if ms.LoadMessageInfo() == nil {
  318. ms.StoreMessageInfo(mi)
  319. }
  320. return ms
  321. }
  322. return mi.MessageOf(x)
  323. }
  324. // Deprecated: Use VolumesDeleteRequest.ProtoReflect.Descriptor instead.
  325. func (*VolumesDeleteRequest) Descriptor() ([]byte, []int) {
  326. return file_cli_server_protos_volumes_v1_volumes_proto_rawDescGZIP(), []int{6}
  327. }
  328. func (x *VolumesDeleteRequest) GetId() string {
  329. if x != nil {
  330. return x.Id
  331. }
  332. return ""
  333. }
  334. type VolumesDeleteResponse struct {
  335. state protoimpl.MessageState
  336. sizeCache protoimpl.SizeCache
  337. unknownFields protoimpl.UnknownFields
  338. }
  339. func (x *VolumesDeleteResponse) Reset() {
  340. *x = VolumesDeleteResponse{}
  341. if protoimpl.UnsafeEnabled {
  342. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[7]
  343. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  344. ms.StoreMessageInfo(mi)
  345. }
  346. }
  347. func (x *VolumesDeleteResponse) String() string {
  348. return protoimpl.X.MessageStringOf(x)
  349. }
  350. func (*VolumesDeleteResponse) ProtoMessage() {}
  351. func (x *VolumesDeleteResponse) ProtoReflect() protoreflect.Message {
  352. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[7]
  353. if protoimpl.UnsafeEnabled && x != nil {
  354. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  355. if ms.LoadMessageInfo() == nil {
  356. ms.StoreMessageInfo(mi)
  357. }
  358. return ms
  359. }
  360. return mi.MessageOf(x)
  361. }
  362. // Deprecated: Use VolumesDeleteResponse.ProtoReflect.Descriptor instead.
  363. func (*VolumesDeleteResponse) Descriptor() ([]byte, []int) {
  364. return file_cli_server_protos_volumes_v1_volumes_proto_rawDescGZIP(), []int{7}
  365. }
  366. type VolumesInspectRequest struct {
  367. state protoimpl.MessageState
  368. sizeCache protoimpl.SizeCache
  369. unknownFields protoimpl.UnknownFields
  370. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  371. }
  372. func (x *VolumesInspectRequest) Reset() {
  373. *x = VolumesInspectRequest{}
  374. if protoimpl.UnsafeEnabled {
  375. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[8]
  376. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  377. ms.StoreMessageInfo(mi)
  378. }
  379. }
  380. func (x *VolumesInspectRequest) String() string {
  381. return protoimpl.X.MessageStringOf(x)
  382. }
  383. func (*VolumesInspectRequest) ProtoMessage() {}
  384. func (x *VolumesInspectRequest) ProtoReflect() protoreflect.Message {
  385. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[8]
  386. if protoimpl.UnsafeEnabled && x != nil {
  387. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  388. if ms.LoadMessageInfo() == nil {
  389. ms.StoreMessageInfo(mi)
  390. }
  391. return ms
  392. }
  393. return mi.MessageOf(x)
  394. }
  395. // Deprecated: Use VolumesInspectRequest.ProtoReflect.Descriptor instead.
  396. func (*VolumesInspectRequest) Descriptor() ([]byte, []int) {
  397. return file_cli_server_protos_volumes_v1_volumes_proto_rawDescGZIP(), []int{8}
  398. }
  399. func (x *VolumesInspectRequest) GetId() string {
  400. if x != nil {
  401. return x.Id
  402. }
  403. return ""
  404. }
  405. type VolumesInspectResponse struct {
  406. state protoimpl.MessageState
  407. sizeCache protoimpl.SizeCache
  408. unknownFields protoimpl.UnknownFields
  409. Volume *Volume `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
  410. }
  411. func (x *VolumesInspectResponse) Reset() {
  412. *x = VolumesInspectResponse{}
  413. if protoimpl.UnsafeEnabled {
  414. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[9]
  415. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  416. ms.StoreMessageInfo(mi)
  417. }
  418. }
  419. func (x *VolumesInspectResponse) String() string {
  420. return protoimpl.X.MessageStringOf(x)
  421. }
  422. func (*VolumesInspectResponse) ProtoMessage() {}
  423. func (x *VolumesInspectResponse) ProtoReflect() protoreflect.Message {
  424. mi := &file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[9]
  425. if protoimpl.UnsafeEnabled && x != nil {
  426. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  427. if ms.LoadMessageInfo() == nil {
  428. ms.StoreMessageInfo(mi)
  429. }
  430. return ms
  431. }
  432. return mi.MessageOf(x)
  433. }
  434. // Deprecated: Use VolumesInspectResponse.ProtoReflect.Descriptor instead.
  435. func (*VolumesInspectResponse) Descriptor() ([]byte, []int) {
  436. return file_cli_server_protos_volumes_v1_volumes_proto_rawDescGZIP(), []int{9}
  437. }
  438. func (x *VolumesInspectResponse) GetVolume() *Volume {
  439. if x != nil {
  440. return x.Volume
  441. }
  442. return nil
  443. }
  444. var File_cli_server_protos_volumes_v1_volumes_proto protoreflect.FileDescriptor
  445. var file_cli_server_protos_volumes_v1_volumes_proto_rawDesc = []byte{
  446. 0x0a, 0x2a, 0x63, 0x6c, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f,
  447. 0x74, 0x6f, 0x73, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x76,
  448. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x63, 0x6f,
  449. 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f,
  450. 0x74, 0x6f, 0x73, 0x2e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x19,
  451. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
  452. 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a, 0x0a, 0x06, 0x56, 0x6f, 0x6c,
  453. 0x75, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  454. 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
  455. 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
  456. 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x41, 0x0a, 0x16, 0x41, 0x63, 0x69, 0x56, 0x6f, 0x6c, 0x75,
  457. 0x6d, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,
  458. 0x27, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75,
  459. 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67,
  460. 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x90, 0x01, 0x0a, 0x14, 0x56, 0x6f, 0x6c,
  461. 0x75, 0x6d, 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  462. 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  463. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x0a, 0x61, 0x63, 0x69, 0x5f, 0x6f, 0x70, 0x74,
  464. 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e,
  465. 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  466. 0x73, 0x2e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x69,
  467. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69,
  468. 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x09, 0x61, 0x63, 0x69, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
  469. 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x59, 0x0a, 0x15, 0x56,
  470. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
  471. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x06, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x01,
  472. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65,
  473. 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x76, 0x6f, 0x6c,
  474. 0x75, 0x6d, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x06,
  475. 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  476. 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x59, 0x0a, 0x13,
  477. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
  478. 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x01,
  479. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65,
  480. 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x76, 0x6f, 0x6c,
  481. 0x75, 0x6d, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x07,
  482. 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x22, 0x26, 0x0a, 0x14, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
  483. 0x65, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  484. 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22,
  485. 0x17, 0x0a, 0x15, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
  486. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x0a, 0x15, 0x56, 0x6f, 0x6c, 0x75,
  487. 0x6d, 0x65, 0x73, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  488. 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
  489. 0x64, 0x22, 0x5a, 0x0a, 0x16, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x49, 0x6e, 0x73, 0x70,
  490. 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x06, 0x76,
  491. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f,
  492. 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f,
  493. 0x74, 0x6f, 0x73, 0x2e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56,
  494. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x06, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x32, 0x91, 0x04,
  495. 0x0a, 0x07, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x80, 0x01, 0x0a, 0x0d, 0x56, 0x6f,
  496. 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x36, 0x2e, 0x63, 0x6f,
  497. 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f,
  498. 0x74, 0x6f, 0x73, 0x2e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56,
  499. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
  500. 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72,
  501. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x76, 0x6f, 0x6c, 0x75,
  502. 0x6d, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x43, 0x72,
  503. 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7a, 0x0a, 0x0b,
  504. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x34, 0x2e, 0x63, 0x6f,
  505. 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f,
  506. 0x74, 0x6f, 0x73, 0x2e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56,
  507. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  508. 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61,
  509. 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  510. 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74,
  511. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x0d, 0x56, 0x6f, 0x6c,
  512. 0x75, 0x6d, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x36, 0x2e, 0x63, 0x6f, 0x6d,
  513. 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  514. 0x6f, 0x73, 0x2e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f,
  515. 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
  516. 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e,
  517. 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
  518. 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x44, 0x65, 0x6c,
  519. 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x0e,
  520. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x12, 0x37,
  521. 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  522. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2e, 0x76,
  523. 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74,
  524. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f,
  525. 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e,
  526. 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
  527. 0x65, 0x73, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  528. 0x65, 0x42, 0x3f, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
  529. 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x2d, 0x63,
  530. 0x6c, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x72,
  531. 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b,
  532. 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  533. }
  534. var (
  535. file_cli_server_protos_volumes_v1_volumes_proto_rawDescOnce sync.Once
  536. file_cli_server_protos_volumes_v1_volumes_proto_rawDescData = file_cli_server_protos_volumes_v1_volumes_proto_rawDesc
  537. )
  538. func file_cli_server_protos_volumes_v1_volumes_proto_rawDescGZIP() []byte {
  539. file_cli_server_protos_volumes_v1_volumes_proto_rawDescOnce.Do(func() {
  540. file_cli_server_protos_volumes_v1_volumes_proto_rawDescData = protoimpl.X.CompressGZIP(file_cli_server_protos_volumes_v1_volumes_proto_rawDescData)
  541. })
  542. return file_cli_server_protos_volumes_v1_volumes_proto_rawDescData
  543. }
  544. var file_cli_server_protos_volumes_v1_volumes_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
  545. var file_cli_server_protos_volumes_v1_volumes_proto_goTypes = []interface{}{
  546. (*Volume)(nil), // 0: com.docker.api.protos.volumes.v1.Volume
  547. (*AciVolumeCreateOptions)(nil), // 1: com.docker.api.protos.volumes.v1.AciVolumeCreateOptions
  548. (*VolumesCreateRequest)(nil), // 2: com.docker.api.protos.volumes.v1.VolumesCreateRequest
  549. (*VolumesCreateResponse)(nil), // 3: com.docker.api.protos.volumes.v1.VolumesCreateResponse
  550. (*VolumesListRequest)(nil), // 4: com.docker.api.protos.volumes.v1.VolumesListRequest
  551. (*VolumesListResponse)(nil), // 5: com.docker.api.protos.volumes.v1.VolumesListResponse
  552. (*VolumesDeleteRequest)(nil), // 6: com.docker.api.protos.volumes.v1.VolumesDeleteRequest
  553. (*VolumesDeleteResponse)(nil), // 7: com.docker.api.protos.volumes.v1.VolumesDeleteResponse
  554. (*VolumesInspectRequest)(nil), // 8: com.docker.api.protos.volumes.v1.VolumesInspectRequest
  555. (*VolumesInspectResponse)(nil), // 9: com.docker.api.protos.volumes.v1.VolumesInspectResponse
  556. }
  557. var file_cli_server_protos_volumes_v1_volumes_proto_depIdxs = []int32{
  558. 1, // 0: com.docker.api.protos.volumes.v1.VolumesCreateRequest.aci_option:type_name -> com.docker.api.protos.volumes.v1.AciVolumeCreateOptions
  559. 0, // 1: com.docker.api.protos.volumes.v1.VolumesCreateResponse.volume:type_name -> com.docker.api.protos.volumes.v1.Volume
  560. 0, // 2: com.docker.api.protos.volumes.v1.VolumesListResponse.volumes:type_name -> com.docker.api.protos.volumes.v1.Volume
  561. 0, // 3: com.docker.api.protos.volumes.v1.VolumesInspectResponse.volume:type_name -> com.docker.api.protos.volumes.v1.Volume
  562. 2, // 4: com.docker.api.protos.volumes.v1.Volumes.VolumesCreate:input_type -> com.docker.api.protos.volumes.v1.VolumesCreateRequest
  563. 4, // 5: com.docker.api.protos.volumes.v1.Volumes.VolumesList:input_type -> com.docker.api.protos.volumes.v1.VolumesListRequest
  564. 6, // 6: com.docker.api.protos.volumes.v1.Volumes.VolumesDelete:input_type -> com.docker.api.protos.volumes.v1.VolumesDeleteRequest
  565. 8, // 7: com.docker.api.protos.volumes.v1.Volumes.VolumesInspect:input_type -> com.docker.api.protos.volumes.v1.VolumesInspectRequest
  566. 3, // 8: com.docker.api.protos.volumes.v1.Volumes.VolumesCreate:output_type -> com.docker.api.protos.volumes.v1.VolumesCreateResponse
  567. 5, // 9: com.docker.api.protos.volumes.v1.Volumes.VolumesList:output_type -> com.docker.api.protos.volumes.v1.VolumesListResponse
  568. 7, // 10: com.docker.api.protos.volumes.v1.Volumes.VolumesDelete:output_type -> com.docker.api.protos.volumes.v1.VolumesDeleteResponse
  569. 9, // 11: com.docker.api.protos.volumes.v1.Volumes.VolumesInspect:output_type -> com.docker.api.protos.volumes.v1.VolumesInspectResponse
  570. 8, // [8:12] is the sub-list for method output_type
  571. 4, // [4:8] is the sub-list for method input_type
  572. 4, // [4:4] is the sub-list for extension type_name
  573. 4, // [4:4] is the sub-list for extension extendee
  574. 0, // [0:4] is the sub-list for field type_name
  575. }
  576. func init() { file_cli_server_protos_volumes_v1_volumes_proto_init() }
  577. func file_cli_server_protos_volumes_v1_volumes_proto_init() {
  578. if File_cli_server_protos_volumes_v1_volumes_proto != nil {
  579. return
  580. }
  581. if !protoimpl.UnsafeEnabled {
  582. file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  583. switch v := v.(*Volume); i {
  584. case 0:
  585. return &v.state
  586. case 1:
  587. return &v.sizeCache
  588. case 2:
  589. return &v.unknownFields
  590. default:
  591. return nil
  592. }
  593. }
  594. file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  595. switch v := v.(*AciVolumeCreateOptions); i {
  596. case 0:
  597. return &v.state
  598. case 1:
  599. return &v.sizeCache
  600. case 2:
  601. return &v.unknownFields
  602. default:
  603. return nil
  604. }
  605. }
  606. file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  607. switch v := v.(*VolumesCreateRequest); i {
  608. case 0:
  609. return &v.state
  610. case 1:
  611. return &v.sizeCache
  612. case 2:
  613. return &v.unknownFields
  614. default:
  615. return nil
  616. }
  617. }
  618. file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  619. switch v := v.(*VolumesCreateResponse); i {
  620. case 0:
  621. return &v.state
  622. case 1:
  623. return &v.sizeCache
  624. case 2:
  625. return &v.unknownFields
  626. default:
  627. return nil
  628. }
  629. }
  630. file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  631. switch v := v.(*VolumesListRequest); i {
  632. case 0:
  633. return &v.state
  634. case 1:
  635. return &v.sizeCache
  636. case 2:
  637. return &v.unknownFields
  638. default:
  639. return nil
  640. }
  641. }
  642. file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  643. switch v := v.(*VolumesListResponse); i {
  644. case 0:
  645. return &v.state
  646. case 1:
  647. return &v.sizeCache
  648. case 2:
  649. return &v.unknownFields
  650. default:
  651. return nil
  652. }
  653. }
  654. file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  655. switch v := v.(*VolumesDeleteRequest); i {
  656. case 0:
  657. return &v.state
  658. case 1:
  659. return &v.sizeCache
  660. case 2:
  661. return &v.unknownFields
  662. default:
  663. return nil
  664. }
  665. }
  666. file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  667. switch v := v.(*VolumesDeleteResponse); i {
  668. case 0:
  669. return &v.state
  670. case 1:
  671. return &v.sizeCache
  672. case 2:
  673. return &v.unknownFields
  674. default:
  675. return nil
  676. }
  677. }
  678. file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  679. switch v := v.(*VolumesInspectRequest); i {
  680. case 0:
  681. return &v.state
  682. case 1:
  683. return &v.sizeCache
  684. case 2:
  685. return &v.unknownFields
  686. default:
  687. return nil
  688. }
  689. }
  690. file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  691. switch v := v.(*VolumesInspectResponse); i {
  692. case 0:
  693. return &v.state
  694. case 1:
  695. return &v.sizeCache
  696. case 2:
  697. return &v.unknownFields
  698. default:
  699. return nil
  700. }
  701. }
  702. }
  703. file_cli_server_protos_volumes_v1_volumes_proto_msgTypes[2].OneofWrappers = []interface{}{
  704. (*VolumesCreateRequest_AciOption)(nil),
  705. }
  706. type x struct{}
  707. out := protoimpl.TypeBuilder{
  708. File: protoimpl.DescBuilder{
  709. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  710. RawDescriptor: file_cli_server_protos_volumes_v1_volumes_proto_rawDesc,
  711. NumEnums: 0,
  712. NumMessages: 10,
  713. NumExtensions: 0,
  714. NumServices: 1,
  715. },
  716. GoTypes: file_cli_server_protos_volumes_v1_volumes_proto_goTypes,
  717. DependencyIndexes: file_cli_server_protos_volumes_v1_volumes_proto_depIdxs,
  718. MessageInfos: file_cli_server_protos_volumes_v1_volumes_proto_msgTypes,
  719. }.Build()
  720. File_cli_server_protos_volumes_v1_volumes_proto = out.File
  721. file_cli_server_protos_volumes_v1_volumes_proto_rawDesc = nil
  722. file_cli_server_protos_volumes_v1_volumes_proto_goTypes = nil
  723. file_cli_server_protos_volumes_v1_volumes_proto_depIdxs = nil
  724. }
  725. // Reference imports to suppress errors if they are not otherwise used.
  726. var _ context.Context
  727. var _ grpc.ClientConnInterface
  728. // This is a compile-time assertion to ensure that this generated file
  729. // is compatible with the grpc package it is being compiled against.
  730. const _ = grpc.SupportPackageIsVersion6
  731. // VolumesClient is the client API for Volumes service.
  732. //
  733. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  734. type VolumesClient interface {
  735. VolumesCreate(ctx context.Context, in *VolumesCreateRequest, opts ...grpc.CallOption) (*VolumesCreateResponse, error)
  736. VolumesList(ctx context.Context, in *VolumesListRequest, opts ...grpc.CallOption) (*VolumesListResponse, error)
  737. VolumesDelete(ctx context.Context, in *VolumesDeleteRequest, opts ...grpc.CallOption) (*VolumesDeleteResponse, error)
  738. VolumesInspect(ctx context.Context, in *VolumesInspectRequest, opts ...grpc.CallOption) (*VolumesInspectResponse, error)
  739. }
  740. type volumesClient struct {
  741. cc grpc.ClientConnInterface
  742. }
  743. func NewVolumesClient(cc grpc.ClientConnInterface) VolumesClient {
  744. return &volumesClient{cc}
  745. }
  746. func (c *volumesClient) VolumesCreate(ctx context.Context, in *VolumesCreateRequest, opts ...grpc.CallOption) (*VolumesCreateResponse, error) {
  747. out := new(VolumesCreateResponse)
  748. err := c.cc.Invoke(ctx, "/com.docker.api.protos.volumes.v1.Volumes/VolumesCreate", in, out, opts...)
  749. if err != nil {
  750. return nil, err
  751. }
  752. return out, nil
  753. }
  754. func (c *volumesClient) VolumesList(ctx context.Context, in *VolumesListRequest, opts ...grpc.CallOption) (*VolumesListResponse, error) {
  755. out := new(VolumesListResponse)
  756. err := c.cc.Invoke(ctx, "/com.docker.api.protos.volumes.v1.Volumes/VolumesList", in, out, opts...)
  757. if err != nil {
  758. return nil, err
  759. }
  760. return out, nil
  761. }
  762. func (c *volumesClient) VolumesDelete(ctx context.Context, in *VolumesDeleteRequest, opts ...grpc.CallOption) (*VolumesDeleteResponse, error) {
  763. out := new(VolumesDeleteResponse)
  764. err := c.cc.Invoke(ctx, "/com.docker.api.protos.volumes.v1.Volumes/VolumesDelete", in, out, opts...)
  765. if err != nil {
  766. return nil, err
  767. }
  768. return out, nil
  769. }
  770. func (c *volumesClient) VolumesInspect(ctx context.Context, in *VolumesInspectRequest, opts ...grpc.CallOption) (*VolumesInspectResponse, error) {
  771. out := new(VolumesInspectResponse)
  772. err := c.cc.Invoke(ctx, "/com.docker.api.protos.volumes.v1.Volumes/VolumesInspect", in, out, opts...)
  773. if err != nil {
  774. return nil, err
  775. }
  776. return out, nil
  777. }
  778. // VolumesServer is the server API for Volumes service.
  779. type VolumesServer interface {
  780. VolumesCreate(context.Context, *VolumesCreateRequest) (*VolumesCreateResponse, error)
  781. VolumesList(context.Context, *VolumesListRequest) (*VolumesListResponse, error)
  782. VolumesDelete(context.Context, *VolumesDeleteRequest) (*VolumesDeleteResponse, error)
  783. VolumesInspect(context.Context, *VolumesInspectRequest) (*VolumesInspectResponse, error)
  784. }
  785. // UnimplementedVolumesServer can be embedded to have forward compatible implementations.
  786. type UnimplementedVolumesServer struct {
  787. }
  788. func (*UnimplementedVolumesServer) VolumesCreate(context.Context, *VolumesCreateRequest) (*VolumesCreateResponse, error) {
  789. return nil, status.Errorf(codes.Unimplemented, "method VolumesCreate not implemented")
  790. }
  791. func (*UnimplementedVolumesServer) VolumesList(context.Context, *VolumesListRequest) (*VolumesListResponse, error) {
  792. return nil, status.Errorf(codes.Unimplemented, "method VolumesList not implemented")
  793. }
  794. func (*UnimplementedVolumesServer) VolumesDelete(context.Context, *VolumesDeleteRequest) (*VolumesDeleteResponse, error) {
  795. return nil, status.Errorf(codes.Unimplemented, "method VolumesDelete not implemented")
  796. }
  797. func (*UnimplementedVolumesServer) VolumesInspect(context.Context, *VolumesInspectRequest) (*VolumesInspectResponse, error) {
  798. return nil, status.Errorf(codes.Unimplemented, "method VolumesInspect not implemented")
  799. }
  800. func RegisterVolumesServer(s *grpc.Server, srv VolumesServer) {
  801. s.RegisterService(&_Volumes_serviceDesc, srv)
  802. }
  803. func _Volumes_VolumesCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  804. in := new(VolumesCreateRequest)
  805. if err := dec(in); err != nil {
  806. return nil, err
  807. }
  808. if interceptor == nil {
  809. return srv.(VolumesServer).VolumesCreate(ctx, in)
  810. }
  811. info := &grpc.UnaryServerInfo{
  812. Server: srv,
  813. FullMethod: "/com.docker.api.protos.volumes.v1.Volumes/VolumesCreate",
  814. }
  815. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  816. return srv.(VolumesServer).VolumesCreate(ctx, req.(*VolumesCreateRequest))
  817. }
  818. return interceptor(ctx, in, info, handler)
  819. }
  820. func _Volumes_VolumesList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  821. in := new(VolumesListRequest)
  822. if err := dec(in); err != nil {
  823. return nil, err
  824. }
  825. if interceptor == nil {
  826. return srv.(VolumesServer).VolumesList(ctx, in)
  827. }
  828. info := &grpc.UnaryServerInfo{
  829. Server: srv,
  830. FullMethod: "/com.docker.api.protos.volumes.v1.Volumes/VolumesList",
  831. }
  832. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  833. return srv.(VolumesServer).VolumesList(ctx, req.(*VolumesListRequest))
  834. }
  835. return interceptor(ctx, in, info, handler)
  836. }
  837. func _Volumes_VolumesDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  838. in := new(VolumesDeleteRequest)
  839. if err := dec(in); err != nil {
  840. return nil, err
  841. }
  842. if interceptor == nil {
  843. return srv.(VolumesServer).VolumesDelete(ctx, in)
  844. }
  845. info := &grpc.UnaryServerInfo{
  846. Server: srv,
  847. FullMethod: "/com.docker.api.protos.volumes.v1.Volumes/VolumesDelete",
  848. }
  849. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  850. return srv.(VolumesServer).VolumesDelete(ctx, req.(*VolumesDeleteRequest))
  851. }
  852. return interceptor(ctx, in, info, handler)
  853. }
  854. func _Volumes_VolumesInspect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  855. in := new(VolumesInspectRequest)
  856. if err := dec(in); err != nil {
  857. return nil, err
  858. }
  859. if interceptor == nil {
  860. return srv.(VolumesServer).VolumesInspect(ctx, in)
  861. }
  862. info := &grpc.UnaryServerInfo{
  863. Server: srv,
  864. FullMethod: "/com.docker.api.protos.volumes.v1.Volumes/VolumesInspect",
  865. }
  866. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  867. return srv.(VolumesServer).VolumesInspect(ctx, req.(*VolumesInspectRequest))
  868. }
  869. return interceptor(ctx, in, info, handler)
  870. }
  871. var _Volumes_serviceDesc = grpc.ServiceDesc{
  872. ServiceName: "com.docker.api.protos.volumes.v1.Volumes",
  873. HandlerType: (*VolumesServer)(nil),
  874. Methods: []grpc.MethodDesc{
  875. {
  876. MethodName: "VolumesCreate",
  877. Handler: _Volumes_VolumesCreate_Handler,
  878. },
  879. {
  880. MethodName: "VolumesList",
  881. Handler: _Volumes_VolumesList_Handler,
  882. },
  883. {
  884. MethodName: "VolumesDelete",
  885. Handler: _Volumes_VolumesDelete_Handler,
  886. },
  887. {
  888. MethodName: "VolumesInspect",
  889. Handler: _Volumes_VolumesInspect_Handler,
  890. },
  891. },
  892. Streams: []grpc.StreamDesc{},
  893. Metadata: "cli/server/protos/volumes/v1/volumes.proto",
  894. }