// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        (unknown)
// source: ar/v1/assets.proto

package arv1

import (
	_ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
	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 AssetType int32

const (
	AssetType_ASSET_TYPE_UNSPECIFIED AssetType = 0
	AssetType_ASSET_TYPE_CAMERA      AssetType = 1
	AssetType_ASSET_TYPE_LIGHT       AssetType = 2
	AssetType_ASSET_TYPE_CONVEYOR    AssetType = 3
)

// Enum value maps for AssetType.
var (
	AssetType_name = map[int32]string{
		0: "ASSET_TYPE_UNSPECIFIED",
		1: "ASSET_TYPE_CAMERA",
		2: "ASSET_TYPE_LIGHT",
		3: "ASSET_TYPE_CONVEYOR",
	}
	AssetType_value = map[string]int32{
		"ASSET_TYPE_UNSPECIFIED": 0,
		"ASSET_TYPE_CAMERA":      1,
		"ASSET_TYPE_LIGHT":       2,
		"ASSET_TYPE_CONVEYOR":    3,
	}
)

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

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

func (AssetType) Descriptor() protoreflect.EnumDescriptor {
	return file_ar_v1_assets_proto_enumTypes[0].Descriptor()
}

func (AssetType) Type() protoreflect.EnumType {
	return &file_ar_v1_assets_proto_enumTypes[0]
}

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

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

type AssetDriverType int32

const (
	AssetDriverType_ASSET_DRIVER_TYPE_UNSPECIFIED AssetDriverType = 0
	AssetDriverType_ASSET_DRIVER_TYPE_DEFAULT     AssetDriverType = 1
)

// Enum value maps for AssetDriverType.
var (
	AssetDriverType_name = map[int32]string{
		0: "ASSET_DRIVER_TYPE_UNSPECIFIED",
		1: "ASSET_DRIVER_TYPE_DEFAULT",
	}
	AssetDriverType_value = map[string]int32{
		"ASSET_DRIVER_TYPE_UNSPECIFIED": 0,
		"ASSET_DRIVER_TYPE_DEFAULT":     1,
	}
)

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

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

func (AssetDriverType) Descriptor() protoreflect.EnumDescriptor {
	return file_ar_v1_assets_proto_enumTypes[1].Descriptor()
}

func (AssetDriverType) Type() protoreflect.EnumType {
	return &file_ar_v1_assets_proto_enumTypes[1]
}

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

// Deprecated: Use AssetDriverType.Descriptor instead.
func (AssetDriverType) EnumDescriptor() ([]byte, []int) {
	return file_ar_v1_assets_proto_rawDescGZIP(), []int{1}
}

type AssetMessage struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	Id              string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name            string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`               // Name of the asset
	Icon            string                 `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"`               // Optional icon representing the asset
	Description     string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Optional description of the asset
	Type            AssetType              `protobuf:"varint,5,opt,name=type,proto3,enum=ar.v1.AssetType" json:"type,omitempty"`
	AssetDriverType AssetDriverType        `protobuf:"varint,6,opt,name=asset_driver_type,json=assetDriverType,proto3,enum=ar.v1.AssetDriverType" json:"asset_driver_type,omitempty"`
	Properties      []*Property            `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*AssetMessage) ProtoMessage() {}

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

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

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

func (x *AssetMessage) GetIcon() string {
	if x != nil {
		return x.Icon
	}
	return ""
}

func (x *AssetMessage) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *AssetMessage) GetType() AssetType {
	if x != nil {
		return x.Type
	}
	return AssetType_ASSET_TYPE_UNSPECIFIED
}

func (x *AssetMessage) GetAssetDriverType() AssetDriverType {
	if x != nil {
		return x.AssetDriverType
	}
	return AssetDriverType_ASSET_DRIVER_TYPE_UNSPECIFIED
}

func (x *AssetMessage) GetProperties() []*Property {
	if x != nil {
		return x.Properties
	}
	return nil
}

type AssetMessages struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Assets        []*AssetMessage        `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AssetMessages) ProtoMessage() {}

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

func (x *AssetMessages) GetAssets() []*AssetMessage {
	if x != nil {
		return x.Assets
	}
	return nil
}

var File_ar_v1_assets_proto protoreflect.FileDescriptor

const file_ar_v1_assets_proto_rawDesc = "" +
	"\n" +
	"\x12ar/v1/assets.proto\x12\x05ar.v1\x1a\x14ar/v1/property.proto\x1a\x1bbuf/validate/validate.proto\"\xaa\x02\n" +
	"\fAssetMessage\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n" +
	"\x04name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18@R\x04name\x12\x12\n" +
	"\x04icon\x18\x03 \x01(\tR\x04icon\x12 \n" +
	"\vdescription\x18\x04 \x01(\tR\vdescription\x123\n" +
	"\x04type\x18\x05 \x01(\x0e2\x10.ar.v1.AssetTypeB\r\xbaH\n" +
	"\xc8\x01\x01\x82\x01\x04\x10\x01(\x01R\x04type\x12O\n" +
	"\x11asset_driver_type\x18\x06 \x01(\x0e2\x16.ar.v1.AssetDriverTypeB\v\xbaH\b\xc8\x01\x01\x82\x01\x02\x10\x01R\x0fassetDriverType\x12/\n" +
	"\n" +
	"properties\x18\a \x03(\v2\x0f.ar.v1.PropertyR\n" +
	"properties\"<\n" +
	"\rAssetMessages\x12+\n" +
	"\x06assets\x18\x01 \x03(\v2\x13.ar.v1.AssetMessageR\x06assets*m\n" +
	"\tAssetType\x12\x1a\n" +
	"\x16ASSET_TYPE_UNSPECIFIED\x10\x00\x12\x15\n" +
	"\x11ASSET_TYPE_CAMERA\x10\x01\x12\x14\n" +
	"\x10ASSET_TYPE_LIGHT\x10\x02\x12\x17\n" +
	"\x13ASSET_TYPE_CONVEYOR\x10\x03*S\n" +
	"\x0fAssetDriverType\x12!\n" +
	"\x1dASSET_DRIVER_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n" +
	"\x19ASSET_DRIVER_TYPE_DEFAULT\x10\x01B\x87\x01\n" +
	"\tcom.ar.v1B\vAssetsProtoP\x01Z/github.com/cobotar/protocol/messages/ar/v1;arv1\xa2\x02\x03AXX\xaa\x02\x0eMessages.AR.V1\xca\x02\x05Ar\\V1\xe2\x02\x11Ar\\V1\\GPBMetadata\xea\x02\x06Ar::V1b\x06proto3"

var (
	file_ar_v1_assets_proto_rawDescOnce sync.Once
	file_ar_v1_assets_proto_rawDescData []byte
)

func file_ar_v1_assets_proto_rawDescGZIP() []byte {
	file_ar_v1_assets_proto_rawDescOnce.Do(func() {
		file_ar_v1_assets_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ar_v1_assets_proto_rawDesc), len(file_ar_v1_assets_proto_rawDesc)))
	})
	return file_ar_v1_assets_proto_rawDescData
}

var file_ar_v1_assets_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_ar_v1_assets_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_ar_v1_assets_proto_goTypes = []any{
	(AssetType)(0),        // 0: ar.v1.AssetType
	(AssetDriverType)(0),  // 1: ar.v1.AssetDriverType
	(*AssetMessage)(nil),  // 2: ar.v1.AssetMessage
	(*AssetMessages)(nil), // 3: ar.v1.AssetMessages
	(*Property)(nil),      // 4: ar.v1.Property
}
var file_ar_v1_assets_proto_depIdxs = []int32{
	0, // 0: ar.v1.AssetMessage.type:type_name -> ar.v1.AssetType
	1, // 1: ar.v1.AssetMessage.asset_driver_type:type_name -> ar.v1.AssetDriverType
	4, // 2: ar.v1.AssetMessage.properties:type_name -> ar.v1.Property
	2, // 3: ar.v1.AssetMessages.assets:type_name -> ar.v1.AssetMessage
	4, // [4:4] is the sub-list for method output_type
	4, // [4:4] 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_ar_v1_assets_proto_init() }
func file_ar_v1_assets_proto_init() {
	if File_ar_v1_assets_proto != nil {
		return
	}
	file_ar_v1_property_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_ar_v1_assets_proto_rawDesc), len(file_ar_v1_assets_proto_rawDesc)),
			NumEnums:      2,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_ar_v1_assets_proto_goTypes,
		DependencyIndexes: file_ar_v1_assets_proto_depIdxs,
		EnumInfos:         file_ar_v1_assets_proto_enumTypes,
		MessageInfos:      file_ar_v1_assets_proto_msgTypes,
	}.Build()
	File_ar_v1_assets_proto = out.File
	file_ar_v1_assets_proto_goTypes = nil
	file_ar_v1_assets_proto_depIdxs = nil
}
