dns.pb.go 20 KB

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