node.pb.go 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.31.0
  4. // protoc v4.25.0
  5. // source: proto/node.proto
  6. package kubernetes_service
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type GetNodeListRequest struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. }
  24. func (x *GetNodeListRequest) Reset() {
  25. *x = GetNodeListRequest{}
  26. if protoimpl.UnsafeEnabled {
  27. mi := &file_proto_node_proto_msgTypes[0]
  28. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  29. ms.StoreMessageInfo(mi)
  30. }
  31. }
  32. func (x *GetNodeListRequest) String() string {
  33. return protoimpl.X.MessageStringOf(x)
  34. }
  35. func (*GetNodeListRequest) ProtoMessage() {}
  36. func (x *GetNodeListRequest) ProtoReflect() protoreflect.Message {
  37. mi := &file_proto_node_proto_msgTypes[0]
  38. if protoimpl.UnsafeEnabled && x != nil {
  39. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  40. if ms.LoadMessageInfo() == nil {
  41. ms.StoreMessageInfo(mi)
  42. }
  43. return ms
  44. }
  45. return mi.MessageOf(x)
  46. }
  47. // Deprecated: Use GetNodeListRequest.ProtoReflect.Descriptor instead.
  48. func (*GetNodeListRequest) Descriptor() ([]byte, []int) {
  49. return file_proto_node_proto_rawDescGZIP(), []int{0}
  50. }
  51. type GetNodeListResponse struct {
  52. state protoimpl.MessageState
  53. sizeCache protoimpl.SizeCache
  54. unknownFields protoimpl.UnknownFields
  55. }
  56. func (x *GetNodeListResponse) Reset() {
  57. *x = GetNodeListResponse{}
  58. if protoimpl.UnsafeEnabled {
  59. mi := &file_proto_node_proto_msgTypes[1]
  60. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  61. ms.StoreMessageInfo(mi)
  62. }
  63. }
  64. func (x *GetNodeListResponse) String() string {
  65. return protoimpl.X.MessageStringOf(x)
  66. }
  67. func (*GetNodeListResponse) ProtoMessage() {}
  68. func (x *GetNodeListResponse) ProtoReflect() protoreflect.Message {
  69. mi := &file_proto_node_proto_msgTypes[1]
  70. if protoimpl.UnsafeEnabled && x != nil {
  71. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  72. if ms.LoadMessageInfo() == nil {
  73. ms.StoreMessageInfo(mi)
  74. }
  75. return ms
  76. }
  77. return mi.MessageOf(x)
  78. }
  79. // Deprecated: Use GetNodeListResponse.ProtoReflect.Descriptor instead.
  80. func (*GetNodeListResponse) Descriptor() ([]byte, []int) {
  81. return file_proto_node_proto_rawDescGZIP(), []int{1}
  82. }
  83. type GetNodeRequest struct {
  84. state protoimpl.MessageState
  85. sizeCache protoimpl.SizeCache
  86. unknownFields protoimpl.UnknownFields
  87. }
  88. func (x *GetNodeRequest) Reset() {
  89. *x = GetNodeRequest{}
  90. if protoimpl.UnsafeEnabled {
  91. mi := &file_proto_node_proto_msgTypes[2]
  92. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  93. ms.StoreMessageInfo(mi)
  94. }
  95. }
  96. func (x *GetNodeRequest) String() string {
  97. return protoimpl.X.MessageStringOf(x)
  98. }
  99. func (*GetNodeRequest) ProtoMessage() {}
  100. func (x *GetNodeRequest) ProtoReflect() protoreflect.Message {
  101. mi := &file_proto_node_proto_msgTypes[2]
  102. if protoimpl.UnsafeEnabled && x != nil {
  103. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  104. if ms.LoadMessageInfo() == nil {
  105. ms.StoreMessageInfo(mi)
  106. }
  107. return ms
  108. }
  109. return mi.MessageOf(x)
  110. }
  111. // Deprecated: Use GetNodeRequest.ProtoReflect.Descriptor instead.
  112. func (*GetNodeRequest) Descriptor() ([]byte, []int) {
  113. return file_proto_node_proto_rawDescGZIP(), []int{2}
  114. }
  115. type GetNodeResponse struct {
  116. state protoimpl.MessageState
  117. sizeCache protoimpl.SizeCache
  118. unknownFields protoimpl.UnknownFields
  119. }
  120. func (x *GetNodeResponse) Reset() {
  121. *x = GetNodeResponse{}
  122. if protoimpl.UnsafeEnabled {
  123. mi := &file_proto_node_proto_msgTypes[3]
  124. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  125. ms.StoreMessageInfo(mi)
  126. }
  127. }
  128. func (x *GetNodeResponse) String() string {
  129. return protoimpl.X.MessageStringOf(x)
  130. }
  131. func (*GetNodeResponse) ProtoMessage() {}
  132. func (x *GetNodeResponse) ProtoReflect() protoreflect.Message {
  133. mi := &file_proto_node_proto_msgTypes[3]
  134. if protoimpl.UnsafeEnabled && x != nil {
  135. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  136. if ms.LoadMessageInfo() == nil {
  137. ms.StoreMessageInfo(mi)
  138. }
  139. return ms
  140. }
  141. return mi.MessageOf(x)
  142. }
  143. // Deprecated: Use GetNodeResponse.ProtoReflect.Descriptor instead.
  144. func (*GetNodeResponse) Descriptor() ([]byte, []int) {
  145. return file_proto_node_proto_rawDescGZIP(), []int{3}
  146. }
  147. var File_proto_node_proto protoreflect.FileDescriptor
  148. var file_proto_node_proto_rawDesc = []byte{
  149. 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  150. 0x74, 0x6f, 0x12, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  151. 0x22, 0x14, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52,
  152. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64,
  153. 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x10, 0x0a,
  154. 0x0e, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
  155. 0x11, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  156. 0x73, 0x65, 0x32, 0xa9, 0x01, 0x0a, 0x0b, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69,
  157. 0x63, 0x65, 0x12, 0x52, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73,
  158. 0x74, 0x12, 0x20, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  159. 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75,
  160. 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
  161. 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
  162. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64,
  163. 0x65, 0x12, 0x1c, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  164. 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  165. 0x1d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47,
  166. 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x1c,
  167. 0x5a, 0x1a, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3b, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e,
  168. 0x65, 0x74, 0x65, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72,
  169. 0x6f, 0x74, 0x6f, 0x33,
  170. }
  171. var (
  172. file_proto_node_proto_rawDescOnce sync.Once
  173. file_proto_node_proto_rawDescData = file_proto_node_proto_rawDesc
  174. )
  175. func file_proto_node_proto_rawDescGZIP() []byte {
  176. file_proto_node_proto_rawDescOnce.Do(func() {
  177. file_proto_node_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_node_proto_rawDescData)
  178. })
  179. return file_proto_node_proto_rawDescData
  180. }
  181. var file_proto_node_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  182. var file_proto_node_proto_goTypes = []interface{}{
  183. (*GetNodeListRequest)(nil), // 0: node_service.GetNodeListRequest
  184. (*GetNodeListResponse)(nil), // 1: node_service.GetNodeListResponse
  185. (*GetNodeRequest)(nil), // 2: node_service.GetNodeRequest
  186. (*GetNodeResponse)(nil), // 3: node_service.GetNodeResponse
  187. }
  188. var file_proto_node_proto_depIdxs = []int32{
  189. 0, // 0: node_service.NodeService.GetNodeList:input_type -> node_service.GetNodeListRequest
  190. 2, // 1: node_service.NodeService.GetNode:input_type -> node_service.GetNodeRequest
  191. 1, // 2: node_service.NodeService.GetNodeList:output_type -> node_service.GetNodeListResponse
  192. 3, // 3: node_service.NodeService.GetNode:output_type -> node_service.GetNodeResponse
  193. 2, // [2:4] is the sub-list for method output_type
  194. 0, // [0:2] is the sub-list for method input_type
  195. 0, // [0:0] is the sub-list for extension type_name
  196. 0, // [0:0] is the sub-list for extension extendee
  197. 0, // [0:0] is the sub-list for field type_name
  198. }
  199. func init() { file_proto_node_proto_init() }
  200. func file_proto_node_proto_init() {
  201. if File_proto_node_proto != nil {
  202. return
  203. }
  204. if !protoimpl.UnsafeEnabled {
  205. file_proto_node_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  206. switch v := v.(*GetNodeListRequest); i {
  207. case 0:
  208. return &v.state
  209. case 1:
  210. return &v.sizeCache
  211. case 2:
  212. return &v.unknownFields
  213. default:
  214. return nil
  215. }
  216. }
  217. file_proto_node_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  218. switch v := v.(*GetNodeListResponse); i {
  219. case 0:
  220. return &v.state
  221. case 1:
  222. return &v.sizeCache
  223. case 2:
  224. return &v.unknownFields
  225. default:
  226. return nil
  227. }
  228. }
  229. file_proto_node_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  230. switch v := v.(*GetNodeRequest); i {
  231. case 0:
  232. return &v.state
  233. case 1:
  234. return &v.sizeCache
  235. case 2:
  236. return &v.unknownFields
  237. default:
  238. return nil
  239. }
  240. }
  241. file_proto_node_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  242. switch v := v.(*GetNodeResponse); i {
  243. case 0:
  244. return &v.state
  245. case 1:
  246. return &v.sizeCache
  247. case 2:
  248. return &v.unknownFields
  249. default:
  250. return nil
  251. }
  252. }
  253. }
  254. type x struct{}
  255. out := protoimpl.TypeBuilder{
  256. File: protoimpl.DescBuilder{
  257. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  258. RawDescriptor: file_proto_node_proto_rawDesc,
  259. NumEnums: 0,
  260. NumMessages: 4,
  261. NumExtensions: 0,
  262. NumServices: 1,
  263. },
  264. GoTypes: file_proto_node_proto_goTypes,
  265. DependencyIndexes: file_proto_node_proto_depIdxs,
  266. MessageInfos: file_proto_node_proto_msgTypes,
  267. }.Build()
  268. File_proto_node_proto = out.File
  269. file_proto_node_proto_rawDesc = nil
  270. file_proto_node_proto_goTypes = nil
  271. file_proto_node_proto_depIdxs = nil
  272. }