You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

agent.pb.go 30 kB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984
  1. // 使用的语法版本
  2. // Code generated by protoc-gen-go. DO NOT EDIT.
  3. // versions:
  4. // protoc-gen-go v1.34.2
  5. // protoc v4.22.3
  6. // source: pkgs/grpc/agent/agent.proto
  7. package agent
  8. import (
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type StreamDataPacketType int32
  21. const (
  22. StreamDataPacketType_EOF StreamDataPacketType = 0
  23. StreamDataPacketType_Data StreamDataPacketType = 1
  24. StreamDataPacketType_SendArgs StreamDataPacketType = 2
  25. )
  26. // Enum value maps for StreamDataPacketType.
  27. var (
  28. StreamDataPacketType_name = map[int32]string{
  29. 0: "EOF",
  30. 1: "Data",
  31. 2: "SendArgs",
  32. }
  33. StreamDataPacketType_value = map[string]int32{
  34. "EOF": 0,
  35. "Data": 1,
  36. "SendArgs": 2,
  37. }
  38. )
  39. func (x StreamDataPacketType) Enum() *StreamDataPacketType {
  40. p := new(StreamDataPacketType)
  41. *p = x
  42. return p
  43. }
  44. func (x StreamDataPacketType) String() string {
  45. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  46. }
  47. func (StreamDataPacketType) Descriptor() protoreflect.EnumDescriptor {
  48. return file_pkgs_grpc_agent_agent_proto_enumTypes[0].Descriptor()
  49. }
  50. func (StreamDataPacketType) Type() protoreflect.EnumType {
  51. return &file_pkgs_grpc_agent_agent_proto_enumTypes[0]
  52. }
  53. func (x StreamDataPacketType) Number() protoreflect.EnumNumber {
  54. return protoreflect.EnumNumber(x)
  55. }
  56. // Deprecated: Use StreamDataPacketType.Descriptor instead.
  57. func (StreamDataPacketType) EnumDescriptor() ([]byte, []int) {
  58. return file_pkgs_grpc_agent_agent_proto_rawDescGZIP(), []int{0}
  59. }
  60. type ExecuteIOPlanReq struct {
  61. state protoimpl.MessageState
  62. sizeCache protoimpl.SizeCache
  63. unknownFields protoimpl.UnknownFields
  64. Plan string `protobuf:"bytes,1,opt,name=Plan,proto3" json:"Plan,omitempty"`
  65. }
  66. func (x *ExecuteIOPlanReq) Reset() {
  67. *x = ExecuteIOPlanReq{}
  68. if protoimpl.UnsafeEnabled {
  69. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[0]
  70. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  71. ms.StoreMessageInfo(mi)
  72. }
  73. }
  74. func (x *ExecuteIOPlanReq) String() string {
  75. return protoimpl.X.MessageStringOf(x)
  76. }
  77. func (*ExecuteIOPlanReq) ProtoMessage() {}
  78. func (x *ExecuteIOPlanReq) ProtoReflect() protoreflect.Message {
  79. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[0]
  80. if protoimpl.UnsafeEnabled && x != nil {
  81. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  82. if ms.LoadMessageInfo() == nil {
  83. ms.StoreMessageInfo(mi)
  84. }
  85. return ms
  86. }
  87. return mi.MessageOf(x)
  88. }
  89. // Deprecated: Use ExecuteIOPlanReq.ProtoReflect.Descriptor instead.
  90. func (*ExecuteIOPlanReq) Descriptor() ([]byte, []int) {
  91. return file_pkgs_grpc_agent_agent_proto_rawDescGZIP(), []int{0}
  92. }
  93. func (x *ExecuteIOPlanReq) GetPlan() string {
  94. if x != nil {
  95. return x.Plan
  96. }
  97. return ""
  98. }
  99. type ExecuteIOPlanResp struct {
  100. state protoimpl.MessageState
  101. sizeCache protoimpl.SizeCache
  102. unknownFields protoimpl.UnknownFields
  103. }
  104. func (x *ExecuteIOPlanResp) Reset() {
  105. *x = ExecuteIOPlanResp{}
  106. if protoimpl.UnsafeEnabled {
  107. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[1]
  108. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  109. ms.StoreMessageInfo(mi)
  110. }
  111. }
  112. func (x *ExecuteIOPlanResp) String() string {
  113. return protoimpl.X.MessageStringOf(x)
  114. }
  115. func (*ExecuteIOPlanResp) ProtoMessage() {}
  116. func (x *ExecuteIOPlanResp) ProtoReflect() protoreflect.Message {
  117. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[1]
  118. if protoimpl.UnsafeEnabled && x != nil {
  119. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  120. if ms.LoadMessageInfo() == nil {
  121. ms.StoreMessageInfo(mi)
  122. }
  123. return ms
  124. }
  125. return mi.MessageOf(x)
  126. }
  127. // Deprecated: Use ExecuteIOPlanResp.ProtoReflect.Descriptor instead.
  128. func (*ExecuteIOPlanResp) Descriptor() ([]byte, []int) {
  129. return file_pkgs_grpc_agent_agent_proto_rawDescGZIP(), []int{1}
  130. }
  131. // 文件数据。注意:只在Type为Data或EOF的时候,Data字段才能有数据
  132. type FileDataPacket struct {
  133. state protoimpl.MessageState
  134. sizeCache protoimpl.SizeCache
  135. unknownFields protoimpl.UnknownFields
  136. Type StreamDataPacketType `protobuf:"varint,1,opt,name=Type,proto3,enum=StreamDataPacketType" json:"Type,omitempty"`
  137. Data []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`
  138. }
  139. func (x *FileDataPacket) Reset() {
  140. *x = FileDataPacket{}
  141. if protoimpl.UnsafeEnabled {
  142. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[2]
  143. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  144. ms.StoreMessageInfo(mi)
  145. }
  146. }
  147. func (x *FileDataPacket) String() string {
  148. return protoimpl.X.MessageStringOf(x)
  149. }
  150. func (*FileDataPacket) ProtoMessage() {}
  151. func (x *FileDataPacket) ProtoReflect() protoreflect.Message {
  152. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[2]
  153. if protoimpl.UnsafeEnabled && x != nil {
  154. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  155. if ms.LoadMessageInfo() == nil {
  156. ms.StoreMessageInfo(mi)
  157. }
  158. return ms
  159. }
  160. return mi.MessageOf(x)
  161. }
  162. // Deprecated: Use FileDataPacket.ProtoReflect.Descriptor instead.
  163. func (*FileDataPacket) Descriptor() ([]byte, []int) {
  164. return file_pkgs_grpc_agent_agent_proto_rawDescGZIP(), []int{2}
  165. }
  166. func (x *FileDataPacket) GetType() StreamDataPacketType {
  167. if x != nil {
  168. return x.Type
  169. }
  170. return StreamDataPacketType_EOF
  171. }
  172. func (x *FileDataPacket) GetData() []byte {
  173. if x != nil {
  174. return x.Data
  175. }
  176. return nil
  177. }
  178. // 注:EOF时data也可能有数据
  179. type StreamDataPacket struct {
  180. state protoimpl.MessageState
  181. sizeCache protoimpl.SizeCache
  182. unknownFields protoimpl.UnknownFields
  183. Type StreamDataPacketType `protobuf:"varint,1,opt,name=Type,proto3,enum=StreamDataPacketType" json:"Type,omitempty"`
  184. PlanID string `protobuf:"bytes,2,opt,name=PlanID,proto3" json:"PlanID,omitempty"`
  185. VarID int32 `protobuf:"varint,3,opt,name=VarID,proto3" json:"VarID,omitempty"`
  186. Data []byte `protobuf:"bytes,4,opt,name=Data,proto3" json:"Data,omitempty"`
  187. }
  188. func (x *StreamDataPacket) Reset() {
  189. *x = StreamDataPacket{}
  190. if protoimpl.UnsafeEnabled {
  191. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[3]
  192. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  193. ms.StoreMessageInfo(mi)
  194. }
  195. }
  196. func (x *StreamDataPacket) String() string {
  197. return protoimpl.X.MessageStringOf(x)
  198. }
  199. func (*StreamDataPacket) ProtoMessage() {}
  200. func (x *StreamDataPacket) ProtoReflect() protoreflect.Message {
  201. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[3]
  202. if protoimpl.UnsafeEnabled && x != nil {
  203. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  204. if ms.LoadMessageInfo() == nil {
  205. ms.StoreMessageInfo(mi)
  206. }
  207. return ms
  208. }
  209. return mi.MessageOf(x)
  210. }
  211. // Deprecated: Use StreamDataPacket.ProtoReflect.Descriptor instead.
  212. func (*StreamDataPacket) Descriptor() ([]byte, []int) {
  213. return file_pkgs_grpc_agent_agent_proto_rawDescGZIP(), []int{3}
  214. }
  215. func (x *StreamDataPacket) GetType() StreamDataPacketType {
  216. if x != nil {
  217. return x.Type
  218. }
  219. return StreamDataPacketType_EOF
  220. }
  221. func (x *StreamDataPacket) GetPlanID() string {
  222. if x != nil {
  223. return x.PlanID
  224. }
  225. return ""
  226. }
  227. func (x *StreamDataPacket) GetVarID() int32 {
  228. if x != nil {
  229. return x.VarID
  230. }
  231. return 0
  232. }
  233. func (x *StreamDataPacket) GetData() []byte {
  234. if x != nil {
  235. return x.Data
  236. }
  237. return nil
  238. }
  239. type SendStreamResp struct {
  240. state protoimpl.MessageState
  241. sizeCache protoimpl.SizeCache
  242. unknownFields protoimpl.UnknownFields
  243. }
  244. func (x *SendStreamResp) Reset() {
  245. *x = SendStreamResp{}
  246. if protoimpl.UnsafeEnabled {
  247. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[4]
  248. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  249. ms.StoreMessageInfo(mi)
  250. }
  251. }
  252. func (x *SendStreamResp) String() string {
  253. return protoimpl.X.MessageStringOf(x)
  254. }
  255. func (*SendStreamResp) ProtoMessage() {}
  256. func (x *SendStreamResp) ProtoReflect() protoreflect.Message {
  257. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[4]
  258. if protoimpl.UnsafeEnabled && x != nil {
  259. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  260. if ms.LoadMessageInfo() == nil {
  261. ms.StoreMessageInfo(mi)
  262. }
  263. return ms
  264. }
  265. return mi.MessageOf(x)
  266. }
  267. // Deprecated: Use SendStreamResp.ProtoReflect.Descriptor instead.
  268. func (*SendStreamResp) Descriptor() ([]byte, []int) {
  269. return file_pkgs_grpc_agent_agent_proto_rawDescGZIP(), []int{4}
  270. }
  271. type GetStreamReq struct {
  272. state protoimpl.MessageState
  273. sizeCache protoimpl.SizeCache
  274. unknownFields protoimpl.UnknownFields
  275. PlanID string `protobuf:"bytes,1,opt,name=PlanID,proto3" json:"PlanID,omitempty"`
  276. VarID int32 `protobuf:"varint,2,opt,name=VarID,proto3" json:"VarID,omitempty"`
  277. SignalID int32 `protobuf:"varint,3,opt,name=SignalID,proto3" json:"SignalID,omitempty"`
  278. Signal string `protobuf:"bytes,4,opt,name=Signal,proto3" json:"Signal,omitempty"`
  279. }
  280. func (x *GetStreamReq) Reset() {
  281. *x = GetStreamReq{}
  282. if protoimpl.UnsafeEnabled {
  283. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[5]
  284. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  285. ms.StoreMessageInfo(mi)
  286. }
  287. }
  288. func (x *GetStreamReq) String() string {
  289. return protoimpl.X.MessageStringOf(x)
  290. }
  291. func (*GetStreamReq) ProtoMessage() {}
  292. func (x *GetStreamReq) ProtoReflect() protoreflect.Message {
  293. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[5]
  294. if protoimpl.UnsafeEnabled && x != nil {
  295. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  296. if ms.LoadMessageInfo() == nil {
  297. ms.StoreMessageInfo(mi)
  298. }
  299. return ms
  300. }
  301. return mi.MessageOf(x)
  302. }
  303. // Deprecated: Use GetStreamReq.ProtoReflect.Descriptor instead.
  304. func (*GetStreamReq) Descriptor() ([]byte, []int) {
  305. return file_pkgs_grpc_agent_agent_proto_rawDescGZIP(), []int{5}
  306. }
  307. func (x *GetStreamReq) GetPlanID() string {
  308. if x != nil {
  309. return x.PlanID
  310. }
  311. return ""
  312. }
  313. func (x *GetStreamReq) GetVarID() int32 {
  314. if x != nil {
  315. return x.VarID
  316. }
  317. return 0
  318. }
  319. func (x *GetStreamReq) GetSignalID() int32 {
  320. if x != nil {
  321. return x.SignalID
  322. }
  323. return 0
  324. }
  325. func (x *GetStreamReq) GetSignal() string {
  326. if x != nil {
  327. return x.Signal
  328. }
  329. return ""
  330. }
  331. type SendVarReq struct {
  332. state protoimpl.MessageState
  333. sizeCache protoimpl.SizeCache
  334. unknownFields protoimpl.UnknownFields
  335. PlanID string `protobuf:"bytes,1,opt,name=PlanID,proto3" json:"PlanID,omitempty"`
  336. VarID int32 `protobuf:"varint,2,opt,name=VarID,proto3" json:"VarID,omitempty"`
  337. VarValue string `protobuf:"bytes,3,opt,name=VarValue,proto3" json:"VarValue,omitempty"`
  338. }
  339. func (x *SendVarReq) Reset() {
  340. *x = SendVarReq{}
  341. if protoimpl.UnsafeEnabled {
  342. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[6]
  343. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  344. ms.StoreMessageInfo(mi)
  345. }
  346. }
  347. func (x *SendVarReq) String() string {
  348. return protoimpl.X.MessageStringOf(x)
  349. }
  350. func (*SendVarReq) ProtoMessage() {}
  351. func (x *SendVarReq) ProtoReflect() protoreflect.Message {
  352. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[6]
  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 SendVarReq.ProtoReflect.Descriptor instead.
  363. func (*SendVarReq) Descriptor() ([]byte, []int) {
  364. return file_pkgs_grpc_agent_agent_proto_rawDescGZIP(), []int{6}
  365. }
  366. func (x *SendVarReq) GetPlanID() string {
  367. if x != nil {
  368. return x.PlanID
  369. }
  370. return ""
  371. }
  372. func (x *SendVarReq) GetVarID() int32 {
  373. if x != nil {
  374. return x.VarID
  375. }
  376. return 0
  377. }
  378. func (x *SendVarReq) GetVarValue() string {
  379. if x != nil {
  380. return x.VarValue
  381. }
  382. return ""
  383. }
  384. type SendVarResp struct {
  385. state protoimpl.MessageState
  386. sizeCache protoimpl.SizeCache
  387. unknownFields protoimpl.UnknownFields
  388. }
  389. func (x *SendVarResp) Reset() {
  390. *x = SendVarResp{}
  391. if protoimpl.UnsafeEnabled {
  392. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[7]
  393. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  394. ms.StoreMessageInfo(mi)
  395. }
  396. }
  397. func (x *SendVarResp) String() string {
  398. return protoimpl.X.MessageStringOf(x)
  399. }
  400. func (*SendVarResp) ProtoMessage() {}
  401. func (x *SendVarResp) ProtoReflect() protoreflect.Message {
  402. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[7]
  403. if protoimpl.UnsafeEnabled && x != nil {
  404. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  405. if ms.LoadMessageInfo() == nil {
  406. ms.StoreMessageInfo(mi)
  407. }
  408. return ms
  409. }
  410. return mi.MessageOf(x)
  411. }
  412. // Deprecated: Use SendVarResp.ProtoReflect.Descriptor instead.
  413. func (*SendVarResp) Descriptor() ([]byte, []int) {
  414. return file_pkgs_grpc_agent_agent_proto_rawDescGZIP(), []int{7}
  415. }
  416. type GetVarReq struct {
  417. state protoimpl.MessageState
  418. sizeCache protoimpl.SizeCache
  419. unknownFields protoimpl.UnknownFields
  420. PlanID string `protobuf:"bytes,1,opt,name=PlanID,proto3" json:"PlanID,omitempty"`
  421. VarID int32 `protobuf:"varint,2,opt,name=VarID,proto3" json:"VarID,omitempty"`
  422. SignalID int32 `protobuf:"varint,3,opt,name=SignalID,proto3" json:"SignalID,omitempty"`
  423. Signal string `protobuf:"bytes,4,opt,name=Signal,proto3" json:"Signal,omitempty"`
  424. }
  425. func (x *GetVarReq) Reset() {
  426. *x = GetVarReq{}
  427. if protoimpl.UnsafeEnabled {
  428. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[8]
  429. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  430. ms.StoreMessageInfo(mi)
  431. }
  432. }
  433. func (x *GetVarReq) String() string {
  434. return protoimpl.X.MessageStringOf(x)
  435. }
  436. func (*GetVarReq) ProtoMessage() {}
  437. func (x *GetVarReq) ProtoReflect() protoreflect.Message {
  438. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[8]
  439. if protoimpl.UnsafeEnabled && x != nil {
  440. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  441. if ms.LoadMessageInfo() == nil {
  442. ms.StoreMessageInfo(mi)
  443. }
  444. return ms
  445. }
  446. return mi.MessageOf(x)
  447. }
  448. // Deprecated: Use GetVarReq.ProtoReflect.Descriptor instead.
  449. func (*GetVarReq) Descriptor() ([]byte, []int) {
  450. return file_pkgs_grpc_agent_agent_proto_rawDescGZIP(), []int{8}
  451. }
  452. func (x *GetVarReq) GetPlanID() string {
  453. if x != nil {
  454. return x.PlanID
  455. }
  456. return ""
  457. }
  458. func (x *GetVarReq) GetVarID() int32 {
  459. if x != nil {
  460. return x.VarID
  461. }
  462. return 0
  463. }
  464. func (x *GetVarReq) GetSignalID() int32 {
  465. if x != nil {
  466. return x.SignalID
  467. }
  468. return 0
  469. }
  470. func (x *GetVarReq) GetSignal() string {
  471. if x != nil {
  472. return x.Signal
  473. }
  474. return ""
  475. }
  476. type GetVarResp struct {
  477. state protoimpl.MessageState
  478. sizeCache protoimpl.SizeCache
  479. unknownFields protoimpl.UnknownFields
  480. Var string `protobuf:"bytes,1,opt,name=Var,proto3" json:"Var,omitempty"`
  481. }
  482. func (x *GetVarResp) Reset() {
  483. *x = GetVarResp{}
  484. if protoimpl.UnsafeEnabled {
  485. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[9]
  486. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  487. ms.StoreMessageInfo(mi)
  488. }
  489. }
  490. func (x *GetVarResp) String() string {
  491. return protoimpl.X.MessageStringOf(x)
  492. }
  493. func (*GetVarResp) ProtoMessage() {}
  494. func (x *GetVarResp) ProtoReflect() protoreflect.Message {
  495. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[9]
  496. if protoimpl.UnsafeEnabled && x != nil {
  497. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  498. if ms.LoadMessageInfo() == nil {
  499. ms.StoreMessageInfo(mi)
  500. }
  501. return ms
  502. }
  503. return mi.MessageOf(x)
  504. }
  505. // Deprecated: Use GetVarResp.ProtoReflect.Descriptor instead.
  506. func (*GetVarResp) Descriptor() ([]byte, []int) {
  507. return file_pkgs_grpc_agent_agent_proto_rawDescGZIP(), []int{9}
  508. }
  509. func (x *GetVarResp) GetVar() string {
  510. if x != nil {
  511. return x.Var
  512. }
  513. return ""
  514. }
  515. type PingReq struct {
  516. state protoimpl.MessageState
  517. sizeCache protoimpl.SizeCache
  518. unknownFields protoimpl.UnknownFields
  519. }
  520. func (x *PingReq) Reset() {
  521. *x = PingReq{}
  522. if protoimpl.UnsafeEnabled {
  523. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[10]
  524. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  525. ms.StoreMessageInfo(mi)
  526. }
  527. }
  528. func (x *PingReq) String() string {
  529. return protoimpl.X.MessageStringOf(x)
  530. }
  531. func (*PingReq) ProtoMessage() {}
  532. func (x *PingReq) ProtoReflect() protoreflect.Message {
  533. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[10]
  534. if protoimpl.UnsafeEnabled && x != nil {
  535. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  536. if ms.LoadMessageInfo() == nil {
  537. ms.StoreMessageInfo(mi)
  538. }
  539. return ms
  540. }
  541. return mi.MessageOf(x)
  542. }
  543. // Deprecated: Use PingReq.ProtoReflect.Descriptor instead.
  544. func (*PingReq) Descriptor() ([]byte, []int) {
  545. return file_pkgs_grpc_agent_agent_proto_rawDescGZIP(), []int{10}
  546. }
  547. type PingResp struct {
  548. state protoimpl.MessageState
  549. sizeCache protoimpl.SizeCache
  550. unknownFields protoimpl.UnknownFields
  551. }
  552. func (x *PingResp) Reset() {
  553. *x = PingResp{}
  554. if protoimpl.UnsafeEnabled {
  555. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[11]
  556. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  557. ms.StoreMessageInfo(mi)
  558. }
  559. }
  560. func (x *PingResp) String() string {
  561. return protoimpl.X.MessageStringOf(x)
  562. }
  563. func (*PingResp) ProtoMessage() {}
  564. func (x *PingResp) ProtoReflect() protoreflect.Message {
  565. mi := &file_pkgs_grpc_agent_agent_proto_msgTypes[11]
  566. if protoimpl.UnsafeEnabled && x != nil {
  567. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  568. if ms.LoadMessageInfo() == nil {
  569. ms.StoreMessageInfo(mi)
  570. }
  571. return ms
  572. }
  573. return mi.MessageOf(x)
  574. }
  575. // Deprecated: Use PingResp.ProtoReflect.Descriptor instead.
  576. func (*PingResp) Descriptor() ([]byte, []int) {
  577. return file_pkgs_grpc_agent_agent_proto_rawDescGZIP(), []int{11}
  578. }
  579. var File_pkgs_grpc_agent_agent_proto protoreflect.FileDescriptor
  580. var file_pkgs_grpc_agent_agent_proto_rawDesc = []byte{
  581. 0x0a, 0x1b, 0x70, 0x6b, 0x67, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x67, 0x65, 0x6e,
  582. 0x74, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x26, 0x0a,
  583. 0x10, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x49, 0x4f, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65,
  584. 0x71, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x6c, 0x61, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  585. 0x04, 0x50, 0x6c, 0x61, 0x6e, 0x22, 0x13, 0x0a, 0x11, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65,
  586. 0x49, 0x4f, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x4f, 0x0a, 0x0e, 0x46, 0x69,
  587. 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x29, 0x0a, 0x04,
  588. 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x53, 0x74, 0x72,
  589. 0x65, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x79, 0x70,
  590. 0x65, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18,
  591. 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x7f, 0x0a, 0x10, 0x53,
  592. 0x74, 0x72, 0x65, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x12,
  593. 0x29, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e,
  594. 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74,
  595. 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x6c,
  596. 0x61, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x50, 0x6c, 0x61, 0x6e,
  597. 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x56, 0x61, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28,
  598. 0x05, 0x52, 0x05, 0x56, 0x61, 0x72, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61,
  599. 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0x10, 0x0a, 0x0e,
  600. 0x53, 0x65, 0x6e, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x22, 0x70,
  601. 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x16,
  602. 0x0a, 0x06, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
  603. 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x56, 0x61, 0x72, 0x49, 0x44, 0x18,
  604. 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x56, 0x61, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08,
  605. 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
  606. 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e,
  607. 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c,
  608. 0x22, 0x56, 0x0a, 0x0a, 0x53, 0x65, 0x6e, 0x64, 0x56, 0x61, 0x72, 0x52, 0x65, 0x71, 0x12, 0x16,
  609. 0x0a, 0x06, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
  610. 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x56, 0x61, 0x72, 0x49, 0x44, 0x18,
  611. 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x56, 0x61, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08,
  612. 0x56, 0x61, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  613. 0x56, 0x61, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64,
  614. 0x56, 0x61, 0x72, 0x52, 0x65, 0x73, 0x70, 0x22, 0x6d, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x56, 0x61,
  615. 0x72, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x44, 0x18, 0x01,
  616. 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x50, 0x6c, 0x61, 0x6e, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05,
  617. 0x56, 0x61, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x56, 0x61, 0x72,
  618. 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x03,
  619. 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x49, 0x44, 0x12, 0x16,
  620. 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
  621. 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x22, 0x1e, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, 0x61, 0x72,
  622. 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x56, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
  623. 0x09, 0x52, 0x03, 0x56, 0x61, 0x72, 0x22, 0x09, 0x0a, 0x07, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65,
  624. 0x71, 0x22, 0x0a, 0x0a, 0x08, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x2a, 0x37, 0x0a,
  625. 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x50, 0x61, 0x63, 0x6b, 0x65,
  626. 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x4f, 0x46, 0x10, 0x00, 0x12, 0x08,
  627. 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x65, 0x6e, 0x64,
  628. 0x41, 0x72, 0x67, 0x73, 0x10, 0x02, 0x32, 0x96, 0x02, 0x0a, 0x05, 0x41, 0x67, 0x65, 0x6e, 0x74,
  629. 0x12, 0x38, 0x0a, 0x0d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x49, 0x4f, 0x50, 0x6c, 0x61,
  630. 0x6e, 0x12, 0x11, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x49, 0x4f, 0x50, 0x6c, 0x61,
  631. 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x49, 0x4f,
  632. 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x34, 0x0a, 0x0a, 0x53, 0x65,
  633. 0x6e, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x11, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61,
  634. 0x6d, 0x44, 0x61, 0x74, 0x61, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x1a, 0x0f, 0x2e, 0x53, 0x65,
  635. 0x6e, 0x64, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x28, 0x01,
  636. 0x12, 0x31, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x0d, 0x2e,
  637. 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x53,
  638. 0x74, 0x72, 0x65, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x22,
  639. 0x00, 0x30, 0x01, 0x12, 0x26, 0x0a, 0x07, 0x53, 0x65, 0x6e, 0x64, 0x56, 0x61, 0x72, 0x12, 0x0b,
  640. 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x56, 0x61, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x0c, 0x2e, 0x53, 0x65,
  641. 0x6e, 0x64, 0x56, 0x61, 0x72, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x23, 0x0a, 0x06, 0x47,
  642. 0x65, 0x74, 0x56, 0x61, 0x72, 0x12, 0x0a, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x72, 0x52, 0x65,
  643. 0x71, 0x1a, 0x0b, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x72, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00,
  644. 0x12, 0x1d, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x08, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52,
  645. 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x42,
  646. 0x09, 0x5a, 0x07, 0x2e, 0x3b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  647. 0x6f, 0x33,
  648. }
  649. var (
  650. file_pkgs_grpc_agent_agent_proto_rawDescOnce sync.Once
  651. file_pkgs_grpc_agent_agent_proto_rawDescData = file_pkgs_grpc_agent_agent_proto_rawDesc
  652. )
  653. func file_pkgs_grpc_agent_agent_proto_rawDescGZIP() []byte {
  654. file_pkgs_grpc_agent_agent_proto_rawDescOnce.Do(func() {
  655. file_pkgs_grpc_agent_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_pkgs_grpc_agent_agent_proto_rawDescData)
  656. })
  657. return file_pkgs_grpc_agent_agent_proto_rawDescData
  658. }
  659. var file_pkgs_grpc_agent_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  660. var file_pkgs_grpc_agent_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
  661. var file_pkgs_grpc_agent_agent_proto_goTypes = []any{
  662. (StreamDataPacketType)(0), // 0: StreamDataPacketType
  663. (*ExecuteIOPlanReq)(nil), // 1: ExecuteIOPlanReq
  664. (*ExecuteIOPlanResp)(nil), // 2: ExecuteIOPlanResp
  665. (*FileDataPacket)(nil), // 3: FileDataPacket
  666. (*StreamDataPacket)(nil), // 4: StreamDataPacket
  667. (*SendStreamResp)(nil), // 5: SendStreamResp
  668. (*GetStreamReq)(nil), // 6: GetStreamReq
  669. (*SendVarReq)(nil), // 7: SendVarReq
  670. (*SendVarResp)(nil), // 8: SendVarResp
  671. (*GetVarReq)(nil), // 9: GetVarReq
  672. (*GetVarResp)(nil), // 10: GetVarResp
  673. (*PingReq)(nil), // 11: PingReq
  674. (*PingResp)(nil), // 12: PingResp
  675. }
  676. var file_pkgs_grpc_agent_agent_proto_depIdxs = []int32{
  677. 0, // 0: FileDataPacket.Type:type_name -> StreamDataPacketType
  678. 0, // 1: StreamDataPacket.Type:type_name -> StreamDataPacketType
  679. 1, // 2: Agent.ExecuteIOPlan:input_type -> ExecuteIOPlanReq
  680. 4, // 3: Agent.SendStream:input_type -> StreamDataPacket
  681. 6, // 4: Agent.GetStream:input_type -> GetStreamReq
  682. 7, // 5: Agent.SendVar:input_type -> SendVarReq
  683. 9, // 6: Agent.GetVar:input_type -> GetVarReq
  684. 11, // 7: Agent.Ping:input_type -> PingReq
  685. 2, // 8: Agent.ExecuteIOPlan:output_type -> ExecuteIOPlanResp
  686. 5, // 9: Agent.SendStream:output_type -> SendStreamResp
  687. 4, // 10: Agent.GetStream:output_type -> StreamDataPacket
  688. 8, // 11: Agent.SendVar:output_type -> SendVarResp
  689. 10, // 12: Agent.GetVar:output_type -> GetVarResp
  690. 12, // 13: Agent.Ping:output_type -> PingResp
  691. 8, // [8:14] is the sub-list for method output_type
  692. 2, // [2:8] is the sub-list for method input_type
  693. 2, // [2:2] is the sub-list for extension type_name
  694. 2, // [2:2] is the sub-list for extension extendee
  695. 0, // [0:2] is the sub-list for field type_name
  696. }
  697. func init() { file_pkgs_grpc_agent_agent_proto_init() }
  698. func file_pkgs_grpc_agent_agent_proto_init() {
  699. if File_pkgs_grpc_agent_agent_proto != nil {
  700. return
  701. }
  702. if !protoimpl.UnsafeEnabled {
  703. file_pkgs_grpc_agent_agent_proto_msgTypes[0].Exporter = func(v any, i int) any {
  704. switch v := v.(*ExecuteIOPlanReq); i {
  705. case 0:
  706. return &v.state
  707. case 1:
  708. return &v.sizeCache
  709. case 2:
  710. return &v.unknownFields
  711. default:
  712. return nil
  713. }
  714. }
  715. file_pkgs_grpc_agent_agent_proto_msgTypes[1].Exporter = func(v any, i int) any {
  716. switch v := v.(*ExecuteIOPlanResp); i {
  717. case 0:
  718. return &v.state
  719. case 1:
  720. return &v.sizeCache
  721. case 2:
  722. return &v.unknownFields
  723. default:
  724. return nil
  725. }
  726. }
  727. file_pkgs_grpc_agent_agent_proto_msgTypes[2].Exporter = func(v any, i int) any {
  728. switch v := v.(*FileDataPacket); i {
  729. case 0:
  730. return &v.state
  731. case 1:
  732. return &v.sizeCache
  733. case 2:
  734. return &v.unknownFields
  735. default:
  736. return nil
  737. }
  738. }
  739. file_pkgs_grpc_agent_agent_proto_msgTypes[3].Exporter = func(v any, i int) any {
  740. switch v := v.(*StreamDataPacket); i {
  741. case 0:
  742. return &v.state
  743. case 1:
  744. return &v.sizeCache
  745. case 2:
  746. return &v.unknownFields
  747. default:
  748. return nil
  749. }
  750. }
  751. file_pkgs_grpc_agent_agent_proto_msgTypes[4].Exporter = func(v any, i int) any {
  752. switch v := v.(*SendStreamResp); i {
  753. case 0:
  754. return &v.state
  755. case 1:
  756. return &v.sizeCache
  757. case 2:
  758. return &v.unknownFields
  759. default:
  760. return nil
  761. }
  762. }
  763. file_pkgs_grpc_agent_agent_proto_msgTypes[5].Exporter = func(v any, i int) any {
  764. switch v := v.(*GetStreamReq); i {
  765. case 0:
  766. return &v.state
  767. case 1:
  768. return &v.sizeCache
  769. case 2:
  770. return &v.unknownFields
  771. default:
  772. return nil
  773. }
  774. }
  775. file_pkgs_grpc_agent_agent_proto_msgTypes[6].Exporter = func(v any, i int) any {
  776. switch v := v.(*SendVarReq); i {
  777. case 0:
  778. return &v.state
  779. case 1:
  780. return &v.sizeCache
  781. case 2:
  782. return &v.unknownFields
  783. default:
  784. return nil
  785. }
  786. }
  787. file_pkgs_grpc_agent_agent_proto_msgTypes[7].Exporter = func(v any, i int) any {
  788. switch v := v.(*SendVarResp); i {
  789. case 0:
  790. return &v.state
  791. case 1:
  792. return &v.sizeCache
  793. case 2:
  794. return &v.unknownFields
  795. default:
  796. return nil
  797. }
  798. }
  799. file_pkgs_grpc_agent_agent_proto_msgTypes[8].Exporter = func(v any, i int) any {
  800. switch v := v.(*GetVarReq); i {
  801. case 0:
  802. return &v.state
  803. case 1:
  804. return &v.sizeCache
  805. case 2:
  806. return &v.unknownFields
  807. default:
  808. return nil
  809. }
  810. }
  811. file_pkgs_grpc_agent_agent_proto_msgTypes[9].Exporter = func(v any, i int) any {
  812. switch v := v.(*GetVarResp); i {
  813. case 0:
  814. return &v.state
  815. case 1:
  816. return &v.sizeCache
  817. case 2:
  818. return &v.unknownFields
  819. default:
  820. return nil
  821. }
  822. }
  823. file_pkgs_grpc_agent_agent_proto_msgTypes[10].Exporter = func(v any, i int) any {
  824. switch v := v.(*PingReq); i {
  825. case 0:
  826. return &v.state
  827. case 1:
  828. return &v.sizeCache
  829. case 2:
  830. return &v.unknownFields
  831. default:
  832. return nil
  833. }
  834. }
  835. file_pkgs_grpc_agent_agent_proto_msgTypes[11].Exporter = func(v any, i int) any {
  836. switch v := v.(*PingResp); i {
  837. case 0:
  838. return &v.state
  839. case 1:
  840. return &v.sizeCache
  841. case 2:
  842. return &v.unknownFields
  843. default:
  844. return nil
  845. }
  846. }
  847. }
  848. type x struct{}
  849. out := protoimpl.TypeBuilder{
  850. File: protoimpl.DescBuilder{
  851. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  852. RawDescriptor: file_pkgs_grpc_agent_agent_proto_rawDesc,
  853. NumEnums: 1,
  854. NumMessages: 12,
  855. NumExtensions: 0,
  856. NumServices: 1,
  857. },
  858. GoTypes: file_pkgs_grpc_agent_agent_proto_goTypes,
  859. DependencyIndexes: file_pkgs_grpc_agent_agent_proto_depIdxs,
  860. EnumInfos: file_pkgs_grpc_agent_agent_proto_enumTypes,
  861. MessageInfos: file_pkgs_grpc_agent_agent_proto_msgTypes,
  862. }.Build()
  863. File_pkgs_grpc_agent_agent_proto = out.File
  864. file_pkgs_grpc_agent_agent_proto_rawDesc = nil
  865. file_pkgs_grpc_agent_agent_proto_goTypes = nil
  866. file_pkgs_grpc_agent_agent_proto_depIdxs = nil
  867. }

本项目旨在将云际存储公共基础设施化,使个人及企业可低门槛使用高效的云际存储服务(安装开箱即用云际存储客户端即可,无需关注其他组件的部署),同时支持用户灵活便捷定制云际存储的功能细节。