// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.31.1
// source: omni/resources/resources.proto

package resources

import (
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"

	v1alpha1 "github.com/cosi-project/runtime/api/v1alpha1"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	_ "google.golang.org/protobuf/types/known/emptypb"

	_ "github.com/siderolabs/omni/client/api/common"
)

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 EventType int32

const (
	EventType_UNKNOWN      EventType = 0
	EventType_CREATED      EventType = 1
	EventType_UPDATED      EventType = 2
	EventType_DESTROYED    EventType = 3
	EventType_BOOTSTRAPPED EventType = 4
)

// Enum value maps for EventType.
var (
	EventType_name = map[int32]string{
		0: "UNKNOWN",
		1: "CREATED",
		2: "UPDATED",
		3: "DESTROYED",
		4: "BOOTSTRAPPED",
	}
	EventType_value = map[string]int32{
		"UNKNOWN":      0,
		"CREATED":      1,
		"UPDATED":      2,
		"DESTROYED":    3,
		"BOOTSTRAPPED": 4,
	}
)

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

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

func (EventType) Descriptor() protoreflect.EnumDescriptor {
	return file_omni_resources_resources_proto_enumTypes[0].Descriptor()
}

func (EventType) Type() protoreflect.EnumType {
	return &file_omni_resources_resources_proto_enumTypes[0]
}

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

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

type DependencyGraphResponse_Node_Type int32

const (
	DependencyGraphResponse_Node_UNKNOWN    DependencyGraphResponse_Node_Type = 0
	DependencyGraphResponse_Node_CONTROLLER DependencyGraphResponse_Node_Type = 1
	DependencyGraphResponse_Node_RESOURCE   DependencyGraphResponse_Node_Type = 2
)

// Enum value maps for DependencyGraphResponse_Node_Type.
var (
	DependencyGraphResponse_Node_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "CONTROLLER",
		2: "RESOURCE",
	}
	DependencyGraphResponse_Node_Type_value = map[string]int32{
		"UNKNOWN":    0,
		"CONTROLLER": 1,
		"RESOURCE":   2,
	}
)

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

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

func (DependencyGraphResponse_Node_Type) Descriptor() protoreflect.EnumDescriptor {
	return file_omni_resources_resources_proto_enumTypes[1].Descriptor()
}

func (DependencyGraphResponse_Node_Type) Type() protoreflect.EnumType {
	return &file_omni_resources_resources_proto_enumTypes[1]
}

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

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

type Resource struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Metadata      *v1alpha1.Metadata     `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Spec          string                 `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Resource) ProtoMessage() {}

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

func (x *Resource) GetMetadata() *v1alpha1.Metadata {
	if x != nil {
		return x.Metadata
	}
	return nil
}

func (x *Resource) GetSpec() string {
	if x != nil {
		return x.Spec
	}
	return ""
}

type GetRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Namespace     string                 `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Type          string                 `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Id            string                 `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetRequest) ProtoMessage() {}

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

func (x *GetRequest) GetNamespace() string {
	if x != nil {
		return x.Namespace
	}
	return ""
}

func (x *GetRequest) GetType() string {
	if x != nil {
		return x.Type
	}
	return ""
}

func (x *GetRequest) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

type GetResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Body should contain JSON encoded spec.
	Body          string `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetResponse) ProtoMessage() {}

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

func (x *GetResponse) GetBody() string {
	if x != nil {
		return x.Body
	}
	return ""
}

type ListRequest struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	Namespace      string                 `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Type           string                 `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Offset         int32                  `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit          int32                  `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	SortByField    string                 `protobuf:"bytes,5,opt,name=sort_by_field,json=sortByField,proto3" json:"sort_by_field,omitempty"`
	SortDescending bool                   `protobuf:"varint,6,opt,name=sort_descending,json=sortDescending,proto3" json:"sort_descending,omitempty"`
	SearchFor      []string               `protobuf:"bytes,7,rep,name=search_for,json=searchFor,proto3" json:"search_for,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*ListRequest) ProtoMessage() {}

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

func (x *ListRequest) GetNamespace() string {
	if x != nil {
		return x.Namespace
	}
	return ""
}

func (x *ListRequest) GetType() string {
	if x != nil {
		return x.Type
	}
	return ""
}

func (x *ListRequest) GetOffset() int32 {
	if x != nil {
		return x.Offset
	}
	return 0
}

func (x *ListRequest) GetLimit() int32 {
	if x != nil {
		return x.Limit
	}
	return 0
}

func (x *ListRequest) GetSortByField() string {
	if x != nil {
		return x.SortByField
	}
	return ""
}

func (x *ListRequest) GetSortDescending() bool {
	if x != nil {
		return x.SortDescending
	}
	return false
}

func (x *ListRequest) GetSearchFor() []string {
	if x != nil {
		return x.SearchFor
	}
	return nil
}

type ListResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Items should contain JSON encoded resources.
	Items         []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Total         int32    `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListResponse) ProtoMessage() {}

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

func (x *ListResponse) GetItems() []string {
	if x != nil {
		return x.Items
	}
	return nil
}

func (x *ListResponse) GetTotal() int32 {
	if x != nil {
		return x.Total
	}
	return 0
}

// Event is emitted when resource changes.
// It's the same as COSI Event, but encodes resources into JSON.
type Event struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Resource      string                 `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Old           string                 `protobuf:"bytes,2,opt,name=old,proto3" json:"old,omitempty"`
	EventType     EventType              `protobuf:"varint,3,opt,name=event_type,json=eventType,proto3,enum=omni.resources.EventType" json:"event_type,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Event) ProtoMessage() {}

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

func (x *Event) GetResource() string {
	if x != nil {
		return x.Resource
	}
	return ""
}

func (x *Event) GetOld() string {
	if x != nil {
		return x.Old
	}
	return ""
}

func (x *Event) GetEventType() EventType {
	if x != nil {
		return x.EventType
	}
	return EventType_UNKNOWN
}

type WatchRequest struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	Namespace      string                 `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Type           string                 `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Id             string                 `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	TailEvents     int32                  `protobuf:"varint,4,opt,name=tail_events,json=tailEvents,proto3" json:"tail_events,omitempty"`
	Offset         int32                  `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit          int32                  `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"`
	SortByField    string                 `protobuf:"bytes,7,opt,name=sort_by_field,json=sortByField,proto3" json:"sort_by_field,omitempty"`
	SortDescending bool                   `protobuf:"varint,8,opt,name=sort_descending,json=sortDescending,proto3" json:"sort_descending,omitempty"`
	SearchFor      []string               `protobuf:"bytes,9,rep,name=search_for,json=searchFor,proto3" json:"search_for,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*WatchRequest) ProtoMessage() {}

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

func (x *WatchRequest) GetNamespace() string {
	if x != nil {
		return x.Namespace
	}
	return ""
}

func (x *WatchRequest) GetType() string {
	if x != nil {
		return x.Type
	}
	return ""
}

func (x *WatchRequest) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *WatchRequest) GetTailEvents() int32 {
	if x != nil {
		return x.TailEvents
	}
	return 0
}

func (x *WatchRequest) GetOffset() int32 {
	if x != nil {
		return x.Offset
	}
	return 0
}

func (x *WatchRequest) GetLimit() int32 {
	if x != nil {
		return x.Limit
	}
	return 0
}

func (x *WatchRequest) GetSortByField() string {
	if x != nil {
		return x.SortByField
	}
	return ""
}

func (x *WatchRequest) GetSortDescending() bool {
	if x != nil {
		return x.SortDescending
	}
	return false
}

func (x *WatchRequest) GetSearchFor() []string {
	if x != nil {
		return x.SearchFor
	}
	return nil
}

type WatchResponse struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	Event          *Event                 `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	Total          int32                  `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	SortFieldData  string                 `protobuf:"bytes,3,opt,name=sort_field_data,json=sortFieldData,proto3" json:"sort_field_data,omitempty"`
	SortDescending bool                   `protobuf:"varint,4,opt,name=sort_descending,json=sortDescending,proto3" json:"sort_descending,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*WatchResponse) ProtoMessage() {}

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

func (x *WatchResponse) GetEvent() *Event {
	if x != nil {
		return x.Event
	}
	return nil
}

func (x *WatchResponse) GetTotal() int32 {
	if x != nil {
		return x.Total
	}
	return 0
}

func (x *WatchResponse) GetSortFieldData() string {
	if x != nil {
		return x.SortFieldData
	}
	return ""
}

func (x *WatchResponse) GetSortDescending() bool {
	if x != nil {
		return x.SortDescending
	}
	return false
}

type CreateRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Resource      *Resource              `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CreateRequest) Reset() {
	*x = CreateRequest{}
	mi := &file_omni_resources_resources_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CreateRequest) ProtoMessage() {}

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

func (x *CreateRequest) GetResource() *Resource {
	if x != nil {
		return x.Resource
	}
	return nil
}

type CreateResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CreateResponse) Reset() {
	*x = CreateResponse{}
	mi := &file_omni_resources_resources_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CreateResponse) ProtoMessage() {}

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

type UpdateRequest struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	CurrentVersion string                 `protobuf:"bytes,1,opt,name=currentVersion,proto3" json:"currentVersion,omitempty"`
	Resource       *Resource              `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *UpdateRequest) Reset() {
	*x = UpdateRequest{}
	mi := &file_omni_resources_resources_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*UpdateRequest) ProtoMessage() {}

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

func (x *UpdateRequest) GetCurrentVersion() string {
	if x != nil {
		return x.CurrentVersion
	}
	return ""
}

func (x *UpdateRequest) GetResource() *Resource {
	if x != nil {
		return x.Resource
	}
	return nil
}

type UpdateResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdateResponse) Reset() {
	*x = UpdateResponse{}
	mi := &file_omni_resources_resources_proto_msgTypes[11]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*UpdateResponse) ProtoMessage() {}

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

type DeleteRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Namespace     string                 `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Type          string                 `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Id            string                 `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeleteRequest) Reset() {
	*x = DeleteRequest{}
	mi := &file_omni_resources_resources_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DeleteRequest) ProtoMessage() {}

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

func (x *DeleteRequest) GetNamespace() string {
	if x != nil {
		return x.Namespace
	}
	return ""
}

func (x *DeleteRequest) GetType() string {
	if x != nil {
		return x.Type
	}
	return ""
}

func (x *DeleteRequest) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

type DeleteResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeleteResponse) Reset() {
	*x = DeleteResponse{}
	mi := &file_omni_resources_resources_proto_msgTypes[13]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DeleteResponse) ProtoMessage() {}

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

type ControllersRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ControllersRequest) Reset() {
	*x = ControllersRequest{}
	mi := &file_omni_resources_resources_proto_msgTypes[14]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ControllersRequest) ProtoMessage() {}

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

type ControllersResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Controllers   []string               `protobuf:"bytes,1,rep,name=controllers,proto3" json:"controllers,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ControllersResponse) Reset() {
	*x = ControllersResponse{}
	mi := &file_omni_resources_resources_proto_msgTypes[15]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ControllersResponse) ProtoMessage() {}

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

func (x *ControllersResponse) GetControllers() []string {
	if x != nil {
		return x.Controllers
	}
	return nil
}

type DependencyGraphRequest struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	Controllers      []string               `protobuf:"bytes,1,rep,name=controllers,proto3" json:"controllers,omitempty"`
	ShowDestroyReady bool                   `protobuf:"varint,2,opt,name=show_destroy_ready,json=showDestroyReady,proto3" json:"show_destroy_ready,omitempty"`
	Resources        []string               `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *DependencyGraphRequest) Reset() {
	*x = DependencyGraphRequest{}
	mi := &file_omni_resources_resources_proto_msgTypes[16]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DependencyGraphRequest) ProtoMessage() {}

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

func (x *DependencyGraphRequest) GetControllers() []string {
	if x != nil {
		return x.Controllers
	}
	return nil
}

func (x *DependencyGraphRequest) GetShowDestroyReady() bool {
	if x != nil {
		return x.ShowDestroyReady
	}
	return false
}

func (x *DependencyGraphRequest) GetResources() []string {
	if x != nil {
		return x.Resources
	}
	return nil
}

type DependencyGraphResponse struct {
	state         protoimpl.MessageState          `protogen:"open.v1"`
	Nodes         []*DependencyGraphResponse_Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	Edges         []*DependencyGraphResponse_Edge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DependencyGraphResponse) Reset() {
	*x = DependencyGraphResponse{}
	mi := &file_omni_resources_resources_proto_msgTypes[17]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DependencyGraphResponse) ProtoMessage() {}

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

func (x *DependencyGraphResponse) GetNodes() []*DependencyGraphResponse_Node {
	if x != nil {
		return x.Nodes
	}
	return nil
}

func (x *DependencyGraphResponse) GetEdges() []*DependencyGraphResponse_Edge {
	if x != nil {
		return x.Edges
	}
	return nil
}

type DependencyGraphResponse_Node struct {
	state         protoimpl.MessageState            `protogen:"open.v1"`
	Id            string                            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Label         string                            `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Type          DependencyGraphResponse_Node_Type `protobuf:"varint,3,opt,name=type,proto3,enum=omni.resources.DependencyGraphResponse_Node_Type" json:"type,omitempty"`
	Labels        []string                          `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"`
	Fields        []string                          `protobuf:"bytes,5,rep,name=fields,proto3" json:"fields,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DependencyGraphResponse_Node) Reset() {
	*x = DependencyGraphResponse_Node{}
	mi := &file_omni_resources_resources_proto_msgTypes[18]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DependencyGraphResponse_Node) ProtoMessage() {}

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

func (x *DependencyGraphResponse_Node) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *DependencyGraphResponse_Node) GetLabel() string {
	if x != nil {
		return x.Label
	}
	return ""
}

func (x *DependencyGraphResponse_Node) GetType() DependencyGraphResponse_Node_Type {
	if x != nil {
		return x.Type
	}
	return DependencyGraphResponse_Node_UNKNOWN
}

func (x *DependencyGraphResponse_Node) GetLabels() []string {
	if x != nil {
		return x.Labels
	}
	return nil
}

func (x *DependencyGraphResponse_Node) GetFields() []string {
	if x != nil {
		return x.Fields
	}
	return nil
}

type DependencyGraphResponse_Edge struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Source        string                 `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	Target        string                 `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	EdgeType      int32                  `protobuf:"varint,4,opt,name=edge_type,json=edgeType,proto3" json:"edge_type,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DependencyGraphResponse_Edge) Reset() {
	*x = DependencyGraphResponse_Edge{}
	mi := &file_omni_resources_resources_proto_msgTypes[19]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DependencyGraphResponse_Edge) ProtoMessage() {}

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

func (x *DependencyGraphResponse_Edge) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *DependencyGraphResponse_Edge) GetSource() string {
	if x != nil {
		return x.Source
	}
	return ""
}

func (x *DependencyGraphResponse_Edge) GetTarget() string {
	if x != nil {
		return x.Target
	}
	return ""
}

func (x *DependencyGraphResponse_Edge) GetEdgeType() int32 {
	if x != nil {
		return x.EdgeType
	}
	return 0
}

var File_omni_resources_resources_proto protoreflect.FileDescriptor

const file_omni_resources_resources_proto_rawDesc = "" +
	"\n" +
	"\x1eomni/resources/resources.proto\x12\x0eomni.resources\x1a\x1bgoogle/protobuf/empty.proto\x1a\x11common/omni.proto\x1a\x17v1alpha1/resource.proto\"S\n" +
	"\bResource\x123\n" +
	"\bmetadata\x18\x01 \x01(\v2\x17.cosi.resource.MetadataR\bmetadata\x12\x12\n" +
	"\x04spec\x18\x02 \x01(\tR\x04spec\"N\n" +
	"\n" +
	"GetRequest\x12\x1c\n" +
	"\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x12\n" +
	"\x04type\x18\x02 \x01(\tR\x04type\x12\x0e\n" +
	"\x02id\x18\x03 \x01(\tR\x02id\"!\n" +
	"\vGetResponse\x12\x12\n" +
	"\x04body\x18\x01 \x01(\tR\x04body\"\xd9\x01\n" +
	"\vListRequest\x12\x1c\n" +
	"\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x12\n" +
	"\x04type\x18\x02 \x01(\tR\x04type\x12\x16\n" +
	"\x06offset\x18\x03 \x01(\x05R\x06offset\x12\x14\n" +
	"\x05limit\x18\x04 \x01(\x05R\x05limit\x12\"\n" +
	"\rsort_by_field\x18\x05 \x01(\tR\vsortByField\x12'\n" +
	"\x0fsort_descending\x18\x06 \x01(\bR\x0esortDescending\x12\x1d\n" +
	"\n" +
	"search_for\x18\a \x03(\tR\tsearchFor\":\n" +
	"\fListResponse\x12\x14\n" +
	"\x05items\x18\x01 \x03(\tR\x05items\x12\x14\n" +
	"\x05total\x18\x02 \x01(\x05R\x05total\"o\n" +
	"\x05Event\x12\x1a\n" +
	"\bresource\x18\x01 \x01(\tR\bresource\x12\x10\n" +
	"\x03old\x18\x02 \x01(\tR\x03old\x128\n" +
	"\n" +
	"event_type\x18\x03 \x01(\x0e2\x19.omni.resources.EventTypeR\teventType\"\x8b\x02\n" +
	"\fWatchRequest\x12\x1c\n" +
	"\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x12\n" +
	"\x04type\x18\x02 \x01(\tR\x04type\x12\x0e\n" +
	"\x02id\x18\x03 \x01(\tR\x02id\x12\x1f\n" +
	"\vtail_events\x18\x04 \x01(\x05R\n" +
	"tailEvents\x12\x16\n" +
	"\x06offset\x18\x05 \x01(\x05R\x06offset\x12\x14\n" +
	"\x05limit\x18\x06 \x01(\x05R\x05limit\x12\"\n" +
	"\rsort_by_field\x18\a \x01(\tR\vsortByField\x12'\n" +
	"\x0fsort_descending\x18\b \x01(\bR\x0esortDescending\x12\x1d\n" +
	"\n" +
	"search_for\x18\t \x03(\tR\tsearchFor\"\xa3\x01\n" +
	"\rWatchResponse\x12+\n" +
	"\x05event\x18\x01 \x01(\v2\x15.omni.resources.EventR\x05event\x12\x14\n" +
	"\x05total\x18\x02 \x01(\x05R\x05total\x12&\n" +
	"\x0fsort_field_data\x18\x03 \x01(\tR\rsortFieldData\x12'\n" +
	"\x0fsort_descending\x18\x04 \x01(\bR\x0esortDescending\"E\n" +
	"\rCreateRequest\x124\n" +
	"\bresource\x18\x01 \x01(\v2\x18.omni.resources.ResourceR\bresource\"\x10\n" +
	"\x0eCreateResponse\"m\n" +
	"\rUpdateRequest\x12&\n" +
	"\x0ecurrentVersion\x18\x01 \x01(\tR\x0ecurrentVersion\x124\n" +
	"\bresource\x18\x02 \x01(\v2\x18.omni.resources.ResourceR\bresource\"\x10\n" +
	"\x0eUpdateResponse\"Q\n" +
	"\rDeleteRequest\x12\x1c\n" +
	"\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x12\n" +
	"\x04type\x18\x02 \x01(\tR\x04type\x12\x0e\n" +
	"\x02id\x18\x03 \x01(\tR\x02id\"\x10\n" +
	"\x0eDeleteResponse\"\x14\n" +
	"\x12ControllersRequest\"7\n" +
	"\x13ControllersResponse\x12 \n" +
	"\vcontrollers\x18\x01 \x03(\tR\vcontrollers\"\x86\x01\n" +
	"\x16DependencyGraphRequest\x12 \n" +
	"\vcontrollers\x18\x01 \x03(\tR\vcontrollers\x12,\n" +
	"\x12show_destroy_ready\x18\x02 \x01(\bR\x10showDestroyReady\x12\x1c\n" +
	"\tresources\x18\x03 \x03(\tR\tresources\"\xdf\x03\n" +
	"\x17DependencyGraphResponse\x12B\n" +
	"\x05nodes\x18\x01 \x03(\v2,.omni.resources.DependencyGraphResponse.NodeR\x05nodes\x12B\n" +
	"\x05edges\x18\x02 \x03(\v2,.omni.resources.DependencyGraphResponse.EdgeR\x05edges\x1a\xd6\x01\n" +
	"\x04Node\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
	"\x05label\x18\x02 \x01(\tR\x05label\x12E\n" +
	"\x04type\x18\x03 \x01(\x0e21.omni.resources.DependencyGraphResponse.Node.TypeR\x04type\x12\x16\n" +
	"\x06labels\x18\x04 \x03(\tR\x06labels\x12\x16\n" +
	"\x06fields\x18\x05 \x03(\tR\x06fields\"1\n" +
	"\x04Type\x12\v\n" +
	"\aUNKNOWN\x10\x00\x12\x0e\n" +
	"\n" +
	"CONTROLLER\x10\x01\x12\f\n" +
	"\bRESOURCE\x10\x02\x1ac\n" +
	"\x04Edge\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n" +
	"\x06source\x18\x02 \x01(\tR\x06source\x12\x16\n" +
	"\x06target\x18\x03 \x01(\tR\x06target\x12\x1b\n" +
	"\tedge_type\x18\x04 \x01(\x05R\bedgeType*S\n" +
	"\tEventType\x12\v\n" +
	"\aUNKNOWN\x10\x00\x12\v\n" +
	"\aCREATED\x10\x01\x12\v\n" +
	"\aUPDATED\x10\x02\x12\r\n" +
	"\tDESTROYED\x10\x03\x12\x10\n" +
	"\fBOOTSTRAPPED\x10\x042\xbe\x05\n" +
	"\x0fResourceService\x12>\n" +
	"\x03Get\x12\x1a.omni.resources.GetRequest\x1a\x1b.omni.resources.GetResponse\x12A\n" +
	"\x04List\x12\x1b.omni.resources.ListRequest\x1a\x1c.omni.resources.ListResponse\x12G\n" +
	"\x06Create\x12\x1d.omni.resources.CreateRequest\x1a\x1e.omni.resources.CreateResponse\x12G\n" +
	"\x06Update\x12\x1d.omni.resources.UpdateRequest\x1a\x1e.omni.resources.UpdateResponse\x12G\n" +
	"\x06Delete\x12\x1d.omni.resources.DeleteRequest\x1a\x1e.omni.resources.DeleteResponse\x12I\n" +
	"\bTeardown\x12\x1d.omni.resources.DeleteRequest\x1a\x1e.omni.resources.DeleteResponse\x12F\n" +
	"\x05Watch\x12\x1c.omni.resources.WatchRequest\x1a\x1d.omni.resources.WatchResponse0\x01\x12V\n" +
	"\vControllers\x12\".omni.resources.ControllersRequest\x1a#.omni.resources.ControllersResponse\x12b\n" +
	"\x0fDependencyGraph\x12&.omni.resources.DependencyGraphRequest\x1a'.omni.resources.DependencyGraphResponseB6Z4github.com/siderolabs/omni/client/api/omni/resourcesb\x06proto3"

var (
	file_omni_resources_resources_proto_rawDescOnce sync.Once
	file_omni_resources_resources_proto_rawDescData []byte
)

func file_omni_resources_resources_proto_rawDescGZIP() []byte {
	file_omni_resources_resources_proto_rawDescOnce.Do(func() {
		file_omni_resources_resources_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_omni_resources_resources_proto_rawDesc), len(file_omni_resources_resources_proto_rawDesc)))
	})
	return file_omni_resources_resources_proto_rawDescData
}

var file_omni_resources_resources_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_omni_resources_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
var file_omni_resources_resources_proto_goTypes = []any{
	(EventType)(0),                         // 0: omni.resources.EventType
	(DependencyGraphResponse_Node_Type)(0), // 1: omni.resources.DependencyGraphResponse.Node.Type
	(*Resource)(nil),                       // 2: omni.resources.Resource
	(*GetRequest)(nil),                     // 3: omni.resources.GetRequest
	(*GetResponse)(nil),                    // 4: omni.resources.GetResponse
	(*ListRequest)(nil),                    // 5: omni.resources.ListRequest
	(*ListResponse)(nil),                   // 6: omni.resources.ListResponse
	(*Event)(nil),                          // 7: omni.resources.Event
	(*WatchRequest)(nil),                   // 8: omni.resources.WatchRequest
	(*WatchResponse)(nil),                  // 9: omni.resources.WatchResponse
	(*CreateRequest)(nil),                  // 10: omni.resources.CreateRequest
	(*CreateResponse)(nil),                 // 11: omni.resources.CreateResponse
	(*UpdateRequest)(nil),                  // 12: omni.resources.UpdateRequest
	(*UpdateResponse)(nil),                 // 13: omni.resources.UpdateResponse
	(*DeleteRequest)(nil),                  // 14: omni.resources.DeleteRequest
	(*DeleteResponse)(nil),                 // 15: omni.resources.DeleteResponse
	(*ControllersRequest)(nil),             // 16: omni.resources.ControllersRequest
	(*ControllersResponse)(nil),            // 17: omni.resources.ControllersResponse
	(*DependencyGraphRequest)(nil),         // 18: omni.resources.DependencyGraphRequest
	(*DependencyGraphResponse)(nil),        // 19: omni.resources.DependencyGraphResponse
	(*DependencyGraphResponse_Node)(nil),   // 20: omni.resources.DependencyGraphResponse.Node
	(*DependencyGraphResponse_Edge)(nil),   // 21: omni.resources.DependencyGraphResponse.Edge
	(*v1alpha1.Metadata)(nil),              // 22: cosi.resource.Metadata
}
var file_omni_resources_resources_proto_depIdxs = []int32{
	22, // 0: omni.resources.Resource.metadata:type_name -> cosi.resource.Metadata
	0,  // 1: omni.resources.Event.event_type:type_name -> omni.resources.EventType
	7,  // 2: omni.resources.WatchResponse.event:type_name -> omni.resources.Event
	2,  // 3: omni.resources.CreateRequest.resource:type_name -> omni.resources.Resource
	2,  // 4: omni.resources.UpdateRequest.resource:type_name -> omni.resources.Resource
	20, // 5: omni.resources.DependencyGraphResponse.nodes:type_name -> omni.resources.DependencyGraphResponse.Node
	21, // 6: omni.resources.DependencyGraphResponse.edges:type_name -> omni.resources.DependencyGraphResponse.Edge
	1,  // 7: omni.resources.DependencyGraphResponse.Node.type:type_name -> omni.resources.DependencyGraphResponse.Node.Type
	3,  // 8: omni.resources.ResourceService.Get:input_type -> omni.resources.GetRequest
	5,  // 9: omni.resources.ResourceService.List:input_type -> omni.resources.ListRequest
	10, // 10: omni.resources.ResourceService.Create:input_type -> omni.resources.CreateRequest
	12, // 11: omni.resources.ResourceService.Update:input_type -> omni.resources.UpdateRequest
	14, // 12: omni.resources.ResourceService.Delete:input_type -> omni.resources.DeleteRequest
	14, // 13: omni.resources.ResourceService.Teardown:input_type -> omni.resources.DeleteRequest
	8,  // 14: omni.resources.ResourceService.Watch:input_type -> omni.resources.WatchRequest
	16, // 15: omni.resources.ResourceService.Controllers:input_type -> omni.resources.ControllersRequest
	18, // 16: omni.resources.ResourceService.DependencyGraph:input_type -> omni.resources.DependencyGraphRequest
	4,  // 17: omni.resources.ResourceService.Get:output_type -> omni.resources.GetResponse
	6,  // 18: omni.resources.ResourceService.List:output_type -> omni.resources.ListResponse
	11, // 19: omni.resources.ResourceService.Create:output_type -> omni.resources.CreateResponse
	13, // 20: omni.resources.ResourceService.Update:output_type -> omni.resources.UpdateResponse
	15, // 21: omni.resources.ResourceService.Delete:output_type -> omni.resources.DeleteResponse
	15, // 22: omni.resources.ResourceService.Teardown:output_type -> omni.resources.DeleteResponse
	9,  // 23: omni.resources.ResourceService.Watch:output_type -> omni.resources.WatchResponse
	17, // 24: omni.resources.ResourceService.Controllers:output_type -> omni.resources.ControllersResponse
	19, // 25: omni.resources.ResourceService.DependencyGraph:output_type -> omni.resources.DependencyGraphResponse
	17, // [17:26] is the sub-list for method output_type
	8,  // [8:17] is the sub-list for method input_type
	8,  // [8:8] is the sub-list for extension type_name
	8,  // [8:8] is the sub-list for extension extendee
	0,  // [0:8] is the sub-list for field type_name
}

func init() { file_omni_resources_resources_proto_init() }
func file_omni_resources_resources_proto_init() {
	if File_omni_resources_resources_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_omni_resources_resources_proto_rawDesc), len(file_omni_resources_resources_proto_rawDesc)),
			NumEnums:      2,
			NumMessages:   20,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_omni_resources_resources_proto_goTypes,
		DependencyIndexes: file_omni_resources_resources_proto_depIdxs,
		EnumInfos:         file_omni_resources_resources_proto_enumTypes,
		MessageInfos:      file_omni_resources_resources_proto_msgTypes,
	}.Build()
	File_omni_resources_resources_proto = out.File
	file_omni_resources_resources_proto_goTypes = nil
	file_omni_resources_resources_proto_depIdxs = nil
}
