// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.9
// 	protoc        v5.29.5
// source: kubeEleven.proto

package pb

import (
	spec "github.com/berops/claudie/proto/pb/spec"
	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 BuildClusterRequest struct {
	state       protoimpl.MessageState `protogen:"open.v1"`
	Desired     *spec.K8Scluster       `protobuf:"bytes,1,opt,name=desired,proto3" json:"desired,omitempty"`
	ProjectName string                 `protobuf:"bytes,4,opt,name=projectName,proto3" json:"projectName,omitempty"`
	// Endpoint specifies if the endpoint
	// is on a loadbalancer. If empty the
	// endpoint is one of the nodes supplied
	// in part of the desired state.
	LoadBalancerEndpoint string `protobuf:"bytes,5,opt,name=loadBalancerEndpoint,proto3" json:"loadBalancerEndpoint,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

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

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

func (*BuildClusterRequest) ProtoMessage() {}

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

func (x *BuildClusterRequest) GetDesired() *spec.K8Scluster {
	if x != nil {
		return x.Desired
	}
	return nil
}

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

func (x *BuildClusterRequest) GetLoadBalancerEndpoint() string {
	if x != nil {
		return x.LoadBalancerEndpoint
	}
	return ""
}

type BuildClusterResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Desired       *spec.K8Scluster       `protobuf:"bytes,1,opt,name=desired,proto3" json:"desired,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*BuildClusterResponse) ProtoMessage() {}

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

func (x *BuildClusterResponse) GetDesired() *spec.K8Scluster {
	if x != nil {
		return x.Desired
	}
	return nil
}

type DestroyClusterRequest struct {
	state       protoimpl.MessageState `protogen:"open.v1"`
	ProjectName string                 `protobuf:"bytes,1,opt,name=projectName,proto3" json:"projectName,omitempty"`
	Current     *spec.K8Scluster       `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"`
	// Endpoint specifies if the endpoint
	// is on a loadbalancer. If empty the
	// endpoint is one of the nodes supplied
	// in part of the desired state.
	LoadBalancerEndpoint string `protobuf:"bytes,3,opt,name=loadBalancerEndpoint,proto3" json:"loadBalancerEndpoint,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

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

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

func (*DestroyClusterRequest) ProtoMessage() {}

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

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

func (x *DestroyClusterRequest) GetCurrent() *spec.K8Scluster {
	if x != nil {
		return x.Current
	}
	return nil
}

func (x *DestroyClusterRequest) GetLoadBalancerEndpoint() string {
	if x != nil {
		return x.LoadBalancerEndpoint
	}
	return ""
}

type DestroyClusterResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Current       *spec.K8Scluster       `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DestroyClusterResponse) ProtoMessage() {}

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

func (x *DestroyClusterResponse) GetCurrent() *spec.K8Scluster {
	if x != nil {
		return x.Current
	}
	return nil
}

var File_kubeEleven_proto protoreflect.FileDescriptor

const file_kubeEleven_proto_rawDesc = "" +
	"\n" +
	"\x10kubeEleven.proto\x12\aclaudie\x1a\x13spec/manifest.proto\"\x97\x01\n" +
	"\x13BuildClusterRequest\x12*\n" +
	"\adesired\x18\x01 \x01(\v2\x10.spec.K8sclusterR\adesired\x12 \n" +
	"\vprojectName\x18\x04 \x01(\tR\vprojectName\x122\n" +
	"\x14loadBalancerEndpoint\x18\x05 \x01(\tR\x14loadBalancerEndpoint\"B\n" +
	"\x14BuildClusterResponse\x12*\n" +
	"\adesired\x18\x01 \x01(\v2\x10.spec.K8sclusterR\adesired\"\x99\x01\n" +
	"\x15DestroyClusterRequest\x12 \n" +
	"\vprojectName\x18\x01 \x01(\tR\vprojectName\x12*\n" +
	"\acurrent\x18\x02 \x01(\v2\x10.spec.K8sclusterR\acurrent\x122\n" +
	"\x14loadBalancerEndpoint\x18\x03 \x01(\tR\x14loadBalancerEndpoint\"D\n" +
	"\x16DestroyClusterResponse\x12*\n" +
	"\acurrent\x18\x01 \x01(\v2\x10.spec.K8sclusterR\acurrent2\xb3\x01\n" +
	"\x11KubeElevenService\x12K\n" +
	"\fBuildCluster\x12\x1c.claudie.BuildClusterRequest\x1a\x1d.claudie.BuildClusterResponse\x12Q\n" +
	"\x0eDestroyCluster\x12\x1e.claudie.DestroyClusterRequest\x1a\x1f.claudie.DestroyClusterResponseB\n" +
	"Z\bproto/pbb\x06proto3"

var (
	file_kubeEleven_proto_rawDescOnce sync.Once
	file_kubeEleven_proto_rawDescData []byte
)

func file_kubeEleven_proto_rawDescGZIP() []byte {
	file_kubeEleven_proto_rawDescOnce.Do(func() {
		file_kubeEleven_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_kubeEleven_proto_rawDesc), len(file_kubeEleven_proto_rawDesc)))
	})
	return file_kubeEleven_proto_rawDescData
}

var file_kubeEleven_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_kubeEleven_proto_goTypes = []any{
	(*BuildClusterRequest)(nil),    // 0: claudie.BuildClusterRequest
	(*BuildClusterResponse)(nil),   // 1: claudie.BuildClusterResponse
	(*DestroyClusterRequest)(nil),  // 2: claudie.DestroyClusterRequest
	(*DestroyClusterResponse)(nil), // 3: claudie.DestroyClusterResponse
	(*spec.K8Scluster)(nil),        // 4: spec.K8scluster
}
var file_kubeEleven_proto_depIdxs = []int32{
	4, // 0: claudie.BuildClusterRequest.desired:type_name -> spec.K8scluster
	4, // 1: claudie.BuildClusterResponse.desired:type_name -> spec.K8scluster
	4, // 2: claudie.DestroyClusterRequest.current:type_name -> spec.K8scluster
	4, // 3: claudie.DestroyClusterResponse.current:type_name -> spec.K8scluster
	0, // 4: claudie.KubeElevenService.BuildCluster:input_type -> claudie.BuildClusterRequest
	2, // 5: claudie.KubeElevenService.DestroyCluster:input_type -> claudie.DestroyClusterRequest
	1, // 6: claudie.KubeElevenService.BuildCluster:output_type -> claudie.BuildClusterResponse
	3, // 7: claudie.KubeElevenService.DestroyCluster:output_type -> claudie.DestroyClusterResponse
	6, // [6:8] is the sub-list for method output_type
	4, // [4:6] is the sub-list for method input_type
	4, // [4:4] is the sub-list for extension type_name
	4, // [4:4] is the sub-list for extension extendee
	0, // [0:4] is the sub-list for field type_name
}

func init() { file_kubeEleven_proto_init() }
func file_kubeEleven_proto_init() {
	if File_kubeEleven_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_kubeEleven_proto_rawDesc), len(file_kubeEleven_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_kubeEleven_proto_goTypes,
		DependencyIndexes: file_kubeEleven_proto_depIdxs,
		MessageInfos:      file_kubeEleven_proto_msgTypes,
	}.Build()
	File_kubeEleven_proto = out.File
	file_kubeEleven_proto_goTypes = nil
	file_kubeEleven_proto_depIdxs = nil
}
