loadBalancer.pb.go 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.21.4
  5. // source: proto/loadBalancer.proto
  6. package loadBalancer
  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 LoadBalancer struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  24. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  25. DefaultPools []string `protobuf:"bytes,3,rep,name=default_pools,json=defaultPools,proto3" json:"default_pools,omitempty"`
  26. FallbackPool string `protobuf:"bytes,4,opt,name=fallback_pool,json=fallbackPool,proto3" json:"fallback_pool,omitempty"`
  27. Proxied bool `protobuf:"varint,5,opt,name=proxied,proto3" json:"proxied,omitempty"`
  28. }
  29. func (x *LoadBalancer) Reset() {
  30. *x = LoadBalancer{}
  31. if protoimpl.UnsafeEnabled {
  32. mi := &file_proto_loadBalancer_proto_msgTypes[0]
  33. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  34. ms.StoreMessageInfo(mi)
  35. }
  36. }
  37. func (x *LoadBalancer) String() string {
  38. return protoimpl.X.MessageStringOf(x)
  39. }
  40. func (*LoadBalancer) ProtoMessage() {}
  41. func (x *LoadBalancer) ProtoReflect() protoreflect.Message {
  42. mi := &file_proto_loadBalancer_proto_msgTypes[0]
  43. if protoimpl.UnsafeEnabled && x != nil {
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. if ms.LoadMessageInfo() == nil {
  46. ms.StoreMessageInfo(mi)
  47. }
  48. return ms
  49. }
  50. return mi.MessageOf(x)
  51. }
  52. // Deprecated: Use LoadBalancer.ProtoReflect.Descriptor instead.
  53. func (*LoadBalancer) Descriptor() ([]byte, []int) {
  54. return file_proto_loadBalancer_proto_rawDescGZIP(), []int{0}
  55. }
  56. func (x *LoadBalancer) GetId() string {
  57. if x != nil {
  58. return x.Id
  59. }
  60. return ""
  61. }
  62. func (x *LoadBalancer) GetName() string {
  63. if x != nil {
  64. return x.Name
  65. }
  66. return ""
  67. }
  68. func (x *LoadBalancer) GetDefaultPools() []string {
  69. if x != nil {
  70. return x.DefaultPools
  71. }
  72. return nil
  73. }
  74. func (x *LoadBalancer) GetFallbackPool() string {
  75. if x != nil {
  76. return x.FallbackPool
  77. }
  78. return ""
  79. }
  80. func (x *LoadBalancer) GetProxied() bool {
  81. if x != nil {
  82. return x.Proxied
  83. }
  84. return false
  85. }
  86. type LoadBalancerList struct {
  87. state protoimpl.MessageState
  88. sizeCache protoimpl.SizeCache
  89. unknownFields protoimpl.UnknownFields
  90. LoadBalancers []*LoadBalancer `protobuf:"bytes,1,rep,name=loadBalancers,proto3" json:"loadBalancers,omitempty"`
  91. }
  92. func (x *LoadBalancerList) Reset() {
  93. *x = LoadBalancerList{}
  94. if protoimpl.UnsafeEnabled {
  95. mi := &file_proto_loadBalancer_proto_msgTypes[1]
  96. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  97. ms.StoreMessageInfo(mi)
  98. }
  99. }
  100. func (x *LoadBalancerList) String() string {
  101. return protoimpl.X.MessageStringOf(x)
  102. }
  103. func (*LoadBalancerList) ProtoMessage() {}
  104. func (x *LoadBalancerList) ProtoReflect() protoreflect.Message {
  105. mi := &file_proto_loadBalancer_proto_msgTypes[1]
  106. if protoimpl.UnsafeEnabled && x != nil {
  107. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  108. if ms.LoadMessageInfo() == nil {
  109. ms.StoreMessageInfo(mi)
  110. }
  111. return ms
  112. }
  113. return mi.MessageOf(x)
  114. }
  115. // Deprecated: Use LoadBalancerList.ProtoReflect.Descriptor instead.
  116. func (*LoadBalancerList) Descriptor() ([]byte, []int) {
  117. return file_proto_loadBalancer_proto_rawDescGZIP(), []int{1}
  118. }
  119. func (x *LoadBalancerList) GetLoadBalancers() []*LoadBalancer {
  120. if x != nil {
  121. return x.LoadBalancers
  122. }
  123. return nil
  124. }
  125. type Empty struct {
  126. state protoimpl.MessageState
  127. sizeCache protoimpl.SizeCache
  128. unknownFields protoimpl.UnknownFields
  129. }
  130. func (x *Empty) Reset() {
  131. *x = Empty{}
  132. if protoimpl.UnsafeEnabled {
  133. mi := &file_proto_loadBalancer_proto_msgTypes[2]
  134. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  135. ms.StoreMessageInfo(mi)
  136. }
  137. }
  138. func (x *Empty) String() string {
  139. return protoimpl.X.MessageStringOf(x)
  140. }
  141. func (*Empty) ProtoMessage() {}
  142. func (x *Empty) ProtoReflect() protoreflect.Message {
  143. mi := &file_proto_loadBalancer_proto_msgTypes[2]
  144. if protoimpl.UnsafeEnabled && x != nil {
  145. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  146. if ms.LoadMessageInfo() == nil {
  147. ms.StoreMessageInfo(mi)
  148. }
  149. return ms
  150. }
  151. return mi.MessageOf(x)
  152. }
  153. // Deprecated: Use Empty.ProtoReflect.Descriptor instead.
  154. func (*Empty) Descriptor() ([]byte, []int) {
  155. return file_proto_loadBalancer_proto_rawDescGZIP(), []int{2}
  156. }
  157. type ListRequest struct {
  158. state protoimpl.MessageState
  159. sizeCache protoimpl.SizeCache
  160. unknownFields protoimpl.UnknownFields
  161. ApiKey string `protobuf:"bytes,1,opt,name=apiKey,proto3" json:"apiKey,omitempty"`
  162. ApiEmail string `protobuf:"bytes,2,opt,name=apiEmail,proto3" json:"apiEmail,omitempty"`
  163. ZoneId string `protobuf:"bytes,3,opt,name=zoneId,proto3" json:"zoneId,omitempty"`
  164. }
  165. func (x *ListRequest) Reset() {
  166. *x = ListRequest{}
  167. if protoimpl.UnsafeEnabled {
  168. mi := &file_proto_loadBalancer_proto_msgTypes[3]
  169. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  170. ms.StoreMessageInfo(mi)
  171. }
  172. }
  173. func (x *ListRequest) String() string {
  174. return protoimpl.X.MessageStringOf(x)
  175. }
  176. func (*ListRequest) ProtoMessage() {}
  177. func (x *ListRequest) ProtoReflect() protoreflect.Message {
  178. mi := &file_proto_loadBalancer_proto_msgTypes[3]
  179. if protoimpl.UnsafeEnabled && x != nil {
  180. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  181. if ms.LoadMessageInfo() == nil {
  182. ms.StoreMessageInfo(mi)
  183. }
  184. return ms
  185. }
  186. return mi.MessageOf(x)
  187. }
  188. // Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
  189. func (*ListRequest) Descriptor() ([]byte, []int) {
  190. return file_proto_loadBalancer_proto_rawDescGZIP(), []int{3}
  191. }
  192. func (x *ListRequest) GetApiKey() string {
  193. if x != nil {
  194. return x.ApiKey
  195. }
  196. return ""
  197. }
  198. func (x *ListRequest) GetApiEmail() string {
  199. if x != nil {
  200. return x.ApiEmail
  201. }
  202. return ""
  203. }
  204. func (x *ListRequest) GetZoneId() string {
  205. if x != nil {
  206. return x.ZoneId
  207. }
  208. return ""
  209. }
  210. type LoadBalancerRequest struct {
  211. state protoimpl.MessageState
  212. sizeCache protoimpl.SizeCache
  213. unknownFields protoimpl.UnknownFields
  214. ApiKey string `protobuf:"bytes,1,opt,name=apiKey,proto3" json:"apiKey,omitempty"`
  215. ApiEmail string `protobuf:"bytes,2,opt,name=apiEmail,proto3" json:"apiEmail,omitempty"`
  216. ZoneId string `protobuf:"bytes,3,opt,name=zoneId,proto3" json:"zoneId,omitempty"`
  217. LoadBalancer *LoadBalancer `protobuf:"bytes,4,opt,name=loadBalancer,proto3" json:"loadBalancer,omitempty"`
  218. }
  219. func (x *LoadBalancerRequest) Reset() {
  220. *x = LoadBalancerRequest{}
  221. if protoimpl.UnsafeEnabled {
  222. mi := &file_proto_loadBalancer_proto_msgTypes[4]
  223. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  224. ms.StoreMessageInfo(mi)
  225. }
  226. }
  227. func (x *LoadBalancerRequest) String() string {
  228. return protoimpl.X.MessageStringOf(x)
  229. }
  230. func (*LoadBalancerRequest) ProtoMessage() {}
  231. func (x *LoadBalancerRequest) ProtoReflect() protoreflect.Message {
  232. mi := &file_proto_loadBalancer_proto_msgTypes[4]
  233. if protoimpl.UnsafeEnabled && x != nil {
  234. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  235. if ms.LoadMessageInfo() == nil {
  236. ms.StoreMessageInfo(mi)
  237. }
  238. return ms
  239. }
  240. return mi.MessageOf(x)
  241. }
  242. // Deprecated: Use LoadBalancerRequest.ProtoReflect.Descriptor instead.
  243. func (*LoadBalancerRequest) Descriptor() ([]byte, []int) {
  244. return file_proto_loadBalancer_proto_rawDescGZIP(), []int{4}
  245. }
  246. func (x *LoadBalancerRequest) GetApiKey() string {
  247. if x != nil {
  248. return x.ApiKey
  249. }
  250. return ""
  251. }
  252. func (x *LoadBalancerRequest) GetApiEmail() string {
  253. if x != nil {
  254. return x.ApiEmail
  255. }
  256. return ""
  257. }
  258. func (x *LoadBalancerRequest) GetZoneId() string {
  259. if x != nil {
  260. return x.ZoneId
  261. }
  262. return ""
  263. }
  264. func (x *LoadBalancerRequest) GetLoadBalancer() *LoadBalancer {
  265. if x != nil {
  266. return x.LoadBalancer
  267. }
  268. return nil
  269. }
  270. type DeleteRequest struct {
  271. state protoimpl.MessageState
  272. sizeCache protoimpl.SizeCache
  273. unknownFields protoimpl.UnknownFields
  274. ApiKey string `protobuf:"bytes,1,opt,name=apiKey,proto3" json:"apiKey,omitempty"`
  275. ApiEmail string `protobuf:"bytes,2,opt,name=apiEmail,proto3" json:"apiEmail,omitempty"`
  276. ZoneId string `protobuf:"bytes,3,opt,name=zoneId,proto3" json:"zoneId,omitempty"`
  277. Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
  278. }
  279. func (x *DeleteRequest) Reset() {
  280. *x = DeleteRequest{}
  281. if protoimpl.UnsafeEnabled {
  282. mi := &file_proto_loadBalancer_proto_msgTypes[5]
  283. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  284. ms.StoreMessageInfo(mi)
  285. }
  286. }
  287. func (x *DeleteRequest) String() string {
  288. return protoimpl.X.MessageStringOf(x)
  289. }
  290. func (*DeleteRequest) ProtoMessage() {}
  291. func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
  292. mi := &file_proto_loadBalancer_proto_msgTypes[5]
  293. if protoimpl.UnsafeEnabled && x != nil {
  294. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  295. if ms.LoadMessageInfo() == nil {
  296. ms.StoreMessageInfo(mi)
  297. }
  298. return ms
  299. }
  300. return mi.MessageOf(x)
  301. }
  302. // Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
  303. func (*DeleteRequest) Descriptor() ([]byte, []int) {
  304. return file_proto_loadBalancer_proto_rawDescGZIP(), []int{5}
  305. }
  306. func (x *DeleteRequest) GetApiKey() string {
  307. if x != nil {
  308. return x.ApiKey
  309. }
  310. return ""
  311. }
  312. func (x *DeleteRequest) GetApiEmail() string {
  313. if x != nil {
  314. return x.ApiEmail
  315. }
  316. return ""
  317. }
  318. func (x *DeleteRequest) GetZoneId() string {
  319. if x != nil {
  320. return x.ZoneId
  321. }
  322. return ""
  323. }
  324. func (x *DeleteRequest) GetId() string {
  325. if x != nil {
  326. return x.Id
  327. }
  328. return ""
  329. }
  330. var File_proto_loadBalancer_proto protoreflect.FileDescriptor
  331. var file_proto_loadBalancer_proto_rawDesc = []byte{
  332. 0x0a, 0x18, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61,
  333. 0x6e, 0x63, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x63, 0x6c, 0x6f, 0x75,
  334. 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61,
  335. 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x22, 0x96, 0x01, 0x0a, 0x0c, 0x4c, 0x6f, 0x61, 0x64, 0x42,
  336. 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
  337. 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  338. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x64,
  339. 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03,
  340. 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x73,
  341. 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x70, 0x6f, 0x6f,
  342. 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63,
  343. 0x6b, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x78, 0x69, 0x65, 0x64,
  344. 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x78, 0x69, 0x65, 0x64, 0x22,
  345. 0x62, 0x0a, 0x10, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x4c,
  346. 0x69, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x0d, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e,
  347. 0x63, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6c, 0x6f,
  348. 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x42,
  349. 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61,
  350. 0x6e, 0x63, 0x65, 0x72, 0x52, 0x0d, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63,
  351. 0x65, 0x72, 0x73, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x59, 0x0a, 0x0b,
  352. 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61,
  353. 0x70, 0x69, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x70, 0x69,
  354. 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x18,
  355. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x70, 0x69, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12,
  356. 0x16, 0x0a, 0x06, 0x7a, 0x6f, 0x6e, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  357. 0x06, 0x7a, 0x6f, 0x6e, 0x65, 0x49, 0x64, 0x22, 0xaf, 0x01, 0x0a, 0x13, 0x4c, 0x6f, 0x61, 0x64,
  358. 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  359. 0x16, 0x0a, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  360. 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x45, 0x6d,
  361. 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x70, 0x69, 0x45, 0x6d,
  362. 0x61, 0x69, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x7a, 0x6f, 0x6e, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20,
  363. 0x01, 0x28, 0x09, 0x52, 0x06, 0x7a, 0x6f, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x4c, 0x0a, 0x0c, 0x6c,
  364. 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28,
  365. 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70,
  366. 0x69, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x2e, 0x4c,
  367. 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x52, 0x0c, 0x6c, 0x6f, 0x61,
  368. 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x22, 0x6b, 0x0a, 0x0d, 0x44, 0x65, 0x6c,
  369. 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x70,
  370. 0x69, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x70, 0x69, 0x4b,
  371. 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02,
  372. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x70, 0x69, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x16,
  373. 0x0a, 0x06, 0x7a, 0x6f, 0x6e, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
  374. 0x7a, 0x6f, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01,
  375. 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x32, 0xa1, 0x03, 0x0a, 0x16, 0x4c, 0x6f, 0x61, 0x64, 0x42,
  376. 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72,
  377. 0x65, 0x12, 0x5f, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x27, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
  378. 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61,
  379. 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
  380. 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41,
  381. 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x2e,
  382. 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74,
  383. 0x22, 0x00, 0x12, 0x65, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x2e, 0x63,
  384. 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61,
  385. 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61,
  386. 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e,
  387. 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f,
  388. 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42,
  389. 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x06, 0x55, 0x70, 0x64,
  390. 0x61, 0x74, 0x65, 0x12, 0x2f, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65,
  391. 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72,
  392. 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x52, 0x65, 0x71,
  393. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72,
  394. 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65,
  395. 0x72, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x22, 0x00,
  396. 0x12, 0x58, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x29, 0x2e, 0x63, 0x6c, 0x6f,
  397. 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x42,
  398. 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65,
  399. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61,
  400. 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63,
  401. 0x65, 0x72, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x54, 0x0a, 0x1f, 0x69, 0x6f,
  402. 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65,
  403. 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x42, 0x11, 0x6c,
  404. 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f,
  405. 0x50, 0x01, 0x5a, 0x1c, 0x2e, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65,
  406. 0x41, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72,
  407. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  408. }
  409. var (
  410. file_proto_loadBalancer_proto_rawDescOnce sync.Once
  411. file_proto_loadBalancer_proto_rawDescData = file_proto_loadBalancer_proto_rawDesc
  412. )
  413. func file_proto_loadBalancer_proto_rawDescGZIP() []byte {
  414. file_proto_loadBalancer_proto_rawDescOnce.Do(func() {
  415. file_proto_loadBalancer_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_loadBalancer_proto_rawDescData)
  416. })
  417. return file_proto_loadBalancer_proto_rawDescData
  418. }
  419. var file_proto_loadBalancer_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  420. var file_proto_loadBalancer_proto_goTypes = []interface{}{
  421. (*LoadBalancer)(nil), // 0: cloudflareApi.loadBalancer.LoadBalancer
  422. (*LoadBalancerList)(nil), // 1: cloudflareApi.loadBalancer.LoadBalancerList
  423. (*Empty)(nil), // 2: cloudflareApi.loadBalancer.Empty
  424. (*ListRequest)(nil), // 3: cloudflareApi.loadBalancer.ListRequest
  425. (*LoadBalancerRequest)(nil), // 4: cloudflareApi.loadBalancer.LoadBalancerRequest
  426. (*DeleteRequest)(nil), // 5: cloudflareApi.loadBalancer.DeleteRequest
  427. }
  428. var file_proto_loadBalancer_proto_depIdxs = []int32{
  429. 0, // 0: cloudflareApi.loadBalancer.LoadBalancerList.loadBalancers:type_name -> cloudflareApi.loadBalancer.LoadBalancer
  430. 0, // 1: cloudflareApi.loadBalancer.LoadBalancerRequest.loadBalancer:type_name -> cloudflareApi.loadBalancer.LoadBalancer
  431. 3, // 2: cloudflareApi.loadBalancer.LoadBalancerCloudflare.List:input_type -> cloudflareApi.loadBalancer.ListRequest
  432. 4, // 3: cloudflareApi.loadBalancer.LoadBalancerCloudflare.Create:input_type -> cloudflareApi.loadBalancer.LoadBalancerRequest
  433. 4, // 4: cloudflareApi.loadBalancer.LoadBalancerCloudflare.Update:input_type -> cloudflareApi.loadBalancer.LoadBalancerRequest
  434. 5, // 5: cloudflareApi.loadBalancer.LoadBalancerCloudflare.Delete:input_type -> cloudflareApi.loadBalancer.DeleteRequest
  435. 1, // 6: cloudflareApi.loadBalancer.LoadBalancerCloudflare.List:output_type -> cloudflareApi.loadBalancer.LoadBalancerList
  436. 0, // 7: cloudflareApi.loadBalancer.LoadBalancerCloudflare.Create:output_type -> cloudflareApi.loadBalancer.LoadBalancer
  437. 0, // 8: cloudflareApi.loadBalancer.LoadBalancerCloudflare.Update:output_type -> cloudflareApi.loadBalancer.LoadBalancer
  438. 2, // 9: cloudflareApi.loadBalancer.LoadBalancerCloudflare.Delete:output_type -> cloudflareApi.loadBalancer.Empty
  439. 6, // [6:10] is the sub-list for method output_type
  440. 2, // [2:6] is the sub-list for method input_type
  441. 2, // [2:2] is the sub-list for extension type_name
  442. 2, // [2:2] is the sub-list for extension extendee
  443. 0, // [0:2] is the sub-list for field type_name
  444. }
  445. func init() { file_proto_loadBalancer_proto_init() }
  446. func file_proto_loadBalancer_proto_init() {
  447. if File_proto_loadBalancer_proto != nil {
  448. return
  449. }
  450. if !protoimpl.UnsafeEnabled {
  451. file_proto_loadBalancer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  452. switch v := v.(*LoadBalancer); i {
  453. case 0:
  454. return &v.state
  455. case 1:
  456. return &v.sizeCache
  457. case 2:
  458. return &v.unknownFields
  459. default:
  460. return nil
  461. }
  462. }
  463. file_proto_loadBalancer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  464. switch v := v.(*LoadBalancerList); i {
  465. case 0:
  466. return &v.state
  467. case 1:
  468. return &v.sizeCache
  469. case 2:
  470. return &v.unknownFields
  471. default:
  472. return nil
  473. }
  474. }
  475. file_proto_loadBalancer_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  476. switch v := v.(*Empty); i {
  477. case 0:
  478. return &v.state
  479. case 1:
  480. return &v.sizeCache
  481. case 2:
  482. return &v.unknownFields
  483. default:
  484. return nil
  485. }
  486. }
  487. file_proto_loadBalancer_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  488. switch v := v.(*ListRequest); i {
  489. case 0:
  490. return &v.state
  491. case 1:
  492. return &v.sizeCache
  493. case 2:
  494. return &v.unknownFields
  495. default:
  496. return nil
  497. }
  498. }
  499. file_proto_loadBalancer_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  500. switch v := v.(*LoadBalancerRequest); i {
  501. case 0:
  502. return &v.state
  503. case 1:
  504. return &v.sizeCache
  505. case 2:
  506. return &v.unknownFields
  507. default:
  508. return nil
  509. }
  510. }
  511. file_proto_loadBalancer_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  512. switch v := v.(*DeleteRequest); i {
  513. case 0:
  514. return &v.state
  515. case 1:
  516. return &v.sizeCache
  517. case 2:
  518. return &v.unknownFields
  519. default:
  520. return nil
  521. }
  522. }
  523. }
  524. type x struct{}
  525. out := protoimpl.TypeBuilder{
  526. File: protoimpl.DescBuilder{
  527. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  528. RawDescriptor: file_proto_loadBalancer_proto_rawDesc,
  529. NumEnums: 0,
  530. NumMessages: 6,
  531. NumExtensions: 0,
  532. NumServices: 1,
  533. },
  534. GoTypes: file_proto_loadBalancer_proto_goTypes,
  535. DependencyIndexes: file_proto_loadBalancer_proto_depIdxs,
  536. MessageInfos: file_proto_loadBalancer_proto_msgTypes,
  537. }.Build()
  538. File_proto_loadBalancer_proto = out.File
  539. file_proto_loadBalancer_proto_rawDesc = nil
  540. file_proto_loadBalancer_proto_goTypes = nil
  541. file_proto_loadBalancer_proto_depIdxs = nil
  542. }