All import paths updated to git.wntrmute.dev/mc/. Bumps mcdsl to v1.2.0. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
668 lines
20 KiB
Go
668 lines
20 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v6.32.1
|
|
// source: proto/mcns/v1/zone.proto
|
|
|
|
package mcnsv1
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
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 Zone struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
PrimaryNs string `protobuf:"bytes,3,opt,name=primary_ns,json=primaryNs,proto3" json:"primary_ns,omitempty"`
|
|
AdminEmail string `protobuf:"bytes,4,opt,name=admin_email,json=adminEmail,proto3" json:"admin_email,omitempty"`
|
|
Refresh int32 `protobuf:"varint,5,opt,name=refresh,proto3" json:"refresh,omitempty"`
|
|
Retry int32 `protobuf:"varint,6,opt,name=retry,proto3" json:"retry,omitempty"`
|
|
Expire int32 `protobuf:"varint,7,opt,name=expire,proto3" json:"expire,omitempty"`
|
|
MinimumTtl int32 `protobuf:"varint,8,opt,name=minimum_ttl,json=minimumTtl,proto3" json:"minimum_ttl,omitempty"`
|
|
Serial int64 `protobuf:"varint,9,opt,name=serial,proto3" json:"serial,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Zone) Reset() {
|
|
*x = Zone{}
|
|
mi := &file_proto_mcns_v1_zone_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Zone) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Zone) ProtoMessage() {}
|
|
|
|
func (x *Zone) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_mcns_v1_zone_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Zone.ProtoReflect.Descriptor instead.
|
|
func (*Zone) Descriptor() ([]byte, []int) {
|
|
return file_proto_mcns_v1_zone_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Zone) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Zone) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Zone) GetPrimaryNs() string {
|
|
if x != nil {
|
|
return x.PrimaryNs
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Zone) GetAdminEmail() string {
|
|
if x != nil {
|
|
return x.AdminEmail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Zone) GetRefresh() int32 {
|
|
if x != nil {
|
|
return x.Refresh
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Zone) GetRetry() int32 {
|
|
if x != nil {
|
|
return x.Retry
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Zone) GetExpire() int32 {
|
|
if x != nil {
|
|
return x.Expire
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Zone) GetMinimumTtl() int32 {
|
|
if x != nil {
|
|
return x.MinimumTtl
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Zone) GetSerial() int64 {
|
|
if x != nil {
|
|
return x.Serial
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Zone) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Zone) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListZonesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListZonesRequest) Reset() {
|
|
*x = ListZonesRequest{}
|
|
mi := &file_proto_mcns_v1_zone_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListZonesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListZonesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListZonesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_mcns_v1_zone_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListZonesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListZonesRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_mcns_v1_zone_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type ListZonesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Zones []*Zone `protobuf:"bytes,1,rep,name=zones,proto3" json:"zones,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListZonesResponse) Reset() {
|
|
*x = ListZonesResponse{}
|
|
mi := &file_proto_mcns_v1_zone_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListZonesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListZonesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListZonesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_mcns_v1_zone_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListZonesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListZonesResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_mcns_v1_zone_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ListZonesResponse) GetZones() []*Zone {
|
|
if x != nil {
|
|
return x.Zones
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateZoneRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
PrimaryNs string `protobuf:"bytes,2,opt,name=primary_ns,json=primaryNs,proto3" json:"primary_ns,omitempty"`
|
|
AdminEmail string `protobuf:"bytes,3,opt,name=admin_email,json=adminEmail,proto3" json:"admin_email,omitempty"`
|
|
Refresh int32 `protobuf:"varint,4,opt,name=refresh,proto3" json:"refresh,omitempty"`
|
|
Retry int32 `protobuf:"varint,5,opt,name=retry,proto3" json:"retry,omitempty"`
|
|
Expire int32 `protobuf:"varint,6,opt,name=expire,proto3" json:"expire,omitempty"`
|
|
MinimumTtl int32 `protobuf:"varint,7,opt,name=minimum_ttl,json=minimumTtl,proto3" json:"minimum_ttl,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateZoneRequest) Reset() {
|
|
*x = CreateZoneRequest{}
|
|
mi := &file_proto_mcns_v1_zone_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateZoneRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateZoneRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateZoneRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_mcns_v1_zone_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateZoneRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateZoneRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_mcns_v1_zone_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *CreateZoneRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateZoneRequest) GetPrimaryNs() string {
|
|
if x != nil {
|
|
return x.PrimaryNs
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateZoneRequest) GetAdminEmail() string {
|
|
if x != nil {
|
|
return x.AdminEmail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateZoneRequest) GetRefresh() int32 {
|
|
if x != nil {
|
|
return x.Refresh
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateZoneRequest) GetRetry() int32 {
|
|
if x != nil {
|
|
return x.Retry
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateZoneRequest) GetExpire() int32 {
|
|
if x != nil {
|
|
return x.Expire
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateZoneRequest) GetMinimumTtl() int32 {
|
|
if x != nil {
|
|
return x.MinimumTtl
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetZoneRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetZoneRequest) Reset() {
|
|
*x = GetZoneRequest{}
|
|
mi := &file_proto_mcns_v1_zone_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetZoneRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetZoneRequest) ProtoMessage() {}
|
|
|
|
func (x *GetZoneRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_mcns_v1_zone_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetZoneRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetZoneRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_mcns_v1_zone_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *GetZoneRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateZoneRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
PrimaryNs string `protobuf:"bytes,2,opt,name=primary_ns,json=primaryNs,proto3" json:"primary_ns,omitempty"`
|
|
AdminEmail string `protobuf:"bytes,3,opt,name=admin_email,json=adminEmail,proto3" json:"admin_email,omitempty"`
|
|
Refresh int32 `protobuf:"varint,4,opt,name=refresh,proto3" json:"refresh,omitempty"`
|
|
Retry int32 `protobuf:"varint,5,opt,name=retry,proto3" json:"retry,omitempty"`
|
|
Expire int32 `protobuf:"varint,6,opt,name=expire,proto3" json:"expire,omitempty"`
|
|
MinimumTtl int32 `protobuf:"varint,7,opt,name=minimum_ttl,json=minimumTtl,proto3" json:"minimum_ttl,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateZoneRequest) Reset() {
|
|
*x = UpdateZoneRequest{}
|
|
mi := &file_proto_mcns_v1_zone_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateZoneRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateZoneRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateZoneRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_mcns_v1_zone_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateZoneRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateZoneRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_mcns_v1_zone_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *UpdateZoneRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateZoneRequest) GetPrimaryNs() string {
|
|
if x != nil {
|
|
return x.PrimaryNs
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateZoneRequest) GetAdminEmail() string {
|
|
if x != nil {
|
|
return x.AdminEmail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateZoneRequest) GetRefresh() int32 {
|
|
if x != nil {
|
|
return x.Refresh
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateZoneRequest) GetRetry() int32 {
|
|
if x != nil {
|
|
return x.Retry
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateZoneRequest) GetExpire() int32 {
|
|
if x != nil {
|
|
return x.Expire
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateZoneRequest) GetMinimumTtl() int32 {
|
|
if x != nil {
|
|
return x.MinimumTtl
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeleteZoneRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteZoneRequest) Reset() {
|
|
*x = DeleteZoneRequest{}
|
|
mi := &file_proto_mcns_v1_zone_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteZoneRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteZoneRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteZoneRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_mcns_v1_zone_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteZoneRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteZoneRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_mcns_v1_zone_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *DeleteZoneRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteZoneResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteZoneResponse) Reset() {
|
|
*x = DeleteZoneResponse{}
|
|
mi := &file_proto_mcns_v1_zone_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteZoneResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteZoneResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteZoneResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_mcns_v1_zone_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteZoneResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteZoneResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_mcns_v1_zone_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
var File_proto_mcns_v1_zone_proto protoreflect.FileDescriptor
|
|
|
|
const file_proto_mcns_v1_zone_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x18proto/mcns/v1/zone.proto\x12\amcns.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe1\x02\n" +
|
|
"\x04Zone\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1d\n" +
|
|
"\n" +
|
|
"primary_ns\x18\x03 \x01(\tR\tprimaryNs\x12\x1f\n" +
|
|
"\vadmin_email\x18\x04 \x01(\tR\n" +
|
|
"adminEmail\x12\x18\n" +
|
|
"\arefresh\x18\x05 \x01(\x05R\arefresh\x12\x14\n" +
|
|
"\x05retry\x18\x06 \x01(\x05R\x05retry\x12\x16\n" +
|
|
"\x06expire\x18\a \x01(\x05R\x06expire\x12\x1f\n" +
|
|
"\vminimum_ttl\x18\b \x01(\x05R\n" +
|
|
"minimumTtl\x12\x16\n" +
|
|
"\x06serial\x18\t \x01(\x03R\x06serial\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\n" +
|
|
" \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\v \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"\x12\n" +
|
|
"\x10ListZonesRequest\"8\n" +
|
|
"\x11ListZonesResponse\x12#\n" +
|
|
"\x05zones\x18\x01 \x03(\v2\r.mcns.v1.ZoneR\x05zones\"\xd0\x01\n" +
|
|
"\x11CreateZoneRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1d\n" +
|
|
"\n" +
|
|
"primary_ns\x18\x02 \x01(\tR\tprimaryNs\x12\x1f\n" +
|
|
"\vadmin_email\x18\x03 \x01(\tR\n" +
|
|
"adminEmail\x12\x18\n" +
|
|
"\arefresh\x18\x04 \x01(\x05R\arefresh\x12\x14\n" +
|
|
"\x05retry\x18\x05 \x01(\x05R\x05retry\x12\x16\n" +
|
|
"\x06expire\x18\x06 \x01(\x05R\x06expire\x12\x1f\n" +
|
|
"\vminimum_ttl\x18\a \x01(\x05R\n" +
|
|
"minimumTtl\"$\n" +
|
|
"\x0eGetZoneRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"\xd0\x01\n" +
|
|
"\x11UpdateZoneRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1d\n" +
|
|
"\n" +
|
|
"primary_ns\x18\x02 \x01(\tR\tprimaryNs\x12\x1f\n" +
|
|
"\vadmin_email\x18\x03 \x01(\tR\n" +
|
|
"adminEmail\x12\x18\n" +
|
|
"\arefresh\x18\x04 \x01(\x05R\arefresh\x12\x14\n" +
|
|
"\x05retry\x18\x05 \x01(\x05R\x05retry\x12\x16\n" +
|
|
"\x06expire\x18\x06 \x01(\x05R\x06expire\x12\x1f\n" +
|
|
"\vminimum_ttl\x18\a \x01(\x05R\n" +
|
|
"minimumTtl\"'\n" +
|
|
"\x11DeleteZoneRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"\x14\n" +
|
|
"\x12DeleteZoneResponse2\xbd\x02\n" +
|
|
"\vZoneService\x12B\n" +
|
|
"\tListZones\x12\x19.mcns.v1.ListZonesRequest\x1a\x1a.mcns.v1.ListZonesResponse\x127\n" +
|
|
"\n" +
|
|
"CreateZone\x12\x1a.mcns.v1.CreateZoneRequest\x1a\r.mcns.v1.Zone\x121\n" +
|
|
"\aGetZone\x12\x17.mcns.v1.GetZoneRequest\x1a\r.mcns.v1.Zone\x127\n" +
|
|
"\n" +
|
|
"UpdateZone\x12\x1a.mcns.v1.UpdateZoneRequest\x1a\r.mcns.v1.Zone\x12E\n" +
|
|
"\n" +
|
|
"DeleteZone\x12\x1a.mcns.v1.DeleteZoneRequest\x1a\x1b.mcns.v1.DeleteZoneResponseB/Z-git.wntrmute.dev/mc/mcns/gen/mcns/v1;mcnsv1b\x06proto3"
|
|
|
|
var (
|
|
file_proto_mcns_v1_zone_proto_rawDescOnce sync.Once
|
|
file_proto_mcns_v1_zone_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_proto_mcns_v1_zone_proto_rawDescGZIP() []byte {
|
|
file_proto_mcns_v1_zone_proto_rawDescOnce.Do(func() {
|
|
file_proto_mcns_v1_zone_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_mcns_v1_zone_proto_rawDesc), len(file_proto_mcns_v1_zone_proto_rawDesc)))
|
|
})
|
|
return file_proto_mcns_v1_zone_proto_rawDescData
|
|
}
|
|
|
|
var file_proto_mcns_v1_zone_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
|
var file_proto_mcns_v1_zone_proto_goTypes = []any{
|
|
(*Zone)(nil), // 0: mcns.v1.Zone
|
|
(*ListZonesRequest)(nil), // 1: mcns.v1.ListZonesRequest
|
|
(*ListZonesResponse)(nil), // 2: mcns.v1.ListZonesResponse
|
|
(*CreateZoneRequest)(nil), // 3: mcns.v1.CreateZoneRequest
|
|
(*GetZoneRequest)(nil), // 4: mcns.v1.GetZoneRequest
|
|
(*UpdateZoneRequest)(nil), // 5: mcns.v1.UpdateZoneRequest
|
|
(*DeleteZoneRequest)(nil), // 6: mcns.v1.DeleteZoneRequest
|
|
(*DeleteZoneResponse)(nil), // 7: mcns.v1.DeleteZoneResponse
|
|
(*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp
|
|
}
|
|
var file_proto_mcns_v1_zone_proto_depIdxs = []int32{
|
|
8, // 0: mcns.v1.Zone.created_at:type_name -> google.protobuf.Timestamp
|
|
8, // 1: mcns.v1.Zone.updated_at:type_name -> google.protobuf.Timestamp
|
|
0, // 2: mcns.v1.ListZonesResponse.zones:type_name -> mcns.v1.Zone
|
|
1, // 3: mcns.v1.ZoneService.ListZones:input_type -> mcns.v1.ListZonesRequest
|
|
3, // 4: mcns.v1.ZoneService.CreateZone:input_type -> mcns.v1.CreateZoneRequest
|
|
4, // 5: mcns.v1.ZoneService.GetZone:input_type -> mcns.v1.GetZoneRequest
|
|
5, // 6: mcns.v1.ZoneService.UpdateZone:input_type -> mcns.v1.UpdateZoneRequest
|
|
6, // 7: mcns.v1.ZoneService.DeleteZone:input_type -> mcns.v1.DeleteZoneRequest
|
|
2, // 8: mcns.v1.ZoneService.ListZones:output_type -> mcns.v1.ListZonesResponse
|
|
0, // 9: mcns.v1.ZoneService.CreateZone:output_type -> mcns.v1.Zone
|
|
0, // 10: mcns.v1.ZoneService.GetZone:output_type -> mcns.v1.Zone
|
|
0, // 11: mcns.v1.ZoneService.UpdateZone:output_type -> mcns.v1.Zone
|
|
7, // 12: mcns.v1.ZoneService.DeleteZone:output_type -> mcns.v1.DeleteZoneResponse
|
|
8, // [8:13] is the sub-list for method output_type
|
|
3, // [3:8] is the sub-list for method input_type
|
|
3, // [3:3] is the sub-list for extension type_name
|
|
3, // [3:3] is the sub-list for extension extendee
|
|
0, // [0:3] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_proto_mcns_v1_zone_proto_init() }
|
|
func file_proto_mcns_v1_zone_proto_init() {
|
|
if File_proto_mcns_v1_zone_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_mcns_v1_zone_proto_rawDesc), len(file_proto_mcns_v1_zone_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 8,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_proto_mcns_v1_zone_proto_goTypes,
|
|
DependencyIndexes: file_proto_mcns_v1_zone_proto_depIdxs,
|
|
MessageInfos: file_proto_mcns_v1_zone_proto_msgTypes,
|
|
}.Build()
|
|
File_proto_mcns_v1_zone_proto = out.File
|
|
file_proto_mcns_v1_zone_proto_goTypes = nil
|
|
file_proto_mcns_v1_zone_proto_depIdxs = nil
|
|
}
|