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

package plmv1

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 ModelMessage struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Url           string                 `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Name          string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ModelMessage) ProtoMessage() {}

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

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

func (x *ModelMessage) GetUrl() string {
	if x != nil {
		return x.Url
	}
	return ""
}

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

type ModelMessages struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Models        []*ModelMessage        `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ModelMessages) ProtoMessage() {}

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

func (x *ModelMessages) GetModels() []*ModelMessage {
	if x != nil {
		return x.Models
	}
	return nil
}

var File_plm_v1_models_proto protoreflect.FileDescriptor

const file_plm_v1_models_proto_rawDesc = "" +
	"\n" +
	"\x13plm/v1/models.proto\x12\x06plm.v1\"D\n" +
	"\fModelMessage\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x10\n" +
	"\x03url\x18\x02 \x01(\tR\x03url\x12\x12\n" +
	"\x04name\x18\x03 \x01(\tR\x04name\"=\n" +
	"\rModelMessages\x12,\n" +
	"\x06models\x18\x01 \x03(\v2\x14.plm.v1.ModelMessageR\x06modelsB\x8e\x01\n" +
	"\n" +
	"com.plm.v1B\vModelsProtoP\x01Z1github.com/cobotar/protocol/messages/plm/v1;plmv1\xa2\x02\x03PXX\xaa\x02\x0fMessages.Plm.V1\xca\x02\x06Plm\\V1\xe2\x02\x12Plm\\V1\\GPBMetadata\xea\x02\aPlm::V1b\x06proto3"

var (
	file_plm_v1_models_proto_rawDescOnce sync.Once
	file_plm_v1_models_proto_rawDescData []byte
)

func file_plm_v1_models_proto_rawDescGZIP() []byte {
	file_plm_v1_models_proto_rawDescOnce.Do(func() {
		file_plm_v1_models_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_plm_v1_models_proto_rawDesc), len(file_plm_v1_models_proto_rawDesc)))
	})
	return file_plm_v1_models_proto_rawDescData
}

var file_plm_v1_models_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_plm_v1_models_proto_goTypes = []any{
	(*ModelMessage)(nil),  // 0: plm.v1.ModelMessage
	(*ModelMessages)(nil), // 1: plm.v1.ModelMessages
}
var file_plm_v1_models_proto_depIdxs = []int32{
	0, // 0: plm.v1.ModelMessages.models:type_name -> plm.v1.ModelMessage
	1, // [1:1] is the sub-list for method output_type
	1, // [1:1] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_plm_v1_models_proto_init() }
func file_plm_v1_models_proto_init() {
	if File_plm_v1_models_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_plm_v1_models_proto_rawDesc), len(file_plm_v1_models_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_plm_v1_models_proto_goTypes,
		DependencyIndexes: file_plm_v1_models_proto_depIdxs,
		MessageInfos:      file_plm_v1_models_proto_msgTypes,
	}.Build()
	File_plm_v1_models_proto = out.File
	file_plm_v1_models_proto_goTypes = nil
	file_plm_v1_models_proto_depIdxs = nil
}
