123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.28.1
- // protoc v3.20.1
- // source: proto/dns.proto
- package dns
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- type DnsRecord struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
- Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
- Ttl int64 `protobuf:"varint,5,opt,name=ttl,proto3" json:"ttl,omitempty"`
- ZoneId string `protobuf:"bytes,6,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
- ZoneName string `protobuf:"bytes,7,opt,name=zone_name,json=zoneName,proto3" json:"zone_name,omitempty"`
- Proxied bool `protobuf:"varint,8,opt,name=proxied,proto3" json:"proxied,omitempty"`
- }
- func (x *DnsRecord) Reset() {
- *x = DnsRecord{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_dns_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *DnsRecord) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DnsRecord) ProtoMessage() {}
- func (x *DnsRecord) ProtoReflect() protoreflect.Message {
- mi := &file_proto_dns_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DnsRecord.ProtoReflect.Descriptor instead.
- func (*DnsRecord) Descriptor() ([]byte, []int) {
- return file_proto_dns_proto_rawDescGZIP(), []int{0}
- }
- func (x *DnsRecord) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *DnsRecord) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *DnsRecord) GetType() string {
- if x != nil {
- return x.Type
- }
- return ""
- }
- func (x *DnsRecord) GetContent() string {
- if x != nil {
- return x.Content
- }
- return ""
- }
- func (x *DnsRecord) GetTtl() int64 {
- if x != nil {
- return x.Ttl
- }
- return 0
- }
- func (x *DnsRecord) GetZoneId() string {
- if x != nil {
- return x.ZoneId
- }
- return ""
- }
- func (x *DnsRecord) GetZoneName() string {
- if x != nil {
- return x.ZoneName
- }
- return ""
- }
- func (x *DnsRecord) GetProxied() bool {
- if x != nil {
- return x.Proxied
- }
- return false
- }
- type DnsRecordList struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- DnsRecord []*DnsRecord `protobuf:"bytes,1,rep,name=dnsRecord,proto3" json:"dnsRecord,omitempty"`
- }
- func (x *DnsRecordList) Reset() {
- *x = DnsRecordList{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_dns_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *DnsRecordList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DnsRecordList) ProtoMessage() {}
- func (x *DnsRecordList) ProtoReflect() protoreflect.Message {
- mi := &file_proto_dns_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DnsRecordList.ProtoReflect.Descriptor instead.
- func (*DnsRecordList) Descriptor() ([]byte, []int) {
- return file_proto_dns_proto_rawDescGZIP(), []int{1}
- }
- func (x *DnsRecordList) GetDnsRecord() []*DnsRecord {
- if x != nil {
- return x.DnsRecord
- }
- return nil
- }
- type Empty struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *Empty) Reset() {
- *x = Empty{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_dns_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Empty) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Empty) ProtoMessage() {}
- func (x *Empty) ProtoReflect() protoreflect.Message {
- mi := &file_proto_dns_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Empty.ProtoReflect.Descriptor instead.
- func (*Empty) Descriptor() ([]byte, []int) {
- return file_proto_dns_proto_rawDescGZIP(), []int{2}
- }
- type ListRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- ApiKey string `protobuf:"bytes,1,opt,name=apiKey,proto3" json:"apiKey,omitempty"`
- ApiEmail string `protobuf:"bytes,2,opt,name=apiEmail,proto3" json:"apiEmail,omitempty"`
- ZoneId string `protobuf:"bytes,3,opt,name=zoneId,proto3" json:"zoneId,omitempty"`
- }
- func (x *ListRequest) Reset() {
- *x = ListRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_dns_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *ListRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ListRequest) ProtoMessage() {}
- func (x *ListRequest) ProtoReflect() protoreflect.Message {
- mi := &file_proto_dns_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
- func (*ListRequest) Descriptor() ([]byte, []int) {
- return file_proto_dns_proto_rawDescGZIP(), []int{3}
- }
- func (x *ListRequest) GetApiKey() string {
- if x != nil {
- return x.ApiKey
- }
- return ""
- }
- func (x *ListRequest) GetApiEmail() string {
- if x != nil {
- return x.ApiEmail
- }
- return ""
- }
- func (x *ListRequest) GetZoneId() string {
- if x != nil {
- return x.ZoneId
- }
- return ""
- }
- type DnsRecordRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- ApiKey string `protobuf:"bytes,1,opt,name=apiKey,proto3" json:"apiKey,omitempty"`
- ApiEmail string `protobuf:"bytes,2,opt,name=apiEmail,proto3" json:"apiEmail,omitempty"`
- ZoneId string `protobuf:"bytes,3,opt,name=zoneId,proto3" json:"zoneId,omitempty"`
- DnsRecord *DnsRecord `protobuf:"bytes,4,opt,name=dnsRecord,proto3" json:"dnsRecord,omitempty"`
- }
- func (x *DnsRecordRequest) Reset() {
- *x = DnsRecordRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_dns_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *DnsRecordRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DnsRecordRequest) ProtoMessage() {}
- func (x *DnsRecordRequest) ProtoReflect() protoreflect.Message {
- mi := &file_proto_dns_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DnsRecordRequest.ProtoReflect.Descriptor instead.
- func (*DnsRecordRequest) Descriptor() ([]byte, []int) {
- return file_proto_dns_proto_rawDescGZIP(), []int{4}
- }
- func (x *DnsRecordRequest) GetApiKey() string {
- if x != nil {
- return x.ApiKey
- }
- return ""
- }
- func (x *DnsRecordRequest) GetApiEmail() string {
- if x != nil {
- return x.ApiEmail
- }
- return ""
- }
- func (x *DnsRecordRequest) GetZoneId() string {
- if x != nil {
- return x.ZoneId
- }
- return ""
- }
- func (x *DnsRecordRequest) GetDnsRecord() *DnsRecord {
- if x != nil {
- return x.DnsRecord
- }
- return nil
- }
- type DeleteRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- ApiKey string `protobuf:"bytes,1,opt,name=apiKey,proto3" json:"apiKey,omitempty"`
- ApiEmail string `protobuf:"bytes,2,opt,name=apiEmail,proto3" json:"apiEmail,omitempty"`
- ZoneId string `protobuf:"bytes,3,opt,name=zoneId,proto3" json:"zoneId,omitempty"`
- Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
- }
- func (x *DeleteRequest) Reset() {
- *x = DeleteRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_proto_dns_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *DeleteRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DeleteRequest) ProtoMessage() {}
- func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
- mi := &file_proto_dns_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
- func (*DeleteRequest) Descriptor() ([]byte, []int) {
- return file_proto_dns_proto_rawDescGZIP(), []int{5}
- }
- func (x *DeleteRequest) GetApiKey() string {
- if x != nil {
- return x.ApiKey
- }
- return ""
- }
- func (x *DeleteRequest) GetApiEmail() string {
- if x != nil {
- return x.ApiEmail
- }
- return ""
- }
- func (x *DeleteRequest) GetZoneId() string {
- if x != nil {
- return x.ZoneId
- }
- return ""
- }
- func (x *DeleteRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- var File_proto_dns_proto protoreflect.FileDescriptor
- var file_proto_dns_proto_rawDesc = []byte{
- 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x64, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x12, 0x11, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69,
- 0x2e, 0x64, 0x6e, 0x73, 0x22, 0xbf, 0x01, 0x0a, 0x09, 0x44, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f,
- 0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
- 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f,
- 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e,
- 0x74, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x7a, 0x6f, 0x6e, 0x65, 0x5f, 0x69,
- 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x7a, 0x6f, 0x6e, 0x65, 0x49, 0x64, 0x12,
- 0x1b, 0x0a, 0x09, 0x7a, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x08, 0x7a, 0x6f, 0x6e, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07,
- 0x70, 0x72, 0x6f, 0x78, 0x69, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70,
- 0x72, 0x6f, 0x78, 0x69, 0x65, 0x64, 0x22, 0x4b, 0x0a, 0x0d, 0x44, 0x6e, 0x73, 0x52, 0x65, 0x63,
- 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x09, 0x64, 0x6e, 0x73, 0x52, 0x65,
- 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6c, 0x6f,
- 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x44,
- 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x09, 0x64, 0x6e, 0x73, 0x52, 0x65, 0x63,
- 0x6f, 0x72, 0x64, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x59, 0x0a, 0x0b,
- 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61,
- 0x70, 0x69, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x70, 0x69,
- 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x70, 0x69, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12,
- 0x16, 0x0a, 0x06, 0x7a, 0x6f, 0x6e, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x06, 0x7a, 0x6f, 0x6e, 0x65, 0x49, 0x64, 0x22, 0x9a, 0x01, 0x0a, 0x10, 0x44, 0x6e, 0x73, 0x52,
- 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06,
- 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x70,
- 0x69, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x45, 0x6d, 0x61, 0x69, 0x6c,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x70, 0x69, 0x45, 0x6d, 0x61, 0x69, 0x6c,
- 0x12, 0x16, 0x0a, 0x06, 0x7a, 0x6f, 0x6e, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x06, 0x7a, 0x6f, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x3a, 0x0a, 0x09, 0x64, 0x6e, 0x73, 0x52,
- 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6c,
- 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x64, 0x6e, 0x73, 0x2e,
- 0x44, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x09, 0x64, 0x6e, 0x73, 0x52, 0x65,
- 0x63, 0x6f, 0x72, 0x64, 0x22, 0x6b, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a,
- 0x08, 0x61, 0x70, 0x69, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x61, 0x70, 0x69, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x7a, 0x6f, 0x6e,
- 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x7a, 0x6f, 0x6e, 0x65, 0x49,
- 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
- 0x64, 0x32, 0xbd, 0x02, 0x0a, 0x0d, 0x44, 0x6e, 0x73, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c,
- 0x61, 0x72, 0x65, 0x12, 0x4a, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x2e, 0x63, 0x6c,
- 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x64, 0x6e, 0x73, 0x2e,
- 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x63, 0x6c,
- 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x64, 0x6e, 0x73, 0x2e,
- 0x44, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12,
- 0x4d, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x23, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
- 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x44, 0x6e,
- 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c,
- 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x64,
- 0x6e, 0x73, 0x2e, 0x44, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x00, 0x12, 0x49,
- 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x23, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
- 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x44, 0x6e, 0x73,
- 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e,
- 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x64, 0x6e,
- 0x73, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x06, 0x44, 0x65, 0x6c,
- 0x65, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65,
- 0x41, 0x70, 0x69, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x6c, 0x61,
- 0x72, 0x65, 0x41, 0x70, 0x69, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22,
- 0x00, 0x42, 0x39, 0x0a, 0x16, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6c, 0x6f,
- 0x75, 0x64, 0x66, 0x6c, 0x61, 0x72, 0x65, 0x2e, 0x64, 0x6e, 0x73, 0x42, 0x08, 0x64, 0x6e, 0x73,
- 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x13, 0x2e, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
- 0x66, 0x6c, 0x61, 0x72, 0x65, 0x41, 0x70, 0x69, 0x2f, 0x64, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_proto_dns_proto_rawDescOnce sync.Once
- file_proto_dns_proto_rawDescData = file_proto_dns_proto_rawDesc
- )
- func file_proto_dns_proto_rawDescGZIP() []byte {
- file_proto_dns_proto_rawDescOnce.Do(func() {
- file_proto_dns_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_dns_proto_rawDescData)
- })
- return file_proto_dns_proto_rawDescData
- }
- var file_proto_dns_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
- var file_proto_dns_proto_goTypes = []interface{}{
- (*DnsRecord)(nil), // 0: cloudflareApi.dns.DnsRecord
- (*DnsRecordList)(nil), // 1: cloudflareApi.dns.DnsRecordList
- (*Empty)(nil), // 2: cloudflareApi.dns.Empty
- (*ListRequest)(nil), // 3: cloudflareApi.dns.ListRequest
- (*DnsRecordRequest)(nil), // 4: cloudflareApi.dns.DnsRecordRequest
- (*DeleteRequest)(nil), // 5: cloudflareApi.dns.DeleteRequest
- }
- var file_proto_dns_proto_depIdxs = []int32{
- 0, // 0: cloudflareApi.dns.DnsRecordList.dnsRecord:type_name -> cloudflareApi.dns.DnsRecord
- 0, // 1: cloudflareApi.dns.DnsRecordRequest.dnsRecord:type_name -> cloudflareApi.dns.DnsRecord
- 3, // 2: cloudflareApi.dns.DnsCloudflare.List:input_type -> cloudflareApi.dns.ListRequest
- 4, // 3: cloudflareApi.dns.DnsCloudflare.Create:input_type -> cloudflareApi.dns.DnsRecordRequest
- 4, // 4: cloudflareApi.dns.DnsCloudflare.Update:input_type -> cloudflareApi.dns.DnsRecordRequest
- 5, // 5: cloudflareApi.dns.DnsCloudflare.Delete:input_type -> cloudflareApi.dns.DeleteRequest
- 1, // 6: cloudflareApi.dns.DnsCloudflare.List:output_type -> cloudflareApi.dns.DnsRecordList
- 0, // 7: cloudflareApi.dns.DnsCloudflare.Create:output_type -> cloudflareApi.dns.DnsRecord
- 2, // 8: cloudflareApi.dns.DnsCloudflare.Update:output_type -> cloudflareApi.dns.Empty
- 2, // 9: cloudflareApi.dns.DnsCloudflare.Delete:output_type -> cloudflareApi.dns.Empty
- 6, // [6:10] is the sub-list for method output_type
- 2, // [2:6] is the sub-list for method input_type
- 2, // [2:2] is the sub-list for extension type_name
- 2, // [2:2] is the sub-list for extension extendee
- 0, // [0:2] is the sub-list for field type_name
- }
- func init() { file_proto_dns_proto_init() }
- func file_proto_dns_proto_init() {
- if File_proto_dns_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_proto_dns_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DnsRecord); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_dns_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DnsRecordList); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_dns_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Empty); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_dns_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_dns_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DnsRecordRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_proto_dns_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DeleteRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_proto_dns_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 6,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_proto_dns_proto_goTypes,
- DependencyIndexes: file_proto_dns_proto_depIdxs,
- MessageInfos: file_proto_dns_proto_msgTypes,
- }.Build()
- File_proto_dns_proto = out.File
- file_proto_dns_proto_rawDesc = nil
- file_proto_dns_proto_goTypes = nil
- file_proto_dns_proto_depIdxs = nil
- }
|