// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.32.0 // protoc v4.25.2 // source: api.proto package api import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) 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 PackageData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Producto string `protobuf:"bytes,1,opt,name=producto,proto3" json:"producto,omitempty"` Colada string `protobuf:"bytes,2,opt,name=colada,proto3" json:"colada,omitempty"` Matnr string `protobuf:"bytes,3,opt,name=matnr,proto3" json:"matnr,omitempty"` Barras int32 `protobuf:"varint,4,opt,name=barras,proto3" json:"barras,omitempty"` Longitud float64 `protobuf:"fixed64,5,opt,name=longitud,proto3" json:"longitud,omitempty"` Fecha string `protobuf:"bytes,6,opt,name=fecha,proto3" json:"fecha,omitempty"` NormaPoducto string `protobuf:"bytes,7,opt,name=norma_poducto,json=normaPoducto,proto3" json:"norma_poducto,omitempty"` NormaCalidad string `protobuf:"bytes,8,opt,name=norma_calidad,json=normaCalidad,proto3" json:"norma_calidad,omitempty"` NormaTolerancia string `protobuf:"bytes,9,opt,name=norma_tolerancia,json=normaTolerancia,proto3" json:"norma_tolerancia,omitempty"` OrdenProduccion int64 `protobuf:"varint,10,opt,name=orden_produccion,json=ordenProduccion,proto3" json:"orden_produccion,omitempty"` OrdenCliente int64 `protobuf:"varint,11,opt,name=orden_cliente,json=ordenCliente,proto3" json:"orden_cliente,omitempty"` NroMatricula string `protobuf:"bytes,100,opt,name=nro_matricula,json=nroMatricula,proto3" json:"nro_matricula,omitempty"` } func (x *PackageData) Reset() { *x = PackageData{} if protoimpl.UnsafeEnabled { mi := &file_api_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PackageData) String() string { return protoimpl.X.MessageStringOf(x) } func (*PackageData) ProtoMessage() {} func (x *PackageData) ProtoReflect() protoreflect.Message { mi := &file_api_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PackageData.ProtoReflect.Descriptor instead. func (*PackageData) Descriptor() ([]byte, []int) { return file_api_proto_rawDescGZIP(), []int{0} } func (x *PackageData) GetProducto() string { if x != nil { return x.Producto } return "" } func (x *PackageData) GetColada() string { if x != nil { return x.Colada } return "" } func (x *PackageData) GetMatnr() string { if x != nil { return x.Matnr } return "" } func (x *PackageData) GetBarras() int32 { if x != nil { return x.Barras } return 0 } func (x *PackageData) GetLongitud() float64 { if x != nil { return x.Longitud } return 0 } func (x *PackageData) GetFecha() string { if x != nil { return x.Fecha } return "" } func (x *PackageData) GetNormaPoducto() string { if x != nil { return x.NormaPoducto } return "" } func (x *PackageData) GetNormaCalidad() string { if x != nil { return x.NormaCalidad } return "" } func (x *PackageData) GetNormaTolerancia() string { if x != nil { return x.NormaTolerancia } return "" } func (x *PackageData) GetOrdenProduccion() int64 { if x != nil { return x.OrdenProduccion } return 0 } func (x *PackageData) GetOrdenCliente() int64 { if x != nil { return x.OrdenCliente } return 0 } func (x *PackageData) GetNroMatricula() string { if x != nil { return x.NroMatricula } return "" } type PrintPackageReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` PackageData *PackageData `protobuf:"bytes,2,opt,name=package_data,json=packageData,proto3" json:"package_data,omitempty"` TimeStamp string `protobuf:"bytes,100,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"` } func (x *PrintPackageReq) Reset() { *x = PrintPackageReq{} if protoimpl.UnsafeEnabled { mi := &file_api_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PrintPackageReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*PrintPackageReq) ProtoMessage() {} func (x *PrintPackageReq) ProtoReflect() protoreflect.Message { mi := &file_api_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PrintPackageReq.ProtoReflect.Descriptor instead. func (*PrintPackageReq) Descriptor() ([]byte, []int) { return file_api_proto_rawDescGZIP(), []int{1} } func (x *PrintPackageReq) GetSender() string { if x != nil { return x.Sender } return "" } func (x *PrintPackageReq) GetPackageData() *PackageData { if x != nil { return x.PackageData } return nil } func (x *PrintPackageReq) GetTimeStamp() string { if x != nil { return x.TimeStamp } return "" } type PrintPackageRes struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` TimeStamp string `protobuf:"bytes,100,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"` } func (x *PrintPackageRes) Reset() { *x = PrintPackageRes{} if protoimpl.UnsafeEnabled { mi := &file_api_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PrintPackageRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*PrintPackageRes) ProtoMessage() {} func (x *PrintPackageRes) ProtoReflect() protoreflect.Message { mi := &file_api_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PrintPackageRes.ProtoReflect.Descriptor instead. func (*PrintPackageRes) Descriptor() ([]byte, []int) { return file_api_proto_rawDescGZIP(), []int{2} } func (x *PrintPackageRes) GetMsg() string { if x != nil { return x.Msg } return "" } func (x *PrintPackageRes) GetTimeStamp() string { if x != nil { return x.TimeStamp } return "" } var File_api_proto protoreflect.FileDescriptor var file_api_proto_rawDesc = []byte{ 0x0a, 0x09, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x61, 0x70, 0x69, 0x22, 0x8b, 0x03, 0x0a, 0x0b, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x61, 0x64, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x61, 0x64, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x74, 0x6e, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x61, 0x74, 0x6e, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x61, 0x72, 0x72, 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62, 0x61, 0x72, 0x72, 0x61, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x65, 0x63, 0x68, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x66, 0x65, 0x63, 0x68, 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x5f, 0x70, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x50, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x6f, 0x12, 0x23, 0x0a, 0x0d, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x5f, 0x63, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x43, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x5f, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x6e, 0x63, 0x69, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x54, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x6e, 0x63, 0x69, 0x61, 0x12, 0x29, 0x0a, 0x10, 0x6f, 0x72, 0x64, 0x65, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x63, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6f, 0x72, 0x64, 0x65, 0x6e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x63, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x72, 0x64, 0x65, 0x6e, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6f, 0x72, 0x64, 0x65, 0x6e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6e, 0x72, 0x6f, 0x5f, 0x6d, 0x61, 0x74, 0x72, 0x69, 0x63, 0x75, 0x6c, 0x61, 0x18, 0x64, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x72, 0x6f, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x63, 0x75, 0x6c, 0x61, 0x22, 0x7d, 0x0a, 0x0f, 0x50, 0x72, 0x69, 0x6e, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x64, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x42, 0x0a, 0x0f, 0x50, 0x72, 0x69, 0x6e, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x64, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x32, 0x4a, 0x0a, 0x0c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3a, 0x0a, 0x0c, 0x50, 0x72, 0x69, 0x6e, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x72, 0x69, 0x6e, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x72, 0x69, 0x6e, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x42, 0x37, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x2e, 0x65, 0x73, 0x70, 0x69, 0x6e, 0x2e, 0x63, 0x61, 0x73, 0x61, 0x2f, 0x61, 0x6c, 0x62, 0x65, 0x72, 0x74, 0x2f, 0x63, 0x6d, 0x6c, 0x30, 0x34, 0x2d, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x2d, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x3b, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_api_proto_rawDescOnce sync.Once file_api_proto_rawDescData = file_api_proto_rawDesc ) func file_api_proto_rawDescGZIP() []byte { file_api_proto_rawDescOnce.Do(func() { file_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_proto_rawDescData) }) return file_api_proto_rawDescData } var file_api_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_api_proto_goTypes = []interface{}{ (*PackageData)(nil), // 0: api.PackageData (*PrintPackageReq)(nil), // 1: api.PrintPackageReq (*PrintPackageRes)(nil), // 2: api.PrintPackageRes } var file_api_proto_depIdxs = []int32{ 0, // 0: api.PrintPackageReq.package_data:type_name -> api.PackageData 1, // 1: api.RobotService.PrintPackage:input_type -> api.PrintPackageReq 2, // 2: api.RobotService.PrintPackage:output_type -> api.PrintPackageRes 2, // [2:3] is the sub-list for method output_type 1, // [1:2] 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_api_proto_init() } func file_api_proto_init() { if File_api_proto != nil { return } if !protoimpl.UnsafeEnabled { file_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PackageData); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PrintPackageReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PrintPackageRes); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_api_proto_rawDesc, NumEnums: 0, NumMessages: 3, NumExtensions: 0, NumServices: 1, }, GoTypes: file_api_proto_goTypes, DependencyIndexes: file_api_proto_depIdxs, MessageInfos: file_api_proto_msgTypes, }.Build() File_api_proto = out.File file_api_proto_rawDesc = nil file_api_proto_goTypes = nil file_api_proto_depIdxs = nil }