// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v6.31.1
// source: wb/products.proto

package products

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 GetProductsRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	MarketplaceId int64                  `protobuf:"varint,1,opt,name=marketplace_id,json=marketplaceId,proto3" json:"marketplace_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetProductsRequest) ProtoMessage() {}

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

func (x *GetProductsRequest) GetMarketplaceId() int64 {
	if x != nil {
		return x.MarketplaceId
	}
	return 0
}

type Product struct {
	state           protoimpl.MessageState    `protogen:"open.v1"`
	NmID            int64                     `protobuf:"varint,1,opt,name=nmID,proto3" json:"nmID,omitempty"`
	SubjectID       int64                     `protobuf:"varint,2,opt,name=subjectID,proto3" json:"subjectID,omitempty"`
	VendorCode      string                    `protobuf:"bytes,3,opt,name=vendor_code,json=vendorCode,proto3" json:"vendor_code,omitempty"`
	Sizes           []*Product_Size           `protobuf:"bytes,4,rep,name=sizes,proto3" json:"sizes,omitempty"`
	Characteristics []*Product_Characteristic `protobuf:"bytes,5,rep,name=characteristics,proto3" json:"characteristics,omitempty"`
	Photos          []*Product_Photo          `protobuf:"bytes,6,rep,name=photos,proto3" json:"photos,omitempty"`
	Dimensions      *Product_Dimensions       `protobuf:"bytes,7,opt,name=dimensions,proto3" json:"dimensions,omitempty"`
	Title           string                    `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*Product) ProtoMessage() {}

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

func (x *Product) GetNmID() int64 {
	if x != nil {
		return x.NmID
	}
	return 0
}

func (x *Product) GetSubjectID() int64 {
	if x != nil {
		return x.SubjectID
	}
	return 0
}

func (x *Product) GetVendorCode() string {
	if x != nil {
		return x.VendorCode
	}
	return ""
}

func (x *Product) GetSizes() []*Product_Size {
	if x != nil {
		return x.Sizes
	}
	return nil
}

func (x *Product) GetCharacteristics() []*Product_Characteristic {
	if x != nil {
		return x.Characteristics
	}
	return nil
}

func (x *Product) GetPhotos() []*Product_Photo {
	if x != nil {
		return x.Photos
	}
	return nil
}

func (x *Product) GetDimensions() *Product_Dimensions {
	if x != nil {
		return x.Dimensions
	}
	return nil
}

func (x *Product) GetTitle() string {
	if x != nil {
		return x.Title
	}
	return ""
}

type GetProductsResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Products      []*Product             `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetProductsResponse) ProtoMessage() {}

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

func (x *GetProductsResponse) GetProducts() []*Product {
	if x != nil {
		return x.Products
	}
	return nil
}

type Product_Size struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Skus          []string               `protobuf:"bytes,1,rep,name=skus,proto3" json:"skus,omitempty"`
	ChrtID        int64                  `protobuf:"varint,2,opt,name=chrtID,proto3" json:"chrtID,omitempty"`
	TechSize      string                 `protobuf:"bytes,3,opt,name=techSize,proto3" json:"techSize,omitempty"`
	WbSize        string                 `protobuf:"bytes,4,opt,name=wbSize,proto3" json:"wbSize,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Product_Size) ProtoMessage() {}

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

func (x *Product_Size) GetSkus() []string {
	if x != nil {
		return x.Skus
	}
	return nil
}

func (x *Product_Size) GetChrtID() int64 {
	if x != nil {
		return x.ChrtID
	}
	return 0
}

func (x *Product_Size) GetTechSize() string {
	if x != nil {
		return x.TechSize
	}
	return ""
}

func (x *Product_Size) GetWbSize() string {
	if x != nil {
		return x.WbSize
	}
	return ""
}

type Product_Characteristic struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Value         []byte                 `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Product_Characteristic) ProtoMessage() {}

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

func (x *Product_Characteristic) GetId() int64 {
	if x != nil {
		return x.Id
	}
	return 0
}

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

func (x *Product_Characteristic) GetValue() []byte {
	if x != nil {
		return x.Value
	}
	return nil
}

type Product_Photo struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Big           string                 `protobuf:"bytes,1,opt,name=big,proto3" json:"big,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Product_Photo) ProtoMessage() {}

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

func (x *Product_Photo) GetBig() string {
	if x != nil {
		return x.Big
	}
	return ""
}

type Product_Dimensions struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Length        int64                  `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"`
	Width         int64                  `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
	Height        int64                  `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	WeightBrutto  float32                `protobuf:"fixed32,4,opt,name=weightBrutto,proto3" json:"weightBrutto,omitempty"`
	IsValid       bool                   `protobuf:"varint,5,opt,name=isValid,proto3" json:"isValid,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Product_Dimensions) ProtoMessage() {}

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

func (x *Product_Dimensions) GetLength() int64 {
	if x != nil {
		return x.Length
	}
	return 0
}

func (x *Product_Dimensions) GetWidth() int64 {
	if x != nil {
		return x.Width
	}
	return 0
}

func (x *Product_Dimensions) GetHeight() int64 {
	if x != nil {
		return x.Height
	}
	return 0
}

func (x *Product_Dimensions) GetWeightBrutto() float32 {
	if x != nil {
		return x.WeightBrutto
	}
	return 0
}

func (x *Product_Dimensions) GetIsValid() bool {
	if x != nil {
		return x.IsValid
	}
	return false
}

var File_wb_products_proto protoreflect.FileDescriptor

const file_wb_products_proto_rawDesc = "" +
	"\n" +
	"\x11wb/products.proto\x12\vwb.products\";\n" +
	"\x12GetProductsRequest\x12%\n" +
	"\x0emarketplace_id\x18\x01 \x01(\x03R\rmarketplaceId\"\xc9\x05\n" +
	"\aProduct\x12\x12\n" +
	"\x04nmID\x18\x01 \x01(\x03R\x04nmID\x12\x1c\n" +
	"\tsubjectID\x18\x02 \x01(\x03R\tsubjectID\x12\x1f\n" +
	"\vvendor_code\x18\x03 \x01(\tR\n" +
	"vendorCode\x12/\n" +
	"\x05sizes\x18\x04 \x03(\v2\x19.wb.products.Product.SizeR\x05sizes\x12M\n" +
	"\x0fcharacteristics\x18\x05 \x03(\v2#.wb.products.Product.CharacteristicR\x0fcharacteristics\x122\n" +
	"\x06photos\x18\x06 \x03(\v2\x1a.wb.products.Product.PhotoR\x06photos\x12?\n" +
	"\n" +
	"dimensions\x18\a \x01(\v2\x1f.wb.products.Product.DimensionsR\n" +
	"dimensions\x12\x14\n" +
	"\x05title\x18\b \x01(\tR\x05title\x1af\n" +
	"\x04Size\x12\x12\n" +
	"\x04skus\x18\x01 \x03(\tR\x04skus\x12\x16\n" +
	"\x06chrtID\x18\x02 \x01(\x03R\x06chrtID\x12\x1a\n" +
	"\btechSize\x18\x03 \x01(\tR\btechSize\x12\x16\n" +
	"\x06wbSize\x18\x04 \x01(\tR\x06wbSize\x1aJ\n" +
	"\x0eCharacteristic\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
	"\x05value\x18\x03 \x01(\fR\x05value\x1a\x19\n" +
	"\x05Photo\x12\x10\n" +
	"\x03big\x18\x01 \x01(\tR\x03big\x1a\x90\x01\n" +
	"\n" +
	"Dimensions\x12\x16\n" +
	"\x06length\x18\x01 \x01(\x03R\x06length\x12\x14\n" +
	"\x05width\x18\x02 \x01(\x03R\x05width\x12\x16\n" +
	"\x06height\x18\x03 \x01(\x03R\x06height\x12\"\n" +
	"\fweightBrutto\x18\x04 \x01(\x02R\fweightBrutto\x12\x18\n" +
	"\aisValid\x18\x05 \x01(\bR\aisValid\"G\n" +
	"\x13GetProductsResponse\x120\n" +
	"\bproducts\x18\x01 \x03(\v2\x14.wb.products.ProductR\bproducts2e\n" +
	"\x0fProductsService\x12R\n" +
	"\vGetProducts\x12\x1f.wb.products.GetProductsRequest\x1a .wb.products.GetProductsResponse0\x01B\x0fZ\r./wb/productsb\x06proto3"

var (
	file_wb_products_proto_rawDescOnce sync.Once
	file_wb_products_proto_rawDescData []byte
)

func file_wb_products_proto_rawDescGZIP() []byte {
	file_wb_products_proto_rawDescOnce.Do(func() {
		file_wb_products_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wb_products_proto_rawDesc), len(file_wb_products_proto_rawDesc)))
	})
	return file_wb_products_proto_rawDescData
}

var file_wb_products_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_wb_products_proto_goTypes = []any{
	(*GetProductsRequest)(nil),     // 0: wb.products.GetProductsRequest
	(*Product)(nil),                // 1: wb.products.Product
	(*GetProductsResponse)(nil),    // 2: wb.products.GetProductsResponse
	(*Product_Size)(nil),           // 3: wb.products.Product.Size
	(*Product_Characteristic)(nil), // 4: wb.products.Product.Characteristic
	(*Product_Photo)(nil),          // 5: wb.products.Product.Photo
	(*Product_Dimensions)(nil),     // 6: wb.products.Product.Dimensions
}
var file_wb_products_proto_depIdxs = []int32{
	3, // 0: wb.products.Product.sizes:type_name -> wb.products.Product.Size
	4, // 1: wb.products.Product.characteristics:type_name -> wb.products.Product.Characteristic
	5, // 2: wb.products.Product.photos:type_name -> wb.products.Product.Photo
	6, // 3: wb.products.Product.dimensions:type_name -> wb.products.Product.Dimensions
	1, // 4: wb.products.GetProductsResponse.products:type_name -> wb.products.Product
	0, // 5: wb.products.ProductsService.GetProducts:input_type -> wb.products.GetProductsRequest
	2, // 6: wb.products.ProductsService.GetProducts:output_type -> wb.products.GetProductsResponse
	6, // [6:7] is the sub-list for method output_type
	5, // [5:6] is the sub-list for method input_type
	5, // [5:5] is the sub-list for extension type_name
	5, // [5:5] is the sub-list for extension extendee
	0, // [0:5] is the sub-list for field type_name
}

func init() { file_wb_products_proto_init() }
func file_wb_products_proto_init() {
	if File_wb_products_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_wb_products_proto_rawDesc), len(file_wb_products_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   7,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_wb_products_proto_goTypes,
		DependencyIndexes: file_wb_products_proto_depIdxs,
		MessageInfos:      file_wb_products_proto_msgTypes,
	}.Build()
	File_wb_products_proto = out.File
	file_wb_products_proto_goTypes = nil
	file_wb_products_proto_depIdxs = nil
}
