loadBalancerPool.pb.go 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.20.1
  5. // source: proto/loadBalancerPool.proto
  6. package loadBalancerPool
  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 LoadBalancerPoolOrigin struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  24. Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
  25. Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
  26. Weight float32 `protobuf:"fixed32,4,opt,name=weight,proto3" json:"weight,omitempty"`
  27. Header map[string]string `protobuf:"bytes,5,rep,name=header,proto3" json:"header,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  28. }
  29. func (x *LoadBalancerPoolOrigin) Reset() {
  30. *x = LoadBalancerPoolOrigin{}
  31. if protoimpl.UnsafeEnabled {
  32. mi := &file_proto_loadBalancerPool_proto_msgTypes[0]
  33. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  34. ms.StoreMessageInfo(mi)
  35. }
  36. }
  37. func (x *LoadBalancerPoolOrigin) String() string {
  38. return protoimpl.X.MessageStringOf(x)
  39. }
  40. func (*LoadBalancerPoolOrigin) ProtoMessage() {}
  41. func (x *LoadBalancerPoolOrigin) ProtoReflect() protoreflect.Message {
  42. mi := &file_proto_loadBalancerPool_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 LoadBalancerPoolOrigin.ProtoReflect.Descriptor instead.
  53. func (*LoadBalancerPoolOrigin) Descriptor() ([]byte, []int) {
  54. return file_proto_loadBalancerPool_proto_rawDescGZIP(), []int{0}
  55. }
  56. func (x *LoadBalancerPoolOrigin) GetName() string {
  57. if x != nil {
  58. return x.Name
  59. }
  60. return ""
  61. }
  62. func (x *LoadBalancerPoolOrigin) GetAddress() string {
  63. if x != nil {
  64. return x.Address
  65. }
  66. return ""
  67. }
  68. func (x *LoadBalancerPoolOrigin) GetEnabled() bool {
  69. if x != nil {
  70. return x.Enabled
  71. }
  72. return false
  73. }
  74. func (x *LoadBalancerPoolOrigin) GetWeight() float32 {
  75. if x != nil {
  76. return x.Weight
  77. }
  78. return 0
  79. }
  80. func (x *LoadBalancerPoolOrigin) GetHeader() map[string]string {
  81. if x != nil {
  82. return x.Header
  83. }
  84. return nil
  85. }
  86. type LoadBalancerPool struct {
  87. state protoimpl.MessageState
  88. sizeCache protoimpl.SizeCache
  89. unknownFields protoimpl.UnknownFields
  90. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  91. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  92. Origins []*LoadBalancerPoolOrigin `protobuf:"bytes,3,rep,name=origins,proto3" json:"origins,omitempty"`
  93. Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
  94. }
  95. func (x *LoadBalancerPool) Reset() {
  96. *x = LoadBalancerPool{}
  97. if protoimpl.UnsafeEnabled {
  98. mi := &file_proto_loadBalancerPool_proto_msgTypes[1]
  99. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  100. ms.StoreMessageInfo(mi)
  101. }
  102. }
  103. func (x *LoadBalancerPool) String() string {
  104. return protoimpl.X.MessageStringOf(x)
  105. }
  106. func (*LoadBalancerPool) ProtoMessage() {}
  107. func (x *LoadBalancerPool) ProtoReflect() protoreflect.Message {
  108. mi := &file_proto_loadBalancerPool_proto_msgTypes[1]
  109. if protoimpl.UnsafeEnabled && x != nil {
  110. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  111. if ms.LoadMessageInfo() == nil {
  112. ms.StoreMessageInfo(mi)
  113. }
  114. return ms
  115. }
  116. return mi.MessageOf(x)
  117. }
  118. // Deprecated: Use LoadBalancerPool.ProtoReflect.Descriptor instead.
  119. func (*LoadBalancerPool) Descriptor() ([]byte, []int) {
  120. return file_proto_loadBalancerPool_proto_rawDescGZIP(), []int{1}
  121. }
  122. func (x *LoadBalancerPool) GetId() string {
  123. if x != nil {
  124. return x.Id
  125. }
  126. return ""
  127. }
  128. func (x *LoadBalancerPool) GetName() string {
  129. if x != nil {
  130. return x.Name
  131. }
  132. return ""
  133. }
  134. func (x *LoadBalancerPool) GetOrigins() []*LoadBalancerPoolOrigin {
  135. if x != nil {
  136. return x.Origins
  137. }
  138. return nil
  139. }
  140. func (x *LoadBalancerPool) GetEnabled() bool {
  141. if x != nil {
  142. return x.Enabled
  143. }
  144. return false
  145. }
  146. type LoadBalancerPoolList struct {
  147. state protoimpl.MessageState
  148. sizeCache protoimpl.SizeCache
  149. unknownFields protoimpl.UnknownFields
  150. LoadBalancerPools []*LoadBalancerPool `protobuf:"bytes,1,rep,name=loadBalancerPools,proto3" json:"loadBalancerPools,omitempty"`
  151. }
  152. func (x *LoadBalancerPoolList) Reset() {
  153. *x = LoadBalancerPoolList{}
  154. if protoimpl.UnsafeEnabled {
  155. mi := &file_proto_loadBalancerPool_proto_msgTypes[2]
  156. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  157. ms.StoreMessageInfo(mi)
  158. }
  159. }
  160. func (x *LoadBalancerPoolList) String() string {
  161. return protoimpl.X.MessageStringOf(x)
  162. }
  163. func (*LoadBalancerPoolList) ProtoMessage() {}
  164. func (x *LoadBalancerPoolList) ProtoReflect() protoreflect.Message {
  165. mi := &file_proto_loadBalancerPool_proto_msgTypes[2]
  166. if protoimpl.UnsafeEnabled && x != nil {
  167. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  168. if ms.LoadMessageInfo() == nil {
  169. ms.StoreMessageInfo(mi)
  170. }
  171. return ms
  172. }
  173. return mi.MessageOf(x)
  174. }
  175. // Deprecated: Use LoadBalancerPoolList.ProtoReflect.Descriptor instead.
  176. func (*LoadBalancerPoolList) Descriptor() ([]byte, []int) {
  177. return file_proto_loadBalancerPool_proto_rawDescGZIP(), []int{2}
  178. }
  179. func (x *LoadBalancerPoolList) GetLoadBalancerPools() []*LoadBalancerPool {
  180. if x != nil {
  181. return x.LoadBalancerPools
  182. }
  183. return nil
  184. }
  185. type Empty struct {
  186. state protoimpl.MessageState
  187. sizeCache protoimpl.SizeCache
  188. unknownFields protoimpl.UnknownFields
  189. }
  190. func (x *Empty) Reset() {
  191. *x = Empty{}
  192. if protoimpl.UnsafeEnabled {
  193. mi := &file_proto_loadBalancerPool_proto_msgTypes[3]
  194. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  195. ms.StoreMessageInfo(mi)
  196. }
  197. }
  198. func (x *Empty) String() string {
  199. return protoimpl.X.MessageStringOf(x)
  200. }
  201. func (*Empty) ProtoMessage() {}
  202. func (x *Empty) ProtoReflect() protoreflect.Message {
  203. mi := &file_proto_loadBalancerPool_proto_msgTypes[3]
  204. if protoimpl.UnsafeEnabled && x != nil {
  205. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  206. if ms.LoadMessageInfo() == nil {
  207. ms.StoreMessageInfo(mi)
  208. }
  209. return ms
  210. }
  211. return mi.MessageOf(x)
  212. }
  213. // Deprecated: Use Empty.ProtoReflect.Descriptor instead.
  214. func (*Empty) Descriptor() ([]byte, []int) {
  215. return file_proto_loadBalancerPool_proto_rawDescGZIP(), []int{3}
  216. }
  217. type ListRequest struct {
  218. state protoimpl.MessageState
  219. sizeCache protoimpl.SizeCache
  220. unknownFields protoimpl.UnknownFields
  221. ApiKey string `protobuf:"bytes,1,opt,name=apiKey,proto3" json:"apiKey,omitempty"`
  222. ApiEmail string `protobuf:"bytes,2,opt,name=apiEmail,proto3" json:"apiEmail,omitempty"`
  223. }
  224. func (x *ListRequest) Reset() {
  225. *x = ListRequest{}
  226. if protoimpl.UnsafeEnabled {
  227. mi := &file_proto_loadBalancerPool_proto_msgTypes[4]
  228. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  229. ms.StoreMessageInfo(mi)
  230. }
  231. }
  232. func (x *ListRequest) String() string {
  233. return protoimpl.X.MessageStringOf(x)
  234. }
  235. func (*ListRequest) ProtoMessage() {}
  236. func (x *ListRequest) ProtoReflect() protoreflect.Message {
  237. mi := &file_proto_loadBalancerPool_proto_msgTypes[4]
  238. if protoimpl.UnsafeEnabled && x != nil {
  239. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  240. if ms.LoadMessageInfo() == nil {
  241. ms.StoreMessageInfo(mi)
  242. }
  243. return ms
  244. }
  245. return mi.MessageOf(x)
  246. }
  247. // Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
  248. func (*ListRequest) Descriptor() ([]byte, []int) {
  249. return file_proto_loadBalancerPool_proto_rawDescGZIP(), []int{4}
  250. }
  251. func (x *ListRequest) GetApiKey() string {
  252. if x != nil {
  253. return x.ApiKey
  254. }
  255. return ""
  256. }
  257. func (x *ListRequest) GetApiEmail() string {
  258. if x != nil {
  259. return x.ApiEmail
  260. }
  261. return ""
  262. }
  263. type LoadBalancerPoolRequest struct {
  264. state protoimpl.MessageState
  265. sizeCache protoimpl.SizeCache
  266. unknownFields protoimpl.UnknownFields
  267. ApiKey string `protobuf:"bytes,1,opt,name=apiKey,proto3" json:"apiKey,omitempty"`
  268. ApiEmail string `protobuf:"bytes,2,opt,name=apiEmail,proto3" json:"apiEmail,omitempty"`
  269. LoadBalancerPool *LoadBalancerPool `protobuf:"bytes,4,opt,name=loadBalancerPool,proto3" json:"loadBalancerPool,omitempty"`
  270. }
  271. func (x *LoadBalancerPoolRequest) Reset() {
  272. *x = LoadBalancerPoolRequest{}
  273. if protoimpl.UnsafeEnabled {
  274. mi := &file_proto_loadBalancerPool_proto_msgTypes[5]
  275. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  276. ms.StoreMessageInfo(mi)
  277. }
  278. }
  279. func (x *LoadBalancerPoolRequest) String() string {
  280. return protoimpl.X.MessageStringOf(x)
  281. }
  282. func (*LoadBalancerPoolRequest) ProtoMessage() {}
  283. func (x *LoadBalancerPoolRequest) ProtoReflect() protoreflect.Message {
  284. mi := &file_proto_loadBalancerPool_proto_msgTypes[5]
  285. if protoimpl.UnsafeEnabled && x != nil {
  286. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  287. if ms.LoadMessageInfo() == nil {
  288. ms.StoreMessageInfo(mi)
  289. }
  290. return ms
  291. }
  292. return mi.MessageOf(x)
  293. }
  294. // Deprecated: Use LoadBalancerPoolRequest.ProtoReflect.Descriptor instead.
  295. func (*LoadBalancerPoolRequest) Descriptor() ([]byte, []int) {
  296. return file_proto_loadBalancerPool_proto_rawDescGZIP(), []int{5}
  297. }
  298. func (x *LoadBalancerPoolRequest) GetApiKey() string {
  299. if x != nil {
  300. return x.ApiKey
  301. }
  302. return ""
  303. }
  304. func (x *LoadBalancerPoolRequest) GetApiEmail() string {
  305. if x != nil {
  306. return x.ApiEmail
  307. }
  308. return ""
  309. }
  310. func (x *LoadBalancerPoolRequest) GetLoadBalancerPool() *LoadBalancerPool {
  311. if x != nil {
  312. return x.LoadBalancerPool
  313. }
  314. return nil
  315. }
  316. type IdRequest struct {
  317. state protoimpl.MessageState
  318. sizeCache protoimpl.SizeCache
  319. unknownFields protoimpl.UnknownFields
  320. ApiKey string `protobuf:"bytes,1,opt,name=apiKey,proto3" json:"apiKey,omitempty"`
  321. ApiEmail string `protobuf:"bytes,2,opt,name=apiEmail,proto3" json:"apiEmail,omitempty"`
  322. Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
  323. }
  324. func (x *IdRequest) Reset() {
  325. *x = IdRequest{}
  326. if protoimpl.UnsafeEnabled {
  327. mi := &file_proto_loadBalancerPool_proto_msgTypes[6]
  328. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  329. ms.StoreMessageInfo(mi)
  330. }
  331. }
  332. func (x *IdRequest) String() string {
  333. return protoimpl.X.MessageStringOf(x)
  334. }
  335. func (*IdRequest) ProtoMessage() {}
  336. func (x *IdRequest) ProtoReflect() protoreflect.Message {
  337. mi := &file_proto_loadBalancerPool_proto_msgTypes[6]
  338. if protoimpl.UnsafeEnabled && x != nil {
  339. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  340. if ms.LoadMessageInfo() == nil {
  341. ms.StoreMessageInfo(mi)
  342. }
  343. return ms
  344. }
  345. return mi.MessageOf(x)
  346. }
  347. // Deprecated: Use IdRequest.ProtoReflect.Descriptor instead.
  348. func (*IdRequest) Descriptor() ([]byte, []int) {
  349. return file_proto_loadBalancerPool_proto_rawDescGZIP(), []int{6}
  350. }
  351. func (x *IdRequest) GetApiKey() string {
  352. if x != nil {
  353. return x.ApiKey
  354. }
  355. return ""
  356. }
  357. func (x *IdRequest) GetApiEmail() string {
  358. if x != nil {
  359. return x.ApiEmail
  360. }
  361. return ""
  362. }
  363. func (x *IdRequest) GetId() string {
  364. if x != nil {
  365. return x.Id
  366. }
  367. return ""
  368. }
  369. var File_proto_loadBalancerPool_proto protoreflect.FileDescriptor
  370. var file_proto_loadBalancerPool_proto_rawDesc = []byte{
  371. 0x0a, 0x1c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61,
  372. 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e,
  373. 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f,
  374. 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x22, 0x8f,
  375. 0x02, 0x0a, 0x16, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50,
  376. 0x6f, 0x6f, 0x6c, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  377. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a,
  378. 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
  379. 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c,
  380. 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
  381. 0x64, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
  382. 0x02, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x5a, 0x0a, 0x06, 0x68, 0x65, 0x61,
  383. 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
  384. 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61,
  385. 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42,
  386. 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x4f, 0x72, 0x69, 0x67, 0x69,
  387. 0x6e, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x68,
  388. 0x65, 0x61, 0x64, 0x65, 0x72, 0x1a, 0x39, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x45,
  389. 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
  390. 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
  391. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
  392. 0x22, 0xa2, 0x01, 0x0a, 0x10, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65,
  393. 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  394. 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
  395. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x50, 0x0a, 0x07, 0x6f, 0x72, 0x69,
  396. 0x67, 0x69, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 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, 0x50, 0x6f, 0x6f, 0x6c, 0x2e, 0x4c, 0x6f, 0x61, 0x64,
  399. 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x4f, 0x72, 0x69, 0x67,
  400. 0x69, 0x6e, 0x52, 0x07, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65,
  401. 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e,
  402. 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x76, 0x0a, 0x14, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c,
  403. 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x5e, 0x0a,
  404. 0x11, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f,
  405. 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
  406. 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c,
  407. 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61,
  408. 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x11, 0x6c, 0x6f, 0x61, 0x64,
  409. 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x73, 0x22, 0x07, 0x0a,
  410. 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x41, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
  411. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x18,
  412. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a,
  413. 0x08, 0x61, 0x70, 0x69, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  414. 0x08, 0x61, 0x70, 0x69, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0xab, 0x01, 0x0a, 0x17, 0x4c, 0x6f,
  415. 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65,
  416. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x18,
  417. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a,
  418. 0x08, 0x61, 0x70, 0x69, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  419. 0x08, 0x61, 0x70, 0x69, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x5c, 0x0a, 0x10, 0x6c, 0x6f, 0x61,
  420. 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x18, 0x04, 0x20,
  421. 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65,
  422. 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72,
  423. 0x50, 0x6f, 0x6f, 0x6c, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65,
  424. 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x10, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e,
  425. 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x22, 0x4f, 0x0a, 0x09, 0x49, 0x64, 0x52, 0x65, 0x71,
  426. 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x18, 0x01,
  427. 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08,
  428. 0x61, 0x70, 0x69, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  429. 0x61, 0x70, 0x69, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03,
  430. 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x32, 0xbb, 0x04, 0x0a, 0x1a, 0x4c, 0x6f, 0x61,
  431. 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x43, 0x6c, 0x6f,
  432. 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x12, 0x6b, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12,
  433. 0x2b, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e,
  434. 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c,
  435. 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63,
  436. 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61,
  437. 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x2e, 0x4c, 0x6f,
  438. 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x4c, 0x69,
  439. 0x73, 0x74, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x37,
  440. 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c,
  441. 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x2e,
  442. 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c,
  443. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66,
  444. 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61,
  445. 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c,
  446. 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x06, 0x55,
  447. 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x37, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61,
  448. 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63,
  449. 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e,
  450. 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30,
  451. 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c,
  452. 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x2e,
  453. 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c,
  454. 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x29, 0x2e, 0x63,
  455. 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61,
  456. 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x2e, 0x49, 0x64,
  457. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66,
  458. 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61,
  459. 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00,
  460. 0x12, 0x64, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x29, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66,
  461. 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61,
  462. 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x2e, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
  463. 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41,
  464. 0x70, 0x69, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50,
  465. 0x6f, 0x6f, 0x6c, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72,
  466. 0x50, 0x6f, 0x6f, 0x6c, 0x22, 0x00, 0x42, 0x5c, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x70,
  467. 0x63, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x2e, 0x6c, 0x6f, 0x61,
  468. 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x6f, 0x6f, 0x6c, 0x42, 0x11, 0x6c,
  469. 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f,
  470. 0x50, 0x01, 0x5a, 0x20, 0x2e, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65,
  471. 0x41, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72,
  472. 0x50, 0x6f, 0x6f, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  473. }
  474. var (
  475. file_proto_loadBalancerPool_proto_rawDescOnce sync.Once
  476. file_proto_loadBalancerPool_proto_rawDescData = file_proto_loadBalancerPool_proto_rawDesc
  477. )
  478. func file_proto_loadBalancerPool_proto_rawDescGZIP() []byte {
  479. file_proto_loadBalancerPool_proto_rawDescOnce.Do(func() {
  480. file_proto_loadBalancerPool_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_loadBalancerPool_proto_rawDescData)
  481. })
  482. return file_proto_loadBalancerPool_proto_rawDescData
  483. }
  484. var file_proto_loadBalancerPool_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
  485. var file_proto_loadBalancerPool_proto_goTypes = []interface{}{
  486. (*LoadBalancerPoolOrigin)(nil), // 0: cloudflareApi.loadBalancerPool.LoadBalancerPoolOrigin
  487. (*LoadBalancerPool)(nil), // 1: cloudflareApi.loadBalancerPool.LoadBalancerPool
  488. (*LoadBalancerPoolList)(nil), // 2: cloudflareApi.loadBalancerPool.LoadBalancerPoolList
  489. (*Empty)(nil), // 3: cloudflareApi.loadBalancerPool.Empty
  490. (*ListRequest)(nil), // 4: cloudflareApi.loadBalancerPool.ListRequest
  491. (*LoadBalancerPoolRequest)(nil), // 5: cloudflareApi.loadBalancerPool.LoadBalancerPoolRequest
  492. (*IdRequest)(nil), // 6: cloudflareApi.loadBalancerPool.IdRequest
  493. nil, // 7: cloudflareApi.loadBalancerPool.LoadBalancerPoolOrigin.HeaderEntry
  494. }
  495. var file_proto_loadBalancerPool_proto_depIdxs = []int32{
  496. 7, // 0: cloudflareApi.loadBalancerPool.LoadBalancerPoolOrigin.header:type_name -> cloudflareApi.loadBalancerPool.LoadBalancerPoolOrigin.HeaderEntry
  497. 0, // 1: cloudflareApi.loadBalancerPool.LoadBalancerPool.origins:type_name -> cloudflareApi.loadBalancerPool.LoadBalancerPoolOrigin
  498. 1, // 2: cloudflareApi.loadBalancerPool.LoadBalancerPoolList.loadBalancerPools:type_name -> cloudflareApi.loadBalancerPool.LoadBalancerPool
  499. 1, // 3: cloudflareApi.loadBalancerPool.LoadBalancerPoolRequest.loadBalancerPool:type_name -> cloudflareApi.loadBalancerPool.LoadBalancerPool
  500. 4, // 4: cloudflareApi.loadBalancerPool.LoadBalancerPoolCloudflare.List:input_type -> cloudflareApi.loadBalancerPool.ListRequest
  501. 5, // 5: cloudflareApi.loadBalancerPool.LoadBalancerPoolCloudflare.Create:input_type -> cloudflareApi.loadBalancerPool.LoadBalancerPoolRequest
  502. 5, // 6: cloudflareApi.loadBalancerPool.LoadBalancerPoolCloudflare.Update:input_type -> cloudflareApi.loadBalancerPool.LoadBalancerPoolRequest
  503. 6, // 7: cloudflareApi.loadBalancerPool.LoadBalancerPoolCloudflare.Delete:input_type -> cloudflareApi.loadBalancerPool.IdRequest
  504. 6, // 8: cloudflareApi.loadBalancerPool.LoadBalancerPoolCloudflare.Get:input_type -> cloudflareApi.loadBalancerPool.IdRequest
  505. 2, // 9: cloudflareApi.loadBalancerPool.LoadBalancerPoolCloudflare.List:output_type -> cloudflareApi.loadBalancerPool.LoadBalancerPoolList
  506. 1, // 10: cloudflareApi.loadBalancerPool.LoadBalancerPoolCloudflare.Create:output_type -> cloudflareApi.loadBalancerPool.LoadBalancerPool
  507. 1, // 11: cloudflareApi.loadBalancerPool.LoadBalancerPoolCloudflare.Update:output_type -> cloudflareApi.loadBalancerPool.LoadBalancerPool
  508. 3, // 12: cloudflareApi.loadBalancerPool.LoadBalancerPoolCloudflare.Delete:output_type -> cloudflareApi.loadBalancerPool.Empty
  509. 1, // 13: cloudflareApi.loadBalancerPool.LoadBalancerPoolCloudflare.Get:output_type -> cloudflareApi.loadBalancerPool.LoadBalancerPool
  510. 9, // [9:14] is the sub-list for method output_type
  511. 4, // [4:9] is the sub-list for method input_type
  512. 4, // [4:4] is the sub-list for extension type_name
  513. 4, // [4:4] is the sub-list for extension extendee
  514. 0, // [0:4] is the sub-list for field type_name
  515. }
  516. func init() { file_proto_loadBalancerPool_proto_init() }
  517. func file_proto_loadBalancerPool_proto_init() {
  518. if File_proto_loadBalancerPool_proto != nil {
  519. return
  520. }
  521. if !protoimpl.UnsafeEnabled {
  522. file_proto_loadBalancerPool_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  523. switch v := v.(*LoadBalancerPoolOrigin); i {
  524. case 0:
  525. return &v.state
  526. case 1:
  527. return &v.sizeCache
  528. case 2:
  529. return &v.unknownFields
  530. default:
  531. return nil
  532. }
  533. }
  534. file_proto_loadBalancerPool_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  535. switch v := v.(*LoadBalancerPool); i {
  536. case 0:
  537. return &v.state
  538. case 1:
  539. return &v.sizeCache
  540. case 2:
  541. return &v.unknownFields
  542. default:
  543. return nil
  544. }
  545. }
  546. file_proto_loadBalancerPool_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  547. switch v := v.(*LoadBalancerPoolList); i {
  548. case 0:
  549. return &v.state
  550. case 1:
  551. return &v.sizeCache
  552. case 2:
  553. return &v.unknownFields
  554. default:
  555. return nil
  556. }
  557. }
  558. file_proto_loadBalancerPool_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  559. switch v := v.(*Empty); i {
  560. case 0:
  561. return &v.state
  562. case 1:
  563. return &v.sizeCache
  564. case 2:
  565. return &v.unknownFields
  566. default:
  567. return nil
  568. }
  569. }
  570. file_proto_loadBalancerPool_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  571. switch v := v.(*ListRequest); i {
  572. case 0:
  573. return &v.state
  574. case 1:
  575. return &v.sizeCache
  576. case 2:
  577. return &v.unknownFields
  578. default:
  579. return nil
  580. }
  581. }
  582. file_proto_loadBalancerPool_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  583. switch v := v.(*LoadBalancerPoolRequest); 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_proto_loadBalancerPool_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  595. switch v := v.(*IdRequest); 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. }
  607. type x struct{}
  608. out := protoimpl.TypeBuilder{
  609. File: protoimpl.DescBuilder{
  610. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  611. RawDescriptor: file_proto_loadBalancerPool_proto_rawDesc,
  612. NumEnums: 0,
  613. NumMessages: 8,
  614. NumExtensions: 0,
  615. NumServices: 1,
  616. },
  617. GoTypes: file_proto_loadBalancerPool_proto_goTypes,
  618. DependencyIndexes: file_proto_loadBalancerPool_proto_depIdxs,
  619. MessageInfos: file_proto_loadBalancerPool_proto_msgTypes,
  620. }.Build()
  621. File_proto_loadBalancerPool_proto = out.File
  622. file_proto_loadBalancerPool_proto_rawDesc = nil
  623. file_proto_loadBalancerPool_proto_goTypes = nil
  624. file_proto_loadBalancerPool_proto_depIdxs = nil
  625. }