// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v5.29.3
// source: proto/iop/node.proto

package iop

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)
)

// NodeStatus is an inactive legacy enum. Only the zero value remains; the
// online/offline/draining value numbers AND names are reserved tombstones so
// neither the numbers nor the retired identifiers can be reintroduced as an
// active contract. The reserved names persist in the generated descriptor
// metadata by design; that is the tombstone, not an active value.
type NodeStatus int32

const (
	NodeStatus_NODE_STATUS_UNSPECIFIED NodeStatus = 0
)

// Enum value maps for NodeStatus.
var (
	NodeStatus_name = map[int32]string{
		0: "NODE_STATUS_UNSPECIFIED",
	}
	NodeStatus_value = map[string]int32{
		"NODE_STATUS_UNSPECIFIED": 0,
	}
)

func (x NodeStatus) Enum() *NodeStatus {
	p := new(NodeStatus)
	*p = x
	return p
}

func (x NodeStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (NodeStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_proto_iop_node_proto_enumTypes[0].Descriptor()
}

func (NodeStatus) Type() protoreflect.EnumType {
	return &file_proto_iop_node_proto_enumTypes[0]
}

func (x NodeStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use NodeStatus.Descriptor instead.
func (NodeStatus) EnumDescriptor() ([]byte, []int) {
	return file_proto_iop_node_proto_rawDescGZIP(), []int{0}
}

// NodeInfo is a reserved legacy tombstone for node snapshots. The original
// node_id/address/status fields are retired. Current Edge-Node registration
// uses RegisterRequest/RegisterResponse in runtime.proto, and Control Plane
// observes nodes through Edge.
type NodeInfo struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*NodeInfo) ProtoMessage() {}

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

// NodeRegisterRequest is a reserved legacy tombstone and is not the active
// startup contract. Nodes connect to Edge, not directly to Control Plane.
type NodeRegisterRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*NodeRegisterRequest) ProtoMessage() {}

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

// NodeRegisterResponse is a reserved legacy tombstone retained until the
// Control Plane contracts are redesigned around Edge.
type NodeRegisterResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*NodeRegisterResponse) ProtoMessage() {}

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

var File_proto_iop_node_proto protoreflect.FileDescriptor

const file_proto_iop_node_proto_rawDesc = "" +
	"\n" +
	"\x14proto/iop/node.proto\x12\x03iop\"A\n" +
	"\bNodeInfoJ\x04\b\x01\x10\aR\anode_idR\x04nameR\aaddressR\aversionR\x06statusR\x06labels\"!\n" +
	"\x13NodeRegisterRequestJ\x04\b\x01\x10\x02R\x04info\"5\n" +
	"\x14NodeRegisterResponseJ\x04\b\x01\x10\x04R\bacceptedR\x05tokenR\x06reason*n\n" +
	"\n" +
	"NodeStatus\x12\x1b\n" +
	"\x17NODE_STATUS_UNSPECIFIED\x10\x00\"\x04\b\x01\x10\x03*\x12NODE_STATUS_ONLINE*\x13NODE_STATUS_OFFLINE*\x14NODE_STATUS_DRAININGB\x13Z\x11iop/proto/gen/iopb\x06proto3"

var (
	file_proto_iop_node_proto_rawDescOnce sync.Once
	file_proto_iop_node_proto_rawDescData []byte
)

func file_proto_iop_node_proto_rawDescGZIP() []byte {
	file_proto_iop_node_proto_rawDescOnce.Do(func() {
		file_proto_iop_node_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_iop_node_proto_rawDesc), len(file_proto_iop_node_proto_rawDesc)))
	})
	return file_proto_iop_node_proto_rawDescData
}

var file_proto_iop_node_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_proto_iop_node_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_proto_iop_node_proto_goTypes = []any{
	(NodeStatus)(0),              // 0: iop.NodeStatus
	(*NodeInfo)(nil),             // 1: iop.NodeInfo
	(*NodeRegisterRequest)(nil),  // 2: iop.NodeRegisterRequest
	(*NodeRegisterResponse)(nil), // 3: iop.NodeRegisterResponse
}
var file_proto_iop_node_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] 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_proto_iop_node_proto_init() }
func file_proto_iop_node_proto_init() {
	if File_proto_iop_node_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_iop_node_proto_rawDesc), len(file_proto_iop_node_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_proto_iop_node_proto_goTypes,
		DependencyIndexes: file_proto_iop_node_proto_depIdxs,
		EnumInfos:         file_proto_iop_node_proto_enumTypes,
		MessageInfos:      file_proto_iop_node_proto_msgTypes,
	}.Build()
	File_proto_iop_node_proto = out.File
	file_proto_iop_node_proto_goTypes = nil
	file_proto_iop_node_proto_depIdxs = nil
}
