Raw descriptor bytes in .pb.go files were corrupted by the sed-based module path rename (string length changed, breaking protobuf binary encoding). Regenerated with protoc to fix. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
624 lines
19 KiB
Go
624 lines
19 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/record.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 Record struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
// Zone name this record belongs to (e.g. "example.com.").
|
|
Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
// DNS record type (A, AAAA, CNAME, MX, TXT, etc.).
|
|
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
|
|
Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
|
|
Ttl int32 `protobuf:"varint,6,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Record) Reset() {
|
|
*x = Record{}
|
|
mi := &file_proto_mcns_v1_record_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Record) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Record) ProtoMessage() {}
|
|
|
|
func (x *Record) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_mcns_v1_record_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 Record.ProtoReflect.Descriptor instead.
|
|
func (*Record) Descriptor() ([]byte, []int) {
|
|
return file_proto_mcns_v1_record_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Record) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Record) GetZone() string {
|
|
if x != nil {
|
|
return x.Zone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Record) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Record) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Record) GetValue() string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Record) GetTtl() int32 {
|
|
if x != nil {
|
|
return x.Ttl
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Record) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Record) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListRecordsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Zone string `protobuf:"bytes,1,opt,name=zone,proto3" json:"zone,omitempty"`
|
|
// Optional filter by record name.
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
// Optional filter by record type (A, AAAA, CNAME, etc.).
|
|
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListRecordsRequest) Reset() {
|
|
*x = ListRecordsRequest{}
|
|
mi := &file_proto_mcns_v1_record_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListRecordsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListRecordsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListRecordsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_mcns_v1_record_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 ListRecordsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListRecordsRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_mcns_v1_record_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ListRecordsRequest) GetZone() string {
|
|
if x != nil {
|
|
return x.Zone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListRecordsRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListRecordsRequest) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListRecordsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Records []*Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListRecordsResponse) Reset() {
|
|
*x = ListRecordsResponse{}
|
|
mi := &file_proto_mcns_v1_record_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListRecordsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListRecordsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListRecordsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_mcns_v1_record_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 ListRecordsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListRecordsResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_mcns_v1_record_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ListRecordsResponse) GetRecords() []*Record {
|
|
if x != nil {
|
|
return x.Records
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateRecordRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Zone name the record will be created in; must reference an existing zone.
|
|
Zone string `protobuf:"bytes,1,opt,name=zone,proto3" json:"zone,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"`
|
|
Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
|
|
Ttl int32 `protobuf:"varint,5,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateRecordRequest) Reset() {
|
|
*x = CreateRecordRequest{}
|
|
mi := &file_proto_mcns_v1_record_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateRecordRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateRecordRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateRecordRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_mcns_v1_record_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 CreateRecordRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateRecordRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_mcns_v1_record_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *CreateRecordRequest) GetZone() string {
|
|
if x != nil {
|
|
return x.Zone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRecordRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRecordRequest) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRecordRequest) GetValue() string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateRecordRequest) GetTtl() int32 {
|
|
if x != nil {
|
|
return x.Ttl
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetRecordRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetRecordRequest) Reset() {
|
|
*x = GetRecordRequest{}
|
|
mi := &file_proto_mcns_v1_record_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetRecordRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetRecordRequest) ProtoMessage() {}
|
|
|
|
func (x *GetRecordRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_mcns_v1_record_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 GetRecordRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetRecordRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_mcns_v1_record_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *GetRecordRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UpdateRecordRequest 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"`
|
|
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
|
|
Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
|
|
Ttl int32 `protobuf:"varint,5,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateRecordRequest) Reset() {
|
|
*x = UpdateRecordRequest{}
|
|
mi := &file_proto_mcns_v1_record_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateRecordRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateRecordRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateRecordRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_mcns_v1_record_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 UpdateRecordRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateRecordRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_mcns_v1_record_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *UpdateRecordRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateRecordRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateRecordRequest) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateRecordRequest) GetValue() string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateRecordRequest) GetTtl() int32 {
|
|
if x != nil {
|
|
return x.Ttl
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeleteRecordRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteRecordRequest) Reset() {
|
|
*x = DeleteRecordRequest{}
|
|
mi := &file_proto_mcns_v1_record_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteRecordRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteRecordRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteRecordRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_mcns_v1_record_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 DeleteRecordRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteRecordRequest) Descriptor() ([]byte, []int) {
|
|
return file_proto_mcns_v1_record_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *DeleteRecordRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeleteRecordResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteRecordResponse) Reset() {
|
|
*x = DeleteRecordResponse{}
|
|
mi := &file_proto_mcns_v1_record_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteRecordResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteRecordResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteRecordResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_proto_mcns_v1_record_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 DeleteRecordResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteRecordResponse) Descriptor() ([]byte, []int) {
|
|
return file_proto_mcns_v1_record_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
var File_proto_mcns_v1_record_proto protoreflect.FileDescriptor
|
|
|
|
const file_proto_mcns_v1_record_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x1aproto/mcns/v1/record.proto\x12\amcns.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf2\x01\n" +
|
|
"\x06Record\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
|
"\x04zone\x18\x02 \x01(\tR\x04zone\x12\x12\n" +
|
|
"\x04name\x18\x03 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04type\x18\x04 \x01(\tR\x04type\x12\x14\n" +
|
|
"\x05value\x18\x05 \x01(\tR\x05value\x12\x10\n" +
|
|
"\x03ttl\x18\x06 \x01(\x05R\x03ttl\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"P\n" +
|
|
"\x12ListRecordsRequest\x12\x12\n" +
|
|
"\x04zone\x18\x01 \x01(\tR\x04zone\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04type\x18\x03 \x01(\tR\x04type\"@\n" +
|
|
"\x13ListRecordsResponse\x12)\n" +
|
|
"\arecords\x18\x01 \x03(\v2\x0f.mcns.v1.RecordR\arecords\"y\n" +
|
|
"\x13CreateRecordRequest\x12\x12\n" +
|
|
"\x04zone\x18\x01 \x01(\tR\x04zone\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04type\x18\x03 \x01(\tR\x04type\x12\x14\n" +
|
|
"\x05value\x18\x04 \x01(\tR\x05value\x12\x10\n" +
|
|
"\x03ttl\x18\x05 \x01(\x05R\x03ttl\"\"\n" +
|
|
"\x10GetRecordRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\"u\n" +
|
|
"\x13UpdateRecordRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04type\x18\x03 \x01(\tR\x04type\x12\x14\n" +
|
|
"\x05value\x18\x04 \x01(\tR\x05value\x12\x10\n" +
|
|
"\x03ttl\x18\x05 \x01(\x05R\x03ttl\"%\n" +
|
|
"\x13DeleteRecordRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\"\x16\n" +
|
|
"\x14DeleteRecordResponse2\xdd\x02\n" +
|
|
"\rRecordService\x12H\n" +
|
|
"\vListRecords\x12\x1b.mcns.v1.ListRecordsRequest\x1a\x1c.mcns.v1.ListRecordsResponse\x12=\n" +
|
|
"\fCreateRecord\x12\x1c.mcns.v1.CreateRecordRequest\x1a\x0f.mcns.v1.Record\x127\n" +
|
|
"\tGetRecord\x12\x19.mcns.v1.GetRecordRequest\x1a\x0f.mcns.v1.Record\x12=\n" +
|
|
"\fUpdateRecord\x12\x1c.mcns.v1.UpdateRecordRequest\x1a\x0f.mcns.v1.Record\x12K\n" +
|
|
"\fDeleteRecord\x12\x1c.mcns.v1.DeleteRecordRequest\x1a\x1d.mcns.v1.DeleteRecordResponseB-Z+git.wntrmute.dev/mc/mcns/gen/mcns/v1;mcnsv1b\x06proto3"
|
|
|
|
var (
|
|
file_proto_mcns_v1_record_proto_rawDescOnce sync.Once
|
|
file_proto_mcns_v1_record_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_proto_mcns_v1_record_proto_rawDescGZIP() []byte {
|
|
file_proto_mcns_v1_record_proto_rawDescOnce.Do(func() {
|
|
file_proto_mcns_v1_record_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_mcns_v1_record_proto_rawDesc), len(file_proto_mcns_v1_record_proto_rawDesc)))
|
|
})
|
|
return file_proto_mcns_v1_record_proto_rawDescData
|
|
}
|
|
|
|
var file_proto_mcns_v1_record_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
|
var file_proto_mcns_v1_record_proto_goTypes = []any{
|
|
(*Record)(nil), // 0: mcns.v1.Record
|
|
(*ListRecordsRequest)(nil), // 1: mcns.v1.ListRecordsRequest
|
|
(*ListRecordsResponse)(nil), // 2: mcns.v1.ListRecordsResponse
|
|
(*CreateRecordRequest)(nil), // 3: mcns.v1.CreateRecordRequest
|
|
(*GetRecordRequest)(nil), // 4: mcns.v1.GetRecordRequest
|
|
(*UpdateRecordRequest)(nil), // 5: mcns.v1.UpdateRecordRequest
|
|
(*DeleteRecordRequest)(nil), // 6: mcns.v1.DeleteRecordRequest
|
|
(*DeleteRecordResponse)(nil), // 7: mcns.v1.DeleteRecordResponse
|
|
(*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp
|
|
}
|
|
var file_proto_mcns_v1_record_proto_depIdxs = []int32{
|
|
8, // 0: mcns.v1.Record.created_at:type_name -> google.protobuf.Timestamp
|
|
8, // 1: mcns.v1.Record.updated_at:type_name -> google.protobuf.Timestamp
|
|
0, // 2: mcns.v1.ListRecordsResponse.records:type_name -> mcns.v1.Record
|
|
1, // 3: mcns.v1.RecordService.ListRecords:input_type -> mcns.v1.ListRecordsRequest
|
|
3, // 4: mcns.v1.RecordService.CreateRecord:input_type -> mcns.v1.CreateRecordRequest
|
|
4, // 5: mcns.v1.RecordService.GetRecord:input_type -> mcns.v1.GetRecordRequest
|
|
5, // 6: mcns.v1.RecordService.UpdateRecord:input_type -> mcns.v1.UpdateRecordRequest
|
|
6, // 7: mcns.v1.RecordService.DeleteRecord:input_type -> mcns.v1.DeleteRecordRequest
|
|
2, // 8: mcns.v1.RecordService.ListRecords:output_type -> mcns.v1.ListRecordsResponse
|
|
0, // 9: mcns.v1.RecordService.CreateRecord:output_type -> mcns.v1.Record
|
|
0, // 10: mcns.v1.RecordService.GetRecord:output_type -> mcns.v1.Record
|
|
0, // 11: mcns.v1.RecordService.UpdateRecord:output_type -> mcns.v1.Record
|
|
7, // 12: mcns.v1.RecordService.DeleteRecord:output_type -> mcns.v1.DeleteRecordResponse
|
|
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_record_proto_init() }
|
|
func file_proto_mcns_v1_record_proto_init() {
|
|
if File_proto_mcns_v1_record_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_record_proto_rawDesc), len(file_proto_mcns_v1_record_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 8,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_proto_mcns_v1_record_proto_goTypes,
|
|
DependencyIndexes: file_proto_mcns_v1_record_proto_depIdxs,
|
|
MessageInfos: file_proto_mcns_v1_record_proto_msgTypes,
|
|
}.Build()
|
|
File_proto_mcns_v1_record_proto = out.File
|
|
file_proto_mcns_v1_record_proto_goTypes = nil
|
|
file_proto_mcns_v1_record_proto_depIdxs = nil
|
|
}
|