// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v6.30.0--rc2
// source: protos/source/agent.proto

package proto

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	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 CreateSiteRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ProjectName   string                 `protobuf:"bytes,2,opt,name=projectName,proto3" json:"projectName,omitempty"`
	OwnerName     string                 `protobuf:"bytes,3,opt,name=OwnerName,proto3" json:"OwnerName,omitempty"`
	SubDomain     string                 `protobuf:"bytes,4,opt,name=subDomain,proto3" json:"subDomain,omitempty"`
	Domains       []string               `protobuf:"bytes,5,rep,name=domains,proto3" json:"domains,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CreateSiteRequest) Reset() {
	*x = CreateSiteRequest{}
	mi := &file_protos_source_agent_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CreateSiteRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CreateSiteRequest) ProtoMessage() {}

func (x *CreateSiteRequest) ProtoReflect() protoreflect.Message {
	mi := &file_protos_source_agent_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 CreateSiteRequest.ProtoReflect.Descriptor instead.
func (*CreateSiteRequest) Descriptor() ([]byte, []int) {
	return file_protos_source_agent_proto_rawDescGZIP(), []int{0}
}

func (x *CreateSiteRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *CreateSiteRequest) GetProjectName() string {
	if x != nil {
		return x.ProjectName
	}
	return ""
}

func (x *CreateSiteRequest) GetOwnerName() string {
	if x != nil {
		return x.OwnerName
	}
	return ""
}

func (x *CreateSiteRequest) GetSubDomain() string {
	if x != nil {
		return x.SubDomain
	}
	return ""
}

func (x *CreateSiteRequest) GetDomains() []string {
	if x != nil {
		return x.Domains
	}
	return nil
}

type CreateSiteResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Message       string                 `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CreateSiteResponse) Reset() {
	*x = CreateSiteResponse{}
	mi := &file_protos_source_agent_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CreateSiteResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CreateSiteResponse) ProtoMessage() {}

func (x *CreateSiteResponse) ProtoReflect() protoreflect.Message {
	mi := &file_protos_source_agent_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 CreateSiteResponse.ProtoReflect.Descriptor instead.
func (*CreateSiteResponse) Descriptor() ([]byte, []int) {
	return file_protos_source_agent_proto_rawDescGZIP(), []int{1}
}

func (x *CreateSiteResponse) GetMessage() string {
	if x != nil {
		return x.Message
	}
	return ""
}

// 更新站点信息
type UpdateSiteRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ProjectName   string                 `protobuf:"bytes,2,opt,name=projectName,proto3" json:"projectName,omitempty"`
	OwnerName     string                 `protobuf:"bytes,3,opt,name=OwnerName,proto3" json:"OwnerName,omitempty"`
	SubDomain     string                 `protobuf:"bytes,4,opt,name=subDomain,proto3" json:"subDomain,omitempty"`
	Domains       []string               `protobuf:"bytes,5,rep,name=domains,proto3" json:"domains,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdateSiteRequest) Reset() {
	*x = UpdateSiteRequest{}
	mi := &file_protos_source_agent_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UpdateSiteRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UpdateSiteRequest) ProtoMessage() {}

func (x *UpdateSiteRequest) ProtoReflect() protoreflect.Message {
	mi := &file_protos_source_agent_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 UpdateSiteRequest.ProtoReflect.Descriptor instead.
func (*UpdateSiteRequest) Descriptor() ([]byte, []int) {
	return file_protos_source_agent_proto_rawDescGZIP(), []int{2}
}

func (x *UpdateSiteRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *UpdateSiteRequest) GetProjectName() string {
	if x != nil {
		return x.ProjectName
	}
	return ""
}

func (x *UpdateSiteRequest) GetOwnerName() string {
	if x != nil {
		return x.OwnerName
	}
	return ""
}

func (x *UpdateSiteRequest) GetSubDomain() string {
	if x != nil {
		return x.SubDomain
	}
	return ""
}

func (x *UpdateSiteRequest) GetDomains() []string {
	if x != nil {
		return x.Domains
	}
	return nil
}

type UpdateSiteResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Message       string                 `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdateSiteResponse) Reset() {
	*x = UpdateSiteResponse{}
	mi := &file_protos_source_agent_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UpdateSiteResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UpdateSiteResponse) ProtoMessage() {}

func (x *UpdateSiteResponse) ProtoReflect() protoreflect.Message {
	mi := &file_protos_source_agent_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 UpdateSiteResponse.ProtoReflect.Descriptor instead.
func (*UpdateSiteResponse) Descriptor() ([]byte, []int) {
	return file_protos_source_agent_proto_rawDescGZIP(), []int{3}
}

func (x *UpdateSiteResponse) GetMessage() string {
	if x != nil {
		return x.Message
	}
	return ""
}

// 删除站点
type DeleteSiteRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ProjectName   string                 `protobuf:"bytes,2,opt,name=projectName,proto3" json:"projectName,omitempty"`
	OwnerName     string                 `protobuf:"bytes,3,opt,name=OwnerName,proto3" json:"OwnerName,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeleteSiteRequest) Reset() {
	*x = DeleteSiteRequest{}
	mi := &file_protos_source_agent_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DeleteSiteRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DeleteSiteRequest) ProtoMessage() {}

func (x *DeleteSiteRequest) ProtoReflect() protoreflect.Message {
	mi := &file_protos_source_agent_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 DeleteSiteRequest.ProtoReflect.Descriptor instead.
func (*DeleteSiteRequest) Descriptor() ([]byte, []int) {
	return file_protos_source_agent_proto_rawDescGZIP(), []int{4}
}

func (x *DeleteSiteRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *DeleteSiteRequest) GetProjectName() string {
	if x != nil {
		return x.ProjectName
	}
	return ""
}

func (x *DeleteSiteRequest) GetOwnerName() string {
	if x != nil {
		return x.OwnerName
	}
	return ""
}

type DeleteSiteResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Message       string                 `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeleteSiteResponse) Reset() {
	*x = DeleteSiteResponse{}
	mi := &file_protos_source_agent_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DeleteSiteResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DeleteSiteResponse) ProtoMessage() {}

func (x *DeleteSiteResponse) ProtoReflect() protoreflect.Message {
	mi := &file_protos_source_agent_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 DeleteSiteResponse.ProtoReflect.Descriptor instead.
func (*DeleteSiteResponse) Descriptor() ([]byte, []int) {
	return file_protos_source_agent_proto_rawDescGZIP(), []int{5}
}

func (x *DeleteSiteResponse) GetMessage() string {
	if x != nil {
		return x.Message
	}
	return ""
}

// 上传 release
type UploadReleaseRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	SiteName      string                 `protobuf:"bytes,1,opt,name=siteName,proto3" json:"siteName,omitempty"`
	ProjectName   string                 `protobuf:"bytes,2,opt,name=projectName,proto3" json:"projectName,omitempty"`
	OwnerName     string                 `protobuf:"bytes,3,opt,name=OwnerName,proto3" json:"OwnerName,omitempty"`
	Content       []byte                 `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UploadReleaseRequest) Reset() {
	*x = UploadReleaseRequest{}
	mi := &file_protos_source_agent_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UploadReleaseRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UploadReleaseRequest) ProtoMessage() {}

func (x *UploadReleaseRequest) ProtoReflect() protoreflect.Message {
	mi := &file_protos_source_agent_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 UploadReleaseRequest.ProtoReflect.Descriptor instead.
func (*UploadReleaseRequest) Descriptor() ([]byte, []int) {
	return file_protos_source_agent_proto_rawDescGZIP(), []int{6}
}

func (x *UploadReleaseRequest) GetSiteName() string {
	if x != nil {
		return x.SiteName
	}
	return ""
}

func (x *UploadReleaseRequest) GetProjectName() string {
	if x != nil {
		return x.ProjectName
	}
	return ""
}

func (x *UploadReleaseRequest) GetOwnerName() string {
	if x != nil {
		return x.OwnerName
	}
	return ""
}

func (x *UploadReleaseRequest) GetContent() []byte {
	if x != nil {
		return x.Content
	}
	return nil
}

type UploadReleaseResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Message       string                 `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UploadReleaseResponse) Reset() {
	*x = UploadReleaseResponse{}
	mi := &file_protos_source_agent_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UploadReleaseResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UploadReleaseResponse) ProtoMessage() {}

func (x *UploadReleaseResponse) ProtoReflect() protoreflect.Message {
	mi := &file_protos_source_agent_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 UploadReleaseResponse.ProtoReflect.Descriptor instead.
func (*UploadReleaseResponse) Descriptor() ([]byte, []int) {
	return file_protos_source_agent_proto_rawDescGZIP(), []int{7}
}

func (x *UploadReleaseResponse) GetMessage() string {
	if x != nil {
		return x.Message
	}
	return ""
}

var File_protos_source_agent_proto protoreflect.FileDescriptor

const file_protos_source_agent_proto_rawDesc = "" +
	"\n" +
	"\x19protos/source/agent.proto\x12\x05agent\"\x9f\x01\n" +
	"\x11CreateSiteRequest\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12 \n" +
	"\vprojectName\x18\x02 \x01(\tR\vprojectName\x12\x1c\n" +
	"\tOwnerName\x18\x03 \x01(\tR\tOwnerName\x12\x1c\n" +
	"\tsubDomain\x18\x04 \x01(\tR\tsubDomain\x12\x18\n" +
	"\adomains\x18\x05 \x03(\tR\adomains\".\n" +
	"\x12CreateSiteResponse\x12\x18\n" +
	"\amessage\x18\x01 \x01(\tR\amessage\"\x9f\x01\n" +
	"\x11UpdateSiteRequest\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12 \n" +
	"\vprojectName\x18\x02 \x01(\tR\vprojectName\x12\x1c\n" +
	"\tOwnerName\x18\x03 \x01(\tR\tOwnerName\x12\x1c\n" +
	"\tsubDomain\x18\x04 \x01(\tR\tsubDomain\x12\x18\n" +
	"\adomains\x18\x05 \x03(\tR\adomains\".\n" +
	"\x12UpdateSiteResponse\x12\x18\n" +
	"\amessage\x18\x01 \x01(\tR\amessage\"g\n" +
	"\x11DeleteSiteRequest\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12 \n" +
	"\vprojectName\x18\x02 \x01(\tR\vprojectName\x12\x1c\n" +
	"\tOwnerName\x18\x03 \x01(\tR\tOwnerName\".\n" +
	"\x12DeleteSiteResponse\x12\x18\n" +
	"\amessage\x18\x01 \x01(\tR\amessage\"\x8c\x01\n" +
	"\x14UploadReleaseRequest\x12\x1a\n" +
	"\bsiteName\x18\x01 \x01(\tR\bsiteName\x12 \n" +
	"\vprojectName\x18\x02 \x01(\tR\vprojectName\x12\x1c\n" +
	"\tOwnerName\x18\x03 \x01(\tR\tOwnerName\x12\x18\n" +
	"\acontent\x18\x04 \x01(\fR\acontent\"1\n" +
	"\x15UploadReleaseResponse\x12\x18\n" +
	"\amessage\x18\x01 \x01(\tR\amessage2\xad\x02\n" +
	"\fAgentService\x12C\n" +
	"\n" +
	"CreateSite\x12\x18.agent.CreateSiteRequest\x1a\x19.agent.CreateSiteResponse\"\x00\x12C\n" +
	"\n" +
	"UpdateSite\x12\x18.agent.UpdateSiteRequest\x1a\x19.agent.UpdateSiteResponse\"\x00\x12C\n" +
	"\n" +
	"DeleteSite\x12\x18.agent.DeleteSiteRequest\x1a\x19.agent.DeleteSiteResponse\"\x00\x12N\n" +
	"\rUploadRelease\x12\x1b.agent.UploadReleaseRequest\x1a\x1c.agent.UploadReleaseResponse\"\x00(\x01B\tZ\a./protob\x06proto3"

var (
	file_protos_source_agent_proto_rawDescOnce sync.Once
	file_protos_source_agent_proto_rawDescData []byte
)

func file_protos_source_agent_proto_rawDescGZIP() []byte {
	file_protos_source_agent_proto_rawDescOnce.Do(func() {
		file_protos_source_agent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_protos_source_agent_proto_rawDesc), len(file_protos_source_agent_proto_rawDesc)))
	})
	return file_protos_source_agent_proto_rawDescData
}

var file_protos_source_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_protos_source_agent_proto_goTypes = []any{
	(*CreateSiteRequest)(nil),     // 0: agent.CreateSiteRequest
	(*CreateSiteResponse)(nil),    // 1: agent.CreateSiteResponse
	(*UpdateSiteRequest)(nil),     // 2: agent.UpdateSiteRequest
	(*UpdateSiteResponse)(nil),    // 3: agent.UpdateSiteResponse
	(*DeleteSiteRequest)(nil),     // 4: agent.DeleteSiteRequest
	(*DeleteSiteResponse)(nil),    // 5: agent.DeleteSiteResponse
	(*UploadReleaseRequest)(nil),  // 6: agent.UploadReleaseRequest
	(*UploadReleaseResponse)(nil), // 7: agent.UploadReleaseResponse
}
var file_protos_source_agent_proto_depIdxs = []int32{
	0, // 0: agent.AgentService.CreateSite:input_type -> agent.CreateSiteRequest
	2, // 1: agent.AgentService.UpdateSite:input_type -> agent.UpdateSiteRequest
	4, // 2: agent.AgentService.DeleteSite:input_type -> agent.DeleteSiteRequest
	6, // 3: agent.AgentService.UploadRelease:input_type -> agent.UploadReleaseRequest
	1, // 4: agent.AgentService.CreateSite:output_type -> agent.CreateSiteResponse
	3, // 5: agent.AgentService.UpdateSite:output_type -> agent.UpdateSiteResponse
	5, // 6: agent.AgentService.DeleteSite:output_type -> agent.DeleteSiteResponse
	7, // 7: agent.AgentService.UploadRelease:output_type -> agent.UploadReleaseResponse
	4, // [4:8] is the sub-list for method output_type
	0, // [0:4] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_protos_source_agent_proto_init() }
func file_protos_source_agent_proto_init() {
	if File_protos_source_agent_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_protos_source_agent_proto_rawDesc), len(file_protos_source_agent_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   8,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_protos_source_agent_proto_goTypes,
		DependencyIndexes: file_protos_source_agent_proto_depIdxs,
		MessageInfos:      file_protos_source_agent_proto_msgTypes,
	}.Build()
	File_protos_source_agent_proto = out.File
	file_protos_source_agent_proto_goTypes = nil
	file_protos_source_agent_proto_depIdxs = nil
}
