// Generated by the protocol buffer compiler. DO NOT EDIT! // source: stream.proto #include "stream.pb.h" #include #include "google/protobuf/io/coded_stream.h" #include "google/protobuf/extension_set.h" #include "google/protobuf/wire_format_lite.h" #include "google/protobuf/descriptor.h" #include "google/protobuf/generated_message_reflection.h" #include "google/protobuf/reflection_ops.h" #include "google/protobuf/wire_format.h" #include "google/protobuf/generated_message_tctable_impl.h" // @@protoc_insertion_point(includes) // Must be included last. #include "google/protobuf/port_def.inc" PROTOBUF_PRAGMA_INIT_SEG namespace _pb = ::google::protobuf; namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; namespace stream { template PROTOBUF_CONSTEXPR ParamInfo::ParamInfo(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.namekey_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_.strvalue_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_.context_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_.valuetype_)*/ 0, /*decltype(_impl_.isenable_)*/ false, /*decltype(_impl_.isalarm_)*/ false, /*decltype(_impl_.isshow_)*/ false, /*decltype(_impl_.startlayer_)*/ 0, /*decltype(_impl_.endlayer_)*/ 0, /*decltype(_impl_.powder_)*/ 0, /*decltype(_impl_._cached_size_)*/ {}, } {} struct ParamInfoDefaultTypeInternal { PROTOBUF_CONSTEXPR ParamInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~ParamInfoDefaultTypeInternal() {} union { ParamInfo _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ParamInfoDefaultTypeInternal _ParamInfo_default_instance_; template PROTOBUF_CONSTEXPR RequestInfo::RequestInfo(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.item_)*/ {}, /*decltype(_impl_.namekey_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_.strvalue_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_.datatype_)*/ 0u, /*decltype(_impl_.valuetype_)*/ 0, /*decltype(_impl_.handletype_)*/ 0, /*decltype(_impl_._cached_size_)*/ {}, } {} struct RequestInfoDefaultTypeInternal { PROTOBUF_CONSTEXPR RequestInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~RequestInfoDefaultTypeInternal() {} union { RequestInfo _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RequestInfoDefaultTypeInternal _RequestInfo_default_instance_; template PROTOBUF_CONSTEXPR ResponseInfo::ResponseInfo(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.item_)*/ {}, /*decltype(_impl_.datatype_)*/ 0u, /*decltype(_impl_.result_)*/ false, /*decltype(_impl_._cached_size_)*/ {}, } {} struct ResponseInfoDefaultTypeInternal { PROTOBUF_CONSTEXPR ResponseInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~ResponseInfoDefaultTypeInternal() {} union { ResponseInfo _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ResponseInfoDefaultTypeInternal _ResponseInfo_default_instance_; template PROTOBUF_CONSTEXPR ResponseAny::ResponseAny(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_._has_bits_)*/ {}, /*decltype(_impl_._cached_size_)*/ {}, /*decltype(_impl_.data_)*/ nullptr, } {} struct ResponseAnyDefaultTypeInternal { PROTOBUF_CONSTEXPR ResponseAnyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~ResponseAnyDefaultTypeInternal() {} union { ResponseAny _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ResponseAnyDefaultTypeInternal _ResponseAny_default_instance_; template PROTOBUF_CONSTEXPR LayerData::LayerData(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.layerdatablock_)*/ {}, /*decltype(_impl_.zcooldinate_)*/ 0, /*decltype(_impl_.powder_)*/ 0, /*decltype(_impl_.layerthickness_)*/ 0, /*decltype(_impl_.result_)*/ false, /*decltype(_impl_._cached_size_)*/ {}, } {} struct LayerDataDefaultTypeInternal { PROTOBUF_CONSTEXPR LayerDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~LayerDataDefaultTypeInternal() {} union { LayerData _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LayerDataDefaultTypeInternal _LayerData_default_instance_; template PROTOBUF_CONSTEXPR LayerDataBlock::LayerDataBlock(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.vecblocks_)*/ {}, /*decltype(_impl_.chainblocks_)*/ {}, /*decltype(_impl_.elementid_)*/ 0, /*decltype(_impl_.elementparamid_)*/ 0, /*decltype(_impl_.blocktype_)*/ 0u, /*decltype(_impl_.order_)*/ 0u, /*decltype(_impl_._cached_size_)*/ {}, } {} struct LayerDataBlockDefaultTypeInternal { PROTOBUF_CONSTEXPR LayerDataBlockDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~LayerDataBlockDefaultTypeInternal() {} union { LayerDataBlock _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LayerDataBlockDefaultTypeInternal _LayerDataBlock_default_instance_; template PROTOBUF_CONSTEXPR VectorDataBlock::VectorDataBlock(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.startx_)*/ 0, /*decltype(_impl_.starty_)*/ 0, /*decltype(_impl_.endx_)*/ 0, /*decltype(_impl_.endy_)*/ 0, /*decltype(_impl_._cached_size_)*/ {}, } {} struct VectorDataBlockDefaultTypeInternal { PROTOBUF_CONSTEXPR VectorDataBlockDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~VectorDataBlockDefaultTypeInternal() {} union { VectorDataBlock _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VectorDataBlockDefaultTypeInternal _VectorDataBlock_default_instance_; template PROTOBUF_CONSTEXPR ChainDataBlock::ChainDataBlock(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.pointvec_)*/ {}, /*decltype(_impl_.dotnum_)*/ 0u, /*decltype(_impl_._cached_size_)*/ {}, } {} struct ChainDataBlockDefaultTypeInternal { PROTOBUF_CONSTEXPR ChainDataBlockDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~ChainDataBlockDefaultTypeInternal() {} union { ChainDataBlock _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ChainDataBlockDefaultTypeInternal _ChainDataBlock_default_instance_; template PROTOBUF_CONSTEXPR Point::Point(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.xpos_)*/ 0, /*decltype(_impl_.ypos_)*/ 0, /*decltype(_impl_._cached_size_)*/ {}, } {} struct PointDefaultTypeInternal { PROTOBUF_CONSTEXPR PointDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~PointDefaultTypeInternal() {} union { Point _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PointDefaultTypeInternal _Point_default_instance_; template PROTOBUF_CONSTEXPR GeneralInfo::GeneralInfo(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_._has_bits_)*/ {}, /*decltype(_impl_._cached_size_)*/ {}, /*decltype(_impl_.job_name_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_.material_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_.jobdimensions_)*/ nullptr, /*decltype(_impl_.isok_)*/ false, } {} struct GeneralInfoDefaultTypeInternal { PROTOBUF_CONSTEXPR GeneralInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~GeneralInfoDefaultTypeInternal() {} union { GeneralInfo _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GeneralInfoDefaultTypeInternal _GeneralInfo_default_instance_; template PROTOBUF_CONSTEXPR MachineType_Dimension::MachineType_Dimension(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.xmin_)*/ 0, /*decltype(_impl_.ymin_)*/ 0, /*decltype(_impl_.xmax_)*/ 0, /*decltype(_impl_.ymax_)*/ 0, /*decltype(_impl_._cached_size_)*/ {}, } {} struct MachineType_DimensionDefaultTypeInternal { PROTOBUF_CONSTEXPR MachineType_DimensionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~MachineType_DimensionDefaultTypeInternal() {} union { MachineType_Dimension _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MachineType_DimensionDefaultTypeInternal _MachineType_Dimension_default_instance_; template PROTOBUF_CONSTEXPR MachineType_ScanField::MachineType_ScanField(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_._has_bits_)*/ {}, /*decltype(_impl_._cached_size_)*/ {}, /*decltype(_impl_.dimension_)*/ nullptr, /*decltype(_impl_.id_)*/ 0, /*decltype(_impl_.reference_)*/ 0, } {} struct MachineType_ScanFieldDefaultTypeInternal { PROTOBUF_CONSTEXPR MachineType_ScanFieldDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~MachineType_ScanFieldDefaultTypeInternal() {} union { MachineType_ScanField _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MachineType_ScanFieldDefaultTypeInternal _MachineType_ScanField_default_instance_; template PROTOBUF_CONSTEXPR MachineType::MachineType(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.sf_)*/ {}, /*decltype(_impl_.isok_)*/ false, /*decltype(_impl_._cached_size_)*/ {}, } {} struct MachineTypeDefaultTypeInternal { PROTOBUF_CONSTEXPR MachineTypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~MachineTypeDefaultTypeInternal() {} union { MachineType _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MachineTypeDefaultTypeInternal _MachineType_default_instance_; template PROTOBUF_CONSTEXPR JobDimensions::JobDimensions(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.xmin_)*/ 0, /*decltype(_impl_.ymin_)*/ 0, /*decltype(_impl_.zmin_)*/ 0, /*decltype(_impl_.xmax_)*/ 0, /*decltype(_impl_.ymax_)*/ 0, /*decltype(_impl_.zmax_)*/ 0, /*decltype(_impl_._cached_size_)*/ {}, } {} struct JobDimensionsDefaultTypeInternal { PROTOBUF_CONSTEXPR JobDimensionsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~JobDimensionsDefaultTypeInternal() {} union { JobDimensions _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JobDimensionsDefaultTypeInternal _JobDimensions_default_instance_; template PROTOBUF_CONSTEXPR PartPosBean::PartPosBean(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.jobid_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_.partid_)*/ 0, /*decltype(_impl_.xoffset_)*/ 0, /*decltype(_impl_.yoffset_)*/ 0, /*decltype(_impl_.rotateangle_)*/ 0, /*decltype(_impl_.radians_)*/ 0, /*decltype(_impl_.srcpartcenterx_)*/ 0, /*decltype(_impl_.srcpartcentery_)*/ 0, /*decltype(_impl_.partcenterx_)*/ 0, /*decltype(_impl_.partcentery_)*/ 0, /*decltype(_impl_.selectdatapoint1_1_)*/ 0, /*decltype(_impl_.selectdatapoint1_2_)*/ 0, /*decltype(_impl_.selectdatapoint2_1_)*/ 0, /*decltype(_impl_.selectdatapoint2_2_)*/ 0, /*decltype(_impl_.selectimagepoint1_1_)*/ 0, /*decltype(_impl_.selectimagepoint1_2_)*/ 0, /*decltype(_impl_.selectimagepoint2_1_)*/ 0, /*decltype(_impl_.selectimagepoint2_2_)*/ 0, /*decltype(_impl_.isselect_)*/ false, /*decltype(_impl_._cached_size_)*/ {}, } {} struct PartPosBeanDefaultTypeInternal { PROTOBUF_CONSTEXPR PartPosBeanDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~PartPosBeanDefaultTypeInternal() {} union { PartPosBean _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PartPosBeanDefaultTypeInternal _PartPosBean_default_instance_; template PROTOBUF_CONSTEXPR ParameterSet_LaserSet::ParameterSet_LaserSet(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.id_)*/ 0, /*decltype(_impl_.laser_diameter_)*/ 0, /*decltype(_impl_.laser_power_)*/ 0, /*decltype(_impl_.laser_real_power_)*/ 0, /*decltype(_impl_._cached_size_)*/ {}, } {} struct ParameterSet_LaserSetDefaultTypeInternal { PROTOBUF_CONSTEXPR ParameterSet_LaserSetDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~ParameterSet_LaserSetDefaultTypeInternal() {} union { ParameterSet_LaserSet _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ParameterSet_LaserSetDefaultTypeInternal _ParameterSet_LaserSet_default_instance_; template PROTOBUF_CONSTEXPR ParameterSet::ParameterSet(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_._has_bits_)*/ {}, /*decltype(_impl_._cached_size_)*/ {}, /*decltype(_impl_.name_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_.set_type_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_.laser_set_)*/ nullptr, /*decltype(_impl_.scan_field_)*/ 0, /*decltype(_impl_.id_)*/ 0, /*decltype(_impl_.laser_speed_)*/ 0, } {} struct ParameterSetDefaultTypeInternal { PROTOBUF_CONSTEXPR ParameterSetDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~ParameterSetDefaultTypeInternal() {} union { ParameterSet _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ParameterSetDefaultTypeInternal _ParameterSet_default_instance_; template PROTOBUF_CONSTEXPR Parts::Parts(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.ps_)*/ {}, /*decltype(_impl_.isok_)*/ false, /*decltype(_impl_._cached_size_)*/ {}, } {} struct PartsDefaultTypeInternal { PROTOBUF_CONSTEXPR PartsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~PartsDefaultTypeInternal() {} union { Parts _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PartsDefaultTypeInternal _Parts_default_instance_; template PROTOBUF_CONSTEXPR Part::Part(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_._has_bits_)*/ {}, /*decltype(_impl_._cached_size_)*/ {}, /*decltype(_impl_.paramset_)*/ {}, /*decltype(_impl_.name_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_.dimensions_)*/ nullptr, /*decltype(_impl_.partposbean_)*/ nullptr, /*decltype(_impl_.layerdimensions_)*/ nullptr, /*decltype(_impl_.id_)*/ 0, /*decltype(_impl_.sourceid_)*/ 0, /*decltype(_impl_.param_pos_)*/ ::uint64_t{0u}, /*decltype(_impl_.print_enable_)*/ false, /*decltype(_impl_.iscopy_)*/ false, } {} struct PartDefaultTypeInternal { PROTOBUF_CONSTEXPR PartDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~PartDefaultTypeInternal() {} union { Part _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PartDefaultTypeInternal _Part_default_instance_; template PROTOBUF_CONSTEXPR RegResponce::RegResponce(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.data_)*/ 0, /*decltype(_impl_._cached_size_)*/ {}, } {} struct RegResponceDefaultTypeInternal { PROTOBUF_CONSTEXPR RegResponceDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~RegResponceDefaultTypeInternal() {} union { RegResponce _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RegResponceDefaultTypeInternal _RegResponce_default_instance_; template PROTOBUF_CONSTEXPR ImgInfoResponce::ImgInfoResponce(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.levelimage_)*/ 0u, /*decltype(_impl_.width_)*/ 0, /*decltype(_impl_.height_)*/ 0, /*decltype(_impl_._cached_size_)*/ {}, } {} struct ImgInfoResponceDefaultTypeInternal { PROTOBUF_CONSTEXPR ImgInfoResponceDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~ImgInfoResponceDefaultTypeInternal() {} union { ImgInfoResponce _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ImgInfoResponceDefaultTypeInternal _ImgInfoResponce_default_instance_; template PROTOBUF_CONSTEXPR ComResponce_FileInfoStruct::ComResponce_FileInfoStruct(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.type_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_.filepath_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_.filename_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_.ext_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_._cached_size_)*/ {}, } {} struct ComResponce_FileInfoStructDefaultTypeInternal { PROTOBUF_CONSTEXPR ComResponce_FileInfoStructDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~ComResponce_FileInfoStructDefaultTypeInternal() {} union { ComResponce_FileInfoStruct _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ComResponce_FileInfoStructDefaultTypeInternal _ComResponce_FileInfoStruct_default_instance_; template PROTOBUF_CONSTEXPR ComResponce::ComResponce(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.fileinfo_)*/ {}, /*decltype(_impl_.data_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_.directory_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_.res_)*/ false, /*decltype(_impl_.isok_)*/ false, /*decltype(_impl_._cached_size_)*/ {}, } {} struct ComResponceDefaultTypeInternal { PROTOBUF_CONSTEXPR ComResponceDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~ComResponceDefaultTypeInternal() {} union { ComResponce _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ComResponceDefaultTypeInternal _ComResponce_default_instance_; template PROTOBUF_CONSTEXPR Layers::Layers(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.layer_)*/ {}, /*decltype(_impl_.isok_)*/ false, /*decltype(_impl_._cached_size_)*/ {}, } {} struct LayersDefaultTypeInternal { PROTOBUF_CONSTEXPR LayersDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~LayersDefaultTypeInternal() {} union { Layers _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LayersDefaultTypeInternal _Layers_default_instance_; template PROTOBUF_CONSTEXPR LayerInfo::LayerInfo(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.index_)*/ 0, /*decltype(_impl_.powder_)*/ 0u, /*decltype(_impl_.layer_thickness_)*/ 0u, /*decltype(_impl_.scan_times_)*/ 0, /*decltype(_impl_.isok_)*/ false, /*decltype(_impl_._cached_size_)*/ {}, } {} struct LayerInfoDefaultTypeInternal { PROTOBUF_CONSTEXPR LayerInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~LayerInfoDefaultTypeInternal() {} union { LayerInfo _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LayerInfoDefaultTypeInternal _LayerInfo_default_instance_; template PROTOBUF_CONSTEXPR ScannerCrtlCfgResp::ScannerCrtlCfgResp(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.scannercfg_)*/ {}, /*decltype(_impl_._cached_size_)*/ {}, } {} struct ScannerCrtlCfgRespDefaultTypeInternal { PROTOBUF_CONSTEXPR ScannerCrtlCfgRespDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~ScannerCrtlCfgRespDefaultTypeInternal() {} union { ScannerCrtlCfgResp _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScannerCrtlCfgRespDefaultTypeInternal _ScannerCrtlCfgResp_default_instance_; template PROTOBUF_CONSTEXPR ScannerCrtlCfgData::ScannerCrtlCfgData(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_._has_bits_)*/ {}, /*decltype(_impl_._cached_size_)*/ {}, /*decltype(_impl_.fixpointdata_)*/ {}, /*decltype(_impl_.powercompensate_)*/ {}, /*decltype(_impl_.tpowercompensate_)*/ {}, /*decltype(_impl_.cardname_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_.cardip_)*/ { &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}, }, /*decltype(_impl_.scanparamcfg_)*/ nullptr, /*decltype(_impl_.hatchingparams_)*/ nullptr, /*decltype(_impl_.borderparams_)*/ nullptr, /*decltype(_impl_.supportparams_)*/ nullptr, /*decltype(_impl_.correctparamcfg_)*/ nullptr, /*decltype(_impl_.scantestcfg_)*/ nullptr, /*decltype(_impl_.skywritingcfg_)*/ nullptr, /*decltype(_impl_.seqno_)*/ 0, /*decltype(_impl_.controlno_)*/ 0, /*decltype(_impl_.serialno_)*/ 0, /*decltype(_impl_.controltype_)*/ 0, /*decltype(_impl_.isenable_)*/ false, /*decltype(_impl_.hadassign_)*/ false, /*decltype(_impl_.hadmatch_)*/ false, } {} struct ScannerCrtlCfgDataDefaultTypeInternal { PROTOBUF_CONSTEXPR ScannerCrtlCfgDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~ScannerCrtlCfgDataDefaultTypeInternal() {} union { ScannerCrtlCfgData _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScannerCrtlCfgDataDefaultTypeInternal _ScannerCrtlCfgData_default_instance_; template PROTOBUF_CONSTEXPR FixPointData::FixPointData(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.id_)*/ 0, /*decltype(_impl_.cno_)*/ 0, /*decltype(_impl_.pointx_)*/ 0, /*decltype(_impl_.pointy_)*/ 0, /*decltype(_impl_.duration_)*/ 0u, /*decltype(_impl_._cached_size_)*/ {}, } {} struct FixPointDataDefaultTypeInternal { PROTOBUF_CONSTEXPR FixPointDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~FixPointDataDefaultTypeInternal() {} union { FixPointData _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FixPointDataDefaultTypeInternal _FixPointData_default_instance_; template PROTOBUF_CONSTEXPR ScanParamCfg::ScanParamCfg(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.edgelevel_)*/ 0, /*decltype(_impl_.edgelevelmin_)*/ 0, /*decltype(_impl_.edgelevelmax_)*/ 0, /*decltype(_impl_.jumpdelay_)*/ 0u, /*decltype(_impl_.jumpdelaymin_)*/ 0u, /*decltype(_impl_.jumpdelaymax_)*/ 0u, /*decltype(_impl_.scandelay_)*/ 0u, /*decltype(_impl_.scandelaymin_)*/ 0u, /*decltype(_impl_.scandelaymax_)*/ 0u, /*decltype(_impl_.polygondelay_)*/ 0u, /*decltype(_impl_.polygondelaymin_)*/ 0u, /*decltype(_impl_.polygondelaymax_)*/ 0u, /*decltype(_impl_.laseroffdelay_)*/ ::int64_t{0}, /*decltype(_impl_.laseroffdelaymin_)*/ ::int64_t{0}, /*decltype(_impl_.laseroffdelaymax_)*/ ::int64_t{0}, /*decltype(_impl_.laserondelay_)*/ ::int64_t{0}, /*decltype(_impl_.laserondelaymin_)*/ ::int64_t{0}, /*decltype(_impl_.laserondelaymax_)*/ ::int64_t{0}, /*decltype(_impl_.minjumpdelay_)*/ 0u, /*decltype(_impl_.minjumpdelaymin_)*/ 0u, /*decltype(_impl_.minjumpdelaymax_)*/ 0u, /*decltype(_impl_.jumplengthlimit_)*/ 0u, /*decltype(_impl_.jumplengthlimitmin_)*/ 0u, /*decltype(_impl_.jumplengthlimitmax_)*/ 0u, /*decltype(_impl_.jumpspeed_)*/ 0, /*decltype(_impl_.jumpspeedmin_)*/ 0, /*decltype(_impl_.jumpspeedmax_)*/ 0, /*decltype(_impl_.markspeed_)*/ 0, /*decltype(_impl_.markspeedmin_)*/ 0, /*decltype(_impl_.markspeedmax_)*/ 0, /*decltype(_impl_._cached_size_)*/ {}, } {} struct ScanParamCfgDefaultTypeInternal { PROTOBUF_CONSTEXPR ScanParamCfgDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~ScanParamCfgDefaultTypeInternal() {} union { ScanParamCfg _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScanParamCfgDefaultTypeInternal _ScanParamCfg_default_instance_; template PROTOBUF_CONSTEXPR CorrectParamCfg::CorrectParamCfg(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.xmeasuremin_)*/ 0, /*decltype(_impl_.xmeasuremax_)*/ 0, /*decltype(_impl_.ymeasuremin_)*/ 0, /*decltype(_impl_.ymeasuremax_)*/ 0, /*decltype(_impl_.xposfix_)*/ 0, /*decltype(_impl_.yposfix_)*/ 0, /*decltype(_impl_.scanangle_)*/ 0, /*decltype(_impl_.scananglemin_)*/ 0, /*decltype(_impl_.scananglemax_)*/ 0, /*decltype(_impl_.fixangle_)*/ 0, /*decltype(_impl_.fixanglemin_)*/ 0, /*decltype(_impl_.fixanglemax_)*/ 0, /*decltype(_impl_.xcorrect_)*/ 0, /*decltype(_impl_.ycorrect_)*/ 0, /*decltype(_impl_.xcorrectmin_)*/ 0, /*decltype(_impl_.xcorrectmax_)*/ 0, /*decltype(_impl_.ycorrectmin_)*/ 0, /*decltype(_impl_.ycorrectmax_)*/ 0, /*decltype(_impl_.realxoffset_)*/ 0, /*decltype(_impl_.realyoffset_)*/ 0, /*decltype(_impl_.factork_)*/ 0, /*decltype(_impl_.defocusratio_)*/ 0, /*decltype(_impl_.defocusratiomin_)*/ 0, /*decltype(_impl_.defocusratiomax_)*/ 0, /*decltype(_impl_.iscorrectfile3d_)*/ false, /*decltype(_impl_.isdynamicfocus_)*/ false, /*decltype(_impl_._cached_size_)*/ {}, } {} struct CorrectParamCfgDefaultTypeInternal { PROTOBUF_CONSTEXPR CorrectParamCfgDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~CorrectParamCfgDefaultTypeInternal() {} union { CorrectParamCfg _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CorrectParamCfgDefaultTypeInternal _CorrectParamCfg_default_instance_; template PROTOBUF_CONSTEXPR ScanTestCfg::ScanTestCfg(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.debugshape_)*/ 0, /*decltype(_impl_.shapesize_)*/ 0, /*decltype(_impl_.shapesizemin_)*/ 0, /*decltype(_impl_.shape_size_max_)*/ 0, /*decltype(_impl_.laser_power_)*/ 0, /*decltype(_impl_.laser_power_min_)*/ 0, /*decltype(_impl_.defocus_)*/ 0, /*decltype(_impl_.defocus_min_)*/ 0, /*decltype(_impl_.defocus_max_)*/ 0, /*decltype(_impl_.laser_power_max_)*/ 0, /*decltype(_impl_.is_cycle_)*/ false, /*decltype(_impl_.isautoheatingscanner_)*/ false, /*decltype(_impl_.cross_x_)*/ 0, /*decltype(_impl_.cross_y_)*/ 0, /*decltype(_impl_.z_distance_)*/ 0, /*decltype(_impl_.autoheatingscannerminutes_)*/ 0u, /*decltype(_impl_.autoheatingscannersize_)*/ 0u, /*decltype(_impl_.autoheatingscannerspeed_)*/ 0, /*decltype(_impl_.mark_test_start_x_)*/ 0, /*decltype(_impl_.mark_test_start_y_)*/ 0, /*decltype(_impl_.mark_test_end_x_)*/ 0, /*decltype(_impl_.mark_test_end_y_)*/ 0, /*decltype(_impl_._cached_size_)*/ {}, } {} struct ScanTestCfgDefaultTypeInternal { PROTOBUF_CONSTEXPR ScanTestCfgDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~ScanTestCfgDefaultTypeInternal() {} union { ScanTestCfg _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScanTestCfgDefaultTypeInternal _ScanTestCfg_default_instance_; template PROTOBUF_CONSTEXPR SkyWritingCfg::SkyWritingCfg(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.timelag_)*/ 0, /*decltype(_impl_.timelagmin_)*/ 0, /*decltype(_impl_.timelagmax_)*/ 0, /*decltype(_impl_.isenable_)*/ false, /*decltype(_impl_.nprev_)*/ 0u, /*decltype(_impl_.laseronshift_)*/ ::int64_t{0}, /*decltype(_impl_.laseronshiftmin_)*/ ::int64_t{0}, /*decltype(_impl_.laseronshiftmax_)*/ ::int64_t{0}, /*decltype(_impl_.nprevmin_)*/ 0u, /*decltype(_impl_.nprevmax_)*/ 0u, /*decltype(_impl_.npost_)*/ 0u, /*decltype(_impl_.npostmin_)*/ 0u, /*decltype(_impl_.npostmax_)*/ 0u, /*decltype(_impl_.mode_)*/ 0, /*decltype(_impl_.limite_)*/ 0, /*decltype(_impl_.limitemin_)*/ 0, /*decltype(_impl_.limitemax_)*/ 0, /*decltype(_impl_._cached_size_)*/ {}, } {} struct SkyWritingCfgDefaultTypeInternal { PROTOBUF_CONSTEXPR SkyWritingCfgDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~SkyWritingCfgDefaultTypeInternal() {} union { SkyWritingCfg _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SkyWritingCfgDefaultTypeInternal _SkyWritingCfg_default_instance_; template PROTOBUF_CONSTEXPR PowerCompensate::PowerCompensate(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.cno_)*/ 0, /*decltype(_impl_.percent_)*/ 0, /*decltype(_impl_.value_)*/ 0, /*decltype(_impl_.value_min_)*/ 0, /*decltype(_impl_.value_max_)*/ 0, /*decltype(_impl_._cached_size_)*/ {}, } {} struct PowerCompensateDefaultTypeInternal { PROTOBUF_CONSTEXPR PowerCompensateDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~PowerCompensateDefaultTypeInternal() {} union { PowerCompensate _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PowerCompensateDefaultTypeInternal _PowerCompensate_default_instance_; template PROTOBUF_CONSTEXPR TimePowerCompensate::TimePowerCompensate(::_pbi::ConstantInitialized) : _impl_{ /*decltype(_impl_.id_)*/ 0, /*decltype(_impl_.cno_)*/ 0, /*decltype(_impl_.startminute_)*/ 0u, /*decltype(_impl_.endminute_)*/ 0u, /*decltype(_impl_.compensate_)*/ 0, /*decltype(_impl_._cached_size_)*/ {}, } {} struct TimePowerCompensateDefaultTypeInternal { PROTOBUF_CONSTEXPR TimePowerCompensateDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~TimePowerCompensateDefaultTypeInternal() {} union { TimePowerCompensate _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TimePowerCompensateDefaultTypeInternal _TimePowerCompensate_default_instance_; } // namespace stream static ::_pb::Metadata file_level_metadata_stream_2eproto[34]; static const ::_pb::EnumDescriptor* file_level_enum_descriptors_stream_2eproto[2]; static constexpr const ::_pb::ServiceDescriptor** file_level_service_descriptors_stream_2eproto = nullptr; const ::uint32_t TableStruct_stream_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE( protodesc_cold) = { ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::ParamInfo, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::ParamInfo, _impl_.namekey_), PROTOBUF_FIELD_OFFSET(::stream::ParamInfo, _impl_.strvalue_), PROTOBUF_FIELD_OFFSET(::stream::ParamInfo, _impl_.valuetype_), PROTOBUF_FIELD_OFFSET(::stream::ParamInfo, _impl_.context_), PROTOBUF_FIELD_OFFSET(::stream::ParamInfo, _impl_.isenable_), PROTOBUF_FIELD_OFFSET(::stream::ParamInfo, _impl_.isalarm_), PROTOBUF_FIELD_OFFSET(::stream::ParamInfo, _impl_.isshow_), PROTOBUF_FIELD_OFFSET(::stream::ParamInfo, _impl_.startlayer_), PROTOBUF_FIELD_OFFSET(::stream::ParamInfo, _impl_.endlayer_), PROTOBUF_FIELD_OFFSET(::stream::ParamInfo, _impl_.powder_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::RequestInfo, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::RequestInfo, _impl_.datatype_), PROTOBUF_FIELD_OFFSET(::stream::RequestInfo, _impl_.namekey_), PROTOBUF_FIELD_OFFSET(::stream::RequestInfo, _impl_.strvalue_), PROTOBUF_FIELD_OFFSET(::stream::RequestInfo, _impl_.valuetype_), PROTOBUF_FIELD_OFFSET(::stream::RequestInfo, _impl_.handletype_), PROTOBUF_FIELD_OFFSET(::stream::RequestInfo, _impl_.item_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::ResponseInfo, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::ResponseInfo, _impl_.datatype_), PROTOBUF_FIELD_OFFSET(::stream::ResponseInfo, _impl_.result_), PROTOBUF_FIELD_OFFSET(::stream::ResponseInfo, _impl_.item_), PROTOBUF_FIELD_OFFSET(::stream::ResponseAny, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::stream::ResponseAny, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::ResponseAny, _impl_.data_), 0, ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::LayerData, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::LayerData, _impl_.zcooldinate_), PROTOBUF_FIELD_OFFSET(::stream::LayerData, _impl_.powder_), PROTOBUF_FIELD_OFFSET(::stream::LayerData, _impl_.layerthickness_), PROTOBUF_FIELD_OFFSET(::stream::LayerData, _impl_.layerdatablock_), PROTOBUF_FIELD_OFFSET(::stream::LayerData, _impl_.result_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::LayerDataBlock, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::LayerDataBlock, _impl_.elementid_), PROTOBUF_FIELD_OFFSET(::stream::LayerDataBlock, _impl_.elementparamid_), PROTOBUF_FIELD_OFFSET(::stream::LayerDataBlock, _impl_.blocktype_), PROTOBUF_FIELD_OFFSET(::stream::LayerDataBlock, _impl_.vecblocks_), PROTOBUF_FIELD_OFFSET(::stream::LayerDataBlock, _impl_.chainblocks_), PROTOBUF_FIELD_OFFSET(::stream::LayerDataBlock, _impl_.order_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::VectorDataBlock, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::VectorDataBlock, _impl_.startx_), PROTOBUF_FIELD_OFFSET(::stream::VectorDataBlock, _impl_.starty_), PROTOBUF_FIELD_OFFSET(::stream::VectorDataBlock, _impl_.endx_), PROTOBUF_FIELD_OFFSET(::stream::VectorDataBlock, _impl_.endy_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::ChainDataBlock, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::ChainDataBlock, _impl_.dotnum_), PROTOBUF_FIELD_OFFSET(::stream::ChainDataBlock, _impl_.pointvec_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::Point, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::Point, _impl_.xpos_), PROTOBUF_FIELD_OFFSET(::stream::Point, _impl_.ypos_), PROTOBUF_FIELD_OFFSET(::stream::GeneralInfo, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::stream::GeneralInfo, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::GeneralInfo, _impl_.isok_), PROTOBUF_FIELD_OFFSET(::stream::GeneralInfo, _impl_.job_name_), PROTOBUF_FIELD_OFFSET(::stream::GeneralInfo, _impl_.jobdimensions_), PROTOBUF_FIELD_OFFSET(::stream::GeneralInfo, _impl_.material_), ~0u, ~0u, 0, ~0u, ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::MachineType_Dimension, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::MachineType_Dimension, _impl_.xmin_), PROTOBUF_FIELD_OFFSET(::stream::MachineType_Dimension, _impl_.ymin_), PROTOBUF_FIELD_OFFSET(::stream::MachineType_Dimension, _impl_.xmax_), PROTOBUF_FIELD_OFFSET(::stream::MachineType_Dimension, _impl_.ymax_), PROTOBUF_FIELD_OFFSET(::stream::MachineType_ScanField, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::stream::MachineType_ScanField, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::MachineType_ScanField, _impl_.id_), PROTOBUF_FIELD_OFFSET(::stream::MachineType_ScanField, _impl_.reference_), PROTOBUF_FIELD_OFFSET(::stream::MachineType_ScanField, _impl_.dimension_), ~0u, ~0u, 0, ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::MachineType, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::MachineType, _impl_.sf_), PROTOBUF_FIELD_OFFSET(::stream::MachineType, _impl_.isok_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::JobDimensions, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::JobDimensions, _impl_.xmin_), PROTOBUF_FIELD_OFFSET(::stream::JobDimensions, _impl_.ymin_), PROTOBUF_FIELD_OFFSET(::stream::JobDimensions, _impl_.zmin_), PROTOBUF_FIELD_OFFSET(::stream::JobDimensions, _impl_.xmax_), PROTOBUF_FIELD_OFFSET(::stream::JobDimensions, _impl_.ymax_), PROTOBUF_FIELD_OFFSET(::stream::JobDimensions, _impl_.zmax_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.jobid_), PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.partid_), PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.xoffset_), PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.yoffset_), PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.rotateangle_), PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.radians_), PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.srcpartcenterx_), PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.srcpartcentery_), PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.partcenterx_), PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.partcentery_), PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.selectdatapoint1_1_), PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.selectdatapoint1_2_), PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.selectdatapoint2_1_), PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.selectdatapoint2_2_), PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.selectimagepoint1_1_), PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.selectimagepoint1_2_), PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.selectimagepoint2_1_), PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.selectimagepoint2_2_), PROTOBUF_FIELD_OFFSET(::stream::PartPosBean, _impl_.isselect_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::ParameterSet_LaserSet, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::ParameterSet_LaserSet, _impl_.id_), PROTOBUF_FIELD_OFFSET(::stream::ParameterSet_LaserSet, _impl_.laser_diameter_), PROTOBUF_FIELD_OFFSET(::stream::ParameterSet_LaserSet, _impl_.laser_power_), PROTOBUF_FIELD_OFFSET(::stream::ParameterSet_LaserSet, _impl_.laser_real_power_), PROTOBUF_FIELD_OFFSET(::stream::ParameterSet, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::stream::ParameterSet, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::ParameterSet, _impl_.scan_field_), PROTOBUF_FIELD_OFFSET(::stream::ParameterSet, _impl_.id_), PROTOBUF_FIELD_OFFSET(::stream::ParameterSet, _impl_.name_), PROTOBUF_FIELD_OFFSET(::stream::ParameterSet, _impl_.set_type_), PROTOBUF_FIELD_OFFSET(::stream::ParameterSet, _impl_.laser_speed_), PROTOBUF_FIELD_OFFSET(::stream::ParameterSet, _impl_.laser_set_), ~0u, ~0u, ~0u, ~0u, ~0u, 0, ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::Parts, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::Parts, _impl_.ps_), PROTOBUF_FIELD_OFFSET(::stream::Parts, _impl_.isok_), PROTOBUF_FIELD_OFFSET(::stream::Part, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::stream::Part, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::Part, _impl_.id_), PROTOBUF_FIELD_OFFSET(::stream::Part, _impl_.sourceid_), PROTOBUF_FIELD_OFFSET(::stream::Part, _impl_.name_), PROTOBUF_FIELD_OFFSET(::stream::Part, _impl_.dimensions_), PROTOBUF_FIELD_OFFSET(::stream::Part, _impl_.partposbean_), PROTOBUF_FIELD_OFFSET(::stream::Part, _impl_.print_enable_), PROTOBUF_FIELD_OFFSET(::stream::Part, _impl_.param_pos_), PROTOBUF_FIELD_OFFSET(::stream::Part, _impl_.paramset_), PROTOBUF_FIELD_OFFSET(::stream::Part, _impl_.iscopy_), PROTOBUF_FIELD_OFFSET(::stream::Part, _impl_.layerdimensions_), ~0u, ~0u, ~0u, 0, 1, ~0u, ~0u, ~0u, ~0u, 2, ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::RegResponce, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::RegResponce, _impl_.data_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::ImgInfoResponce, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::ImgInfoResponce, _impl_.levelimage_), PROTOBUF_FIELD_OFFSET(::stream::ImgInfoResponce, _impl_.width_), PROTOBUF_FIELD_OFFSET(::stream::ImgInfoResponce, _impl_.height_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::ComResponce_FileInfoStruct, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::ComResponce_FileInfoStruct, _impl_.type_), PROTOBUF_FIELD_OFFSET(::stream::ComResponce_FileInfoStruct, _impl_.filepath_), PROTOBUF_FIELD_OFFSET(::stream::ComResponce_FileInfoStruct, _impl_.filename_), PROTOBUF_FIELD_OFFSET(::stream::ComResponce_FileInfoStruct, _impl_.ext_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::ComResponce, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::ComResponce, _impl_.data_), PROTOBUF_FIELD_OFFSET(::stream::ComResponce, _impl_.directory_), PROTOBUF_FIELD_OFFSET(::stream::ComResponce, _impl_.fileinfo_), PROTOBUF_FIELD_OFFSET(::stream::ComResponce, _impl_.res_), PROTOBUF_FIELD_OFFSET(::stream::ComResponce, _impl_.isok_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::Layers, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::Layers, _impl_.layer_), PROTOBUF_FIELD_OFFSET(::stream::Layers, _impl_.isok_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::LayerInfo, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::LayerInfo, _impl_.index_), PROTOBUF_FIELD_OFFSET(::stream::LayerInfo, _impl_.powder_), PROTOBUF_FIELD_OFFSET(::stream::LayerInfo, _impl_.layer_thickness_), PROTOBUF_FIELD_OFFSET(::stream::LayerInfo, _impl_.scan_times_), PROTOBUF_FIELD_OFFSET(::stream::LayerInfo, _impl_.isok_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgResp, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgResp, _impl_.scannercfg_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.seqno_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.fixpointdata_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.scanparamcfg_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.hatchingparams_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.borderparams_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.supportparams_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.correctparamcfg_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.scantestcfg_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.skywritingcfg_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.powercompensate_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.tpowercompensate_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.controlno_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.serialno_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.controltype_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.cardname_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.cardip_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.isenable_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.hadassign_), PROTOBUF_FIELD_OFFSET(::stream::ScannerCrtlCfgData, _impl_.hadmatch_), ~0u, ~0u, 0, 1, 2, 3, 4, 5, 6, ~0u, ~0u, ~0u, ~0u, ~0u, ~0u, ~0u, ~0u, ~0u, ~0u, ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::FixPointData, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::FixPointData, _impl_.id_), PROTOBUF_FIELD_OFFSET(::stream::FixPointData, _impl_.cno_), PROTOBUF_FIELD_OFFSET(::stream::FixPointData, _impl_.pointx_), PROTOBUF_FIELD_OFFSET(::stream::FixPointData, _impl_.pointy_), PROTOBUF_FIELD_OFFSET(::stream::FixPointData, _impl_.duration_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.edgelevel_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.edgelevelmin_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.edgelevelmax_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.jumpdelay_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.jumpdelaymin_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.jumpdelaymax_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.scandelay_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.scandelaymin_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.scandelaymax_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.polygondelay_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.polygondelaymin_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.polygondelaymax_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.laseroffdelay_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.laseroffdelaymin_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.laseroffdelaymax_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.laserondelay_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.laserondelaymin_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.laserondelaymax_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.minjumpdelay_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.minjumpdelaymin_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.minjumpdelaymax_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.jumplengthlimit_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.jumplengthlimitmin_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.jumplengthlimitmax_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.jumpspeed_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.jumpspeedmin_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.jumpspeedmax_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.markspeed_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.markspeedmin_), PROTOBUF_FIELD_OFFSET(::stream::ScanParamCfg, _impl_.markspeedmax_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.xmeasuremin_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.xmeasuremax_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.ymeasuremin_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.ymeasuremax_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.xposfix_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.yposfix_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.scanangle_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.scananglemin_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.scananglemax_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.fixangle_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.fixanglemin_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.fixanglemax_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.xcorrect_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.ycorrect_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.xcorrectmin_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.xcorrectmax_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.ycorrectmin_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.ycorrectmax_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.realxoffset_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.realyoffset_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.factork_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.iscorrectfile3d_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.isdynamicfocus_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.defocusratio_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.defocusratiomin_), PROTOBUF_FIELD_OFFSET(::stream::CorrectParamCfg, _impl_.defocusratiomax_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.debugshape_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.shapesize_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.shapesizemin_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.shape_size_max_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.laser_power_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.laser_power_min_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.laser_power_max_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.defocus_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.defocus_min_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.defocus_max_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.is_cycle_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.cross_x_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.cross_y_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.z_distance_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.isautoheatingscanner_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.autoheatingscannerminutes_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.autoheatingscannersize_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.autoheatingscannerspeed_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.mark_test_start_x_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.mark_test_start_y_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.mark_test_end_x_), PROTOBUF_FIELD_OFFSET(::stream::ScanTestCfg, _impl_.mark_test_end_y_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::SkyWritingCfg, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::SkyWritingCfg, _impl_.isenable_), PROTOBUF_FIELD_OFFSET(::stream::SkyWritingCfg, _impl_.timelag_), PROTOBUF_FIELD_OFFSET(::stream::SkyWritingCfg, _impl_.timelagmin_), PROTOBUF_FIELD_OFFSET(::stream::SkyWritingCfg, _impl_.timelagmax_), PROTOBUF_FIELD_OFFSET(::stream::SkyWritingCfg, _impl_.laseronshift_), PROTOBUF_FIELD_OFFSET(::stream::SkyWritingCfg, _impl_.laseronshiftmin_), PROTOBUF_FIELD_OFFSET(::stream::SkyWritingCfg, _impl_.laseronshiftmax_), PROTOBUF_FIELD_OFFSET(::stream::SkyWritingCfg, _impl_.nprev_), PROTOBUF_FIELD_OFFSET(::stream::SkyWritingCfg, _impl_.nprevmin_), PROTOBUF_FIELD_OFFSET(::stream::SkyWritingCfg, _impl_.nprevmax_), PROTOBUF_FIELD_OFFSET(::stream::SkyWritingCfg, _impl_.npost_), PROTOBUF_FIELD_OFFSET(::stream::SkyWritingCfg, _impl_.npostmin_), PROTOBUF_FIELD_OFFSET(::stream::SkyWritingCfg, _impl_.npostmax_), PROTOBUF_FIELD_OFFSET(::stream::SkyWritingCfg, _impl_.mode_), PROTOBUF_FIELD_OFFSET(::stream::SkyWritingCfg, _impl_.limite_), PROTOBUF_FIELD_OFFSET(::stream::SkyWritingCfg, _impl_.limitemin_), PROTOBUF_FIELD_OFFSET(::stream::SkyWritingCfg, _impl_.limitemax_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::PowerCompensate, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::PowerCompensate, _impl_.cno_), PROTOBUF_FIELD_OFFSET(::stream::PowerCompensate, _impl_.percent_), PROTOBUF_FIELD_OFFSET(::stream::PowerCompensate, _impl_.value_), PROTOBUF_FIELD_OFFSET(::stream::PowerCompensate, _impl_.value_min_), PROTOBUF_FIELD_OFFSET(::stream::PowerCompensate, _impl_.value_max_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::stream::TimePowerCompensate, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::stream::TimePowerCompensate, _impl_.id_), PROTOBUF_FIELD_OFFSET(::stream::TimePowerCompensate, _impl_.cno_), PROTOBUF_FIELD_OFFSET(::stream::TimePowerCompensate, _impl_.startminute_), PROTOBUF_FIELD_OFFSET(::stream::TimePowerCompensate, _impl_.endminute_), PROTOBUF_FIELD_OFFSET(::stream::TimePowerCompensate, _impl_.compensate_), }; static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { {0, -1, -1, sizeof(::stream::ParamInfo)}, {18, -1, -1, sizeof(::stream::RequestInfo)}, {32, -1, -1, sizeof(::stream::ResponseInfo)}, {43, 52, -1, sizeof(::stream::ResponseAny)}, {53, -1, -1, sizeof(::stream::LayerData)}, {66, -1, -1, sizeof(::stream::LayerDataBlock)}, {80, -1, -1, sizeof(::stream::VectorDataBlock)}, {92, -1, -1, sizeof(::stream::ChainDataBlock)}, {102, -1, -1, sizeof(::stream::Point)}, {112, 124, -1, sizeof(::stream::GeneralInfo)}, {128, -1, -1, sizeof(::stream::MachineType_Dimension)}, {140, 151, -1, sizeof(::stream::MachineType_ScanField)}, {154, -1, -1, sizeof(::stream::MachineType)}, {164, -1, -1, sizeof(::stream::JobDimensions)}, {178, -1, -1, sizeof(::stream::PartPosBean)}, {205, -1, -1, sizeof(::stream::ParameterSet_LaserSet)}, {217, 231, -1, sizeof(::stream::ParameterSet)}, {237, -1, -1, sizeof(::stream::Parts)}, {247, 265, -1, sizeof(::stream::Part)}, {275, -1, -1, sizeof(::stream::RegResponce)}, {284, -1, -1, sizeof(::stream::ImgInfoResponce)}, {295, -1, -1, sizeof(::stream::ComResponce_FileInfoStruct)}, {307, -1, -1, sizeof(::stream::ComResponce)}, {320, -1, -1, sizeof(::stream::Layers)}, {330, -1, -1, sizeof(::stream::LayerInfo)}, {343, -1, -1, sizeof(::stream::ScannerCrtlCfgResp)}, {352, 379, -1, sizeof(::stream::ScannerCrtlCfgData)}, {398, -1, -1, sizeof(::stream::FixPointData)}, {411, -1, -1, sizeof(::stream::ScanParamCfg)}, {449, -1, -1, sizeof(::stream::CorrectParamCfg)}, {483, -1, -1, sizeof(::stream::ScanTestCfg)}, {513, -1, -1, sizeof(::stream::SkyWritingCfg)}, {538, -1, -1, sizeof(::stream::PowerCompensate)}, {551, -1, -1, sizeof(::stream::TimePowerCompensate)}, }; static const ::_pb::Message* const file_default_instances[] = { &::stream::_ParamInfo_default_instance_._instance, &::stream::_RequestInfo_default_instance_._instance, &::stream::_ResponseInfo_default_instance_._instance, &::stream::_ResponseAny_default_instance_._instance, &::stream::_LayerData_default_instance_._instance, &::stream::_LayerDataBlock_default_instance_._instance, &::stream::_VectorDataBlock_default_instance_._instance, &::stream::_ChainDataBlock_default_instance_._instance, &::stream::_Point_default_instance_._instance, &::stream::_GeneralInfo_default_instance_._instance, &::stream::_MachineType_Dimension_default_instance_._instance, &::stream::_MachineType_ScanField_default_instance_._instance, &::stream::_MachineType_default_instance_._instance, &::stream::_JobDimensions_default_instance_._instance, &::stream::_PartPosBean_default_instance_._instance, &::stream::_ParameterSet_LaserSet_default_instance_._instance, &::stream::_ParameterSet_default_instance_._instance, &::stream::_Parts_default_instance_._instance, &::stream::_Part_default_instance_._instance, &::stream::_RegResponce_default_instance_._instance, &::stream::_ImgInfoResponce_default_instance_._instance, &::stream::_ComResponce_FileInfoStruct_default_instance_._instance, &::stream::_ComResponce_default_instance_._instance, &::stream::_Layers_default_instance_._instance, &::stream::_LayerInfo_default_instance_._instance, &::stream::_ScannerCrtlCfgResp_default_instance_._instance, &::stream::_ScannerCrtlCfgData_default_instance_._instance, &::stream::_FixPointData_default_instance_._instance, &::stream::_ScanParamCfg_default_instance_._instance, &::stream::_CorrectParamCfg_default_instance_._instance, &::stream::_ScanTestCfg_default_instance_._instance, &::stream::_SkyWritingCfg_default_instance_._instance, &::stream::_PowerCompensate_default_instance_._instance, &::stream::_TimePowerCompensate_default_instance_._instance, }; const char descriptor_table_protodef_stream_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { "\n\014stream.proto\022\006stream\032\031google/protobuf/" "any.proto\"\311\001\n\tParamInfo\022\017\n\007nameKey\030\001 \001(\014" "\022\020\n\010strValue\030\002 \001(\014\022\037\n\tvalueType\030\003 \001(\0162\014." "stream.TYPE\022\017\n\007context\030\004 \001(\014\022\020\n\010isEnable" "\030\005 \001(\010\022\017\n\007isAlarm\030\006 \001(\010\022\016\n\006isShow\030\007 \001(\010\022" "\022\n\nstartLayer\030\010 \001(\005\022\020\n\010endLayer\030\t \001(\005\022\016\n" "\006powder\030\n \001(\002\"\254\001\n\013RequestInfo\022\020\n\010dataTyp" "e\030\001 \001(\r\022\017\n\007nameKey\030\002 \001(\014\022\020\n\010strValue\030\003 \001" "(\014\022\037\n\tvalueType\030\004 \001(\0162\014.stream.TYPE\022&\n\nh" "andleType\030\005 \001(\0162\022.stream.DATAHANDLE\022\037\n\004i" "tem\030\006 \003(\0132\021.stream.ParamInfo\"Q\n\014Response" "Info\022\020\n\010dataType\030\001 \001(\r\022\016\n\006result\030\002 \001(\010\022\037" "\n\004item\030\003 \003(\0132\021.stream.ParamInfo\"1\n\013Respo" "nseAny\022\"\n\004data\030\001 \001(\0132\024.google.protobuf.A" "ny\"\210\001\n\tLayerData\022\023\n\013zCooldinate\030\001 \001(\002\022\016\n" "\006powder\030\002 \001(\002\022\026\n\016layerThickness\030\003 \001(\002\022.\n" "\016layerDataBlock\030\004 \003(\0132\026.stream.LayerData" "Block\022\016\n\006result\030\005 \001(\010\"\266\001\n\016LayerDataBlock" "\022\021\n\telementId\030\001 \001(\005\022\026\n\016elementParamId\030\002 " "\001(\005\022\021\n\tblockType\030\003 \001(\r\022*\n\tvecBlocks\030\004 \003(" "\0132\027.stream.VectorDataBlock\022+\n\013chainBlock" "s\030\005 \003(\0132\026.stream.ChainDataBlock\022\r\n\005order" "\030\006 \001(\r\"M\n\017VectorDataBlock\022\016\n\006startX\030\001 \001(" "\002\022\016\n\006startY\030\002 \001(\002\022\014\n\004endX\030\003 \001(\002\022\014\n\004endY\030" "\004 \001(\002\"A\n\016ChainDataBlock\022\016\n\006dotNum\030\001 \001(\r\022" "\037\n\010pointVec\030\002 \003(\0132\r.stream.Point\"#\n\005Poin" "t\022\014\n\004xPos\030\001 \001(\002\022\014\n\004yPos\030\002 \001(\002\"m\n\013General" "Info\022\014\n\004isOk\030\001 \001(\010\022\020\n\010job_name\030\002 \001(\014\022,\n\r" "jobDimensions\030\003 \001(\0132\025.stream.JobDimensio" "ns\022\020\n\010material\030\004 \001(\014\"\351\001\n\013MachineType\022)\n\002" "sf\030\001 \003(\0132\035.stream.MachineType.ScanField\022" "\014\n\004isOk\030\002 \001(\010\032C\n\tDimension\022\014\n\004xmin\030\001 \001(\002" "\022\014\n\004ymin\030\002 \001(\002\022\014\n\004xmax\030\003 \001(\002\022\014\n\004ymax\030\004 \001" "(\002\032\\\n\tScanField\022\n\n\002id\030\001 \001(\005\022\021\n\treference" "\030\002 \001(\005\0220\n\tdimension\030\003 \001(\0132\035.stream.Machi" "neType.Dimension\"c\n\rJobDimensions\022\014\n\004xmi" "n\030\001 \001(\002\022\014\n\004ymin\030\002 \001(\002\022\014\n\004zmin\030\003 \001(\002\022\014\n\004x" "max\030\004 \001(\002\022\014\n\004ymax\030\005 \001(\002\022\014\n\004zmax\030\006 \001(\002\"\304\003" "\n\013PartPosBean\022\r\n\005jobId\030\001 \001(\014\022\016\n\006partId\030\002" " \001(\005\022\017\n\007xOffset\030\003 \001(\002\022\017\n\007yOffset\030\004 \001(\002\022\023" "\n\013rotateAngle\030\005 \001(\002\022\017\n\007radians\030\006 \001(\002\022\026\n\016" "srcPartCenterX\030\007 \001(\002\022\026\n\016srcPartCenterY\030\010" " \001(\002\022\023\n\013partCenterX\030\t \001(\002\022\023\n\013partCenterY" "\030\n \001(\002\022\032\n\022selectDataPoint1_1\030\013 \001(\002\022\032\n\022se" "lectDataPoint1_2\030\014 \001(\002\022\032\n\022selectDataPoin" "t2_1\030\r \001(\002\022\032\n\022selectDataPoint2_2\030\016 \001(\002\022\033" "\n\023selectImagePoint1_1\030\017 \001(\002\022\033\n\023selectIma" "gePoint1_2\030\020 \001(\002\022\033\n\023selectImagePoint2_1\030" "\021 \001(\002\022\033\n\023selectImagePoint2_2\030\022 \001(\002\022\020\n\010is" "Select\030\023 \001(\010\"\364\001\n\014ParameterSet\022\022\n\nscan_fi" "eld\030\001 \001(\005\022\n\n\002id\030\002 \001(\005\022\014\n\004name\030\003 \001(\014\022\020\n\010s" "et_type\030\004 \001(\014\022\023\n\013laser_speed\030\005 \001(\002\0220\n\tla" "ser_set\030\006 \001(\0132\035.stream.ParameterSet.Lase" "rSet\032]\n\010LaserSet\022\n\n\002id\030\001 \001(\005\022\026\n\016laser_di" "ameter\030\002 \001(\002\022\023\n\013laser_power\030\003 \001(\002\022\030\n\020las" "er_real_power\030\004 \001(\002\"/\n\005Parts\022\030\n\002ps\030\001 \003(\013" "2\014.stream.Part\022\014\n\004isOk\030\002 \001(\010\"\230\002\n\004Part\022\n\n" "\002id\030\001 \001(\005\022\020\n\010sourceId\030\002 \001(\005\022\014\n\004name\030\003 \001(" "\014\022)\n\ndimensions\030\004 \001(\0132\025.stream.JobDimens" "ions\022(\n\013partPosBean\030\005 \001(\0132\023.stream.PartP" "osBean\022\024\n\014print_enable\030\006 \001(\010\022\021\n\tparam_po" "s\030\007 \001(\004\022&\n\010paramSet\030\010 \003(\0132\024.stream.Param" "eterSet\022\016\n\006isCopy\030\t \001(\010\022.\n\017layerDimensio" "ns\030\n \001(\0132\025.stream.JobDimensions\"\033\n\013RegRe" "sponce\022\014\n\004data\030\001 \001(\005\"D\n\017ImgInfoResponce\022" "\022\n\nlevelImage\030\001 \001(\r\022\r\n\005width\030\002 \001(\005\022\016\n\006he" "ight\030\003 \001(\005\"\320\001\n\013ComResponce\022\014\n\004data\030\001 \001(\014" "\022\021\n\tdirectory\030\002 \001(\014\0224\n\010fileInfo\030\003 \003(\0132\"." "stream.ComResponce.FileInfoStruct\022\013\n\003res" "\030\004 \001(\010\022\014\n\004isOk\030\005 \001(\010\032O\n\016FileInfoStruct\022\014" "\n\004type\030\001 \001(\014\022\020\n\010filePath\030\002 \001(\014\022\020\n\010fileNa" "me\030\003 \001(\014\022\013\n\003ext\030\004 \001(\014\"8\n\006Layers\022 \n\005layer" "\030\001 \003(\0132\021.stream.LayerInfo\022\014\n\004isOk\030\002 \001(\010\"" "e\n\tLayerInfo\022\r\n\005index\030\001 \001(\005\022\016\n\006powder\030\002 " "\001(\r\022\027\n\017layer_thickness\030\003 \001(\r\022\022\n\nscan_tim" "es\030\004 \001(\005\022\014\n\004isOk\030\005 \001(\010\"D\n\022ScannerCrtlCfg" "Resp\022.\n\nscannerCfg\030\001 \003(\0132\032.stream.Scanne" "rCrtlCfgData\"\210\005\n\022ScannerCrtlCfgData\022\r\n\005s" "eqNo\030\001 \001(\005\022*\n\014fixPointData\030\002 \003(\0132\024.strea" "m.FixPointData\022*\n\014scanParamCfg\030\003 \001(\0132\024.s" "tream.ScanParamCfg\022,\n\016hatchingParams\030\004 \001" "(\0132\024.stream.ScanParamCfg\022*\n\014borderParams" "\030\005 \001(\0132\024.stream.ScanParamCfg\022+\n\rsupportP" "arams\030\006 \001(\0132\024.stream.ScanParamCfg\0220\n\017cor" "rectParamCfg\030\007 \001(\0132\027.stream.CorrectParam" "Cfg\022(\n\013scanTestCfg\030\010 \001(\0132\023.stream.ScanTe" "stCfg\022,\n\rskyWritingCfg\030\t \001(\0132\025.stream.Sk" "yWritingCfg\0220\n\017powerCompensate\030\n \003(\0132\027.s" "tream.PowerCompensate\0225\n\020tPowerCompensat" "e\030\013 \003(\0132\033.stream.TimePowerCompensate\022\021\n\t" "controlNo\030\014 \001(\005\022\020\n\010serialNo\030\r \001(\005\022\023\n\013con" "trolType\030\016 \001(\005\022\020\n\010cardName\030\017 \001(\014\022\016\n\006card" "IP\030\020 \001(\014\022\020\n\010isEnable\030\021 \001(\010\022\021\n\thadAssign\030" "\022 \001(\010\022\020\n\010hadMatch\030\023 \001(\010\"Y\n\014FixPointData\022" "\n\n\002id\030\001 \001(\005\022\013\n\003cno\030\002 \001(\005\022\016\n\006pointX\030\003 \001(\002" "\022\016\n\006pointY\030\004 \001(\002\022\020\n\010duration\030\005 \001(\r\"\275\005\n\014S" "canParamCfg\022\021\n\tedgeLevel\030\001 \001(\005\022\024\n\014edgeLe" "velMin\030\002 \001(\005\022\024\n\014edgeLevelMax\030\003 \001(\005\022\021\n\tju" "mpDelay\030\004 \001(\r\022\024\n\014jumpDelayMin\030\005 \001(\r\022\024\n\014j" "umpDelayMax\030\006 \001(\r\022\021\n\tscanDelay\030\007 \001(\r\022\024\n\014" "scanDelayMin\030\010 \001(\r\022\024\n\014scanDelayMax\030\t \001(\r" "\022\024\n\014polygonDelay\030\n \001(\r\022\027\n\017polygonDelayMi" "n\030\013 \001(\r\022\027\n\017polygonDelayMax\030\014 \001(\r\022\025\n\rlase" "roffDelay\030\r \001(\003\022\030\n\020laseroffDelayMin\030\016 \001(" "\003\022\030\n\020laseroffDelayMax\030\017 \001(\003\022\024\n\014laseronDe" "lay\030\020 \001(\003\022\027\n\017laseronDelayMin\030\021 \001(\003\022\027\n\017la" "seronDelayMax\030\022 \001(\003\022\024\n\014minJumpDelay\030\023 \001(" "\r\022\027\n\017minJumpDelayMin\030\024 \001(\r\022\027\n\017minJumpDel" "ayMax\030\025 \001(\r\022\027\n\017jumpLengthLimit\030\026 \001(\r\022\032\n\022" "jumpLengthLimitMin\030\027 \001(\r\022\032\n\022jumpLengthLi" "mitMax\030\030 \001(\r\022\021\n\tjumpSpeed\030\031 \001(\001\022\024\n\014jumpS" "peedMin\030\032 \001(\001\022\024\n\014jumpSpeedMax\030\033 \001(\001\022\021\n\tm" "arkSpeed\030\034 \001(\001\022\024\n\014markSpeedMin\030\035 \001(\001\022\024\n\014" "markSpeedMax\030\036 \001(\001\"\256\004\n\017CorrectParamCfg\022\023" "\n\013xmeasureMin\030\001 \001(\001\022\023\n\013xmeasureMax\030\002 \001(\001" "\022\023\n\013ymeasureMin\030\003 \001(\001\022\023\n\013ymeasureMax\030\004 \001" "(\001\022\017\n\007xposfix\030\005 \001(\001\022\017\n\007yposfix\030\006 \001(\001\022\021\n\t" "scanAngle\030\007 \001(\001\022\024\n\014scanAngleMin\030\010 \001(\001\022\024\n" "\014scanAngleMax\030\t \001(\001\022\020\n\010fixAngle\030\n \001(\001\022\023\n" "\013fixAngleMin\030\013 \001(\001\022\023\n\013fixAngleMax\030\014 \001(\001\022" "\020\n\010xcorrect\030\r \001(\001\022\020\n\010ycorrect\030\016 \001(\001\022\023\n\013x" "correctMin\030\017 \001(\001\022\023\n\013xcorrectMax\030\020 \001(\001\022\023\n" "\013ycorrectMin\030\021 \001(\001\022\023\n\013ycorrectMax\030\022 \001(\001\022" "\023\n\013realXOffset\030\023 \001(\001\022\023\n\013realYOffset\030\024 \001(" "\001\022\017\n\007factorK\030\025 \001(\001\022\027\n\017isCorrectFile3D\030\026 " "\001(\010\022\026\n\016isDynamicFocus\030\027 \001(\010\022\024\n\014defocusRa" "tio\030\030 \001(\001\022\027\n\017defocusRatioMin\030\031 \001(\001\022\027\n\017de" "focusRatioMax\030\032 \001(\001\"\226\004\n\013ScanTestCfg\022\022\n\nd" "ebugShape\030\001 \001(\005\022\021\n\tshapeSize\030\002 \001(\005\022\024\n\014sh" "apeSizeMin\030\003 \001(\005\022\026\n\016shape_size_max\030\004 \001(\005" "\022\023\n\013laser_power\030\005 \001(\005\022\027\n\017laser_power_min" "\030\006 \001(\005\022\027\n\017laser_power_max\030\007 \001(\005\022\017\n\007defoc" "us\030\010 \001(\001\022\023\n\013defocus_min\030\t \001(\001\022\023\n\013defocus" "_max\030\n \001(\001\022\020\n\010is_cycle\030\013 \001(\010\022\017\n\007cross_x\030" "\014 \001(\001\022\017\n\007cross_y\030\r \001(\001\022\022\n\nz_distance\030\016 \001" "(\001\022\034\n\024isAutoHeatingScanner\030\017 \001(\010\022!\n\031auto" "HeatingScannerMinutes\030\020 \001(\r\022\036\n\026autoHeati" "ngScannerSize\030\021 \001(\r\022\037\n\027autoHeatingScanne" "rSpeed\030\022 \001(\001\022\031\n\021mark_test_start_x\030\023 \001(\001\022" "\031\n\021mark_test_start_y\030\024 \001(\001\022\027\n\017mark_test_" "end_x\030\025 \001(\001\022\027\n\017mark_test_end_y\030\026 \001(\001\"\314\002\n" "\rSkyWritingCfg\022\020\n\010isEnable\030\001 \001(\010\022\017\n\007time" "lag\030\002 \001(\001\022\022\n\ntimelagMin\030\003 \001(\001\022\022\n\ntimelag" "Max\030\004 \001(\001\022\024\n\014laserOnShift\030\005 \001(\003\022\027\n\017laser" "OnShiftMin\030\006 \001(\003\022\027\n\017laserOnShiftMax\030\007 \001(" "\003\022\r\n\005nprev\030\010 \001(\r\022\020\n\010nprevMin\030\t \001(\r\022\020\n\010np" "revMax\030\n \001(\r\022\r\n\005npost\030\013 \001(\r\022\020\n\010npostMin\030" "\014 \001(\r\022\020\n\010npostMax\030\r \001(\r\022\014\n\004mode\030\016 \001(\005\022\016\n" "\006limite\030\017 \001(\001\022\021\n\tlimiteMin\030\020 \001(\001\022\021\n\tlimi" "teMax\030\021 \001(\001\"d\n\017PowerCompensate\022\013\n\003cno\030\001 " "\001(\005\022\017\n\007percent\030\002 \001(\005\022\r\n\005value\030\003 \001(\002\022\021\n\tv" "alue_min\030\004 \001(\002\022\021\n\tvalue_max\030\005 \001(\002\"j\n\023Tim" "ePowerCompensate\022\n\n\002id\030\001 \001(\005\022\013\n\003cno\030\002 \001(" "\005\022\023\n\013startMinute\030\003 \001(\r\022\021\n\tendMinute\030\004 \001(" "\r\022\022\n\ncompensate\030\005 \001(\002*\223\001\n\004TYPE\022\t\n\005iBOOL\020" "\000\022\n\n\006iSHORT\020\001\022\013\n\007iUSHORT\020\002\022\010\n\004iINT\020\003\022\t\n\005" "iUINT\020\004\022\n\n\006iFLOAT\020\005\022\013\n\007iSTRING\020\006\022\t\n\005iCHA" "R\020\007\022\n\n\006iUCHAR\020\010\022\t\n\005iWORD\020\t\022\013\n\007iDOUBLE\020\n\022" "\n\n\006iTIMET\020\013**\n\nDATAHANDLE\022\n\n\006UPDATE\020\000\022\007\n" "\003ADD\020\001\022\007\n\003DEL\020\0022\372\001\n\006Stream\0224\n\006Simple\022\023.s" "tream.RequestInfo\032\023.stream.ResponseAny\"\000" "\022=\n\014ServerStream\022\023.stream.RequestInfo\032\024." "stream.ResponseInfo\"\0000\001\022=\n\014ClientStream\022" "\023.stream.RequestInfo\032\024.stream.ResponseIn" "fo\"\000(\001\022<\n\tAllStream\022\023.stream.RequestInfo" "\032\024.stream.ResponseInfo\"\000(\0010\001B-\n\027io.grpc." "examples.streamB\013StreamProtoP\001\242\002\002STb\006pro" "to3" }; static const ::_pbi::DescriptorTable* const descriptor_table_stream_2eproto_deps[1] = { &::descriptor_table_google_2fprotobuf_2fany_2eproto, }; static ::absl::once_flag descriptor_table_stream_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_stream_2eproto = { false, false, 6683, descriptor_table_protodef_stream_2eproto, "stream.proto", &descriptor_table_stream_2eproto_once, descriptor_table_stream_2eproto_deps, 1, 34, schemas, file_default_instances, TableStruct_stream_2eproto::offsets, file_level_metadata_stream_2eproto, file_level_enum_descriptors_stream_2eproto, file_level_service_descriptors_stream_2eproto, }; // This function exists to be marked as weak. // It can significantly speed up compilation by breaking up LLVM's SCC // in the .pb.cc translation units. Large translation units see a // reduction of more than 35% of walltime for optimized builds. Without // the weak attribute all the messages in the file, including all the // vtables and everything they use become part of the same SCC through // a cycle like: // GetMetadata -> descriptor table -> default instances -> // vtables -> GetMetadata // By adding a weak function here we break the connection from the // individual vtables back into the descriptor table. PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_stream_2eproto_getter() { return &descriptor_table_stream_2eproto; } // Force running AddDescriptors() at dynamic initialization time. PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_stream_2eproto(&descriptor_table_stream_2eproto); namespace stream { const ::google::protobuf::EnumDescriptor* TYPE_descriptor() { ::google::protobuf::internal::AssignDescriptors(&descriptor_table_stream_2eproto); return file_level_enum_descriptors_stream_2eproto[0]; } bool TYPE_IsValid(int value) { switch (value) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8: case 9: case 10: case 11: return true; default: return false; } } const ::google::protobuf::EnumDescriptor* DATAHANDLE_descriptor() { ::google::protobuf::internal::AssignDescriptors(&descriptor_table_stream_2eproto); return file_level_enum_descriptors_stream_2eproto[1]; } bool DATAHANDLE_IsValid(int value) { switch (value) { case 0: case 1: case 2: return true; default: return false; } } // =================================================================== class ParamInfo::_Internal { public: }; ParamInfo::ParamInfo(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.ParamInfo) } ParamInfo::ParamInfo(const ParamInfo& from) : ::google::protobuf::Message() { ParamInfo* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.namekey_){}, decltype(_impl_.strvalue_){}, decltype(_impl_.context_){}, decltype(_impl_.valuetype_){}, decltype(_impl_.isenable_){}, decltype(_impl_.isalarm_){}, decltype(_impl_.isshow_){}, decltype(_impl_.startlayer_){}, decltype(_impl_.endlayer_){}, decltype(_impl_.powder_){}, /*decltype(_impl_._cached_size_)*/ {}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); _impl_.namekey_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.namekey_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_namekey().empty()) { _this->_impl_.namekey_.Set(from._internal_namekey(), _this->GetArenaForAllocation()); } _impl_.strvalue_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.strvalue_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_strvalue().empty()) { _this->_impl_.strvalue_.Set(from._internal_strvalue(), _this->GetArenaForAllocation()); } _impl_.context_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.context_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_context().empty()) { _this->_impl_.context_.Set(from._internal_context(), _this->GetArenaForAllocation()); } ::memcpy(&_impl_.valuetype_, &from._impl_.valuetype_, static_cast<::size_t>(reinterpret_cast(&_impl_.powder_) - reinterpret_cast(&_impl_.valuetype_)) + sizeof(_impl_.powder_)); // @@protoc_insertion_point(copy_constructor:stream.ParamInfo) } inline void ParamInfo::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.namekey_){}, decltype(_impl_.strvalue_){}, decltype(_impl_.context_){}, decltype(_impl_.valuetype_){0}, decltype(_impl_.isenable_){false}, decltype(_impl_.isalarm_){false}, decltype(_impl_.isshow_){false}, decltype(_impl_.startlayer_){0}, decltype(_impl_.endlayer_){0}, decltype(_impl_.powder_){0}, /*decltype(_impl_._cached_size_)*/ {}, }; _impl_.namekey_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.namekey_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.strvalue_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.strvalue_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.context_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.context_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } ParamInfo::~ParamInfo() { // @@protoc_insertion_point(destructor:stream.ParamInfo) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void ParamInfo::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.namekey_.Destroy(); _impl_.strvalue_.Destroy(); _impl_.context_.Destroy(); } void ParamInfo::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void ParamInfo::Clear() { // @@protoc_insertion_point(message_clear_start:stream.ParamInfo) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.namekey_.ClearToEmpty(); _impl_.strvalue_.ClearToEmpty(); _impl_.context_.ClearToEmpty(); ::memset(&_impl_.valuetype_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.powder_) - reinterpret_cast(&_impl_.valuetype_)) + sizeof(_impl_.powder_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* ParamInfo::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<4, 10, 0, 0, 2> ParamInfo::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 10, 120, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294966272, // skipmap offsetof(decltype(_table_), field_entries), 10, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_ParamInfo_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // bytes nameKey = 1; {::_pbi::TcParser::FastBS1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.namekey_)}}, // bytes strValue = 2; {::_pbi::TcParser::FastBS1, {18, 63, 0, PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.strvalue_)}}, // .stream.TYPE valueType = 3; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ParamInfo, _impl_.valuetype_), 63>(), {24, 63, 0, PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.valuetype_)}}, // bytes context = 4; {::_pbi::TcParser::FastBS1, {34, 63, 0, PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.context_)}}, // bool isEnable = 5; {::_pbi::TcParser::SingularVarintNoZag1(), {40, 63, 0, PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.isenable_)}}, // bool isAlarm = 6; {::_pbi::TcParser::SingularVarintNoZag1(), {48, 63, 0, PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.isalarm_)}}, // bool isShow = 7; {::_pbi::TcParser::SingularVarintNoZag1(), {56, 63, 0, PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.isshow_)}}, // int32 startLayer = 8; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ParamInfo, _impl_.startlayer_), 63>(), {64, 63, 0, PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.startlayer_)}}, // int32 endLayer = 9; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ParamInfo, _impl_.endlayer_), 63>(), {72, 63, 0, PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.endlayer_)}}, // float powder = 10; {::_pbi::TcParser::FastF32S1, {85, 63, 0, PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.powder_)}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // bytes nameKey = 1; {PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.namekey_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, // bytes strValue = 2; {PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.strvalue_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, // .stream.TYPE valueType = 3; {PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.valuetype_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, // bytes context = 4; {PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.context_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, // bool isEnable = 5; {PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.isenable_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // bool isAlarm = 6; {PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.isalarm_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // bool isShow = 7; {PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.isshow_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // int32 startLayer = 8; {PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.startlayer_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 endLayer = 9; {PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.endlayer_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // float powder = 10; {PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.powder_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, }}, // no aux_entries {{ }}, }; ::uint8_t* ParamInfo::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.ParamInfo) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // bytes nameKey = 1; if (!this->_internal_namekey().empty()) { const std::string& _s = this->_internal_namekey(); target = stream->WriteBytesMaybeAliased(1, _s, target); } // bytes strValue = 2; if (!this->_internal_strvalue().empty()) { const std::string& _s = this->_internal_strvalue(); target = stream->WriteBytesMaybeAliased(2, _s, target); } // .stream.TYPE valueType = 3; if (this->_internal_valuetype() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteEnumToArray( 3, this->_internal_valuetype(), target); } // bytes context = 4; if (!this->_internal_context().empty()) { const std::string& _s = this->_internal_context(); target = stream->WriteBytesMaybeAliased(4, _s, target); } // bool isEnable = 5; if (this->_internal_isenable() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 5, this->_internal_isenable(), target); } // bool isAlarm = 6; if (this->_internal_isalarm() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 6, this->_internal_isalarm(), target); } // bool isShow = 7; if (this->_internal_isshow() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 7, this->_internal_isshow(), target); } // int32 startLayer = 8; if (this->_internal_startlayer() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<8>( stream, this->_internal_startlayer(), target); } // int32 endLayer = 9; if (this->_internal_endlayer() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<9>( stream, this->_internal_endlayer(), target); } // float powder = 10; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_powder = this->_internal_powder(); ::uint32_t raw_powder; memcpy(&raw_powder, &tmp_powder, sizeof(tmp_powder)); if (raw_powder != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 10, this->_internal_powder(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.ParamInfo) return target; } ::size_t ParamInfo::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.ParamInfo) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // bytes nameKey = 1; if (!this->_internal_namekey().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_namekey()); } // bytes strValue = 2; if (!this->_internal_strvalue().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_strvalue()); } // bytes context = 4; if (!this->_internal_context().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_context()); } // .stream.TYPE valueType = 3; if (this->_internal_valuetype() != 0) { total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this->_internal_valuetype()); } // bool isEnable = 5; if (this->_internal_isenable() != 0) { total_size += 2; } // bool isAlarm = 6; if (this->_internal_isalarm() != 0) { total_size += 2; } // bool isShow = 7; if (this->_internal_isshow() != 0) { total_size += 2; } // int32 startLayer = 8; if (this->_internal_startlayer() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_startlayer()); } // int32 endLayer = 9; if (this->_internal_endlayer() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_endlayer()); } // float powder = 10; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_powder = this->_internal_powder(); ::uint32_t raw_powder; memcpy(&raw_powder, &tmp_powder, sizeof(tmp_powder)); if (raw_powder != 0) { total_size += 5; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData ParamInfo::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, ParamInfo::MergeImpl }; const ::google::protobuf::Message::ClassData*ParamInfo::GetClassData() const { return &_class_data_; } void ParamInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.ParamInfo) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (!from._internal_namekey().empty()) { _this->_internal_set_namekey(from._internal_namekey()); } if (!from._internal_strvalue().empty()) { _this->_internal_set_strvalue(from._internal_strvalue()); } if (!from._internal_context().empty()) { _this->_internal_set_context(from._internal_context()); } if (from._internal_valuetype() != 0) { _this->_internal_set_valuetype(from._internal_valuetype()); } if (from._internal_isenable() != 0) { _this->_internal_set_isenable(from._internal_isenable()); } if (from._internal_isalarm() != 0) { _this->_internal_set_isalarm(from._internal_isalarm()); } if (from._internal_isshow() != 0) { _this->_internal_set_isshow(from._internal_isshow()); } if (from._internal_startlayer() != 0) { _this->_internal_set_startlayer(from._internal_startlayer()); } if (from._internal_endlayer() != 0) { _this->_internal_set_endlayer(from._internal_endlayer()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_powder = from._internal_powder(); ::uint32_t raw_powder; memcpy(&raw_powder, &tmp_powder, sizeof(tmp_powder)); if (raw_powder != 0) { _this->_internal_set_powder(from._internal_powder()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void ParamInfo::CopyFrom(const ParamInfo& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.ParamInfo) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool ParamInfo::IsInitialized() const { return true; } void ParamInfo::InternalSwap(ParamInfo* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.namekey_, lhs_arena, &other->_impl_.namekey_, rhs_arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.strvalue_, lhs_arena, &other->_impl_.strvalue_, rhs_arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.context_, lhs_arena, &other->_impl_.context_, rhs_arena); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.powder_) + sizeof(ParamInfo::_impl_.powder_) - PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.valuetype_)>( reinterpret_cast(&_impl_.valuetype_), reinterpret_cast(&other->_impl_.valuetype_)); } ::google::protobuf::Metadata ParamInfo::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[0]); } // =================================================================== class RequestInfo::_Internal { public: }; RequestInfo::RequestInfo(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.RequestInfo) } RequestInfo::RequestInfo(const RequestInfo& from) : ::google::protobuf::Message() { RequestInfo* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.item_){from._impl_.item_}, decltype(_impl_.namekey_){}, decltype(_impl_.strvalue_){}, decltype(_impl_.datatype_){}, decltype(_impl_.valuetype_){}, decltype(_impl_.handletype_){}, /*decltype(_impl_._cached_size_)*/ {}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); _impl_.namekey_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.namekey_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_namekey().empty()) { _this->_impl_.namekey_.Set(from._internal_namekey(), _this->GetArenaForAllocation()); } _impl_.strvalue_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.strvalue_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_strvalue().empty()) { _this->_impl_.strvalue_.Set(from._internal_strvalue(), _this->GetArenaForAllocation()); } ::memcpy(&_impl_.datatype_, &from._impl_.datatype_, static_cast<::size_t>(reinterpret_cast(&_impl_.handletype_) - reinterpret_cast(&_impl_.datatype_)) + sizeof(_impl_.handletype_)); // @@protoc_insertion_point(copy_constructor:stream.RequestInfo) } inline void RequestInfo::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.item_){arena}, decltype(_impl_.namekey_){}, decltype(_impl_.strvalue_){}, decltype(_impl_.datatype_){0u}, decltype(_impl_.valuetype_){0}, decltype(_impl_.handletype_){0}, /*decltype(_impl_._cached_size_)*/ {}, }; _impl_.namekey_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.namekey_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.strvalue_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.strvalue_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } RequestInfo::~RequestInfo() { // @@protoc_insertion_point(destructor:stream.RequestInfo) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void RequestInfo::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.item_.~RepeatedPtrField(); _impl_.namekey_.Destroy(); _impl_.strvalue_.Destroy(); } void RequestInfo::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void RequestInfo::Clear() { // @@protoc_insertion_point(message_clear_start:stream.RequestInfo) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _internal_mutable_item()->Clear(); _impl_.namekey_.ClearToEmpty(); _impl_.strvalue_.ClearToEmpty(); ::memset(&_impl_.datatype_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.handletype_) - reinterpret_cast(&_impl_.datatype_)) + sizeof(_impl_.handletype_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* RequestInfo::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 6, 1, 0, 2> RequestInfo::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 6, 56, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967232, // skipmap offsetof(decltype(_table_), field_entries), 6, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), &_RequestInfo_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // uint32 dataType = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RequestInfo, _impl_.datatype_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(RequestInfo, _impl_.datatype_)}}, // bytes nameKey = 2; {::_pbi::TcParser::FastBS1, {18, 63, 0, PROTOBUF_FIELD_OFFSET(RequestInfo, _impl_.namekey_)}}, // bytes strValue = 3; {::_pbi::TcParser::FastBS1, {26, 63, 0, PROTOBUF_FIELD_OFFSET(RequestInfo, _impl_.strvalue_)}}, // .stream.TYPE valueType = 4; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RequestInfo, _impl_.valuetype_), 63>(), {32, 63, 0, PROTOBUF_FIELD_OFFSET(RequestInfo, _impl_.valuetype_)}}, // .stream.DATAHANDLE handleType = 5; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RequestInfo, _impl_.handletype_), 63>(), {40, 63, 0, PROTOBUF_FIELD_OFFSET(RequestInfo, _impl_.handletype_)}}, // repeated .stream.ParamInfo item = 6; {::_pbi::TcParser::FastMtR1, {50, 63, 0, PROTOBUF_FIELD_OFFSET(RequestInfo, _impl_.item_)}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // uint32 dataType = 1; {PROTOBUF_FIELD_OFFSET(RequestInfo, _impl_.datatype_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // bytes nameKey = 2; {PROTOBUF_FIELD_OFFSET(RequestInfo, _impl_.namekey_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, // bytes strValue = 3; {PROTOBUF_FIELD_OFFSET(RequestInfo, _impl_.strvalue_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, // .stream.TYPE valueType = 4; {PROTOBUF_FIELD_OFFSET(RequestInfo, _impl_.valuetype_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, // .stream.DATAHANDLE handleType = 5; {PROTOBUF_FIELD_OFFSET(RequestInfo, _impl_.handletype_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, // repeated .stream.ParamInfo item = 6; {PROTOBUF_FIELD_OFFSET(RequestInfo, _impl_.item_), 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, }}, {{ {::_pbi::TcParser::GetTable<::stream::ParamInfo>()}, }}, {{ }}, }; ::uint8_t* RequestInfo::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.RequestInfo) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // uint32 dataType = 1; if (this->_internal_datatype() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 1, this->_internal_datatype(), target); } // bytes nameKey = 2; if (!this->_internal_namekey().empty()) { const std::string& _s = this->_internal_namekey(); target = stream->WriteBytesMaybeAliased(2, _s, target); } // bytes strValue = 3; if (!this->_internal_strvalue().empty()) { const std::string& _s = this->_internal_strvalue(); target = stream->WriteBytesMaybeAliased(3, _s, target); } // .stream.TYPE valueType = 4; if (this->_internal_valuetype() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteEnumToArray( 4, this->_internal_valuetype(), target); } // .stream.DATAHANDLE handleType = 5; if (this->_internal_handletype() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteEnumToArray( 5, this->_internal_handletype(), target); } // repeated .stream.ParamInfo item = 6; for (unsigned i = 0, n = static_cast(this->_internal_item_size()); i < n; i++) { const auto& repfield = this->_internal_item().Get(i); target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.RequestInfo) return target; } ::size_t RequestInfo::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.RequestInfo) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // repeated .stream.ParamInfo item = 6; total_size += 1UL * this->_internal_item_size(); for (const auto& msg : this->_internal_item()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } // bytes nameKey = 2; if (!this->_internal_namekey().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_namekey()); } // bytes strValue = 3; if (!this->_internal_strvalue().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_strvalue()); } // uint32 dataType = 1; if (this->_internal_datatype() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_datatype()); } // .stream.TYPE valueType = 4; if (this->_internal_valuetype() != 0) { total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this->_internal_valuetype()); } // .stream.DATAHANDLE handleType = 5; if (this->_internal_handletype() != 0) { total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this->_internal_handletype()); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData RequestInfo::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, RequestInfo::MergeImpl }; const ::google::protobuf::Message::ClassData*RequestInfo::GetClassData() const { return &_class_data_; } void RequestInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.RequestInfo) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; _this->_internal_mutable_item()->MergeFrom(from._internal_item()); if (!from._internal_namekey().empty()) { _this->_internal_set_namekey(from._internal_namekey()); } if (!from._internal_strvalue().empty()) { _this->_internal_set_strvalue(from._internal_strvalue()); } if (from._internal_datatype() != 0) { _this->_internal_set_datatype(from._internal_datatype()); } if (from._internal_valuetype() != 0) { _this->_internal_set_valuetype(from._internal_valuetype()); } if (from._internal_handletype() != 0) { _this->_internal_set_handletype(from._internal_handletype()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void RequestInfo::CopyFrom(const RequestInfo& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.RequestInfo) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool RequestInfo::IsInitialized() const { return true; } void RequestInfo::InternalSwap(RequestInfo* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.item_.InternalSwap(&other->_impl_.item_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.namekey_, lhs_arena, &other->_impl_.namekey_, rhs_arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.strvalue_, lhs_arena, &other->_impl_.strvalue_, rhs_arena); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(RequestInfo, _impl_.handletype_) + sizeof(RequestInfo::_impl_.handletype_) - PROTOBUF_FIELD_OFFSET(RequestInfo, _impl_.datatype_)>( reinterpret_cast(&_impl_.datatype_), reinterpret_cast(&other->_impl_.datatype_)); } ::google::protobuf::Metadata RequestInfo::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[1]); } // =================================================================== class ResponseInfo::_Internal { public: }; ResponseInfo::ResponseInfo(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.ResponseInfo) } ResponseInfo::ResponseInfo(const ResponseInfo& from) : ::google::protobuf::Message() { ResponseInfo* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.item_){from._impl_.item_}, decltype(_impl_.datatype_){}, decltype(_impl_.result_){}, /*decltype(_impl_._cached_size_)*/ {}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); ::memcpy(&_impl_.datatype_, &from._impl_.datatype_, static_cast<::size_t>(reinterpret_cast(&_impl_.result_) - reinterpret_cast(&_impl_.datatype_)) + sizeof(_impl_.result_)); // @@protoc_insertion_point(copy_constructor:stream.ResponseInfo) } inline void ResponseInfo::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.item_){arena}, decltype(_impl_.datatype_){0u}, decltype(_impl_.result_){false}, /*decltype(_impl_._cached_size_)*/ {}, }; } ResponseInfo::~ResponseInfo() { // @@protoc_insertion_point(destructor:stream.ResponseInfo) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void ResponseInfo::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.item_.~RepeatedPtrField(); } void ResponseInfo::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void ResponseInfo::Clear() { // @@protoc_insertion_point(message_clear_start:stream.ResponseInfo) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _internal_mutable_item()->Clear(); ::memset(&_impl_.datatype_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.result_) - reinterpret_cast(&_impl_.datatype_)) + sizeof(_impl_.result_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* ResponseInfo::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 3, 1, 0, 2> ResponseInfo::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 3, 24, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967288, // skipmap offsetof(decltype(_table_), field_entries), 3, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), &_ResponseInfo_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // uint32 dataType = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ResponseInfo, _impl_.datatype_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(ResponseInfo, _impl_.datatype_)}}, // bool result = 2; {::_pbi::TcParser::SingularVarintNoZag1(), {16, 63, 0, PROTOBUF_FIELD_OFFSET(ResponseInfo, _impl_.result_)}}, // repeated .stream.ParamInfo item = 3; {::_pbi::TcParser::FastMtR1, {26, 63, 0, PROTOBUF_FIELD_OFFSET(ResponseInfo, _impl_.item_)}}, }}, {{ 65535, 65535 }}, {{ // uint32 dataType = 1; {PROTOBUF_FIELD_OFFSET(ResponseInfo, _impl_.datatype_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // bool result = 2; {PROTOBUF_FIELD_OFFSET(ResponseInfo, _impl_.result_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // repeated .stream.ParamInfo item = 3; {PROTOBUF_FIELD_OFFSET(ResponseInfo, _impl_.item_), 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, }}, {{ {::_pbi::TcParser::GetTable<::stream::ParamInfo>()}, }}, {{ }}, }; ::uint8_t* ResponseInfo::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.ResponseInfo) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // uint32 dataType = 1; if (this->_internal_datatype() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 1, this->_internal_datatype(), target); } // bool result = 2; if (this->_internal_result() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 2, this->_internal_result(), target); } // repeated .stream.ParamInfo item = 3; for (unsigned i = 0, n = static_cast(this->_internal_item_size()); i < n; i++) { const auto& repfield = this->_internal_item().Get(i); target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.ResponseInfo) return target; } ::size_t ResponseInfo::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.ResponseInfo) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // repeated .stream.ParamInfo item = 3; total_size += 1UL * this->_internal_item_size(); for (const auto& msg : this->_internal_item()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } // uint32 dataType = 1; if (this->_internal_datatype() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_datatype()); } // bool result = 2; if (this->_internal_result() != 0) { total_size += 2; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData ResponseInfo::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, ResponseInfo::MergeImpl }; const ::google::protobuf::Message::ClassData*ResponseInfo::GetClassData() const { return &_class_data_; } void ResponseInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.ResponseInfo) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; _this->_internal_mutable_item()->MergeFrom(from._internal_item()); if (from._internal_datatype() != 0) { _this->_internal_set_datatype(from._internal_datatype()); } if (from._internal_result() != 0) { _this->_internal_set_result(from._internal_result()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void ResponseInfo::CopyFrom(const ResponseInfo& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.ResponseInfo) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool ResponseInfo::IsInitialized() const { return true; } void ResponseInfo::InternalSwap(ResponseInfo* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.item_.InternalSwap(&other->_impl_.item_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(ResponseInfo, _impl_.result_) + sizeof(ResponseInfo::_impl_.result_) - PROTOBUF_FIELD_OFFSET(ResponseInfo, _impl_.datatype_)>( reinterpret_cast(&_impl_.datatype_), reinterpret_cast(&other->_impl_.datatype_)); } ::google::protobuf::Metadata ResponseInfo::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[2]); } // =================================================================== class ResponseAny::_Internal { public: using HasBits = decltype(std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(ResponseAny, _impl_._has_bits_); static const ::google::protobuf::Any& data(const ResponseAny* msg); static void set_has_data(HasBits* has_bits) { (*has_bits)[0] |= 1u; } }; const ::google::protobuf::Any& ResponseAny::_Internal::data(const ResponseAny* msg) { return *msg->_impl_.data_; } void ResponseAny::clear_data() { if (_impl_.data_ != nullptr) _impl_.data_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } ResponseAny::ResponseAny(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.ResponseAny) } ResponseAny::ResponseAny(const ResponseAny& from) : ::google::protobuf::Message() { ResponseAny* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_._has_bits_){from._impl_._has_bits_}, /*decltype(_impl_._cached_size_)*/ {}, decltype(_impl_.data_){nullptr}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { _this->_impl_.data_ = new ::google::protobuf::Any(*from._impl_.data_); } // @@protoc_insertion_point(copy_constructor:stream.ResponseAny) } inline void ResponseAny::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_._has_bits_){}, /*decltype(_impl_._cached_size_)*/ {}, decltype(_impl_.data_){nullptr}, }; } ResponseAny::~ResponseAny() { // @@protoc_insertion_point(destructor:stream.ResponseAny) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void ResponseAny::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete _impl_.data_; } void ResponseAny::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void ResponseAny::Clear() { // @@protoc_insertion_point(message_clear_start:stream.ResponseAny) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; if (cached_has_bits & 0x00000001u) { ABSL_DCHECK(_impl_.data_ != nullptr); _impl_.data_->Clear(); } _impl_._has_bits_.Clear(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* ResponseAny::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ResponseAny::_table_ = { { PROTOBUF_FIELD_OFFSET(ResponseAny, _impl_._has_bits_), 0, // no _extensions_ 1, 0, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967294, // skipmap offsetof(decltype(_table_), field_entries), 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), &_ResponseAny_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ // .google.protobuf.Any data = 1; {::_pbi::TcParser::FastMtS1, {10, 0, 0, PROTOBUF_FIELD_OFFSET(ResponseAny, _impl_.data_)}}, }}, {{ 65535, 65535 }}, {{ // .google.protobuf.Any data = 1; {PROTOBUF_FIELD_OFFSET(ResponseAny, _impl_.data_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, }}, {{ {::_pbi::TcParser::GetTable<::google::protobuf::Any>()}, }}, {{ }}, }; ::uint8_t* ResponseAny::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.ResponseAny) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; // .google.protobuf.Any data = 1; if (cached_has_bits & 0x00000001u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(1, _Internal::data(this), _Internal::data(this).GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.ResponseAny) return target; } ::size_t ResponseAny::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.ResponseAny) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // .google.protobuf.Any data = 1; cached_has_bits = _impl_._has_bits_[0]; if (cached_has_bits & 0x00000001u) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *_impl_.data_); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData ResponseAny::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, ResponseAny::MergeImpl }; const ::google::protobuf::Message::ClassData*ResponseAny::GetClassData() const { return &_class_data_; } void ResponseAny::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.ResponseAny) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { _this->_internal_mutable_data()->::google::protobuf::Any::MergeFrom( from._internal_data()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void ResponseAny::CopyFrom(const ResponseAny& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.ResponseAny) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool ResponseAny::IsInitialized() const { return true; } void ResponseAny::InternalSwap(ResponseAny* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); swap(_impl_.data_, other->_impl_.data_); } ::google::protobuf::Metadata ResponseAny::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[3]); } // =================================================================== class LayerData::_Internal { public: }; LayerData::LayerData(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.LayerData) } LayerData::LayerData(const LayerData& from) : ::google::protobuf::Message() { LayerData* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.layerdatablock_){from._impl_.layerdatablock_}, decltype(_impl_.zcooldinate_){}, decltype(_impl_.powder_){}, decltype(_impl_.layerthickness_){}, decltype(_impl_.result_){}, /*decltype(_impl_._cached_size_)*/ {}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); ::memcpy(&_impl_.zcooldinate_, &from._impl_.zcooldinate_, static_cast<::size_t>(reinterpret_cast(&_impl_.result_) - reinterpret_cast(&_impl_.zcooldinate_)) + sizeof(_impl_.result_)); // @@protoc_insertion_point(copy_constructor:stream.LayerData) } inline void LayerData::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.layerdatablock_){arena}, decltype(_impl_.zcooldinate_){0}, decltype(_impl_.powder_){0}, decltype(_impl_.layerthickness_){0}, decltype(_impl_.result_){false}, /*decltype(_impl_._cached_size_)*/ {}, }; } LayerData::~LayerData() { // @@protoc_insertion_point(destructor:stream.LayerData) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void LayerData::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.layerdatablock_.~RepeatedPtrField(); } void LayerData::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void LayerData::Clear() { // @@protoc_insertion_point(message_clear_start:stream.LayerData) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _internal_mutable_layerdatablock()->Clear(); ::memset(&_impl_.zcooldinate_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.result_) - reinterpret_cast(&_impl_.zcooldinate_)) + sizeof(_impl_.result_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* LayerData::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 5, 1, 0, 2> LayerData::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 5, 56, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967264, // skipmap offsetof(decltype(_table_), field_entries), 5, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), &_LayerData_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // float zCooldinate = 1; {::_pbi::TcParser::FastF32S1, {13, 63, 0, PROTOBUF_FIELD_OFFSET(LayerData, _impl_.zcooldinate_)}}, // float powder = 2; {::_pbi::TcParser::FastF32S1, {21, 63, 0, PROTOBUF_FIELD_OFFSET(LayerData, _impl_.powder_)}}, // float layerThickness = 3; {::_pbi::TcParser::FastF32S1, {29, 63, 0, PROTOBUF_FIELD_OFFSET(LayerData, _impl_.layerthickness_)}}, // repeated .stream.LayerDataBlock layerDataBlock = 4; {::_pbi::TcParser::FastMtR1, {34, 63, 0, PROTOBUF_FIELD_OFFSET(LayerData, _impl_.layerdatablock_)}}, // bool result = 5; {::_pbi::TcParser::SingularVarintNoZag1(), {40, 63, 0, PROTOBUF_FIELD_OFFSET(LayerData, _impl_.result_)}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // float zCooldinate = 1; {PROTOBUF_FIELD_OFFSET(LayerData, _impl_.zcooldinate_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float powder = 2; {PROTOBUF_FIELD_OFFSET(LayerData, _impl_.powder_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float layerThickness = 3; {PROTOBUF_FIELD_OFFSET(LayerData, _impl_.layerthickness_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // repeated .stream.LayerDataBlock layerDataBlock = 4; {PROTOBUF_FIELD_OFFSET(LayerData, _impl_.layerdatablock_), 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, // bool result = 5; {PROTOBUF_FIELD_OFFSET(LayerData, _impl_.result_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, }}, {{ {::_pbi::TcParser::GetTable<::stream::LayerDataBlock>()}, }}, {{ }}, }; ::uint8_t* LayerData::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.LayerData) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // float zCooldinate = 1; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_zcooldinate = this->_internal_zcooldinate(); ::uint32_t raw_zcooldinate; memcpy(&raw_zcooldinate, &tmp_zcooldinate, sizeof(tmp_zcooldinate)); if (raw_zcooldinate != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 1, this->_internal_zcooldinate(), target); } // float powder = 2; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_powder = this->_internal_powder(); ::uint32_t raw_powder; memcpy(&raw_powder, &tmp_powder, sizeof(tmp_powder)); if (raw_powder != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 2, this->_internal_powder(), target); } // float layerThickness = 3; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_layerthickness = this->_internal_layerthickness(); ::uint32_t raw_layerthickness; memcpy(&raw_layerthickness, &tmp_layerthickness, sizeof(tmp_layerthickness)); if (raw_layerthickness != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 3, this->_internal_layerthickness(), target); } // repeated .stream.LayerDataBlock layerDataBlock = 4; for (unsigned i = 0, n = static_cast(this->_internal_layerdatablock_size()); i < n; i++) { const auto& repfield = this->_internal_layerdatablock().Get(i); target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); } // bool result = 5; if (this->_internal_result() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 5, this->_internal_result(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.LayerData) return target; } ::size_t LayerData::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.LayerData) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // repeated .stream.LayerDataBlock layerDataBlock = 4; total_size += 1UL * this->_internal_layerdatablock_size(); for (const auto& msg : this->_internal_layerdatablock()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } // float zCooldinate = 1; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_zcooldinate = this->_internal_zcooldinate(); ::uint32_t raw_zcooldinate; memcpy(&raw_zcooldinate, &tmp_zcooldinate, sizeof(tmp_zcooldinate)); if (raw_zcooldinate != 0) { total_size += 5; } // float powder = 2; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_powder = this->_internal_powder(); ::uint32_t raw_powder; memcpy(&raw_powder, &tmp_powder, sizeof(tmp_powder)); if (raw_powder != 0) { total_size += 5; } // float layerThickness = 3; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_layerthickness = this->_internal_layerthickness(); ::uint32_t raw_layerthickness; memcpy(&raw_layerthickness, &tmp_layerthickness, sizeof(tmp_layerthickness)); if (raw_layerthickness != 0) { total_size += 5; } // bool result = 5; if (this->_internal_result() != 0) { total_size += 2; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData LayerData::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, LayerData::MergeImpl }; const ::google::protobuf::Message::ClassData*LayerData::GetClassData() const { return &_class_data_; } void LayerData::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.LayerData) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; _this->_internal_mutable_layerdatablock()->MergeFrom(from._internal_layerdatablock()); static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_zcooldinate = from._internal_zcooldinate(); ::uint32_t raw_zcooldinate; memcpy(&raw_zcooldinate, &tmp_zcooldinate, sizeof(tmp_zcooldinate)); if (raw_zcooldinate != 0) { _this->_internal_set_zcooldinate(from._internal_zcooldinate()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_powder = from._internal_powder(); ::uint32_t raw_powder; memcpy(&raw_powder, &tmp_powder, sizeof(tmp_powder)); if (raw_powder != 0) { _this->_internal_set_powder(from._internal_powder()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_layerthickness = from._internal_layerthickness(); ::uint32_t raw_layerthickness; memcpy(&raw_layerthickness, &tmp_layerthickness, sizeof(tmp_layerthickness)); if (raw_layerthickness != 0) { _this->_internal_set_layerthickness(from._internal_layerthickness()); } if (from._internal_result() != 0) { _this->_internal_set_result(from._internal_result()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void LayerData::CopyFrom(const LayerData& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.LayerData) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool LayerData::IsInitialized() const { return true; } void LayerData::InternalSwap(LayerData* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.layerdatablock_.InternalSwap(&other->_impl_.layerdatablock_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(LayerData, _impl_.result_) + sizeof(LayerData::_impl_.result_) - PROTOBUF_FIELD_OFFSET(LayerData, _impl_.zcooldinate_)>( reinterpret_cast(&_impl_.zcooldinate_), reinterpret_cast(&other->_impl_.zcooldinate_)); } ::google::protobuf::Metadata LayerData::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[4]); } // =================================================================== class LayerDataBlock::_Internal { public: }; LayerDataBlock::LayerDataBlock(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.LayerDataBlock) } LayerDataBlock::LayerDataBlock(const LayerDataBlock& from) : ::google::protobuf::Message() { LayerDataBlock* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.vecblocks_){from._impl_.vecblocks_}, decltype(_impl_.chainblocks_){from._impl_.chainblocks_}, decltype(_impl_.elementid_){}, decltype(_impl_.elementparamid_){}, decltype(_impl_.blocktype_){}, decltype(_impl_.order_){}, /*decltype(_impl_._cached_size_)*/ {}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); ::memcpy(&_impl_.elementid_, &from._impl_.elementid_, static_cast<::size_t>(reinterpret_cast(&_impl_.order_) - reinterpret_cast(&_impl_.elementid_)) + sizeof(_impl_.order_)); // @@protoc_insertion_point(copy_constructor:stream.LayerDataBlock) } inline void LayerDataBlock::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.vecblocks_){arena}, decltype(_impl_.chainblocks_){arena}, decltype(_impl_.elementid_){0}, decltype(_impl_.elementparamid_){0}, decltype(_impl_.blocktype_){0u}, decltype(_impl_.order_){0u}, /*decltype(_impl_._cached_size_)*/ {}, }; } LayerDataBlock::~LayerDataBlock() { // @@protoc_insertion_point(destructor:stream.LayerDataBlock) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void LayerDataBlock::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.vecblocks_.~RepeatedPtrField(); _impl_.chainblocks_.~RepeatedPtrField(); } void LayerDataBlock::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void LayerDataBlock::Clear() { // @@protoc_insertion_point(message_clear_start:stream.LayerDataBlock) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _internal_mutable_vecblocks()->Clear(); _internal_mutable_chainblocks()->Clear(); ::memset(&_impl_.elementid_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.order_) - reinterpret_cast(&_impl_.elementid_)) + sizeof(_impl_.order_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* LayerDataBlock::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 6, 2, 0, 2> LayerDataBlock::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 6, 56, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967232, // skipmap offsetof(decltype(_table_), field_entries), 6, // num_field_entries 2, // num_aux_entries offsetof(decltype(_table_), aux_entries), &_LayerDataBlock_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // int32 elementId = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(LayerDataBlock, _impl_.elementid_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(LayerDataBlock, _impl_.elementid_)}}, // int32 elementParamId = 2; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(LayerDataBlock, _impl_.elementparamid_), 63>(), {16, 63, 0, PROTOBUF_FIELD_OFFSET(LayerDataBlock, _impl_.elementparamid_)}}, // uint32 blockType = 3; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(LayerDataBlock, _impl_.blocktype_), 63>(), {24, 63, 0, PROTOBUF_FIELD_OFFSET(LayerDataBlock, _impl_.blocktype_)}}, // repeated .stream.VectorDataBlock vecBlocks = 4; {::_pbi::TcParser::FastMtR1, {34, 63, 0, PROTOBUF_FIELD_OFFSET(LayerDataBlock, _impl_.vecblocks_)}}, // repeated .stream.ChainDataBlock chainBlocks = 5; {::_pbi::TcParser::FastMtR1, {42, 63, 1, PROTOBUF_FIELD_OFFSET(LayerDataBlock, _impl_.chainblocks_)}}, // uint32 order = 6; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(LayerDataBlock, _impl_.order_), 63>(), {48, 63, 0, PROTOBUF_FIELD_OFFSET(LayerDataBlock, _impl_.order_)}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // int32 elementId = 1; {PROTOBUF_FIELD_OFFSET(LayerDataBlock, _impl_.elementid_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 elementParamId = 2; {PROTOBUF_FIELD_OFFSET(LayerDataBlock, _impl_.elementparamid_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // uint32 blockType = 3; {PROTOBUF_FIELD_OFFSET(LayerDataBlock, _impl_.blocktype_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // repeated .stream.VectorDataBlock vecBlocks = 4; {PROTOBUF_FIELD_OFFSET(LayerDataBlock, _impl_.vecblocks_), 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, // repeated .stream.ChainDataBlock chainBlocks = 5; {PROTOBUF_FIELD_OFFSET(LayerDataBlock, _impl_.chainblocks_), 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, // uint32 order = 6; {PROTOBUF_FIELD_OFFSET(LayerDataBlock, _impl_.order_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, }}, {{ {::_pbi::TcParser::GetTable<::stream::VectorDataBlock>()}, {::_pbi::TcParser::GetTable<::stream::ChainDataBlock>()}, }}, {{ }}, }; ::uint8_t* LayerDataBlock::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.LayerDataBlock) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // int32 elementId = 1; if (this->_internal_elementid() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<1>( stream, this->_internal_elementid(), target); } // int32 elementParamId = 2; if (this->_internal_elementparamid() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<2>( stream, this->_internal_elementparamid(), target); } // uint32 blockType = 3; if (this->_internal_blocktype() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 3, this->_internal_blocktype(), target); } // repeated .stream.VectorDataBlock vecBlocks = 4; for (unsigned i = 0, n = static_cast(this->_internal_vecblocks_size()); i < n; i++) { const auto& repfield = this->_internal_vecblocks().Get(i); target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); } // repeated .stream.ChainDataBlock chainBlocks = 5; for (unsigned i = 0, n = static_cast(this->_internal_chainblocks_size()); i < n; i++) { const auto& repfield = this->_internal_chainblocks().Get(i); target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); } // uint32 order = 6; if (this->_internal_order() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 6, this->_internal_order(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.LayerDataBlock) return target; } ::size_t LayerDataBlock::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.LayerDataBlock) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // repeated .stream.VectorDataBlock vecBlocks = 4; total_size += 1UL * this->_internal_vecblocks_size(); for (const auto& msg : this->_internal_vecblocks()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } // repeated .stream.ChainDataBlock chainBlocks = 5; total_size += 1UL * this->_internal_chainblocks_size(); for (const auto& msg : this->_internal_chainblocks()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } // int32 elementId = 1; if (this->_internal_elementid() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_elementid()); } // int32 elementParamId = 2; if (this->_internal_elementparamid() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_elementparamid()); } // uint32 blockType = 3; if (this->_internal_blocktype() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_blocktype()); } // uint32 order = 6; if (this->_internal_order() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_order()); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData LayerDataBlock::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, LayerDataBlock::MergeImpl }; const ::google::protobuf::Message::ClassData*LayerDataBlock::GetClassData() const { return &_class_data_; } void LayerDataBlock::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.LayerDataBlock) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; _this->_internal_mutable_vecblocks()->MergeFrom(from._internal_vecblocks()); _this->_internal_mutable_chainblocks()->MergeFrom(from._internal_chainblocks()); if (from._internal_elementid() != 0) { _this->_internal_set_elementid(from._internal_elementid()); } if (from._internal_elementparamid() != 0) { _this->_internal_set_elementparamid(from._internal_elementparamid()); } if (from._internal_blocktype() != 0) { _this->_internal_set_blocktype(from._internal_blocktype()); } if (from._internal_order() != 0) { _this->_internal_set_order(from._internal_order()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void LayerDataBlock::CopyFrom(const LayerDataBlock& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.LayerDataBlock) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool LayerDataBlock::IsInitialized() const { return true; } void LayerDataBlock::InternalSwap(LayerDataBlock* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.vecblocks_.InternalSwap(&other->_impl_.vecblocks_); _impl_.chainblocks_.InternalSwap(&other->_impl_.chainblocks_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(LayerDataBlock, _impl_.order_) + sizeof(LayerDataBlock::_impl_.order_) - PROTOBUF_FIELD_OFFSET(LayerDataBlock, _impl_.elementid_)>( reinterpret_cast(&_impl_.elementid_), reinterpret_cast(&other->_impl_.elementid_)); } ::google::protobuf::Metadata LayerDataBlock::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[5]); } // =================================================================== class VectorDataBlock::_Internal { public: }; VectorDataBlock::VectorDataBlock(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.VectorDataBlock) } VectorDataBlock::VectorDataBlock(const VectorDataBlock& from) : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:stream.VectorDataBlock) } inline void VectorDataBlock::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.startx_){0}, decltype(_impl_.starty_){0}, decltype(_impl_.endx_){0}, decltype(_impl_.endy_){0}, /*decltype(_impl_._cached_size_)*/ {}, }; } VectorDataBlock::~VectorDataBlock() { // @@protoc_insertion_point(destructor:stream.VectorDataBlock) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void VectorDataBlock::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void VectorDataBlock::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void VectorDataBlock::Clear() { // @@protoc_insertion_point(message_clear_start:stream.VectorDataBlock) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&_impl_.startx_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.endy_) - reinterpret_cast(&_impl_.startx_)) + sizeof(_impl_.endy_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* VectorDataBlock::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 4, 0, 0, 2> VectorDataBlock::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 4, 24, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967280, // skipmap offsetof(decltype(_table_), field_entries), 4, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_VectorDataBlock_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ // float endY = 4; {::_pbi::TcParser::FastF32S1, {37, 63, 0, PROTOBUF_FIELD_OFFSET(VectorDataBlock, _impl_.endy_)}}, // float startX = 1; {::_pbi::TcParser::FastF32S1, {13, 63, 0, PROTOBUF_FIELD_OFFSET(VectorDataBlock, _impl_.startx_)}}, // float startY = 2; {::_pbi::TcParser::FastF32S1, {21, 63, 0, PROTOBUF_FIELD_OFFSET(VectorDataBlock, _impl_.starty_)}}, // float endX = 3; {::_pbi::TcParser::FastF32S1, {29, 63, 0, PROTOBUF_FIELD_OFFSET(VectorDataBlock, _impl_.endx_)}}, }}, {{ 65535, 65535 }}, {{ // float startX = 1; {PROTOBUF_FIELD_OFFSET(VectorDataBlock, _impl_.startx_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float startY = 2; {PROTOBUF_FIELD_OFFSET(VectorDataBlock, _impl_.starty_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float endX = 3; {PROTOBUF_FIELD_OFFSET(VectorDataBlock, _impl_.endx_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float endY = 4; {PROTOBUF_FIELD_OFFSET(VectorDataBlock, _impl_.endy_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, }}, // no aux_entries {{ }}, }; ::uint8_t* VectorDataBlock::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.VectorDataBlock) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // float startX = 1; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_startx = this->_internal_startx(); ::uint32_t raw_startx; memcpy(&raw_startx, &tmp_startx, sizeof(tmp_startx)); if (raw_startx != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 1, this->_internal_startx(), target); } // float startY = 2; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_starty = this->_internal_starty(); ::uint32_t raw_starty; memcpy(&raw_starty, &tmp_starty, sizeof(tmp_starty)); if (raw_starty != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 2, this->_internal_starty(), target); } // float endX = 3; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_endx = this->_internal_endx(); ::uint32_t raw_endx; memcpy(&raw_endx, &tmp_endx, sizeof(tmp_endx)); if (raw_endx != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 3, this->_internal_endx(), target); } // float endY = 4; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_endy = this->_internal_endy(); ::uint32_t raw_endy; memcpy(&raw_endy, &tmp_endy, sizeof(tmp_endy)); if (raw_endy != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 4, this->_internal_endy(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.VectorDataBlock) return target; } ::size_t VectorDataBlock::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.VectorDataBlock) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // float startX = 1; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_startx = this->_internal_startx(); ::uint32_t raw_startx; memcpy(&raw_startx, &tmp_startx, sizeof(tmp_startx)); if (raw_startx != 0) { total_size += 5; } // float startY = 2; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_starty = this->_internal_starty(); ::uint32_t raw_starty; memcpy(&raw_starty, &tmp_starty, sizeof(tmp_starty)); if (raw_starty != 0) { total_size += 5; } // float endX = 3; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_endx = this->_internal_endx(); ::uint32_t raw_endx; memcpy(&raw_endx, &tmp_endx, sizeof(tmp_endx)); if (raw_endx != 0) { total_size += 5; } // float endY = 4; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_endy = this->_internal_endy(); ::uint32_t raw_endy; memcpy(&raw_endy, &tmp_endy, sizeof(tmp_endy)); if (raw_endy != 0) { total_size += 5; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData VectorDataBlock::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, VectorDataBlock::MergeImpl }; const ::google::protobuf::Message::ClassData*VectorDataBlock::GetClassData() const { return &_class_data_; } void VectorDataBlock::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.VectorDataBlock) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_startx = from._internal_startx(); ::uint32_t raw_startx; memcpy(&raw_startx, &tmp_startx, sizeof(tmp_startx)); if (raw_startx != 0) { _this->_internal_set_startx(from._internal_startx()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_starty = from._internal_starty(); ::uint32_t raw_starty; memcpy(&raw_starty, &tmp_starty, sizeof(tmp_starty)); if (raw_starty != 0) { _this->_internal_set_starty(from._internal_starty()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_endx = from._internal_endx(); ::uint32_t raw_endx; memcpy(&raw_endx, &tmp_endx, sizeof(tmp_endx)); if (raw_endx != 0) { _this->_internal_set_endx(from._internal_endx()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_endy = from._internal_endy(); ::uint32_t raw_endy; memcpy(&raw_endy, &tmp_endy, sizeof(tmp_endy)); if (raw_endy != 0) { _this->_internal_set_endy(from._internal_endy()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void VectorDataBlock::CopyFrom(const VectorDataBlock& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.VectorDataBlock) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool VectorDataBlock::IsInitialized() const { return true; } void VectorDataBlock::InternalSwap(VectorDataBlock* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(VectorDataBlock, _impl_.endy_) + sizeof(VectorDataBlock::_impl_.endy_) - PROTOBUF_FIELD_OFFSET(VectorDataBlock, _impl_.startx_)>( reinterpret_cast(&_impl_.startx_), reinterpret_cast(&other->_impl_.startx_)); } ::google::protobuf::Metadata VectorDataBlock::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[6]); } // =================================================================== class ChainDataBlock::_Internal { public: }; ChainDataBlock::ChainDataBlock(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.ChainDataBlock) } ChainDataBlock::ChainDataBlock(const ChainDataBlock& from) : ::google::protobuf::Message() { ChainDataBlock* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.pointvec_){from._impl_.pointvec_}, decltype(_impl_.dotnum_){}, /*decltype(_impl_._cached_size_)*/ {}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); _this->_impl_.dotnum_ = from._impl_.dotnum_; // @@protoc_insertion_point(copy_constructor:stream.ChainDataBlock) } inline void ChainDataBlock::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.pointvec_){arena}, decltype(_impl_.dotnum_){0u}, /*decltype(_impl_._cached_size_)*/ {}, }; } ChainDataBlock::~ChainDataBlock() { // @@protoc_insertion_point(destructor:stream.ChainDataBlock) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void ChainDataBlock::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.pointvec_.~RepeatedPtrField(); } void ChainDataBlock::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void ChainDataBlock::Clear() { // @@protoc_insertion_point(message_clear_start:stream.ChainDataBlock) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _internal_mutable_pointvec()->Clear(); _impl_.dotnum_ = 0u; _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* ChainDataBlock::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 1, 0, 2> ChainDataBlock::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 2, 8, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967292, // skipmap offsetof(decltype(_table_), field_entries), 2, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), &_ChainDataBlock_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ // repeated .stream.Point pointVec = 2; {::_pbi::TcParser::FastMtR1, {18, 63, 0, PROTOBUF_FIELD_OFFSET(ChainDataBlock, _impl_.pointvec_)}}, // uint32 dotNum = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ChainDataBlock, _impl_.dotnum_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(ChainDataBlock, _impl_.dotnum_)}}, }}, {{ 65535, 65535 }}, {{ // uint32 dotNum = 1; {PROTOBUF_FIELD_OFFSET(ChainDataBlock, _impl_.dotnum_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // repeated .stream.Point pointVec = 2; {PROTOBUF_FIELD_OFFSET(ChainDataBlock, _impl_.pointvec_), 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, }}, {{ {::_pbi::TcParser::GetTable<::stream::Point>()}, }}, {{ }}, }; ::uint8_t* ChainDataBlock::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.ChainDataBlock) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // uint32 dotNum = 1; if (this->_internal_dotnum() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 1, this->_internal_dotnum(), target); } // repeated .stream.Point pointVec = 2; for (unsigned i = 0, n = static_cast(this->_internal_pointvec_size()); i < n; i++) { const auto& repfield = this->_internal_pointvec().Get(i); target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.ChainDataBlock) return target; } ::size_t ChainDataBlock::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.ChainDataBlock) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // repeated .stream.Point pointVec = 2; total_size += 1UL * this->_internal_pointvec_size(); for (const auto& msg : this->_internal_pointvec()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } // uint32 dotNum = 1; if (this->_internal_dotnum() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_dotnum()); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData ChainDataBlock::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, ChainDataBlock::MergeImpl }; const ::google::protobuf::Message::ClassData*ChainDataBlock::GetClassData() const { return &_class_data_; } void ChainDataBlock::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.ChainDataBlock) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; _this->_internal_mutable_pointvec()->MergeFrom(from._internal_pointvec()); if (from._internal_dotnum() != 0) { _this->_internal_set_dotnum(from._internal_dotnum()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void ChainDataBlock::CopyFrom(const ChainDataBlock& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.ChainDataBlock) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool ChainDataBlock::IsInitialized() const { return true; } void ChainDataBlock::InternalSwap(ChainDataBlock* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.pointvec_.InternalSwap(&other->_impl_.pointvec_); swap(_impl_.dotnum_, other->_impl_.dotnum_); } ::google::protobuf::Metadata ChainDataBlock::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[7]); } // =================================================================== class Point::_Internal { public: }; Point::Point(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.Point) } Point::Point(const Point& from) : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:stream.Point) } inline void Point::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.xpos_){0}, decltype(_impl_.ypos_){0}, /*decltype(_impl_._cached_size_)*/ {}, }; } Point::~Point() { // @@protoc_insertion_point(destructor:stream.Point) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void Point::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void Point::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void Point::Clear() { // @@protoc_insertion_point(message_clear_start:stream.Point) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&_impl_.xpos_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.ypos_) - reinterpret_cast(&_impl_.xpos_)) + sizeof(_impl_.ypos_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* Point::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 0, 0, 2> Point::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 2, 8, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967292, // skipmap offsetof(decltype(_table_), field_entries), 2, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_Point_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ // float yPos = 2; {::_pbi::TcParser::FastF32S1, {21, 63, 0, PROTOBUF_FIELD_OFFSET(Point, _impl_.ypos_)}}, // float xPos = 1; {::_pbi::TcParser::FastF32S1, {13, 63, 0, PROTOBUF_FIELD_OFFSET(Point, _impl_.xpos_)}}, }}, {{ 65535, 65535 }}, {{ // float xPos = 1; {PROTOBUF_FIELD_OFFSET(Point, _impl_.xpos_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float yPos = 2; {PROTOBUF_FIELD_OFFSET(Point, _impl_.ypos_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, }}, // no aux_entries {{ }}, }; ::uint8_t* Point::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.Point) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // float xPos = 1; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_xpos = this->_internal_xpos(); ::uint32_t raw_xpos; memcpy(&raw_xpos, &tmp_xpos, sizeof(tmp_xpos)); if (raw_xpos != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 1, this->_internal_xpos(), target); } // float yPos = 2; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_ypos = this->_internal_ypos(); ::uint32_t raw_ypos; memcpy(&raw_ypos, &tmp_ypos, sizeof(tmp_ypos)); if (raw_ypos != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 2, this->_internal_ypos(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.Point) return target; } ::size_t Point::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.Point) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // float xPos = 1; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_xpos = this->_internal_xpos(); ::uint32_t raw_xpos; memcpy(&raw_xpos, &tmp_xpos, sizeof(tmp_xpos)); if (raw_xpos != 0) { total_size += 5; } // float yPos = 2; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_ypos = this->_internal_ypos(); ::uint32_t raw_ypos; memcpy(&raw_ypos, &tmp_ypos, sizeof(tmp_ypos)); if (raw_ypos != 0) { total_size += 5; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData Point::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, Point::MergeImpl }; const ::google::protobuf::Message::ClassData*Point::GetClassData() const { return &_class_data_; } void Point::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.Point) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_xpos = from._internal_xpos(); ::uint32_t raw_xpos; memcpy(&raw_xpos, &tmp_xpos, sizeof(tmp_xpos)); if (raw_xpos != 0) { _this->_internal_set_xpos(from._internal_xpos()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_ypos = from._internal_ypos(); ::uint32_t raw_ypos; memcpy(&raw_ypos, &tmp_ypos, sizeof(tmp_ypos)); if (raw_ypos != 0) { _this->_internal_set_ypos(from._internal_ypos()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void Point::CopyFrom(const Point& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.Point) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool Point::IsInitialized() const { return true; } void Point::InternalSwap(Point* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(Point, _impl_.ypos_) + sizeof(Point::_impl_.ypos_) - PROTOBUF_FIELD_OFFSET(Point, _impl_.xpos_)>( reinterpret_cast(&_impl_.xpos_), reinterpret_cast(&other->_impl_.xpos_)); } ::google::protobuf::Metadata Point::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[8]); } // =================================================================== class GeneralInfo::_Internal { public: using HasBits = decltype(std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_._has_bits_); static const ::stream::JobDimensions& jobdimensions(const GeneralInfo* msg); static void set_has_jobdimensions(HasBits* has_bits) { (*has_bits)[0] |= 1u; } }; const ::stream::JobDimensions& GeneralInfo::_Internal::jobdimensions(const GeneralInfo* msg) { return *msg->_impl_.jobdimensions_; } GeneralInfo::GeneralInfo(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.GeneralInfo) } GeneralInfo::GeneralInfo(const GeneralInfo& from) : ::google::protobuf::Message() { GeneralInfo* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_._has_bits_){from._impl_._has_bits_}, /*decltype(_impl_._cached_size_)*/ {}, decltype(_impl_.job_name_){}, decltype(_impl_.material_){}, decltype(_impl_.jobdimensions_){nullptr}, decltype(_impl_.isok_){}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); _impl_.job_name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.job_name_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_job_name().empty()) { _this->_impl_.job_name_.Set(from._internal_job_name(), _this->GetArenaForAllocation()); } _impl_.material_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.material_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_material().empty()) { _this->_impl_.material_.Set(from._internal_material(), _this->GetArenaForAllocation()); } if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { _this->_impl_.jobdimensions_ = new ::stream::JobDimensions(*from._impl_.jobdimensions_); } _this->_impl_.isok_ = from._impl_.isok_; // @@protoc_insertion_point(copy_constructor:stream.GeneralInfo) } inline void GeneralInfo::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_._has_bits_){}, /*decltype(_impl_._cached_size_)*/ {}, decltype(_impl_.job_name_){}, decltype(_impl_.material_){}, decltype(_impl_.jobdimensions_){nullptr}, decltype(_impl_.isok_){false}, }; _impl_.job_name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.job_name_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.material_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.material_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } GeneralInfo::~GeneralInfo() { // @@protoc_insertion_point(destructor:stream.GeneralInfo) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void GeneralInfo::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.job_name_.Destroy(); _impl_.material_.Destroy(); if (this != internal_default_instance()) delete _impl_.jobdimensions_; } void GeneralInfo::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void GeneralInfo::Clear() { // @@protoc_insertion_point(message_clear_start:stream.GeneralInfo) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.job_name_.ClearToEmpty(); _impl_.material_.ClearToEmpty(); cached_has_bits = _impl_._has_bits_[0]; if (cached_has_bits & 0x00000001u) { ABSL_DCHECK(_impl_.jobdimensions_ != nullptr); _impl_.jobdimensions_->Clear(); } _impl_.isok_ = false; _impl_._has_bits_.Clear(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* GeneralInfo::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 4, 1, 0, 2> GeneralInfo::_table_ = { { PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_._has_bits_), 0, // no _extensions_ 4, 24, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967280, // skipmap offsetof(decltype(_table_), field_entries), 4, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), &_GeneralInfo_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ // bytes material = 4; {::_pbi::TcParser::FastBS1, {34, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.material_)}}, // bool isOk = 1; {::_pbi::TcParser::SingularVarintNoZag1(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.isok_)}}, // bytes job_name = 2; {::_pbi::TcParser::FastBS1, {18, 63, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.job_name_)}}, // .stream.JobDimensions jobDimensions = 3; {::_pbi::TcParser::FastMtS1, {26, 0, 0, PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.jobdimensions_)}}, }}, {{ 65535, 65535 }}, {{ // bool isOk = 1; {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.isok_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // bytes job_name = 2; {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.job_name_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, // .stream.JobDimensions jobDimensions = 3; {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.jobdimensions_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // bytes material = 4; {PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.material_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, }}, {{ {::_pbi::TcParser::GetTable<::stream::JobDimensions>()}, }}, {{ }}, }; ::uint8_t* GeneralInfo::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.GeneralInfo) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // bool isOk = 1; if (this->_internal_isok() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 1, this->_internal_isok(), target); } // bytes job_name = 2; if (!this->_internal_job_name().empty()) { const std::string& _s = this->_internal_job_name(); target = stream->WriteBytesMaybeAliased(2, _s, target); } cached_has_bits = _impl_._has_bits_[0]; // .stream.JobDimensions jobDimensions = 3; if (cached_has_bits & 0x00000001u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(3, _Internal::jobdimensions(this), _Internal::jobdimensions(this).GetCachedSize(), target, stream); } // bytes material = 4; if (!this->_internal_material().empty()) { const std::string& _s = this->_internal_material(); target = stream->WriteBytesMaybeAliased(4, _s, target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.GeneralInfo) return target; } ::size_t GeneralInfo::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.GeneralInfo) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // bytes job_name = 2; if (!this->_internal_job_name().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_job_name()); } // bytes material = 4; if (!this->_internal_material().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_material()); } // .stream.JobDimensions jobDimensions = 3; cached_has_bits = _impl_._has_bits_[0]; if (cached_has_bits & 0x00000001u) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *_impl_.jobdimensions_); } // bool isOk = 1; if (this->_internal_isok() != 0) { total_size += 2; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData GeneralInfo::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, GeneralInfo::MergeImpl }; const ::google::protobuf::Message::ClassData*GeneralInfo::GetClassData() const { return &_class_data_; } void GeneralInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.GeneralInfo) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (!from._internal_job_name().empty()) { _this->_internal_set_job_name(from._internal_job_name()); } if (!from._internal_material().empty()) { _this->_internal_set_material(from._internal_material()); } if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { _this->_internal_mutable_jobdimensions()->::stream::JobDimensions::MergeFrom( from._internal_jobdimensions()); } if (from._internal_isok() != 0) { _this->_internal_set_isok(from._internal_isok()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void GeneralInfo::CopyFrom(const GeneralInfo& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.GeneralInfo) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool GeneralInfo::IsInitialized() const { return true; } void GeneralInfo::InternalSwap(GeneralInfo* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.job_name_, lhs_arena, &other->_impl_.job_name_, rhs_arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.material_, lhs_arena, &other->_impl_.material_, rhs_arena); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.isok_) + sizeof(GeneralInfo::_impl_.isok_) - PROTOBUF_FIELD_OFFSET(GeneralInfo, _impl_.jobdimensions_)>( reinterpret_cast(&_impl_.jobdimensions_), reinterpret_cast(&other->_impl_.jobdimensions_)); } ::google::protobuf::Metadata GeneralInfo::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[9]); } // =================================================================== class MachineType_Dimension::_Internal { public: }; MachineType_Dimension::MachineType_Dimension(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.MachineType.Dimension) } MachineType_Dimension::MachineType_Dimension(const MachineType_Dimension& from) : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:stream.MachineType.Dimension) } inline void MachineType_Dimension::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.xmin_){0}, decltype(_impl_.ymin_){0}, decltype(_impl_.xmax_){0}, decltype(_impl_.ymax_){0}, /*decltype(_impl_._cached_size_)*/ {}, }; } MachineType_Dimension::~MachineType_Dimension() { // @@protoc_insertion_point(destructor:stream.MachineType.Dimension) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void MachineType_Dimension::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void MachineType_Dimension::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void MachineType_Dimension::Clear() { // @@protoc_insertion_point(message_clear_start:stream.MachineType.Dimension) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&_impl_.xmin_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.ymax_) - reinterpret_cast(&_impl_.xmin_)) + sizeof(_impl_.ymax_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* MachineType_Dimension::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 4, 0, 0, 2> MachineType_Dimension::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 4, 24, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967280, // skipmap offsetof(decltype(_table_), field_entries), 4, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_MachineType_Dimension_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ // float ymax = 4; {::_pbi::TcParser::FastF32S1, {37, 63, 0, PROTOBUF_FIELD_OFFSET(MachineType_Dimension, _impl_.ymax_)}}, // float xmin = 1; {::_pbi::TcParser::FastF32S1, {13, 63, 0, PROTOBUF_FIELD_OFFSET(MachineType_Dimension, _impl_.xmin_)}}, // float ymin = 2; {::_pbi::TcParser::FastF32S1, {21, 63, 0, PROTOBUF_FIELD_OFFSET(MachineType_Dimension, _impl_.ymin_)}}, // float xmax = 3; {::_pbi::TcParser::FastF32S1, {29, 63, 0, PROTOBUF_FIELD_OFFSET(MachineType_Dimension, _impl_.xmax_)}}, }}, {{ 65535, 65535 }}, {{ // float xmin = 1; {PROTOBUF_FIELD_OFFSET(MachineType_Dimension, _impl_.xmin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float ymin = 2; {PROTOBUF_FIELD_OFFSET(MachineType_Dimension, _impl_.ymin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float xmax = 3; {PROTOBUF_FIELD_OFFSET(MachineType_Dimension, _impl_.xmax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float ymax = 4; {PROTOBUF_FIELD_OFFSET(MachineType_Dimension, _impl_.ymax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, }}, // no aux_entries {{ }}, }; ::uint8_t* MachineType_Dimension::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.MachineType.Dimension) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // float xmin = 1; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_xmin = this->_internal_xmin(); ::uint32_t raw_xmin; memcpy(&raw_xmin, &tmp_xmin, sizeof(tmp_xmin)); if (raw_xmin != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 1, this->_internal_xmin(), target); } // float ymin = 2; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_ymin = this->_internal_ymin(); ::uint32_t raw_ymin; memcpy(&raw_ymin, &tmp_ymin, sizeof(tmp_ymin)); if (raw_ymin != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 2, this->_internal_ymin(), target); } // float xmax = 3; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_xmax = this->_internal_xmax(); ::uint32_t raw_xmax; memcpy(&raw_xmax, &tmp_xmax, sizeof(tmp_xmax)); if (raw_xmax != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 3, this->_internal_xmax(), target); } // float ymax = 4; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_ymax = this->_internal_ymax(); ::uint32_t raw_ymax; memcpy(&raw_ymax, &tmp_ymax, sizeof(tmp_ymax)); if (raw_ymax != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 4, this->_internal_ymax(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.MachineType.Dimension) return target; } ::size_t MachineType_Dimension::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.MachineType.Dimension) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // float xmin = 1; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_xmin = this->_internal_xmin(); ::uint32_t raw_xmin; memcpy(&raw_xmin, &tmp_xmin, sizeof(tmp_xmin)); if (raw_xmin != 0) { total_size += 5; } // float ymin = 2; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_ymin = this->_internal_ymin(); ::uint32_t raw_ymin; memcpy(&raw_ymin, &tmp_ymin, sizeof(tmp_ymin)); if (raw_ymin != 0) { total_size += 5; } // float xmax = 3; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_xmax = this->_internal_xmax(); ::uint32_t raw_xmax; memcpy(&raw_xmax, &tmp_xmax, sizeof(tmp_xmax)); if (raw_xmax != 0) { total_size += 5; } // float ymax = 4; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_ymax = this->_internal_ymax(); ::uint32_t raw_ymax; memcpy(&raw_ymax, &tmp_ymax, sizeof(tmp_ymax)); if (raw_ymax != 0) { total_size += 5; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData MachineType_Dimension::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, MachineType_Dimension::MergeImpl }; const ::google::protobuf::Message::ClassData*MachineType_Dimension::GetClassData() const { return &_class_data_; } void MachineType_Dimension::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.MachineType.Dimension) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_xmin = from._internal_xmin(); ::uint32_t raw_xmin; memcpy(&raw_xmin, &tmp_xmin, sizeof(tmp_xmin)); if (raw_xmin != 0) { _this->_internal_set_xmin(from._internal_xmin()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_ymin = from._internal_ymin(); ::uint32_t raw_ymin; memcpy(&raw_ymin, &tmp_ymin, sizeof(tmp_ymin)); if (raw_ymin != 0) { _this->_internal_set_ymin(from._internal_ymin()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_xmax = from._internal_xmax(); ::uint32_t raw_xmax; memcpy(&raw_xmax, &tmp_xmax, sizeof(tmp_xmax)); if (raw_xmax != 0) { _this->_internal_set_xmax(from._internal_xmax()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_ymax = from._internal_ymax(); ::uint32_t raw_ymax; memcpy(&raw_ymax, &tmp_ymax, sizeof(tmp_ymax)); if (raw_ymax != 0) { _this->_internal_set_ymax(from._internal_ymax()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void MachineType_Dimension::CopyFrom(const MachineType_Dimension& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.MachineType.Dimension) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool MachineType_Dimension::IsInitialized() const { return true; } void MachineType_Dimension::InternalSwap(MachineType_Dimension* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(MachineType_Dimension, _impl_.ymax_) + sizeof(MachineType_Dimension::_impl_.ymax_) - PROTOBUF_FIELD_OFFSET(MachineType_Dimension, _impl_.xmin_)>( reinterpret_cast(&_impl_.xmin_), reinterpret_cast(&other->_impl_.xmin_)); } ::google::protobuf::Metadata MachineType_Dimension::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[10]); } // =================================================================== class MachineType_ScanField::_Internal { public: using HasBits = decltype(std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(MachineType_ScanField, _impl_._has_bits_); static const ::stream::MachineType_Dimension& dimension(const MachineType_ScanField* msg); static void set_has_dimension(HasBits* has_bits) { (*has_bits)[0] |= 1u; } }; const ::stream::MachineType_Dimension& MachineType_ScanField::_Internal::dimension(const MachineType_ScanField* msg) { return *msg->_impl_.dimension_; } MachineType_ScanField::MachineType_ScanField(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.MachineType.ScanField) } MachineType_ScanField::MachineType_ScanField(const MachineType_ScanField& from) : ::google::protobuf::Message() { MachineType_ScanField* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_._has_bits_){from._impl_._has_bits_}, /*decltype(_impl_._cached_size_)*/ {}, decltype(_impl_.dimension_){nullptr}, decltype(_impl_.id_){}, decltype(_impl_.reference_){}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { _this->_impl_.dimension_ = new ::stream::MachineType_Dimension(*from._impl_.dimension_); } ::memcpy(&_impl_.id_, &from._impl_.id_, static_cast<::size_t>(reinterpret_cast(&_impl_.reference_) - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.reference_)); // @@protoc_insertion_point(copy_constructor:stream.MachineType.ScanField) } inline void MachineType_ScanField::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_._has_bits_){}, /*decltype(_impl_._cached_size_)*/ {}, decltype(_impl_.dimension_){nullptr}, decltype(_impl_.id_){0}, decltype(_impl_.reference_){0}, }; } MachineType_ScanField::~MachineType_ScanField() { // @@protoc_insertion_point(destructor:stream.MachineType.ScanField) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void MachineType_ScanField::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete _impl_.dimension_; } void MachineType_ScanField::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void MachineType_ScanField::Clear() { // @@protoc_insertion_point(message_clear_start:stream.MachineType.ScanField) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; cached_has_bits = _impl_._has_bits_[0]; if (cached_has_bits & 0x00000001u) { ABSL_DCHECK(_impl_.dimension_ != nullptr); _impl_.dimension_->Clear(); } ::memset(&_impl_.id_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.reference_) - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.reference_)); _impl_._has_bits_.Clear(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* MachineType_ScanField::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 3, 1, 0, 2> MachineType_ScanField::_table_ = { { PROTOBUF_FIELD_OFFSET(MachineType_ScanField, _impl_._has_bits_), 0, // no _extensions_ 3, 24, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967288, // skipmap offsetof(decltype(_table_), field_entries), 3, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), &_MachineType_ScanField_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // int32 id = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MachineType_ScanField, _impl_.id_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(MachineType_ScanField, _impl_.id_)}}, // int32 reference = 2; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MachineType_ScanField, _impl_.reference_), 63>(), {16, 63, 0, PROTOBUF_FIELD_OFFSET(MachineType_ScanField, _impl_.reference_)}}, // .stream.MachineType.Dimension dimension = 3; {::_pbi::TcParser::FastMtS1, {26, 0, 0, PROTOBUF_FIELD_OFFSET(MachineType_ScanField, _impl_.dimension_)}}, }}, {{ 65535, 65535 }}, {{ // int32 id = 1; {PROTOBUF_FIELD_OFFSET(MachineType_ScanField, _impl_.id_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 reference = 2; {PROTOBUF_FIELD_OFFSET(MachineType_ScanField, _impl_.reference_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // .stream.MachineType.Dimension dimension = 3; {PROTOBUF_FIELD_OFFSET(MachineType_ScanField, _impl_.dimension_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, }}, {{ {::_pbi::TcParser::GetTable<::stream::MachineType_Dimension>()}, }}, {{ }}, }; ::uint8_t* MachineType_ScanField::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.MachineType.ScanField) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // int32 id = 1; if (this->_internal_id() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<1>( stream, this->_internal_id(), target); } // int32 reference = 2; if (this->_internal_reference() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<2>( stream, this->_internal_reference(), target); } cached_has_bits = _impl_._has_bits_[0]; // .stream.MachineType.Dimension dimension = 3; if (cached_has_bits & 0x00000001u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(3, _Internal::dimension(this), _Internal::dimension(this).GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.MachineType.ScanField) return target; } ::size_t MachineType_ScanField::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.MachineType.ScanField) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // .stream.MachineType.Dimension dimension = 3; cached_has_bits = _impl_._has_bits_[0]; if (cached_has_bits & 0x00000001u) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *_impl_.dimension_); } // int32 id = 1; if (this->_internal_id() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_id()); } // int32 reference = 2; if (this->_internal_reference() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_reference()); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData MachineType_ScanField::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, MachineType_ScanField::MergeImpl }; const ::google::protobuf::Message::ClassData*MachineType_ScanField::GetClassData() const { return &_class_data_; } void MachineType_ScanField::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.MachineType.ScanField) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { _this->_internal_mutable_dimension()->::stream::MachineType_Dimension::MergeFrom( from._internal_dimension()); } if (from._internal_id() != 0) { _this->_internal_set_id(from._internal_id()); } if (from._internal_reference() != 0) { _this->_internal_set_reference(from._internal_reference()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void MachineType_ScanField::CopyFrom(const MachineType_ScanField& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.MachineType.ScanField) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool MachineType_ScanField::IsInitialized() const { return true; } void MachineType_ScanField::InternalSwap(MachineType_ScanField* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(MachineType_ScanField, _impl_.reference_) + sizeof(MachineType_ScanField::_impl_.reference_) - PROTOBUF_FIELD_OFFSET(MachineType_ScanField, _impl_.dimension_)>( reinterpret_cast(&_impl_.dimension_), reinterpret_cast(&other->_impl_.dimension_)); } ::google::protobuf::Metadata MachineType_ScanField::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[11]); } // =================================================================== class MachineType::_Internal { public: }; MachineType::MachineType(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.MachineType) } MachineType::MachineType(const MachineType& from) : ::google::protobuf::Message() { MachineType* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.sf_){from._impl_.sf_}, decltype(_impl_.isok_){}, /*decltype(_impl_._cached_size_)*/ {}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); _this->_impl_.isok_ = from._impl_.isok_; // @@protoc_insertion_point(copy_constructor:stream.MachineType) } inline void MachineType::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.sf_){arena}, decltype(_impl_.isok_){false}, /*decltype(_impl_._cached_size_)*/ {}, }; } MachineType::~MachineType() { // @@protoc_insertion_point(destructor:stream.MachineType) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void MachineType::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.sf_.~RepeatedPtrField(); } void MachineType::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void MachineType::Clear() { // @@protoc_insertion_point(message_clear_start:stream.MachineType) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _internal_mutable_sf()->Clear(); _impl_.isok_ = false; _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* MachineType::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 1, 0, 2> MachineType::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 2, 8, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967292, // skipmap offsetof(decltype(_table_), field_entries), 2, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), &_MachineType_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ // bool isOk = 2; {::_pbi::TcParser::SingularVarintNoZag1(), {16, 63, 0, PROTOBUF_FIELD_OFFSET(MachineType, _impl_.isok_)}}, // repeated .stream.MachineType.ScanField sf = 1; {::_pbi::TcParser::FastMtR1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(MachineType, _impl_.sf_)}}, }}, {{ 65535, 65535 }}, {{ // repeated .stream.MachineType.ScanField sf = 1; {PROTOBUF_FIELD_OFFSET(MachineType, _impl_.sf_), 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, // bool isOk = 2; {PROTOBUF_FIELD_OFFSET(MachineType, _impl_.isok_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, }}, {{ {::_pbi::TcParser::GetTable<::stream::MachineType_ScanField>()}, }}, {{ }}, }; ::uint8_t* MachineType::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.MachineType) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // repeated .stream.MachineType.ScanField sf = 1; for (unsigned i = 0, n = static_cast(this->_internal_sf_size()); i < n; i++) { const auto& repfield = this->_internal_sf().Get(i); target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); } // bool isOk = 2; if (this->_internal_isok() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 2, this->_internal_isok(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.MachineType) return target; } ::size_t MachineType::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.MachineType) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // repeated .stream.MachineType.ScanField sf = 1; total_size += 1UL * this->_internal_sf_size(); for (const auto& msg : this->_internal_sf()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } // bool isOk = 2; if (this->_internal_isok() != 0) { total_size += 2; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData MachineType::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, MachineType::MergeImpl }; const ::google::protobuf::Message::ClassData*MachineType::GetClassData() const { return &_class_data_; } void MachineType::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.MachineType) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; _this->_internal_mutable_sf()->MergeFrom(from._internal_sf()); if (from._internal_isok() != 0) { _this->_internal_set_isok(from._internal_isok()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void MachineType::CopyFrom(const MachineType& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.MachineType) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool MachineType::IsInitialized() const { return true; } void MachineType::InternalSwap(MachineType* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.sf_.InternalSwap(&other->_impl_.sf_); swap(_impl_.isok_, other->_impl_.isok_); } ::google::protobuf::Metadata MachineType::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[12]); } // =================================================================== class JobDimensions::_Internal { public: }; JobDimensions::JobDimensions(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.JobDimensions) } JobDimensions::JobDimensions(const JobDimensions& from) : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:stream.JobDimensions) } inline void JobDimensions::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.xmin_){0}, decltype(_impl_.ymin_){0}, decltype(_impl_.zmin_){0}, decltype(_impl_.xmax_){0}, decltype(_impl_.ymax_){0}, decltype(_impl_.zmax_){0}, /*decltype(_impl_._cached_size_)*/ {}, }; } JobDimensions::~JobDimensions() { // @@protoc_insertion_point(destructor:stream.JobDimensions) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void JobDimensions::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void JobDimensions::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void JobDimensions::Clear() { // @@protoc_insertion_point(message_clear_start:stream.JobDimensions) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&_impl_.xmin_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.zmax_) - reinterpret_cast(&_impl_.xmin_)) + sizeof(_impl_.zmax_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* JobDimensions::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 6, 0, 0, 2> JobDimensions::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 6, 56, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967232, // skipmap offsetof(decltype(_table_), field_entries), 6, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_JobDimensions_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // float xmin = 1; {::_pbi::TcParser::FastF32S1, {13, 63, 0, PROTOBUF_FIELD_OFFSET(JobDimensions, _impl_.xmin_)}}, // float ymin = 2; {::_pbi::TcParser::FastF32S1, {21, 63, 0, PROTOBUF_FIELD_OFFSET(JobDimensions, _impl_.ymin_)}}, // float zmin = 3; {::_pbi::TcParser::FastF32S1, {29, 63, 0, PROTOBUF_FIELD_OFFSET(JobDimensions, _impl_.zmin_)}}, // float xmax = 4; {::_pbi::TcParser::FastF32S1, {37, 63, 0, PROTOBUF_FIELD_OFFSET(JobDimensions, _impl_.xmax_)}}, // float ymax = 5; {::_pbi::TcParser::FastF32S1, {45, 63, 0, PROTOBUF_FIELD_OFFSET(JobDimensions, _impl_.ymax_)}}, // float zmax = 6; {::_pbi::TcParser::FastF32S1, {53, 63, 0, PROTOBUF_FIELD_OFFSET(JobDimensions, _impl_.zmax_)}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // float xmin = 1; {PROTOBUF_FIELD_OFFSET(JobDimensions, _impl_.xmin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float ymin = 2; {PROTOBUF_FIELD_OFFSET(JobDimensions, _impl_.ymin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float zmin = 3; {PROTOBUF_FIELD_OFFSET(JobDimensions, _impl_.zmin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float xmax = 4; {PROTOBUF_FIELD_OFFSET(JobDimensions, _impl_.xmax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float ymax = 5; {PROTOBUF_FIELD_OFFSET(JobDimensions, _impl_.ymax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float zmax = 6; {PROTOBUF_FIELD_OFFSET(JobDimensions, _impl_.zmax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, }}, // no aux_entries {{ }}, }; ::uint8_t* JobDimensions::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.JobDimensions) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // float xmin = 1; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_xmin = this->_internal_xmin(); ::uint32_t raw_xmin; memcpy(&raw_xmin, &tmp_xmin, sizeof(tmp_xmin)); if (raw_xmin != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 1, this->_internal_xmin(), target); } // float ymin = 2; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_ymin = this->_internal_ymin(); ::uint32_t raw_ymin; memcpy(&raw_ymin, &tmp_ymin, sizeof(tmp_ymin)); if (raw_ymin != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 2, this->_internal_ymin(), target); } // float zmin = 3; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_zmin = this->_internal_zmin(); ::uint32_t raw_zmin; memcpy(&raw_zmin, &tmp_zmin, sizeof(tmp_zmin)); if (raw_zmin != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 3, this->_internal_zmin(), target); } // float xmax = 4; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_xmax = this->_internal_xmax(); ::uint32_t raw_xmax; memcpy(&raw_xmax, &tmp_xmax, sizeof(tmp_xmax)); if (raw_xmax != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 4, this->_internal_xmax(), target); } // float ymax = 5; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_ymax = this->_internal_ymax(); ::uint32_t raw_ymax; memcpy(&raw_ymax, &tmp_ymax, sizeof(tmp_ymax)); if (raw_ymax != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 5, this->_internal_ymax(), target); } // float zmax = 6; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_zmax = this->_internal_zmax(); ::uint32_t raw_zmax; memcpy(&raw_zmax, &tmp_zmax, sizeof(tmp_zmax)); if (raw_zmax != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 6, this->_internal_zmax(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.JobDimensions) return target; } ::size_t JobDimensions::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.JobDimensions) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // float xmin = 1; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_xmin = this->_internal_xmin(); ::uint32_t raw_xmin; memcpy(&raw_xmin, &tmp_xmin, sizeof(tmp_xmin)); if (raw_xmin != 0) { total_size += 5; } // float ymin = 2; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_ymin = this->_internal_ymin(); ::uint32_t raw_ymin; memcpy(&raw_ymin, &tmp_ymin, sizeof(tmp_ymin)); if (raw_ymin != 0) { total_size += 5; } // float zmin = 3; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_zmin = this->_internal_zmin(); ::uint32_t raw_zmin; memcpy(&raw_zmin, &tmp_zmin, sizeof(tmp_zmin)); if (raw_zmin != 0) { total_size += 5; } // float xmax = 4; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_xmax = this->_internal_xmax(); ::uint32_t raw_xmax; memcpy(&raw_xmax, &tmp_xmax, sizeof(tmp_xmax)); if (raw_xmax != 0) { total_size += 5; } // float ymax = 5; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_ymax = this->_internal_ymax(); ::uint32_t raw_ymax; memcpy(&raw_ymax, &tmp_ymax, sizeof(tmp_ymax)); if (raw_ymax != 0) { total_size += 5; } // float zmax = 6; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_zmax = this->_internal_zmax(); ::uint32_t raw_zmax; memcpy(&raw_zmax, &tmp_zmax, sizeof(tmp_zmax)); if (raw_zmax != 0) { total_size += 5; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData JobDimensions::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, JobDimensions::MergeImpl }; const ::google::protobuf::Message::ClassData*JobDimensions::GetClassData() const { return &_class_data_; } void JobDimensions::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.JobDimensions) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_xmin = from._internal_xmin(); ::uint32_t raw_xmin; memcpy(&raw_xmin, &tmp_xmin, sizeof(tmp_xmin)); if (raw_xmin != 0) { _this->_internal_set_xmin(from._internal_xmin()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_ymin = from._internal_ymin(); ::uint32_t raw_ymin; memcpy(&raw_ymin, &tmp_ymin, sizeof(tmp_ymin)); if (raw_ymin != 0) { _this->_internal_set_ymin(from._internal_ymin()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_zmin = from._internal_zmin(); ::uint32_t raw_zmin; memcpy(&raw_zmin, &tmp_zmin, sizeof(tmp_zmin)); if (raw_zmin != 0) { _this->_internal_set_zmin(from._internal_zmin()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_xmax = from._internal_xmax(); ::uint32_t raw_xmax; memcpy(&raw_xmax, &tmp_xmax, sizeof(tmp_xmax)); if (raw_xmax != 0) { _this->_internal_set_xmax(from._internal_xmax()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_ymax = from._internal_ymax(); ::uint32_t raw_ymax; memcpy(&raw_ymax, &tmp_ymax, sizeof(tmp_ymax)); if (raw_ymax != 0) { _this->_internal_set_ymax(from._internal_ymax()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_zmax = from._internal_zmax(); ::uint32_t raw_zmax; memcpy(&raw_zmax, &tmp_zmax, sizeof(tmp_zmax)); if (raw_zmax != 0) { _this->_internal_set_zmax(from._internal_zmax()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void JobDimensions::CopyFrom(const JobDimensions& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.JobDimensions) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool JobDimensions::IsInitialized() const { return true; } void JobDimensions::InternalSwap(JobDimensions* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(JobDimensions, _impl_.zmax_) + sizeof(JobDimensions::_impl_.zmax_) - PROTOBUF_FIELD_OFFSET(JobDimensions, _impl_.xmin_)>( reinterpret_cast(&_impl_.xmin_), reinterpret_cast(&other->_impl_.xmin_)); } ::google::protobuf::Metadata JobDimensions::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[13]); } // =================================================================== class PartPosBean::_Internal { public: }; PartPosBean::PartPosBean(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.PartPosBean) } PartPosBean::PartPosBean(const PartPosBean& from) : ::google::protobuf::Message() { PartPosBean* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.jobid_){}, decltype(_impl_.partid_){}, decltype(_impl_.xoffset_){}, decltype(_impl_.yoffset_){}, decltype(_impl_.rotateangle_){}, decltype(_impl_.radians_){}, decltype(_impl_.srcpartcenterx_){}, decltype(_impl_.srcpartcentery_){}, decltype(_impl_.partcenterx_){}, decltype(_impl_.partcentery_){}, decltype(_impl_.selectdatapoint1_1_){}, decltype(_impl_.selectdatapoint1_2_){}, decltype(_impl_.selectdatapoint2_1_){}, decltype(_impl_.selectdatapoint2_2_){}, decltype(_impl_.selectimagepoint1_1_){}, decltype(_impl_.selectimagepoint1_2_){}, decltype(_impl_.selectimagepoint2_1_){}, decltype(_impl_.selectimagepoint2_2_){}, decltype(_impl_.isselect_){}, /*decltype(_impl_._cached_size_)*/ {}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); _impl_.jobid_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.jobid_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_jobid().empty()) { _this->_impl_.jobid_.Set(from._internal_jobid(), _this->GetArenaForAllocation()); } ::memcpy(&_impl_.partid_, &from._impl_.partid_, static_cast<::size_t>(reinterpret_cast(&_impl_.isselect_) - reinterpret_cast(&_impl_.partid_)) + sizeof(_impl_.isselect_)); // @@protoc_insertion_point(copy_constructor:stream.PartPosBean) } inline void PartPosBean::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.jobid_){}, decltype(_impl_.partid_){0}, decltype(_impl_.xoffset_){0}, decltype(_impl_.yoffset_){0}, decltype(_impl_.rotateangle_){0}, decltype(_impl_.radians_){0}, decltype(_impl_.srcpartcenterx_){0}, decltype(_impl_.srcpartcentery_){0}, decltype(_impl_.partcenterx_){0}, decltype(_impl_.partcentery_){0}, decltype(_impl_.selectdatapoint1_1_){0}, decltype(_impl_.selectdatapoint1_2_){0}, decltype(_impl_.selectdatapoint2_1_){0}, decltype(_impl_.selectdatapoint2_2_){0}, decltype(_impl_.selectimagepoint1_1_){0}, decltype(_impl_.selectimagepoint1_2_){0}, decltype(_impl_.selectimagepoint2_1_){0}, decltype(_impl_.selectimagepoint2_2_){0}, decltype(_impl_.isselect_){false}, /*decltype(_impl_._cached_size_)*/ {}, }; _impl_.jobid_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.jobid_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } PartPosBean::~PartPosBean() { // @@protoc_insertion_point(destructor:stream.PartPosBean) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void PartPosBean::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.jobid_.Destroy(); } void PartPosBean::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void PartPosBean::Clear() { // @@protoc_insertion_point(message_clear_start:stream.PartPosBean) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.jobid_.ClearToEmpty(); ::memset(&_impl_.partid_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.isselect_) - reinterpret_cast(&_impl_.partid_)) + sizeof(_impl_.isselect_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* PartPosBean::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<5, 19, 0, 0, 2> PartPosBean::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 19, 248, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294443008, // skipmap offsetof(decltype(_table_), field_entries), 19, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_PartPosBean_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // bytes jobId = 1; {::_pbi::TcParser::FastBS1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.jobid_)}}, // int32 partId = 2; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(PartPosBean, _impl_.partid_), 63>(), {16, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.partid_)}}, // float xOffset = 3; {::_pbi::TcParser::FastF32S1, {29, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.xoffset_)}}, // float yOffset = 4; {::_pbi::TcParser::FastF32S1, {37, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.yoffset_)}}, // float rotateAngle = 5; {::_pbi::TcParser::FastF32S1, {45, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.rotateangle_)}}, // float radians = 6; {::_pbi::TcParser::FastF32S1, {53, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.radians_)}}, // float srcPartCenterX = 7; {::_pbi::TcParser::FastF32S1, {61, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.srcpartcenterx_)}}, // float srcPartCenterY = 8; {::_pbi::TcParser::FastF32S1, {69, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.srcpartcentery_)}}, // float partCenterX = 9; {::_pbi::TcParser::FastF32S1, {77, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.partcenterx_)}}, // float partCenterY = 10; {::_pbi::TcParser::FastF32S1, {85, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.partcentery_)}}, // float selectDataPoint1_1 = 11; {::_pbi::TcParser::FastF32S1, {93, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.selectdatapoint1_1_)}}, // float selectDataPoint1_2 = 12; {::_pbi::TcParser::FastF32S1, {101, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.selectdatapoint1_2_)}}, // float selectDataPoint2_1 = 13; {::_pbi::TcParser::FastF32S1, {109, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.selectdatapoint2_1_)}}, // float selectDataPoint2_2 = 14; {::_pbi::TcParser::FastF32S1, {117, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.selectdatapoint2_2_)}}, // float selectImagePoint1_1 = 15; {::_pbi::TcParser::FastF32S1, {125, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.selectimagepoint1_1_)}}, // float selectImagePoint1_2 = 16; {::_pbi::TcParser::FastF32S2, {389, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.selectimagepoint1_2_)}}, // float selectImagePoint2_1 = 17; {::_pbi::TcParser::FastF32S2, {397, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.selectimagepoint2_1_)}}, // float selectImagePoint2_2 = 18; {::_pbi::TcParser::FastF32S2, {405, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.selectimagepoint2_2_)}}, // bool isSelect = 19; {::_pbi::TcParser::FastV8S2, {408, 63, 0, PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.isselect_)}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // bytes jobId = 1; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.jobid_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, // int32 partId = 2; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.partid_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // float xOffset = 3; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.xoffset_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float yOffset = 4; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.yoffset_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float rotateAngle = 5; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.rotateangle_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float radians = 6; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.radians_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float srcPartCenterX = 7; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.srcpartcenterx_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float srcPartCenterY = 8; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.srcpartcentery_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float partCenterX = 9; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.partcenterx_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float partCenterY = 10; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.partcentery_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float selectDataPoint1_1 = 11; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.selectdatapoint1_1_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float selectDataPoint1_2 = 12; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.selectdatapoint1_2_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float selectDataPoint2_1 = 13; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.selectdatapoint2_1_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float selectDataPoint2_2 = 14; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.selectdatapoint2_2_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float selectImagePoint1_1 = 15; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.selectimagepoint1_1_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float selectImagePoint1_2 = 16; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.selectimagepoint1_2_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float selectImagePoint2_1 = 17; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.selectimagepoint2_1_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float selectImagePoint2_2 = 18; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.selectimagepoint2_2_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // bool isSelect = 19; {PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.isselect_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, }}, // no aux_entries {{ }}, }; ::uint8_t* PartPosBean::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.PartPosBean) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // bytes jobId = 1; if (!this->_internal_jobid().empty()) { const std::string& _s = this->_internal_jobid(); target = stream->WriteBytesMaybeAliased(1, _s, target); } // int32 partId = 2; if (this->_internal_partid() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<2>( stream, this->_internal_partid(), target); } // float xOffset = 3; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_xoffset = this->_internal_xoffset(); ::uint32_t raw_xoffset; memcpy(&raw_xoffset, &tmp_xoffset, sizeof(tmp_xoffset)); if (raw_xoffset != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 3, this->_internal_xoffset(), target); } // float yOffset = 4; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_yoffset = this->_internal_yoffset(); ::uint32_t raw_yoffset; memcpy(&raw_yoffset, &tmp_yoffset, sizeof(tmp_yoffset)); if (raw_yoffset != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 4, this->_internal_yoffset(), target); } // float rotateAngle = 5; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_rotateangle = this->_internal_rotateangle(); ::uint32_t raw_rotateangle; memcpy(&raw_rotateangle, &tmp_rotateangle, sizeof(tmp_rotateangle)); if (raw_rotateangle != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 5, this->_internal_rotateangle(), target); } // float radians = 6; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_radians = this->_internal_radians(); ::uint32_t raw_radians; memcpy(&raw_radians, &tmp_radians, sizeof(tmp_radians)); if (raw_radians != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 6, this->_internal_radians(), target); } // float srcPartCenterX = 7; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_srcpartcenterx = this->_internal_srcpartcenterx(); ::uint32_t raw_srcpartcenterx; memcpy(&raw_srcpartcenterx, &tmp_srcpartcenterx, sizeof(tmp_srcpartcenterx)); if (raw_srcpartcenterx != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 7, this->_internal_srcpartcenterx(), target); } // float srcPartCenterY = 8; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_srcpartcentery = this->_internal_srcpartcentery(); ::uint32_t raw_srcpartcentery; memcpy(&raw_srcpartcentery, &tmp_srcpartcentery, sizeof(tmp_srcpartcentery)); if (raw_srcpartcentery != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 8, this->_internal_srcpartcentery(), target); } // float partCenterX = 9; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_partcenterx = this->_internal_partcenterx(); ::uint32_t raw_partcenterx; memcpy(&raw_partcenterx, &tmp_partcenterx, sizeof(tmp_partcenterx)); if (raw_partcenterx != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 9, this->_internal_partcenterx(), target); } // float partCenterY = 10; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_partcentery = this->_internal_partcentery(); ::uint32_t raw_partcentery; memcpy(&raw_partcentery, &tmp_partcentery, sizeof(tmp_partcentery)); if (raw_partcentery != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 10, this->_internal_partcentery(), target); } // float selectDataPoint1_1 = 11; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectdatapoint1_1 = this->_internal_selectdatapoint1_1(); ::uint32_t raw_selectdatapoint1_1; memcpy(&raw_selectdatapoint1_1, &tmp_selectdatapoint1_1, sizeof(tmp_selectdatapoint1_1)); if (raw_selectdatapoint1_1 != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 11, this->_internal_selectdatapoint1_1(), target); } // float selectDataPoint1_2 = 12; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectdatapoint1_2 = this->_internal_selectdatapoint1_2(); ::uint32_t raw_selectdatapoint1_2; memcpy(&raw_selectdatapoint1_2, &tmp_selectdatapoint1_2, sizeof(tmp_selectdatapoint1_2)); if (raw_selectdatapoint1_2 != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 12, this->_internal_selectdatapoint1_2(), target); } // float selectDataPoint2_1 = 13; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectdatapoint2_1 = this->_internal_selectdatapoint2_1(); ::uint32_t raw_selectdatapoint2_1; memcpy(&raw_selectdatapoint2_1, &tmp_selectdatapoint2_1, sizeof(tmp_selectdatapoint2_1)); if (raw_selectdatapoint2_1 != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 13, this->_internal_selectdatapoint2_1(), target); } // float selectDataPoint2_2 = 14; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectdatapoint2_2 = this->_internal_selectdatapoint2_2(); ::uint32_t raw_selectdatapoint2_2; memcpy(&raw_selectdatapoint2_2, &tmp_selectdatapoint2_2, sizeof(tmp_selectdatapoint2_2)); if (raw_selectdatapoint2_2 != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 14, this->_internal_selectdatapoint2_2(), target); } // float selectImagePoint1_1 = 15; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectimagepoint1_1 = this->_internal_selectimagepoint1_1(); ::uint32_t raw_selectimagepoint1_1; memcpy(&raw_selectimagepoint1_1, &tmp_selectimagepoint1_1, sizeof(tmp_selectimagepoint1_1)); if (raw_selectimagepoint1_1 != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 15, this->_internal_selectimagepoint1_1(), target); } // float selectImagePoint1_2 = 16; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectimagepoint1_2 = this->_internal_selectimagepoint1_2(); ::uint32_t raw_selectimagepoint1_2; memcpy(&raw_selectimagepoint1_2, &tmp_selectimagepoint1_2, sizeof(tmp_selectimagepoint1_2)); if (raw_selectimagepoint1_2 != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 16, this->_internal_selectimagepoint1_2(), target); } // float selectImagePoint2_1 = 17; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectimagepoint2_1 = this->_internal_selectimagepoint2_1(); ::uint32_t raw_selectimagepoint2_1; memcpy(&raw_selectimagepoint2_1, &tmp_selectimagepoint2_1, sizeof(tmp_selectimagepoint2_1)); if (raw_selectimagepoint2_1 != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 17, this->_internal_selectimagepoint2_1(), target); } // float selectImagePoint2_2 = 18; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectimagepoint2_2 = this->_internal_selectimagepoint2_2(); ::uint32_t raw_selectimagepoint2_2; memcpy(&raw_selectimagepoint2_2, &tmp_selectimagepoint2_2, sizeof(tmp_selectimagepoint2_2)); if (raw_selectimagepoint2_2 != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 18, this->_internal_selectimagepoint2_2(), target); } // bool isSelect = 19; if (this->_internal_isselect() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 19, this->_internal_isselect(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.PartPosBean) return target; } ::size_t PartPosBean::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.PartPosBean) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // bytes jobId = 1; if (!this->_internal_jobid().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_jobid()); } // int32 partId = 2; if (this->_internal_partid() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_partid()); } // float xOffset = 3; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_xoffset = this->_internal_xoffset(); ::uint32_t raw_xoffset; memcpy(&raw_xoffset, &tmp_xoffset, sizeof(tmp_xoffset)); if (raw_xoffset != 0) { total_size += 5; } // float yOffset = 4; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_yoffset = this->_internal_yoffset(); ::uint32_t raw_yoffset; memcpy(&raw_yoffset, &tmp_yoffset, sizeof(tmp_yoffset)); if (raw_yoffset != 0) { total_size += 5; } // float rotateAngle = 5; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_rotateangle = this->_internal_rotateangle(); ::uint32_t raw_rotateangle; memcpy(&raw_rotateangle, &tmp_rotateangle, sizeof(tmp_rotateangle)); if (raw_rotateangle != 0) { total_size += 5; } // float radians = 6; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_radians = this->_internal_radians(); ::uint32_t raw_radians; memcpy(&raw_radians, &tmp_radians, sizeof(tmp_radians)); if (raw_radians != 0) { total_size += 5; } // float srcPartCenterX = 7; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_srcpartcenterx = this->_internal_srcpartcenterx(); ::uint32_t raw_srcpartcenterx; memcpy(&raw_srcpartcenterx, &tmp_srcpartcenterx, sizeof(tmp_srcpartcenterx)); if (raw_srcpartcenterx != 0) { total_size += 5; } // float srcPartCenterY = 8; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_srcpartcentery = this->_internal_srcpartcentery(); ::uint32_t raw_srcpartcentery; memcpy(&raw_srcpartcentery, &tmp_srcpartcentery, sizeof(tmp_srcpartcentery)); if (raw_srcpartcentery != 0) { total_size += 5; } // float partCenterX = 9; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_partcenterx = this->_internal_partcenterx(); ::uint32_t raw_partcenterx; memcpy(&raw_partcenterx, &tmp_partcenterx, sizeof(tmp_partcenterx)); if (raw_partcenterx != 0) { total_size += 5; } // float partCenterY = 10; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_partcentery = this->_internal_partcentery(); ::uint32_t raw_partcentery; memcpy(&raw_partcentery, &tmp_partcentery, sizeof(tmp_partcentery)); if (raw_partcentery != 0) { total_size += 5; } // float selectDataPoint1_1 = 11; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectdatapoint1_1 = this->_internal_selectdatapoint1_1(); ::uint32_t raw_selectdatapoint1_1; memcpy(&raw_selectdatapoint1_1, &tmp_selectdatapoint1_1, sizeof(tmp_selectdatapoint1_1)); if (raw_selectdatapoint1_1 != 0) { total_size += 5; } // float selectDataPoint1_2 = 12; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectdatapoint1_2 = this->_internal_selectdatapoint1_2(); ::uint32_t raw_selectdatapoint1_2; memcpy(&raw_selectdatapoint1_2, &tmp_selectdatapoint1_2, sizeof(tmp_selectdatapoint1_2)); if (raw_selectdatapoint1_2 != 0) { total_size += 5; } // float selectDataPoint2_1 = 13; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectdatapoint2_1 = this->_internal_selectdatapoint2_1(); ::uint32_t raw_selectdatapoint2_1; memcpy(&raw_selectdatapoint2_1, &tmp_selectdatapoint2_1, sizeof(tmp_selectdatapoint2_1)); if (raw_selectdatapoint2_1 != 0) { total_size += 5; } // float selectDataPoint2_2 = 14; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectdatapoint2_2 = this->_internal_selectdatapoint2_2(); ::uint32_t raw_selectdatapoint2_2; memcpy(&raw_selectdatapoint2_2, &tmp_selectdatapoint2_2, sizeof(tmp_selectdatapoint2_2)); if (raw_selectdatapoint2_2 != 0) { total_size += 5; } // float selectImagePoint1_1 = 15; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectimagepoint1_1 = this->_internal_selectimagepoint1_1(); ::uint32_t raw_selectimagepoint1_1; memcpy(&raw_selectimagepoint1_1, &tmp_selectimagepoint1_1, sizeof(tmp_selectimagepoint1_1)); if (raw_selectimagepoint1_1 != 0) { total_size += 5; } // float selectImagePoint1_2 = 16; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectimagepoint1_2 = this->_internal_selectimagepoint1_2(); ::uint32_t raw_selectimagepoint1_2; memcpy(&raw_selectimagepoint1_2, &tmp_selectimagepoint1_2, sizeof(tmp_selectimagepoint1_2)); if (raw_selectimagepoint1_2 != 0) { total_size += 6; } // float selectImagePoint2_1 = 17; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectimagepoint2_1 = this->_internal_selectimagepoint2_1(); ::uint32_t raw_selectimagepoint2_1; memcpy(&raw_selectimagepoint2_1, &tmp_selectimagepoint2_1, sizeof(tmp_selectimagepoint2_1)); if (raw_selectimagepoint2_1 != 0) { total_size += 6; } // float selectImagePoint2_2 = 18; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectimagepoint2_2 = this->_internal_selectimagepoint2_2(); ::uint32_t raw_selectimagepoint2_2; memcpy(&raw_selectimagepoint2_2, &tmp_selectimagepoint2_2, sizeof(tmp_selectimagepoint2_2)); if (raw_selectimagepoint2_2 != 0) { total_size += 6; } // bool isSelect = 19; if (this->_internal_isselect() != 0) { total_size += 3; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData PartPosBean::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, PartPosBean::MergeImpl }; const ::google::protobuf::Message::ClassData*PartPosBean::GetClassData() const { return &_class_data_; } void PartPosBean::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.PartPosBean) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (!from._internal_jobid().empty()) { _this->_internal_set_jobid(from._internal_jobid()); } if (from._internal_partid() != 0) { _this->_internal_set_partid(from._internal_partid()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_xoffset = from._internal_xoffset(); ::uint32_t raw_xoffset; memcpy(&raw_xoffset, &tmp_xoffset, sizeof(tmp_xoffset)); if (raw_xoffset != 0) { _this->_internal_set_xoffset(from._internal_xoffset()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_yoffset = from._internal_yoffset(); ::uint32_t raw_yoffset; memcpy(&raw_yoffset, &tmp_yoffset, sizeof(tmp_yoffset)); if (raw_yoffset != 0) { _this->_internal_set_yoffset(from._internal_yoffset()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_rotateangle = from._internal_rotateangle(); ::uint32_t raw_rotateangle; memcpy(&raw_rotateangle, &tmp_rotateangle, sizeof(tmp_rotateangle)); if (raw_rotateangle != 0) { _this->_internal_set_rotateangle(from._internal_rotateangle()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_radians = from._internal_radians(); ::uint32_t raw_radians; memcpy(&raw_radians, &tmp_radians, sizeof(tmp_radians)); if (raw_radians != 0) { _this->_internal_set_radians(from._internal_radians()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_srcpartcenterx = from._internal_srcpartcenterx(); ::uint32_t raw_srcpartcenterx; memcpy(&raw_srcpartcenterx, &tmp_srcpartcenterx, sizeof(tmp_srcpartcenterx)); if (raw_srcpartcenterx != 0) { _this->_internal_set_srcpartcenterx(from._internal_srcpartcenterx()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_srcpartcentery = from._internal_srcpartcentery(); ::uint32_t raw_srcpartcentery; memcpy(&raw_srcpartcentery, &tmp_srcpartcentery, sizeof(tmp_srcpartcentery)); if (raw_srcpartcentery != 0) { _this->_internal_set_srcpartcentery(from._internal_srcpartcentery()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_partcenterx = from._internal_partcenterx(); ::uint32_t raw_partcenterx; memcpy(&raw_partcenterx, &tmp_partcenterx, sizeof(tmp_partcenterx)); if (raw_partcenterx != 0) { _this->_internal_set_partcenterx(from._internal_partcenterx()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_partcentery = from._internal_partcentery(); ::uint32_t raw_partcentery; memcpy(&raw_partcentery, &tmp_partcentery, sizeof(tmp_partcentery)); if (raw_partcentery != 0) { _this->_internal_set_partcentery(from._internal_partcentery()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectdatapoint1_1 = from._internal_selectdatapoint1_1(); ::uint32_t raw_selectdatapoint1_1; memcpy(&raw_selectdatapoint1_1, &tmp_selectdatapoint1_1, sizeof(tmp_selectdatapoint1_1)); if (raw_selectdatapoint1_1 != 0) { _this->_internal_set_selectdatapoint1_1(from._internal_selectdatapoint1_1()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectdatapoint1_2 = from._internal_selectdatapoint1_2(); ::uint32_t raw_selectdatapoint1_2; memcpy(&raw_selectdatapoint1_2, &tmp_selectdatapoint1_2, sizeof(tmp_selectdatapoint1_2)); if (raw_selectdatapoint1_2 != 0) { _this->_internal_set_selectdatapoint1_2(from._internal_selectdatapoint1_2()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectdatapoint2_1 = from._internal_selectdatapoint2_1(); ::uint32_t raw_selectdatapoint2_1; memcpy(&raw_selectdatapoint2_1, &tmp_selectdatapoint2_1, sizeof(tmp_selectdatapoint2_1)); if (raw_selectdatapoint2_1 != 0) { _this->_internal_set_selectdatapoint2_1(from._internal_selectdatapoint2_1()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectdatapoint2_2 = from._internal_selectdatapoint2_2(); ::uint32_t raw_selectdatapoint2_2; memcpy(&raw_selectdatapoint2_2, &tmp_selectdatapoint2_2, sizeof(tmp_selectdatapoint2_2)); if (raw_selectdatapoint2_2 != 0) { _this->_internal_set_selectdatapoint2_2(from._internal_selectdatapoint2_2()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectimagepoint1_1 = from._internal_selectimagepoint1_1(); ::uint32_t raw_selectimagepoint1_1; memcpy(&raw_selectimagepoint1_1, &tmp_selectimagepoint1_1, sizeof(tmp_selectimagepoint1_1)); if (raw_selectimagepoint1_1 != 0) { _this->_internal_set_selectimagepoint1_1(from._internal_selectimagepoint1_1()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectimagepoint1_2 = from._internal_selectimagepoint1_2(); ::uint32_t raw_selectimagepoint1_2; memcpy(&raw_selectimagepoint1_2, &tmp_selectimagepoint1_2, sizeof(tmp_selectimagepoint1_2)); if (raw_selectimagepoint1_2 != 0) { _this->_internal_set_selectimagepoint1_2(from._internal_selectimagepoint1_2()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectimagepoint2_1 = from._internal_selectimagepoint2_1(); ::uint32_t raw_selectimagepoint2_1; memcpy(&raw_selectimagepoint2_1, &tmp_selectimagepoint2_1, sizeof(tmp_selectimagepoint2_1)); if (raw_selectimagepoint2_1 != 0) { _this->_internal_set_selectimagepoint2_1(from._internal_selectimagepoint2_1()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_selectimagepoint2_2 = from._internal_selectimagepoint2_2(); ::uint32_t raw_selectimagepoint2_2; memcpy(&raw_selectimagepoint2_2, &tmp_selectimagepoint2_2, sizeof(tmp_selectimagepoint2_2)); if (raw_selectimagepoint2_2 != 0) { _this->_internal_set_selectimagepoint2_2(from._internal_selectimagepoint2_2()); } if (from._internal_isselect() != 0) { _this->_internal_set_isselect(from._internal_isselect()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void PartPosBean::CopyFrom(const PartPosBean& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.PartPosBean) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool PartPosBean::IsInitialized() const { return true; } void PartPosBean::InternalSwap(PartPosBean* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.jobid_, lhs_arena, &other->_impl_.jobid_, rhs_arena); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.isselect_) + sizeof(PartPosBean::_impl_.isselect_) - PROTOBUF_FIELD_OFFSET(PartPosBean, _impl_.partid_)>( reinterpret_cast(&_impl_.partid_), reinterpret_cast(&other->_impl_.partid_)); } ::google::protobuf::Metadata PartPosBean::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[14]); } // =================================================================== class ParameterSet_LaserSet::_Internal { public: }; ParameterSet_LaserSet::ParameterSet_LaserSet(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.ParameterSet.LaserSet) } ParameterSet_LaserSet::ParameterSet_LaserSet(const ParameterSet_LaserSet& from) : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:stream.ParameterSet.LaserSet) } inline void ParameterSet_LaserSet::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.id_){0}, decltype(_impl_.laser_diameter_){0}, decltype(_impl_.laser_power_){0}, decltype(_impl_.laser_real_power_){0}, /*decltype(_impl_._cached_size_)*/ {}, }; } ParameterSet_LaserSet::~ParameterSet_LaserSet() { // @@protoc_insertion_point(destructor:stream.ParameterSet.LaserSet) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void ParameterSet_LaserSet::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void ParameterSet_LaserSet::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void ParameterSet_LaserSet::Clear() { // @@protoc_insertion_point(message_clear_start:stream.ParameterSet.LaserSet) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&_impl_.id_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.laser_real_power_) - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.laser_real_power_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* ParameterSet_LaserSet::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 4, 0, 0, 2> ParameterSet_LaserSet::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 4, 24, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967280, // skipmap offsetof(decltype(_table_), field_entries), 4, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_ParameterSet_LaserSet_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ // float laser_real_power = 4; {::_pbi::TcParser::FastF32S1, {37, 63, 0, PROTOBUF_FIELD_OFFSET(ParameterSet_LaserSet, _impl_.laser_real_power_)}}, // int32 id = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ParameterSet_LaserSet, _impl_.id_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(ParameterSet_LaserSet, _impl_.id_)}}, // float laser_diameter = 2; {::_pbi::TcParser::FastF32S1, {21, 63, 0, PROTOBUF_FIELD_OFFSET(ParameterSet_LaserSet, _impl_.laser_diameter_)}}, // float laser_power = 3; {::_pbi::TcParser::FastF32S1, {29, 63, 0, PROTOBUF_FIELD_OFFSET(ParameterSet_LaserSet, _impl_.laser_power_)}}, }}, {{ 65535, 65535 }}, {{ // int32 id = 1; {PROTOBUF_FIELD_OFFSET(ParameterSet_LaserSet, _impl_.id_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // float laser_diameter = 2; {PROTOBUF_FIELD_OFFSET(ParameterSet_LaserSet, _impl_.laser_diameter_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float laser_power = 3; {PROTOBUF_FIELD_OFFSET(ParameterSet_LaserSet, _impl_.laser_power_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float laser_real_power = 4; {PROTOBUF_FIELD_OFFSET(ParameterSet_LaserSet, _impl_.laser_real_power_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, }}, // no aux_entries {{ }}, }; ::uint8_t* ParameterSet_LaserSet::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.ParameterSet.LaserSet) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // int32 id = 1; if (this->_internal_id() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<1>( stream, this->_internal_id(), target); } // float laser_diameter = 2; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_laser_diameter = this->_internal_laser_diameter(); ::uint32_t raw_laser_diameter; memcpy(&raw_laser_diameter, &tmp_laser_diameter, sizeof(tmp_laser_diameter)); if (raw_laser_diameter != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 2, this->_internal_laser_diameter(), target); } // float laser_power = 3; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_laser_power = this->_internal_laser_power(); ::uint32_t raw_laser_power; memcpy(&raw_laser_power, &tmp_laser_power, sizeof(tmp_laser_power)); if (raw_laser_power != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 3, this->_internal_laser_power(), target); } // float laser_real_power = 4; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_laser_real_power = this->_internal_laser_real_power(); ::uint32_t raw_laser_real_power; memcpy(&raw_laser_real_power, &tmp_laser_real_power, sizeof(tmp_laser_real_power)); if (raw_laser_real_power != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 4, this->_internal_laser_real_power(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.ParameterSet.LaserSet) return target; } ::size_t ParameterSet_LaserSet::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.ParameterSet.LaserSet) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // int32 id = 1; if (this->_internal_id() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_id()); } // float laser_diameter = 2; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_laser_diameter = this->_internal_laser_diameter(); ::uint32_t raw_laser_diameter; memcpy(&raw_laser_diameter, &tmp_laser_diameter, sizeof(tmp_laser_diameter)); if (raw_laser_diameter != 0) { total_size += 5; } // float laser_power = 3; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_laser_power = this->_internal_laser_power(); ::uint32_t raw_laser_power; memcpy(&raw_laser_power, &tmp_laser_power, sizeof(tmp_laser_power)); if (raw_laser_power != 0) { total_size += 5; } // float laser_real_power = 4; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_laser_real_power = this->_internal_laser_real_power(); ::uint32_t raw_laser_real_power; memcpy(&raw_laser_real_power, &tmp_laser_real_power, sizeof(tmp_laser_real_power)); if (raw_laser_real_power != 0) { total_size += 5; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData ParameterSet_LaserSet::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, ParameterSet_LaserSet::MergeImpl }; const ::google::protobuf::Message::ClassData*ParameterSet_LaserSet::GetClassData() const { return &_class_data_; } void ParameterSet_LaserSet::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.ParameterSet.LaserSet) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_id() != 0) { _this->_internal_set_id(from._internal_id()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_laser_diameter = from._internal_laser_diameter(); ::uint32_t raw_laser_diameter; memcpy(&raw_laser_diameter, &tmp_laser_diameter, sizeof(tmp_laser_diameter)); if (raw_laser_diameter != 0) { _this->_internal_set_laser_diameter(from._internal_laser_diameter()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_laser_power = from._internal_laser_power(); ::uint32_t raw_laser_power; memcpy(&raw_laser_power, &tmp_laser_power, sizeof(tmp_laser_power)); if (raw_laser_power != 0) { _this->_internal_set_laser_power(from._internal_laser_power()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_laser_real_power = from._internal_laser_real_power(); ::uint32_t raw_laser_real_power; memcpy(&raw_laser_real_power, &tmp_laser_real_power, sizeof(tmp_laser_real_power)); if (raw_laser_real_power != 0) { _this->_internal_set_laser_real_power(from._internal_laser_real_power()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void ParameterSet_LaserSet::CopyFrom(const ParameterSet_LaserSet& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.ParameterSet.LaserSet) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool ParameterSet_LaserSet::IsInitialized() const { return true; } void ParameterSet_LaserSet::InternalSwap(ParameterSet_LaserSet* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(ParameterSet_LaserSet, _impl_.laser_real_power_) + sizeof(ParameterSet_LaserSet::_impl_.laser_real_power_) - PROTOBUF_FIELD_OFFSET(ParameterSet_LaserSet, _impl_.id_)>( reinterpret_cast(&_impl_.id_), reinterpret_cast(&other->_impl_.id_)); } ::google::protobuf::Metadata ParameterSet_LaserSet::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[15]); } // =================================================================== class ParameterSet::_Internal { public: using HasBits = decltype(std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(ParameterSet, _impl_._has_bits_); static const ::stream::ParameterSet_LaserSet& laser_set(const ParameterSet* msg); static void set_has_laser_set(HasBits* has_bits) { (*has_bits)[0] |= 1u; } }; const ::stream::ParameterSet_LaserSet& ParameterSet::_Internal::laser_set(const ParameterSet* msg) { return *msg->_impl_.laser_set_; } ParameterSet::ParameterSet(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.ParameterSet) } ParameterSet::ParameterSet(const ParameterSet& from) : ::google::protobuf::Message() { ParameterSet* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_._has_bits_){from._impl_._has_bits_}, /*decltype(_impl_._cached_size_)*/ {}, decltype(_impl_.name_){}, decltype(_impl_.set_type_){}, decltype(_impl_.laser_set_){nullptr}, decltype(_impl_.scan_field_){}, decltype(_impl_.id_){}, decltype(_impl_.laser_speed_){}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); _impl_.name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.name_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_name().empty()) { _this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation()); } _impl_.set_type_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.set_type_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_set_type().empty()) { _this->_impl_.set_type_.Set(from._internal_set_type(), _this->GetArenaForAllocation()); } if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { _this->_impl_.laser_set_ = new ::stream::ParameterSet_LaserSet(*from._impl_.laser_set_); } ::memcpy(&_impl_.scan_field_, &from._impl_.scan_field_, static_cast<::size_t>(reinterpret_cast(&_impl_.laser_speed_) - reinterpret_cast(&_impl_.scan_field_)) + sizeof(_impl_.laser_speed_)); // @@protoc_insertion_point(copy_constructor:stream.ParameterSet) } inline void ParameterSet::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_._has_bits_){}, /*decltype(_impl_._cached_size_)*/ {}, decltype(_impl_.name_){}, decltype(_impl_.set_type_){}, decltype(_impl_.laser_set_){nullptr}, decltype(_impl_.scan_field_){0}, decltype(_impl_.id_){0}, decltype(_impl_.laser_speed_){0}, }; _impl_.name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.name_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.set_type_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.set_type_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } ParameterSet::~ParameterSet() { // @@protoc_insertion_point(destructor:stream.ParameterSet) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void ParameterSet::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.name_.Destroy(); _impl_.set_type_.Destroy(); if (this != internal_default_instance()) delete _impl_.laser_set_; } void ParameterSet::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void ParameterSet::Clear() { // @@protoc_insertion_point(message_clear_start:stream.ParameterSet) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.name_.ClearToEmpty(); _impl_.set_type_.ClearToEmpty(); cached_has_bits = _impl_._has_bits_[0]; if (cached_has_bits & 0x00000001u) { ABSL_DCHECK(_impl_.laser_set_ != nullptr); _impl_.laser_set_->Clear(); } ::memset(&_impl_.scan_field_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.laser_speed_) - reinterpret_cast(&_impl_.scan_field_)) + sizeof(_impl_.laser_speed_)); _impl_._has_bits_.Clear(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* ParameterSet::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 6, 1, 0, 2> ParameterSet::_table_ = { { PROTOBUF_FIELD_OFFSET(ParameterSet, _impl_._has_bits_), 0, // no _extensions_ 6, 56, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967232, // skipmap offsetof(decltype(_table_), field_entries), 6, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), &_ParameterSet_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // int32 scan_field = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ParameterSet, _impl_.scan_field_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(ParameterSet, _impl_.scan_field_)}}, // int32 id = 2; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ParameterSet, _impl_.id_), 63>(), {16, 63, 0, PROTOBUF_FIELD_OFFSET(ParameterSet, _impl_.id_)}}, // bytes name = 3; {::_pbi::TcParser::FastBS1, {26, 63, 0, PROTOBUF_FIELD_OFFSET(ParameterSet, _impl_.name_)}}, // bytes set_type = 4; {::_pbi::TcParser::FastBS1, {34, 63, 0, PROTOBUF_FIELD_OFFSET(ParameterSet, _impl_.set_type_)}}, // float laser_speed = 5; {::_pbi::TcParser::FastF32S1, {45, 63, 0, PROTOBUF_FIELD_OFFSET(ParameterSet, _impl_.laser_speed_)}}, // .stream.ParameterSet.LaserSet laser_set = 6; {::_pbi::TcParser::FastMtS1, {50, 0, 0, PROTOBUF_FIELD_OFFSET(ParameterSet, _impl_.laser_set_)}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // int32 scan_field = 1; {PROTOBUF_FIELD_OFFSET(ParameterSet, _impl_.scan_field_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 id = 2; {PROTOBUF_FIELD_OFFSET(ParameterSet, _impl_.id_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // bytes name = 3; {PROTOBUF_FIELD_OFFSET(ParameterSet, _impl_.name_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, // bytes set_type = 4; {PROTOBUF_FIELD_OFFSET(ParameterSet, _impl_.set_type_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, // float laser_speed = 5; {PROTOBUF_FIELD_OFFSET(ParameterSet, _impl_.laser_speed_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // .stream.ParameterSet.LaserSet laser_set = 6; {PROTOBUF_FIELD_OFFSET(ParameterSet, _impl_.laser_set_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, }}, {{ {::_pbi::TcParser::GetTable<::stream::ParameterSet_LaserSet>()}, }}, {{ }}, }; ::uint8_t* ParameterSet::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.ParameterSet) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // int32 scan_field = 1; if (this->_internal_scan_field() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<1>( stream, this->_internal_scan_field(), target); } // int32 id = 2; if (this->_internal_id() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<2>( stream, this->_internal_id(), target); } // bytes name = 3; if (!this->_internal_name().empty()) { const std::string& _s = this->_internal_name(); target = stream->WriteBytesMaybeAliased(3, _s, target); } // bytes set_type = 4; if (!this->_internal_set_type().empty()) { const std::string& _s = this->_internal_set_type(); target = stream->WriteBytesMaybeAliased(4, _s, target); } // float laser_speed = 5; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_laser_speed = this->_internal_laser_speed(); ::uint32_t raw_laser_speed; memcpy(&raw_laser_speed, &tmp_laser_speed, sizeof(tmp_laser_speed)); if (raw_laser_speed != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 5, this->_internal_laser_speed(), target); } cached_has_bits = _impl_._has_bits_[0]; // .stream.ParameterSet.LaserSet laser_set = 6; if (cached_has_bits & 0x00000001u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(6, _Internal::laser_set(this), _Internal::laser_set(this).GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.ParameterSet) return target; } ::size_t ParameterSet::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.ParameterSet) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // bytes name = 3; if (!this->_internal_name().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_name()); } // bytes set_type = 4; if (!this->_internal_set_type().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_set_type()); } // .stream.ParameterSet.LaserSet laser_set = 6; cached_has_bits = _impl_._has_bits_[0]; if (cached_has_bits & 0x00000001u) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *_impl_.laser_set_); } // int32 scan_field = 1; if (this->_internal_scan_field() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_scan_field()); } // int32 id = 2; if (this->_internal_id() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_id()); } // float laser_speed = 5; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_laser_speed = this->_internal_laser_speed(); ::uint32_t raw_laser_speed; memcpy(&raw_laser_speed, &tmp_laser_speed, sizeof(tmp_laser_speed)); if (raw_laser_speed != 0) { total_size += 5; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData ParameterSet::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, ParameterSet::MergeImpl }; const ::google::protobuf::Message::ClassData*ParameterSet::GetClassData() const { return &_class_data_; } void ParameterSet::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.ParameterSet) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (!from._internal_name().empty()) { _this->_internal_set_name(from._internal_name()); } if (!from._internal_set_type().empty()) { _this->_internal_set_set_type(from._internal_set_type()); } if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { _this->_internal_mutable_laser_set()->::stream::ParameterSet_LaserSet::MergeFrom( from._internal_laser_set()); } if (from._internal_scan_field() != 0) { _this->_internal_set_scan_field(from._internal_scan_field()); } if (from._internal_id() != 0) { _this->_internal_set_id(from._internal_id()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_laser_speed = from._internal_laser_speed(); ::uint32_t raw_laser_speed; memcpy(&raw_laser_speed, &tmp_laser_speed, sizeof(tmp_laser_speed)); if (raw_laser_speed != 0) { _this->_internal_set_laser_speed(from._internal_laser_speed()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void ParameterSet::CopyFrom(const ParameterSet& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.ParameterSet) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool ParameterSet::IsInitialized() const { return true; } void ParameterSet::InternalSwap(ParameterSet* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena, &other->_impl_.name_, rhs_arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.set_type_, lhs_arena, &other->_impl_.set_type_, rhs_arena); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(ParameterSet, _impl_.laser_speed_) + sizeof(ParameterSet::_impl_.laser_speed_) - PROTOBUF_FIELD_OFFSET(ParameterSet, _impl_.laser_set_)>( reinterpret_cast(&_impl_.laser_set_), reinterpret_cast(&other->_impl_.laser_set_)); } ::google::protobuf::Metadata ParameterSet::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[16]); } // =================================================================== class Parts::_Internal { public: }; Parts::Parts(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.Parts) } Parts::Parts(const Parts& from) : ::google::protobuf::Message() { Parts* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.ps_){from._impl_.ps_}, decltype(_impl_.isok_){}, /*decltype(_impl_._cached_size_)*/ {}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); _this->_impl_.isok_ = from._impl_.isok_; // @@protoc_insertion_point(copy_constructor:stream.Parts) } inline void Parts::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.ps_){arena}, decltype(_impl_.isok_){false}, /*decltype(_impl_._cached_size_)*/ {}, }; } Parts::~Parts() { // @@protoc_insertion_point(destructor:stream.Parts) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void Parts::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.ps_.~RepeatedPtrField(); } void Parts::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void Parts::Clear() { // @@protoc_insertion_point(message_clear_start:stream.Parts) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _internal_mutable_ps()->Clear(); _impl_.isok_ = false; _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* Parts::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 1, 0, 2> Parts::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 2, 8, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967292, // skipmap offsetof(decltype(_table_), field_entries), 2, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), &_Parts_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ // bool isOk = 2; {::_pbi::TcParser::SingularVarintNoZag1(), {16, 63, 0, PROTOBUF_FIELD_OFFSET(Parts, _impl_.isok_)}}, // repeated .stream.Part ps = 1; {::_pbi::TcParser::FastMtR1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(Parts, _impl_.ps_)}}, }}, {{ 65535, 65535 }}, {{ // repeated .stream.Part ps = 1; {PROTOBUF_FIELD_OFFSET(Parts, _impl_.ps_), 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, // bool isOk = 2; {PROTOBUF_FIELD_OFFSET(Parts, _impl_.isok_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, }}, {{ {::_pbi::TcParser::GetTable<::stream::Part>()}, }}, {{ }}, }; ::uint8_t* Parts::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.Parts) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // repeated .stream.Part ps = 1; for (unsigned i = 0, n = static_cast(this->_internal_ps_size()); i < n; i++) { const auto& repfield = this->_internal_ps().Get(i); target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); } // bool isOk = 2; if (this->_internal_isok() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 2, this->_internal_isok(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.Parts) return target; } ::size_t Parts::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.Parts) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // repeated .stream.Part ps = 1; total_size += 1UL * this->_internal_ps_size(); for (const auto& msg : this->_internal_ps()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } // bool isOk = 2; if (this->_internal_isok() != 0) { total_size += 2; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData Parts::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, Parts::MergeImpl }; const ::google::protobuf::Message::ClassData*Parts::GetClassData() const { return &_class_data_; } void Parts::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.Parts) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; _this->_internal_mutable_ps()->MergeFrom(from._internal_ps()); if (from._internal_isok() != 0) { _this->_internal_set_isok(from._internal_isok()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void Parts::CopyFrom(const Parts& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.Parts) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool Parts::IsInitialized() const { return true; } void Parts::InternalSwap(Parts* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.ps_.InternalSwap(&other->_impl_.ps_); swap(_impl_.isok_, other->_impl_.isok_); } ::google::protobuf::Metadata Parts::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[17]); } // =================================================================== class Part::_Internal { public: using HasBits = decltype(std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(Part, _impl_._has_bits_); static const ::stream::JobDimensions& dimensions(const Part* msg); static void set_has_dimensions(HasBits* has_bits) { (*has_bits)[0] |= 1u; } static const ::stream::PartPosBean& partposbean(const Part* msg); static void set_has_partposbean(HasBits* has_bits) { (*has_bits)[0] |= 2u; } static const ::stream::JobDimensions& layerdimensions(const Part* msg); static void set_has_layerdimensions(HasBits* has_bits) { (*has_bits)[0] |= 4u; } }; const ::stream::JobDimensions& Part::_Internal::dimensions(const Part* msg) { return *msg->_impl_.dimensions_; } const ::stream::PartPosBean& Part::_Internal::partposbean(const Part* msg) { return *msg->_impl_.partposbean_; } const ::stream::JobDimensions& Part::_Internal::layerdimensions(const Part* msg) { return *msg->_impl_.layerdimensions_; } Part::Part(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.Part) } Part::Part(const Part& from) : ::google::protobuf::Message() { Part* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_._has_bits_){from._impl_._has_bits_}, /*decltype(_impl_._cached_size_)*/ {}, decltype(_impl_.paramset_){from._impl_.paramset_}, decltype(_impl_.name_){}, decltype(_impl_.dimensions_){nullptr}, decltype(_impl_.partposbean_){nullptr}, decltype(_impl_.layerdimensions_){nullptr}, decltype(_impl_.id_){}, decltype(_impl_.sourceid_){}, decltype(_impl_.param_pos_){}, decltype(_impl_.print_enable_){}, decltype(_impl_.iscopy_){}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); _impl_.name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.name_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_name().empty()) { _this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation()); } if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { _this->_impl_.dimensions_ = new ::stream::JobDimensions(*from._impl_.dimensions_); } if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) { _this->_impl_.partposbean_ = new ::stream::PartPosBean(*from._impl_.partposbean_); } if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) { _this->_impl_.layerdimensions_ = new ::stream::JobDimensions(*from._impl_.layerdimensions_); } ::memcpy(&_impl_.id_, &from._impl_.id_, static_cast<::size_t>(reinterpret_cast(&_impl_.iscopy_) - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.iscopy_)); // @@protoc_insertion_point(copy_constructor:stream.Part) } inline void Part::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_._has_bits_){}, /*decltype(_impl_._cached_size_)*/ {}, decltype(_impl_.paramset_){arena}, decltype(_impl_.name_){}, decltype(_impl_.dimensions_){nullptr}, decltype(_impl_.partposbean_){nullptr}, decltype(_impl_.layerdimensions_){nullptr}, decltype(_impl_.id_){0}, decltype(_impl_.sourceid_){0}, decltype(_impl_.param_pos_){::uint64_t{0u}}, decltype(_impl_.print_enable_){false}, decltype(_impl_.iscopy_){false}, }; _impl_.name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.name_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } Part::~Part() { // @@protoc_insertion_point(destructor:stream.Part) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void Part::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.paramset_.~RepeatedPtrField(); _impl_.name_.Destroy(); if (this != internal_default_instance()) delete _impl_.dimensions_; if (this != internal_default_instance()) delete _impl_.partposbean_; if (this != internal_default_instance()) delete _impl_.layerdimensions_; } void Part::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void Part::Clear() { // @@protoc_insertion_point(message_clear_start:stream.Part) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _internal_mutable_paramset()->Clear(); _impl_.name_.ClearToEmpty(); cached_has_bits = _impl_._has_bits_[0]; if (cached_has_bits & 0x00000007u) { if (cached_has_bits & 0x00000001u) { ABSL_DCHECK(_impl_.dimensions_ != nullptr); _impl_.dimensions_->Clear(); } if (cached_has_bits & 0x00000002u) { ABSL_DCHECK(_impl_.partposbean_ != nullptr); _impl_.partposbean_->Clear(); } if (cached_has_bits & 0x00000004u) { ABSL_DCHECK(_impl_.layerdimensions_ != nullptr); _impl_.layerdimensions_->Clear(); } } ::memset(&_impl_.id_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.iscopy_) - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.iscopy_)); _impl_._has_bits_.Clear(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* Part::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<4, 10, 4, 0, 2> Part::_table_ = { { PROTOBUF_FIELD_OFFSET(Part, _impl_._has_bits_), 0, // no _extensions_ 10, 120, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294966272, // skipmap offsetof(decltype(_table_), field_entries), 10, // num_field_entries 4, // num_aux_entries offsetof(decltype(_table_), aux_entries), &_Part_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // int32 id = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Part, _impl_.id_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(Part, _impl_.id_)}}, // int32 sourceId = 2; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Part, _impl_.sourceid_), 63>(), {16, 63, 0, PROTOBUF_FIELD_OFFSET(Part, _impl_.sourceid_)}}, // bytes name = 3; {::_pbi::TcParser::FastBS1, {26, 63, 0, PROTOBUF_FIELD_OFFSET(Part, _impl_.name_)}}, // .stream.JobDimensions dimensions = 4; {::_pbi::TcParser::FastMtS1, {34, 0, 0, PROTOBUF_FIELD_OFFSET(Part, _impl_.dimensions_)}}, // .stream.PartPosBean partPosBean = 5; {::_pbi::TcParser::FastMtS1, {42, 1, 1, PROTOBUF_FIELD_OFFSET(Part, _impl_.partposbean_)}}, // bool print_enable = 6; {::_pbi::TcParser::SingularVarintNoZag1(), {48, 63, 0, PROTOBUF_FIELD_OFFSET(Part, _impl_.print_enable_)}}, // uint64 param_pos = 7; {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(Part, _impl_.param_pos_), 63>(), {56, 63, 0, PROTOBUF_FIELD_OFFSET(Part, _impl_.param_pos_)}}, // repeated .stream.ParameterSet paramSet = 8; {::_pbi::TcParser::FastMtR1, {66, 63, 2, PROTOBUF_FIELD_OFFSET(Part, _impl_.paramset_)}}, // bool isCopy = 9; {::_pbi::TcParser::SingularVarintNoZag1(), {72, 63, 0, PROTOBUF_FIELD_OFFSET(Part, _impl_.iscopy_)}}, // .stream.JobDimensions layerDimensions = 10; {::_pbi::TcParser::FastMtS1, {82, 2, 3, PROTOBUF_FIELD_OFFSET(Part, _impl_.layerdimensions_)}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // int32 id = 1; {PROTOBUF_FIELD_OFFSET(Part, _impl_.id_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 sourceId = 2; {PROTOBUF_FIELD_OFFSET(Part, _impl_.sourceid_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // bytes name = 3; {PROTOBUF_FIELD_OFFSET(Part, _impl_.name_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, // .stream.JobDimensions dimensions = 4; {PROTOBUF_FIELD_OFFSET(Part, _impl_.dimensions_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // .stream.PartPosBean partPosBean = 5; {PROTOBUF_FIELD_OFFSET(Part, _impl_.partposbean_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // bool print_enable = 6; {PROTOBUF_FIELD_OFFSET(Part, _impl_.print_enable_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // uint64 param_pos = 7; {PROTOBUF_FIELD_OFFSET(Part, _impl_.param_pos_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt64)}, // repeated .stream.ParameterSet paramSet = 8; {PROTOBUF_FIELD_OFFSET(Part, _impl_.paramset_), -1, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, // bool isCopy = 9; {PROTOBUF_FIELD_OFFSET(Part, _impl_.iscopy_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // .stream.JobDimensions layerDimensions = 10; {PROTOBUF_FIELD_OFFSET(Part, _impl_.layerdimensions_), _Internal::kHasBitsOffset + 2, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, }}, {{ {::_pbi::TcParser::GetTable<::stream::JobDimensions>()}, {::_pbi::TcParser::GetTable<::stream::PartPosBean>()}, {::_pbi::TcParser::GetTable<::stream::ParameterSet>()}, {::_pbi::TcParser::GetTable<::stream::JobDimensions>()}, }}, {{ }}, }; ::uint8_t* Part::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.Part) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // int32 id = 1; if (this->_internal_id() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<1>( stream, this->_internal_id(), target); } // int32 sourceId = 2; if (this->_internal_sourceid() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<2>( stream, this->_internal_sourceid(), target); } // bytes name = 3; if (!this->_internal_name().empty()) { const std::string& _s = this->_internal_name(); target = stream->WriteBytesMaybeAliased(3, _s, target); } cached_has_bits = _impl_._has_bits_[0]; // .stream.JobDimensions dimensions = 4; if (cached_has_bits & 0x00000001u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(4, _Internal::dimensions(this), _Internal::dimensions(this).GetCachedSize(), target, stream); } // .stream.PartPosBean partPosBean = 5; if (cached_has_bits & 0x00000002u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(5, _Internal::partposbean(this), _Internal::partposbean(this).GetCachedSize(), target, stream); } // bool print_enable = 6; if (this->_internal_print_enable() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 6, this->_internal_print_enable(), target); } // uint64 param_pos = 7; if (this->_internal_param_pos() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt64ToArray( 7, this->_internal_param_pos(), target); } // repeated .stream.ParameterSet paramSet = 8; for (unsigned i = 0, n = static_cast(this->_internal_paramset_size()); i < n; i++) { const auto& repfield = this->_internal_paramset().Get(i); target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(8, repfield, repfield.GetCachedSize(), target, stream); } // bool isCopy = 9; if (this->_internal_iscopy() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 9, this->_internal_iscopy(), target); } // .stream.JobDimensions layerDimensions = 10; if (cached_has_bits & 0x00000004u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(10, _Internal::layerdimensions(this), _Internal::layerdimensions(this).GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.Part) return target; } ::size_t Part::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.Part) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // repeated .stream.ParameterSet paramSet = 8; total_size += 1UL * this->_internal_paramset_size(); for (const auto& msg : this->_internal_paramset()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } // bytes name = 3; if (!this->_internal_name().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_name()); } cached_has_bits = _impl_._has_bits_[0]; if (cached_has_bits & 0x00000007u) { // .stream.JobDimensions dimensions = 4; if (cached_has_bits & 0x00000001u) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *_impl_.dimensions_); } // .stream.PartPosBean partPosBean = 5; if (cached_has_bits & 0x00000002u) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *_impl_.partposbean_); } // .stream.JobDimensions layerDimensions = 10; if (cached_has_bits & 0x00000004u) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *_impl_.layerdimensions_); } } // int32 id = 1; if (this->_internal_id() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_id()); } // int32 sourceId = 2; if (this->_internal_sourceid() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_sourceid()); } // uint64 param_pos = 7; if (this->_internal_param_pos() != 0) { total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( this->_internal_param_pos()); } // bool print_enable = 6; if (this->_internal_print_enable() != 0) { total_size += 2; } // bool isCopy = 9; if (this->_internal_iscopy() != 0) { total_size += 2; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData Part::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, Part::MergeImpl }; const ::google::protobuf::Message::ClassData*Part::GetClassData() const { return &_class_data_; } void Part::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.Part) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; _this->_internal_mutable_paramset()->MergeFrom(from._internal_paramset()); if (!from._internal_name().empty()) { _this->_internal_set_name(from._internal_name()); } cached_has_bits = from._impl_._has_bits_[0]; if (cached_has_bits & 0x00000007u) { if (cached_has_bits & 0x00000001u) { _this->_internal_mutable_dimensions()->::stream::JobDimensions::MergeFrom( from._internal_dimensions()); } if (cached_has_bits & 0x00000002u) { _this->_internal_mutable_partposbean()->::stream::PartPosBean::MergeFrom( from._internal_partposbean()); } if (cached_has_bits & 0x00000004u) { _this->_internal_mutable_layerdimensions()->::stream::JobDimensions::MergeFrom( from._internal_layerdimensions()); } } if (from._internal_id() != 0) { _this->_internal_set_id(from._internal_id()); } if (from._internal_sourceid() != 0) { _this->_internal_set_sourceid(from._internal_sourceid()); } if (from._internal_param_pos() != 0) { _this->_internal_set_param_pos(from._internal_param_pos()); } if (from._internal_print_enable() != 0) { _this->_internal_set_print_enable(from._internal_print_enable()); } if (from._internal_iscopy() != 0) { _this->_internal_set_iscopy(from._internal_iscopy()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void Part::CopyFrom(const Part& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.Part) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool Part::IsInitialized() const { return true; } void Part::InternalSwap(Part* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); _impl_.paramset_.InternalSwap(&other->_impl_.paramset_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena, &other->_impl_.name_, rhs_arena); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(Part, _impl_.iscopy_) + sizeof(Part::_impl_.iscopy_) - PROTOBUF_FIELD_OFFSET(Part, _impl_.dimensions_)>( reinterpret_cast(&_impl_.dimensions_), reinterpret_cast(&other->_impl_.dimensions_)); } ::google::protobuf::Metadata Part::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[18]); } // =================================================================== class RegResponce::_Internal { public: }; RegResponce::RegResponce(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.RegResponce) } RegResponce::RegResponce(const RegResponce& from) : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:stream.RegResponce) } inline void RegResponce::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.data_){0}, /*decltype(_impl_._cached_size_)*/ {}, }; } RegResponce::~RegResponce() { // @@protoc_insertion_point(destructor:stream.RegResponce) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void RegResponce::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void RegResponce::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void RegResponce::Clear() { // @@protoc_insertion_point(message_clear_start:stream.RegResponce) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.data_ = 0; _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* RegResponce::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> RegResponce::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 1, 0, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967294, // skipmap offsetof(decltype(_table_), field_entries), 1, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_RegResponce_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ // int32 data = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RegResponce, _impl_.data_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(RegResponce, _impl_.data_)}}, }}, {{ 65535, 65535 }}, {{ // int32 data = 1; {PROTOBUF_FIELD_OFFSET(RegResponce, _impl_.data_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, }}, // no aux_entries {{ }}, }; ::uint8_t* RegResponce::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.RegResponce) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // int32 data = 1; if (this->_internal_data() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<1>( stream, this->_internal_data(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.RegResponce) return target; } ::size_t RegResponce::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.RegResponce) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // int32 data = 1; if (this->_internal_data() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_data()); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData RegResponce::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, RegResponce::MergeImpl }; const ::google::protobuf::Message::ClassData*RegResponce::GetClassData() const { return &_class_data_; } void RegResponce::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.RegResponce) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_data() != 0) { _this->_internal_set_data(from._internal_data()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void RegResponce::CopyFrom(const RegResponce& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.RegResponce) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool RegResponce::IsInitialized() const { return true; } void RegResponce::InternalSwap(RegResponce* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_.data_, other->_impl_.data_); } ::google::protobuf::Metadata RegResponce::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[19]); } // =================================================================== class ImgInfoResponce::_Internal { public: }; ImgInfoResponce::ImgInfoResponce(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.ImgInfoResponce) } ImgInfoResponce::ImgInfoResponce(const ImgInfoResponce& from) : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:stream.ImgInfoResponce) } inline void ImgInfoResponce::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.levelimage_){0u}, decltype(_impl_.width_){0}, decltype(_impl_.height_){0}, /*decltype(_impl_._cached_size_)*/ {}, }; } ImgInfoResponce::~ImgInfoResponce() { // @@protoc_insertion_point(destructor:stream.ImgInfoResponce) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void ImgInfoResponce::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void ImgInfoResponce::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void ImgInfoResponce::Clear() { // @@protoc_insertion_point(message_clear_start:stream.ImgInfoResponce) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&_impl_.levelimage_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.height_) - reinterpret_cast(&_impl_.levelimage_)) + sizeof(_impl_.height_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* ImgInfoResponce::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 3, 0, 0, 2> ImgInfoResponce::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 3, 24, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967288, // skipmap offsetof(decltype(_table_), field_entries), 3, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_ImgInfoResponce_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // uint32 levelImage = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ImgInfoResponce, _impl_.levelimage_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(ImgInfoResponce, _impl_.levelimage_)}}, // int32 width = 2; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ImgInfoResponce, _impl_.width_), 63>(), {16, 63, 0, PROTOBUF_FIELD_OFFSET(ImgInfoResponce, _impl_.width_)}}, // int32 height = 3; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ImgInfoResponce, _impl_.height_), 63>(), {24, 63, 0, PROTOBUF_FIELD_OFFSET(ImgInfoResponce, _impl_.height_)}}, }}, {{ 65535, 65535 }}, {{ // uint32 levelImage = 1; {PROTOBUF_FIELD_OFFSET(ImgInfoResponce, _impl_.levelimage_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // int32 width = 2; {PROTOBUF_FIELD_OFFSET(ImgInfoResponce, _impl_.width_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 height = 3; {PROTOBUF_FIELD_OFFSET(ImgInfoResponce, _impl_.height_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, }}, // no aux_entries {{ }}, }; ::uint8_t* ImgInfoResponce::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.ImgInfoResponce) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // uint32 levelImage = 1; if (this->_internal_levelimage() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 1, this->_internal_levelimage(), target); } // int32 width = 2; if (this->_internal_width() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<2>( stream, this->_internal_width(), target); } // int32 height = 3; if (this->_internal_height() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<3>( stream, this->_internal_height(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.ImgInfoResponce) return target; } ::size_t ImgInfoResponce::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.ImgInfoResponce) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // uint32 levelImage = 1; if (this->_internal_levelimage() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_levelimage()); } // int32 width = 2; if (this->_internal_width() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_width()); } // int32 height = 3; if (this->_internal_height() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_height()); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData ImgInfoResponce::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, ImgInfoResponce::MergeImpl }; const ::google::protobuf::Message::ClassData*ImgInfoResponce::GetClassData() const { return &_class_data_; } void ImgInfoResponce::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.ImgInfoResponce) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_levelimage() != 0) { _this->_internal_set_levelimage(from._internal_levelimage()); } if (from._internal_width() != 0) { _this->_internal_set_width(from._internal_width()); } if (from._internal_height() != 0) { _this->_internal_set_height(from._internal_height()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void ImgInfoResponce::CopyFrom(const ImgInfoResponce& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.ImgInfoResponce) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool ImgInfoResponce::IsInitialized() const { return true; } void ImgInfoResponce::InternalSwap(ImgInfoResponce* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(ImgInfoResponce, _impl_.height_) + sizeof(ImgInfoResponce::_impl_.height_) - PROTOBUF_FIELD_OFFSET(ImgInfoResponce, _impl_.levelimage_)>( reinterpret_cast(&_impl_.levelimage_), reinterpret_cast(&other->_impl_.levelimage_)); } ::google::protobuf::Metadata ImgInfoResponce::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[20]); } // =================================================================== class ComResponce_FileInfoStruct::_Internal { public: }; ComResponce_FileInfoStruct::ComResponce_FileInfoStruct(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.ComResponce.FileInfoStruct) } ComResponce_FileInfoStruct::ComResponce_FileInfoStruct(const ComResponce_FileInfoStruct& from) : ::google::protobuf::Message() { ComResponce_FileInfoStruct* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.type_){}, decltype(_impl_.filepath_){}, decltype(_impl_.filename_){}, decltype(_impl_.ext_){}, /*decltype(_impl_._cached_size_)*/ {}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); _impl_.type_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.type_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_type().empty()) { _this->_impl_.type_.Set(from._internal_type(), _this->GetArenaForAllocation()); } _impl_.filepath_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.filepath_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_filepath().empty()) { _this->_impl_.filepath_.Set(from._internal_filepath(), _this->GetArenaForAllocation()); } _impl_.filename_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.filename_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_filename().empty()) { _this->_impl_.filename_.Set(from._internal_filename(), _this->GetArenaForAllocation()); } _impl_.ext_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.ext_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_ext().empty()) { _this->_impl_.ext_.Set(from._internal_ext(), _this->GetArenaForAllocation()); } // @@protoc_insertion_point(copy_constructor:stream.ComResponce.FileInfoStruct) } inline void ComResponce_FileInfoStruct::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.type_){}, decltype(_impl_.filepath_){}, decltype(_impl_.filename_){}, decltype(_impl_.ext_){}, /*decltype(_impl_._cached_size_)*/ {}, }; _impl_.type_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.type_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.filepath_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.filepath_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.filename_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.filename_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.ext_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.ext_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } ComResponce_FileInfoStruct::~ComResponce_FileInfoStruct() { // @@protoc_insertion_point(destructor:stream.ComResponce.FileInfoStruct) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void ComResponce_FileInfoStruct::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.type_.Destroy(); _impl_.filepath_.Destroy(); _impl_.filename_.Destroy(); _impl_.ext_.Destroy(); } void ComResponce_FileInfoStruct::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void ComResponce_FileInfoStruct::Clear() { // @@protoc_insertion_point(message_clear_start:stream.ComResponce.FileInfoStruct) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.type_.ClearToEmpty(); _impl_.filepath_.ClearToEmpty(); _impl_.filename_.ClearToEmpty(); _impl_.ext_.ClearToEmpty(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* ComResponce_FileInfoStruct::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 4, 0, 0, 2> ComResponce_FileInfoStruct::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 4, 24, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967280, // skipmap offsetof(decltype(_table_), field_entries), 4, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_ComResponce_FileInfoStruct_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ // bytes ext = 4; {::_pbi::TcParser::FastBS1, {34, 63, 0, PROTOBUF_FIELD_OFFSET(ComResponce_FileInfoStruct, _impl_.ext_)}}, // bytes type = 1; {::_pbi::TcParser::FastBS1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(ComResponce_FileInfoStruct, _impl_.type_)}}, // bytes filePath = 2; {::_pbi::TcParser::FastBS1, {18, 63, 0, PROTOBUF_FIELD_OFFSET(ComResponce_FileInfoStruct, _impl_.filepath_)}}, // bytes fileName = 3; {::_pbi::TcParser::FastBS1, {26, 63, 0, PROTOBUF_FIELD_OFFSET(ComResponce_FileInfoStruct, _impl_.filename_)}}, }}, {{ 65535, 65535 }}, {{ // bytes type = 1; {PROTOBUF_FIELD_OFFSET(ComResponce_FileInfoStruct, _impl_.type_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, // bytes filePath = 2; {PROTOBUF_FIELD_OFFSET(ComResponce_FileInfoStruct, _impl_.filepath_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, // bytes fileName = 3; {PROTOBUF_FIELD_OFFSET(ComResponce_FileInfoStruct, _impl_.filename_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, // bytes ext = 4; {PROTOBUF_FIELD_OFFSET(ComResponce_FileInfoStruct, _impl_.ext_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, }}, // no aux_entries {{ }}, }; ::uint8_t* ComResponce_FileInfoStruct::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.ComResponce.FileInfoStruct) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // bytes type = 1; if (!this->_internal_type().empty()) { const std::string& _s = this->_internal_type(); target = stream->WriteBytesMaybeAliased(1, _s, target); } // bytes filePath = 2; if (!this->_internal_filepath().empty()) { const std::string& _s = this->_internal_filepath(); target = stream->WriteBytesMaybeAliased(2, _s, target); } // bytes fileName = 3; if (!this->_internal_filename().empty()) { const std::string& _s = this->_internal_filename(); target = stream->WriteBytesMaybeAliased(3, _s, target); } // bytes ext = 4; if (!this->_internal_ext().empty()) { const std::string& _s = this->_internal_ext(); target = stream->WriteBytesMaybeAliased(4, _s, target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.ComResponce.FileInfoStruct) return target; } ::size_t ComResponce_FileInfoStruct::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.ComResponce.FileInfoStruct) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // bytes type = 1; if (!this->_internal_type().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_type()); } // bytes filePath = 2; if (!this->_internal_filepath().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_filepath()); } // bytes fileName = 3; if (!this->_internal_filename().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_filename()); } // bytes ext = 4; if (!this->_internal_ext().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_ext()); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData ComResponce_FileInfoStruct::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, ComResponce_FileInfoStruct::MergeImpl }; const ::google::protobuf::Message::ClassData*ComResponce_FileInfoStruct::GetClassData() const { return &_class_data_; } void ComResponce_FileInfoStruct::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.ComResponce.FileInfoStruct) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (!from._internal_type().empty()) { _this->_internal_set_type(from._internal_type()); } if (!from._internal_filepath().empty()) { _this->_internal_set_filepath(from._internal_filepath()); } if (!from._internal_filename().empty()) { _this->_internal_set_filename(from._internal_filename()); } if (!from._internal_ext().empty()) { _this->_internal_set_ext(from._internal_ext()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void ComResponce_FileInfoStruct::CopyFrom(const ComResponce_FileInfoStruct& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.ComResponce.FileInfoStruct) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool ComResponce_FileInfoStruct::IsInitialized() const { return true; } void ComResponce_FileInfoStruct::InternalSwap(ComResponce_FileInfoStruct* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.type_, lhs_arena, &other->_impl_.type_, rhs_arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.filepath_, lhs_arena, &other->_impl_.filepath_, rhs_arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.filename_, lhs_arena, &other->_impl_.filename_, rhs_arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ext_, lhs_arena, &other->_impl_.ext_, rhs_arena); } ::google::protobuf::Metadata ComResponce_FileInfoStruct::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[21]); } // =================================================================== class ComResponce::_Internal { public: }; ComResponce::ComResponce(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.ComResponce) } ComResponce::ComResponce(const ComResponce& from) : ::google::protobuf::Message() { ComResponce* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.fileinfo_){from._impl_.fileinfo_}, decltype(_impl_.data_){}, decltype(_impl_.directory_){}, decltype(_impl_.res_){}, decltype(_impl_.isok_){}, /*decltype(_impl_._cached_size_)*/ {}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); _impl_.data_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.data_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_data().empty()) { _this->_impl_.data_.Set(from._internal_data(), _this->GetArenaForAllocation()); } _impl_.directory_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.directory_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_directory().empty()) { _this->_impl_.directory_.Set(from._internal_directory(), _this->GetArenaForAllocation()); } ::memcpy(&_impl_.res_, &from._impl_.res_, static_cast<::size_t>(reinterpret_cast(&_impl_.isok_) - reinterpret_cast(&_impl_.res_)) + sizeof(_impl_.isok_)); // @@protoc_insertion_point(copy_constructor:stream.ComResponce) } inline void ComResponce::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.fileinfo_){arena}, decltype(_impl_.data_){}, decltype(_impl_.directory_){}, decltype(_impl_.res_){false}, decltype(_impl_.isok_){false}, /*decltype(_impl_._cached_size_)*/ {}, }; _impl_.data_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.data_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.directory_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.directory_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } ComResponce::~ComResponce() { // @@protoc_insertion_point(destructor:stream.ComResponce) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void ComResponce::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.fileinfo_.~RepeatedPtrField(); _impl_.data_.Destroy(); _impl_.directory_.Destroy(); } void ComResponce::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void ComResponce::Clear() { // @@protoc_insertion_point(message_clear_start:stream.ComResponce) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _internal_mutable_fileinfo()->Clear(); _impl_.data_.ClearToEmpty(); _impl_.directory_.ClearToEmpty(); ::memset(&_impl_.res_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.isok_) - reinterpret_cast(&_impl_.res_)) + sizeof(_impl_.isok_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* ComResponce::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 5, 1, 0, 2> ComResponce::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 5, 56, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967264, // skipmap offsetof(decltype(_table_), field_entries), 5, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), &_ComResponce_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // bytes data = 1; {::_pbi::TcParser::FastBS1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(ComResponce, _impl_.data_)}}, // bytes directory = 2; {::_pbi::TcParser::FastBS1, {18, 63, 0, PROTOBUF_FIELD_OFFSET(ComResponce, _impl_.directory_)}}, // repeated .stream.ComResponce.FileInfoStruct fileInfo = 3; {::_pbi::TcParser::FastMtR1, {26, 63, 0, PROTOBUF_FIELD_OFFSET(ComResponce, _impl_.fileinfo_)}}, // bool res = 4; {::_pbi::TcParser::SingularVarintNoZag1(), {32, 63, 0, PROTOBUF_FIELD_OFFSET(ComResponce, _impl_.res_)}}, // bool isOk = 5; {::_pbi::TcParser::SingularVarintNoZag1(), {40, 63, 0, PROTOBUF_FIELD_OFFSET(ComResponce, _impl_.isok_)}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // bytes data = 1; {PROTOBUF_FIELD_OFFSET(ComResponce, _impl_.data_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, // bytes directory = 2; {PROTOBUF_FIELD_OFFSET(ComResponce, _impl_.directory_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, // repeated .stream.ComResponce.FileInfoStruct fileInfo = 3; {PROTOBUF_FIELD_OFFSET(ComResponce, _impl_.fileinfo_), 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, // bool res = 4; {PROTOBUF_FIELD_OFFSET(ComResponce, _impl_.res_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // bool isOk = 5; {PROTOBUF_FIELD_OFFSET(ComResponce, _impl_.isok_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, }}, {{ {::_pbi::TcParser::GetTable<::stream::ComResponce_FileInfoStruct>()}, }}, {{ }}, }; ::uint8_t* ComResponce::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.ComResponce) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // bytes data = 1; if (!this->_internal_data().empty()) { const std::string& _s = this->_internal_data(); target = stream->WriteBytesMaybeAliased(1, _s, target); } // bytes directory = 2; if (!this->_internal_directory().empty()) { const std::string& _s = this->_internal_directory(); target = stream->WriteBytesMaybeAliased(2, _s, target); } // repeated .stream.ComResponce.FileInfoStruct fileInfo = 3; for (unsigned i = 0, n = static_cast(this->_internal_fileinfo_size()); i < n; i++) { const auto& repfield = this->_internal_fileinfo().Get(i); target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); } // bool res = 4; if (this->_internal_res() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 4, this->_internal_res(), target); } // bool isOk = 5; if (this->_internal_isok() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 5, this->_internal_isok(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.ComResponce) return target; } ::size_t ComResponce::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.ComResponce) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // repeated .stream.ComResponce.FileInfoStruct fileInfo = 3; total_size += 1UL * this->_internal_fileinfo_size(); for (const auto& msg : this->_internal_fileinfo()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } // bytes data = 1; if (!this->_internal_data().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_data()); } // bytes directory = 2; if (!this->_internal_directory().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_directory()); } // bool res = 4; if (this->_internal_res() != 0) { total_size += 2; } // bool isOk = 5; if (this->_internal_isok() != 0) { total_size += 2; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData ComResponce::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, ComResponce::MergeImpl }; const ::google::protobuf::Message::ClassData*ComResponce::GetClassData() const { return &_class_data_; } void ComResponce::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.ComResponce) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; _this->_internal_mutable_fileinfo()->MergeFrom(from._internal_fileinfo()); if (!from._internal_data().empty()) { _this->_internal_set_data(from._internal_data()); } if (!from._internal_directory().empty()) { _this->_internal_set_directory(from._internal_directory()); } if (from._internal_res() != 0) { _this->_internal_set_res(from._internal_res()); } if (from._internal_isok() != 0) { _this->_internal_set_isok(from._internal_isok()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void ComResponce::CopyFrom(const ComResponce& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.ComResponce) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool ComResponce::IsInitialized() const { return true; } void ComResponce::InternalSwap(ComResponce* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.fileinfo_.InternalSwap(&other->_impl_.fileinfo_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, lhs_arena, &other->_impl_.data_, rhs_arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.directory_, lhs_arena, &other->_impl_.directory_, rhs_arena); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(ComResponce, _impl_.isok_) + sizeof(ComResponce::_impl_.isok_) - PROTOBUF_FIELD_OFFSET(ComResponce, _impl_.res_)>( reinterpret_cast(&_impl_.res_), reinterpret_cast(&other->_impl_.res_)); } ::google::protobuf::Metadata ComResponce::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[22]); } // =================================================================== class Layers::_Internal { public: }; Layers::Layers(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.Layers) } Layers::Layers(const Layers& from) : ::google::protobuf::Message() { Layers* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.layer_){from._impl_.layer_}, decltype(_impl_.isok_){}, /*decltype(_impl_._cached_size_)*/ {}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); _this->_impl_.isok_ = from._impl_.isok_; // @@protoc_insertion_point(copy_constructor:stream.Layers) } inline void Layers::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.layer_){arena}, decltype(_impl_.isok_){false}, /*decltype(_impl_._cached_size_)*/ {}, }; } Layers::~Layers() { // @@protoc_insertion_point(destructor:stream.Layers) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void Layers::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.layer_.~RepeatedPtrField(); } void Layers::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void Layers::Clear() { // @@protoc_insertion_point(message_clear_start:stream.Layers) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _internal_mutable_layer()->Clear(); _impl_.isok_ = false; _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* Layers::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 1, 0, 2> Layers::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 2, 8, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967292, // skipmap offsetof(decltype(_table_), field_entries), 2, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), &_Layers_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ // bool isOk = 2; {::_pbi::TcParser::SingularVarintNoZag1(), {16, 63, 0, PROTOBUF_FIELD_OFFSET(Layers, _impl_.isok_)}}, // repeated .stream.LayerInfo layer = 1; {::_pbi::TcParser::FastMtR1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(Layers, _impl_.layer_)}}, }}, {{ 65535, 65535 }}, {{ // repeated .stream.LayerInfo layer = 1; {PROTOBUF_FIELD_OFFSET(Layers, _impl_.layer_), 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, // bool isOk = 2; {PROTOBUF_FIELD_OFFSET(Layers, _impl_.isok_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, }}, {{ {::_pbi::TcParser::GetTable<::stream::LayerInfo>()}, }}, {{ }}, }; ::uint8_t* Layers::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.Layers) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // repeated .stream.LayerInfo layer = 1; for (unsigned i = 0, n = static_cast(this->_internal_layer_size()); i < n; i++) { const auto& repfield = this->_internal_layer().Get(i); target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); } // bool isOk = 2; if (this->_internal_isok() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 2, this->_internal_isok(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.Layers) return target; } ::size_t Layers::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.Layers) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // repeated .stream.LayerInfo layer = 1; total_size += 1UL * this->_internal_layer_size(); for (const auto& msg : this->_internal_layer()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } // bool isOk = 2; if (this->_internal_isok() != 0) { total_size += 2; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData Layers::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, Layers::MergeImpl }; const ::google::protobuf::Message::ClassData*Layers::GetClassData() const { return &_class_data_; } void Layers::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.Layers) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; _this->_internal_mutable_layer()->MergeFrom(from._internal_layer()); if (from._internal_isok() != 0) { _this->_internal_set_isok(from._internal_isok()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void Layers::CopyFrom(const Layers& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.Layers) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool Layers::IsInitialized() const { return true; } void Layers::InternalSwap(Layers* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.layer_.InternalSwap(&other->_impl_.layer_); swap(_impl_.isok_, other->_impl_.isok_); } ::google::protobuf::Metadata Layers::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[23]); } // =================================================================== class LayerInfo::_Internal { public: }; LayerInfo::LayerInfo(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.LayerInfo) } LayerInfo::LayerInfo(const LayerInfo& from) : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:stream.LayerInfo) } inline void LayerInfo::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.index_){0}, decltype(_impl_.powder_){0u}, decltype(_impl_.layer_thickness_){0u}, decltype(_impl_.scan_times_){0}, decltype(_impl_.isok_){false}, /*decltype(_impl_._cached_size_)*/ {}, }; } LayerInfo::~LayerInfo() { // @@protoc_insertion_point(destructor:stream.LayerInfo) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void LayerInfo::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void LayerInfo::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void LayerInfo::Clear() { // @@protoc_insertion_point(message_clear_start:stream.LayerInfo) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&_impl_.index_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.isok_) - reinterpret_cast(&_impl_.index_)) + sizeof(_impl_.isok_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* LayerInfo::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 5, 0, 0, 2> LayerInfo::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 5, 56, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967264, // skipmap offsetof(decltype(_table_), field_entries), 5, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_LayerInfo_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // int32 index = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(LayerInfo, _impl_.index_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(LayerInfo, _impl_.index_)}}, // uint32 powder = 2; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(LayerInfo, _impl_.powder_), 63>(), {16, 63, 0, PROTOBUF_FIELD_OFFSET(LayerInfo, _impl_.powder_)}}, // uint32 layer_thickness = 3; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(LayerInfo, _impl_.layer_thickness_), 63>(), {24, 63, 0, PROTOBUF_FIELD_OFFSET(LayerInfo, _impl_.layer_thickness_)}}, // int32 scan_times = 4; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(LayerInfo, _impl_.scan_times_), 63>(), {32, 63, 0, PROTOBUF_FIELD_OFFSET(LayerInfo, _impl_.scan_times_)}}, // bool isOk = 5; {::_pbi::TcParser::SingularVarintNoZag1(), {40, 63, 0, PROTOBUF_FIELD_OFFSET(LayerInfo, _impl_.isok_)}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // int32 index = 1; {PROTOBUF_FIELD_OFFSET(LayerInfo, _impl_.index_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // uint32 powder = 2; {PROTOBUF_FIELD_OFFSET(LayerInfo, _impl_.powder_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 layer_thickness = 3; {PROTOBUF_FIELD_OFFSET(LayerInfo, _impl_.layer_thickness_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // int32 scan_times = 4; {PROTOBUF_FIELD_OFFSET(LayerInfo, _impl_.scan_times_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // bool isOk = 5; {PROTOBUF_FIELD_OFFSET(LayerInfo, _impl_.isok_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, }}, // no aux_entries {{ }}, }; ::uint8_t* LayerInfo::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.LayerInfo) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // int32 index = 1; if (this->_internal_index() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<1>( stream, this->_internal_index(), target); } // uint32 powder = 2; if (this->_internal_powder() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 2, this->_internal_powder(), target); } // uint32 layer_thickness = 3; if (this->_internal_layer_thickness() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 3, this->_internal_layer_thickness(), target); } // int32 scan_times = 4; if (this->_internal_scan_times() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<4>( stream, this->_internal_scan_times(), target); } // bool isOk = 5; if (this->_internal_isok() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 5, this->_internal_isok(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.LayerInfo) return target; } ::size_t LayerInfo::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.LayerInfo) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // int32 index = 1; if (this->_internal_index() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_index()); } // uint32 powder = 2; if (this->_internal_powder() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_powder()); } // uint32 layer_thickness = 3; if (this->_internal_layer_thickness() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_layer_thickness()); } // int32 scan_times = 4; if (this->_internal_scan_times() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_scan_times()); } // bool isOk = 5; if (this->_internal_isok() != 0) { total_size += 2; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData LayerInfo::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, LayerInfo::MergeImpl }; const ::google::protobuf::Message::ClassData*LayerInfo::GetClassData() const { return &_class_data_; } void LayerInfo::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.LayerInfo) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_index() != 0) { _this->_internal_set_index(from._internal_index()); } if (from._internal_powder() != 0) { _this->_internal_set_powder(from._internal_powder()); } if (from._internal_layer_thickness() != 0) { _this->_internal_set_layer_thickness(from._internal_layer_thickness()); } if (from._internal_scan_times() != 0) { _this->_internal_set_scan_times(from._internal_scan_times()); } if (from._internal_isok() != 0) { _this->_internal_set_isok(from._internal_isok()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void LayerInfo::CopyFrom(const LayerInfo& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.LayerInfo) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool LayerInfo::IsInitialized() const { return true; } void LayerInfo::InternalSwap(LayerInfo* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(LayerInfo, _impl_.isok_) + sizeof(LayerInfo::_impl_.isok_) - PROTOBUF_FIELD_OFFSET(LayerInfo, _impl_.index_)>( reinterpret_cast(&_impl_.index_), reinterpret_cast(&other->_impl_.index_)); } ::google::protobuf::Metadata LayerInfo::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[24]); } // =================================================================== class ScannerCrtlCfgResp::_Internal { public: }; ScannerCrtlCfgResp::ScannerCrtlCfgResp(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.ScannerCrtlCfgResp) } ScannerCrtlCfgResp::ScannerCrtlCfgResp(const ScannerCrtlCfgResp& from) : ::google::protobuf::Message() { ScannerCrtlCfgResp* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.scannercfg_){from._impl_.scannercfg_}, /*decltype(_impl_._cached_size_)*/ {}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:stream.ScannerCrtlCfgResp) } inline void ScannerCrtlCfgResp::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.scannercfg_){arena}, /*decltype(_impl_._cached_size_)*/ {}, }; } ScannerCrtlCfgResp::~ScannerCrtlCfgResp() { // @@protoc_insertion_point(destructor:stream.ScannerCrtlCfgResp) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void ScannerCrtlCfgResp::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.scannercfg_.~RepeatedPtrField(); } void ScannerCrtlCfgResp::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void ScannerCrtlCfgResp::Clear() { // @@protoc_insertion_point(message_clear_start:stream.ScannerCrtlCfgResp) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _internal_mutable_scannercfg()->Clear(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* ScannerCrtlCfgResp::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ScannerCrtlCfgResp::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 1, 0, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967294, // skipmap offsetof(decltype(_table_), field_entries), 1, // num_field_entries 1, // num_aux_entries offsetof(decltype(_table_), aux_entries), &_ScannerCrtlCfgResp_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ // repeated .stream.ScannerCrtlCfgData scannerCfg = 1; {::_pbi::TcParser::FastMtR1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgResp, _impl_.scannercfg_)}}, }}, {{ 65535, 65535 }}, {{ // repeated .stream.ScannerCrtlCfgData scannerCfg = 1; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgResp, _impl_.scannercfg_), 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, }}, {{ {::_pbi::TcParser::GetTable<::stream::ScannerCrtlCfgData>()}, }}, {{ }}, }; ::uint8_t* ScannerCrtlCfgResp::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.ScannerCrtlCfgResp) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // repeated .stream.ScannerCrtlCfgData scannerCfg = 1; for (unsigned i = 0, n = static_cast(this->_internal_scannercfg_size()); i < n; i++) { const auto& repfield = this->_internal_scannercfg().Get(i); target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.ScannerCrtlCfgResp) return target; } ::size_t ScannerCrtlCfgResp::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.ScannerCrtlCfgResp) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // repeated .stream.ScannerCrtlCfgData scannerCfg = 1; total_size += 1UL * this->_internal_scannercfg_size(); for (const auto& msg : this->_internal_scannercfg()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData ScannerCrtlCfgResp::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, ScannerCrtlCfgResp::MergeImpl }; const ::google::protobuf::Message::ClassData*ScannerCrtlCfgResp::GetClassData() const { return &_class_data_; } void ScannerCrtlCfgResp::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.ScannerCrtlCfgResp) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; _this->_internal_mutable_scannercfg()->MergeFrom(from._internal_scannercfg()); _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void ScannerCrtlCfgResp::CopyFrom(const ScannerCrtlCfgResp& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.ScannerCrtlCfgResp) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool ScannerCrtlCfgResp::IsInitialized() const { return true; } void ScannerCrtlCfgResp::InternalSwap(ScannerCrtlCfgResp* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.scannercfg_.InternalSwap(&other->_impl_.scannercfg_); } ::google::protobuf::Metadata ScannerCrtlCfgResp::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[25]); } // =================================================================== class ScannerCrtlCfgData::_Internal { public: using HasBits = decltype(std::declval()._impl_._has_bits_); static constexpr ::int32_t kHasBitsOffset = 8 * PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_._has_bits_); static const ::stream::ScanParamCfg& scanparamcfg(const ScannerCrtlCfgData* msg); static void set_has_scanparamcfg(HasBits* has_bits) { (*has_bits)[0] |= 1u; } static const ::stream::ScanParamCfg& hatchingparams(const ScannerCrtlCfgData* msg); static void set_has_hatchingparams(HasBits* has_bits) { (*has_bits)[0] |= 2u; } static const ::stream::ScanParamCfg& borderparams(const ScannerCrtlCfgData* msg); static void set_has_borderparams(HasBits* has_bits) { (*has_bits)[0] |= 4u; } static const ::stream::ScanParamCfg& supportparams(const ScannerCrtlCfgData* msg); static void set_has_supportparams(HasBits* has_bits) { (*has_bits)[0] |= 8u; } static const ::stream::CorrectParamCfg& correctparamcfg(const ScannerCrtlCfgData* msg); static void set_has_correctparamcfg(HasBits* has_bits) { (*has_bits)[0] |= 16u; } static const ::stream::ScanTestCfg& scantestcfg(const ScannerCrtlCfgData* msg); static void set_has_scantestcfg(HasBits* has_bits) { (*has_bits)[0] |= 32u; } static const ::stream::SkyWritingCfg& skywritingcfg(const ScannerCrtlCfgData* msg); static void set_has_skywritingcfg(HasBits* has_bits) { (*has_bits)[0] |= 64u; } }; const ::stream::ScanParamCfg& ScannerCrtlCfgData::_Internal::scanparamcfg(const ScannerCrtlCfgData* msg) { return *msg->_impl_.scanparamcfg_; } const ::stream::ScanParamCfg& ScannerCrtlCfgData::_Internal::hatchingparams(const ScannerCrtlCfgData* msg) { return *msg->_impl_.hatchingparams_; } const ::stream::ScanParamCfg& ScannerCrtlCfgData::_Internal::borderparams(const ScannerCrtlCfgData* msg) { return *msg->_impl_.borderparams_; } const ::stream::ScanParamCfg& ScannerCrtlCfgData::_Internal::supportparams(const ScannerCrtlCfgData* msg) { return *msg->_impl_.supportparams_; } const ::stream::CorrectParamCfg& ScannerCrtlCfgData::_Internal::correctparamcfg(const ScannerCrtlCfgData* msg) { return *msg->_impl_.correctparamcfg_; } const ::stream::ScanTestCfg& ScannerCrtlCfgData::_Internal::scantestcfg(const ScannerCrtlCfgData* msg) { return *msg->_impl_.scantestcfg_; } const ::stream::SkyWritingCfg& ScannerCrtlCfgData::_Internal::skywritingcfg(const ScannerCrtlCfgData* msg) { return *msg->_impl_.skywritingcfg_; } ScannerCrtlCfgData::ScannerCrtlCfgData(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.ScannerCrtlCfgData) } ScannerCrtlCfgData::ScannerCrtlCfgData(const ScannerCrtlCfgData& from) : ::google::protobuf::Message() { ScannerCrtlCfgData* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_._has_bits_){from._impl_._has_bits_}, /*decltype(_impl_._cached_size_)*/ {}, decltype(_impl_.fixpointdata_){from._impl_.fixpointdata_}, decltype(_impl_.powercompensate_){from._impl_.powercompensate_}, decltype(_impl_.tpowercompensate_){from._impl_.tpowercompensate_}, decltype(_impl_.cardname_){}, decltype(_impl_.cardip_){}, decltype(_impl_.scanparamcfg_){nullptr}, decltype(_impl_.hatchingparams_){nullptr}, decltype(_impl_.borderparams_){nullptr}, decltype(_impl_.supportparams_){nullptr}, decltype(_impl_.correctparamcfg_){nullptr}, decltype(_impl_.scantestcfg_){nullptr}, decltype(_impl_.skywritingcfg_){nullptr}, decltype(_impl_.seqno_){}, decltype(_impl_.controlno_){}, decltype(_impl_.serialno_){}, decltype(_impl_.controltype_){}, decltype(_impl_.isenable_){}, decltype(_impl_.hadassign_){}, decltype(_impl_.hadmatch_){}, }; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); _impl_.cardname_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.cardname_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_cardname().empty()) { _this->_impl_.cardname_.Set(from._internal_cardname(), _this->GetArenaForAllocation()); } _impl_.cardip_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.cardip_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (!from._internal_cardip().empty()) { _this->_impl_.cardip_.Set(from._internal_cardip(), _this->GetArenaForAllocation()); } if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { _this->_impl_.scanparamcfg_ = new ::stream::ScanParamCfg(*from._impl_.scanparamcfg_); } if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) { _this->_impl_.hatchingparams_ = new ::stream::ScanParamCfg(*from._impl_.hatchingparams_); } if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) { _this->_impl_.borderparams_ = new ::stream::ScanParamCfg(*from._impl_.borderparams_); } if ((from._impl_._has_bits_[0] & 0x00000008u) != 0) { _this->_impl_.supportparams_ = new ::stream::ScanParamCfg(*from._impl_.supportparams_); } if ((from._impl_._has_bits_[0] & 0x00000010u) != 0) { _this->_impl_.correctparamcfg_ = new ::stream::CorrectParamCfg(*from._impl_.correctparamcfg_); } if ((from._impl_._has_bits_[0] & 0x00000020u) != 0) { _this->_impl_.scantestcfg_ = new ::stream::ScanTestCfg(*from._impl_.scantestcfg_); } if ((from._impl_._has_bits_[0] & 0x00000040u) != 0) { _this->_impl_.skywritingcfg_ = new ::stream::SkyWritingCfg(*from._impl_.skywritingcfg_); } ::memcpy(&_impl_.seqno_, &from._impl_.seqno_, static_cast<::size_t>(reinterpret_cast(&_impl_.hadmatch_) - reinterpret_cast(&_impl_.seqno_)) + sizeof(_impl_.hadmatch_)); // @@protoc_insertion_point(copy_constructor:stream.ScannerCrtlCfgData) } inline void ScannerCrtlCfgData::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_._has_bits_){}, /*decltype(_impl_._cached_size_)*/ {}, decltype(_impl_.fixpointdata_){arena}, decltype(_impl_.powercompensate_){arena}, decltype(_impl_.tpowercompensate_){arena}, decltype(_impl_.cardname_){}, decltype(_impl_.cardip_){}, decltype(_impl_.scanparamcfg_){nullptr}, decltype(_impl_.hatchingparams_){nullptr}, decltype(_impl_.borderparams_){nullptr}, decltype(_impl_.supportparams_){nullptr}, decltype(_impl_.correctparamcfg_){nullptr}, decltype(_impl_.scantestcfg_){nullptr}, decltype(_impl_.skywritingcfg_){nullptr}, decltype(_impl_.seqno_){0}, decltype(_impl_.controlno_){0}, decltype(_impl_.serialno_){0}, decltype(_impl_.controltype_){0}, decltype(_impl_.isenable_){false}, decltype(_impl_.hadassign_){false}, decltype(_impl_.hadmatch_){false}, }; _impl_.cardname_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.cardname_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.cardip_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.cardip_.Set("", GetArenaForAllocation()); #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } ScannerCrtlCfgData::~ScannerCrtlCfgData() { // @@protoc_insertion_point(destructor:stream.ScannerCrtlCfgData) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void ScannerCrtlCfgData::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.fixpointdata_.~RepeatedPtrField(); _impl_.powercompensate_.~RepeatedPtrField(); _impl_.tpowercompensate_.~RepeatedPtrField(); _impl_.cardname_.Destroy(); _impl_.cardip_.Destroy(); if (this != internal_default_instance()) delete _impl_.scanparamcfg_; if (this != internal_default_instance()) delete _impl_.hatchingparams_; if (this != internal_default_instance()) delete _impl_.borderparams_; if (this != internal_default_instance()) delete _impl_.supportparams_; if (this != internal_default_instance()) delete _impl_.correctparamcfg_; if (this != internal_default_instance()) delete _impl_.scantestcfg_; if (this != internal_default_instance()) delete _impl_.skywritingcfg_; } void ScannerCrtlCfgData::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void ScannerCrtlCfgData::Clear() { // @@protoc_insertion_point(message_clear_start:stream.ScannerCrtlCfgData) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _internal_mutable_fixpointdata()->Clear(); _internal_mutable_powercompensate()->Clear(); _internal_mutable_tpowercompensate()->Clear(); _impl_.cardname_.ClearToEmpty(); _impl_.cardip_.ClearToEmpty(); cached_has_bits = _impl_._has_bits_[0]; if (cached_has_bits & 0x0000007fu) { if (cached_has_bits & 0x00000001u) { ABSL_DCHECK(_impl_.scanparamcfg_ != nullptr); _impl_.scanparamcfg_->Clear(); } if (cached_has_bits & 0x00000002u) { ABSL_DCHECK(_impl_.hatchingparams_ != nullptr); _impl_.hatchingparams_->Clear(); } if (cached_has_bits & 0x00000004u) { ABSL_DCHECK(_impl_.borderparams_ != nullptr); _impl_.borderparams_->Clear(); } if (cached_has_bits & 0x00000008u) { ABSL_DCHECK(_impl_.supportparams_ != nullptr); _impl_.supportparams_->Clear(); } if (cached_has_bits & 0x00000010u) { ABSL_DCHECK(_impl_.correctparamcfg_ != nullptr); _impl_.correctparamcfg_->Clear(); } if (cached_has_bits & 0x00000020u) { ABSL_DCHECK(_impl_.scantestcfg_ != nullptr); _impl_.scantestcfg_->Clear(); } if (cached_has_bits & 0x00000040u) { ABSL_DCHECK(_impl_.skywritingcfg_ != nullptr); _impl_.skywritingcfg_->Clear(); } } ::memset(&_impl_.seqno_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.hadmatch_) - reinterpret_cast(&_impl_.seqno_)) + sizeof(_impl_.hadmatch_)); _impl_._has_bits_.Clear(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* ScannerCrtlCfgData::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<5, 19, 10, 0, 2> ScannerCrtlCfgData::_table_ = { { PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_._has_bits_), 0, // no _extensions_ 19, 248, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294443008, // skipmap offsetof(decltype(_table_), field_entries), 19, // num_field_entries 10, // num_aux_entries offsetof(decltype(_table_), aux_entries), &_ScannerCrtlCfgData_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // int32 seqNo = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScannerCrtlCfgData, _impl_.seqno_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.seqno_)}}, // repeated .stream.FixPointData fixPointData = 2; {::_pbi::TcParser::FastMtR1, {18, 63, 0, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.fixpointdata_)}}, // .stream.ScanParamCfg scanParamCfg = 3; {::_pbi::TcParser::FastMtS1, {26, 0, 1, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.scanparamcfg_)}}, // .stream.ScanParamCfg hatchingParams = 4; {::_pbi::TcParser::FastMtS1, {34, 1, 2, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.hatchingparams_)}}, // .stream.ScanParamCfg borderParams = 5; {::_pbi::TcParser::FastMtS1, {42, 2, 3, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.borderparams_)}}, // .stream.ScanParamCfg supportParams = 6; {::_pbi::TcParser::FastMtS1, {50, 3, 4, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.supportparams_)}}, // .stream.CorrectParamCfg correctParamCfg = 7; {::_pbi::TcParser::FastMtS1, {58, 4, 5, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.correctparamcfg_)}}, // .stream.ScanTestCfg scanTestCfg = 8; {::_pbi::TcParser::FastMtS1, {66, 5, 6, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.scantestcfg_)}}, // .stream.SkyWritingCfg skyWritingCfg = 9; {::_pbi::TcParser::FastMtS1, {74, 6, 7, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.skywritingcfg_)}}, // repeated .stream.PowerCompensate powerCompensate = 10; {::_pbi::TcParser::FastMtR1, {82, 63, 8, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.powercompensate_)}}, // repeated .stream.TimePowerCompensate tPowerCompensate = 11; {::_pbi::TcParser::FastMtR1, {90, 63, 9, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.tpowercompensate_)}}, // int32 controlNo = 12; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScannerCrtlCfgData, _impl_.controlno_), 63>(), {96, 63, 0, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.controlno_)}}, // int32 serialNo = 13; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScannerCrtlCfgData, _impl_.serialno_), 63>(), {104, 63, 0, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.serialno_)}}, // int32 controlType = 14; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScannerCrtlCfgData, _impl_.controltype_), 63>(), {112, 63, 0, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.controltype_)}}, // bytes cardName = 15; {::_pbi::TcParser::FastBS1, {122, 63, 0, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.cardname_)}}, // bytes cardIP = 16; {::_pbi::TcParser::FastBS2, {386, 63, 0, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.cardip_)}}, // bool isEnable = 17; {::_pbi::TcParser::FastV8S2, {392, 63, 0, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.isenable_)}}, // bool hadAssign = 18; {::_pbi::TcParser::FastV8S2, {400, 63, 0, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.hadassign_)}}, // bool hadMatch = 19; {::_pbi::TcParser::FastV8S2, {408, 63, 0, PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.hadmatch_)}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // int32 seqNo = 1; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.seqno_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // repeated .stream.FixPointData fixPointData = 2; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.fixpointdata_), -1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, // .stream.ScanParamCfg scanParamCfg = 3; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.scanparamcfg_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // .stream.ScanParamCfg hatchingParams = 4; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.hatchingparams_), _Internal::kHasBitsOffset + 1, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // .stream.ScanParamCfg borderParams = 5; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.borderparams_), _Internal::kHasBitsOffset + 2, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // .stream.ScanParamCfg supportParams = 6; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.supportparams_), _Internal::kHasBitsOffset + 3, 4, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // .stream.CorrectParamCfg correctParamCfg = 7; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.correctparamcfg_), _Internal::kHasBitsOffset + 4, 5, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // .stream.ScanTestCfg scanTestCfg = 8; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.scantestcfg_), _Internal::kHasBitsOffset + 5, 6, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // .stream.SkyWritingCfg skyWritingCfg = 9; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.skywritingcfg_), _Internal::kHasBitsOffset + 6, 7, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // repeated .stream.PowerCompensate powerCompensate = 10; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.powercompensate_), -1, 8, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, // repeated .stream.TimePowerCompensate tPowerCompensate = 11; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.tpowercompensate_), -1, 9, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, // int32 controlNo = 12; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.controlno_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 serialNo = 13; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.serialno_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 controlType = 14; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.controltype_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // bytes cardName = 15; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.cardname_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, // bytes cardIP = 16; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.cardip_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, // bool isEnable = 17; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.isenable_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // bool hadAssign = 18; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.hadassign_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // bool hadMatch = 19; {PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.hadmatch_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, }}, {{ {::_pbi::TcParser::GetTable<::stream::FixPointData>()}, {::_pbi::TcParser::GetTable<::stream::ScanParamCfg>()}, {::_pbi::TcParser::GetTable<::stream::ScanParamCfg>()}, {::_pbi::TcParser::GetTable<::stream::ScanParamCfg>()}, {::_pbi::TcParser::GetTable<::stream::ScanParamCfg>()}, {::_pbi::TcParser::GetTable<::stream::CorrectParamCfg>()}, {::_pbi::TcParser::GetTable<::stream::ScanTestCfg>()}, {::_pbi::TcParser::GetTable<::stream::SkyWritingCfg>()}, {::_pbi::TcParser::GetTable<::stream::PowerCompensate>()}, {::_pbi::TcParser::GetTable<::stream::TimePowerCompensate>()}, }}, {{ }}, }; ::uint8_t* ScannerCrtlCfgData::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.ScannerCrtlCfgData) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // int32 seqNo = 1; if (this->_internal_seqno() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<1>( stream, this->_internal_seqno(), target); } // repeated .stream.FixPointData fixPointData = 2; for (unsigned i = 0, n = static_cast(this->_internal_fixpointdata_size()); i < n; i++) { const auto& repfield = this->_internal_fixpointdata().Get(i); target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); } cached_has_bits = _impl_._has_bits_[0]; // .stream.ScanParamCfg scanParamCfg = 3; if (cached_has_bits & 0x00000001u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(3, _Internal::scanparamcfg(this), _Internal::scanparamcfg(this).GetCachedSize(), target, stream); } // .stream.ScanParamCfg hatchingParams = 4; if (cached_has_bits & 0x00000002u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(4, _Internal::hatchingparams(this), _Internal::hatchingparams(this).GetCachedSize(), target, stream); } // .stream.ScanParamCfg borderParams = 5; if (cached_has_bits & 0x00000004u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(5, _Internal::borderparams(this), _Internal::borderparams(this).GetCachedSize(), target, stream); } // .stream.ScanParamCfg supportParams = 6; if (cached_has_bits & 0x00000008u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(6, _Internal::supportparams(this), _Internal::supportparams(this).GetCachedSize(), target, stream); } // .stream.CorrectParamCfg correctParamCfg = 7; if (cached_has_bits & 0x00000010u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(7, _Internal::correctparamcfg(this), _Internal::correctparamcfg(this).GetCachedSize(), target, stream); } // .stream.ScanTestCfg scanTestCfg = 8; if (cached_has_bits & 0x00000020u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(8, _Internal::scantestcfg(this), _Internal::scantestcfg(this).GetCachedSize(), target, stream); } // .stream.SkyWritingCfg skyWritingCfg = 9; if (cached_has_bits & 0x00000040u) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(9, _Internal::skywritingcfg(this), _Internal::skywritingcfg(this).GetCachedSize(), target, stream); } // repeated .stream.PowerCompensate powerCompensate = 10; for (unsigned i = 0, n = static_cast(this->_internal_powercompensate_size()); i < n; i++) { const auto& repfield = this->_internal_powercompensate().Get(i); target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(10, repfield, repfield.GetCachedSize(), target, stream); } // repeated .stream.TimePowerCompensate tPowerCompensate = 11; for (unsigned i = 0, n = static_cast(this->_internal_tpowercompensate_size()); i < n; i++) { const auto& repfield = this->_internal_tpowercompensate().Get(i); target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessage(11, repfield, repfield.GetCachedSize(), target, stream); } // int32 controlNo = 12; if (this->_internal_controlno() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<12>( stream, this->_internal_controlno(), target); } // int32 serialNo = 13; if (this->_internal_serialno() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<13>( stream, this->_internal_serialno(), target); } // int32 controlType = 14; if (this->_internal_controltype() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<14>( stream, this->_internal_controltype(), target); } // bytes cardName = 15; if (!this->_internal_cardname().empty()) { const std::string& _s = this->_internal_cardname(); target = stream->WriteBytesMaybeAliased(15, _s, target); } // bytes cardIP = 16; if (!this->_internal_cardip().empty()) { const std::string& _s = this->_internal_cardip(); target = stream->WriteBytesMaybeAliased(16, _s, target); } // bool isEnable = 17; if (this->_internal_isenable() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 17, this->_internal_isenable(), target); } // bool hadAssign = 18; if (this->_internal_hadassign() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 18, this->_internal_hadassign(), target); } // bool hadMatch = 19; if (this->_internal_hadmatch() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 19, this->_internal_hadmatch(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.ScannerCrtlCfgData) return target; } ::size_t ScannerCrtlCfgData::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.ScannerCrtlCfgData) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // repeated .stream.FixPointData fixPointData = 2; total_size += 1UL * this->_internal_fixpointdata_size(); for (const auto& msg : this->_internal_fixpointdata()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } // repeated .stream.PowerCompensate powerCompensate = 10; total_size += 1UL * this->_internal_powercompensate_size(); for (const auto& msg : this->_internal_powercompensate()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } // repeated .stream.TimePowerCompensate tPowerCompensate = 11; total_size += 1UL * this->_internal_tpowercompensate_size(); for (const auto& msg : this->_internal_tpowercompensate()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } // bytes cardName = 15; if (!this->_internal_cardname().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_cardname()); } // bytes cardIP = 16; if (!this->_internal_cardip().empty()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->_internal_cardip()); } cached_has_bits = _impl_._has_bits_[0]; if (cached_has_bits & 0x0000007fu) { // .stream.ScanParamCfg scanParamCfg = 3; if (cached_has_bits & 0x00000001u) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *_impl_.scanparamcfg_); } // .stream.ScanParamCfg hatchingParams = 4; if (cached_has_bits & 0x00000002u) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *_impl_.hatchingparams_); } // .stream.ScanParamCfg borderParams = 5; if (cached_has_bits & 0x00000004u) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *_impl_.borderparams_); } // .stream.ScanParamCfg supportParams = 6; if (cached_has_bits & 0x00000008u) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *_impl_.supportparams_); } // .stream.CorrectParamCfg correctParamCfg = 7; if (cached_has_bits & 0x00000010u) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *_impl_.correctparamcfg_); } // .stream.ScanTestCfg scanTestCfg = 8; if (cached_has_bits & 0x00000020u) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *_impl_.scantestcfg_); } // .stream.SkyWritingCfg skyWritingCfg = 9; if (cached_has_bits & 0x00000040u) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *_impl_.skywritingcfg_); } } // int32 seqNo = 1; if (this->_internal_seqno() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_seqno()); } // int32 controlNo = 12; if (this->_internal_controlno() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_controlno()); } // int32 serialNo = 13; if (this->_internal_serialno() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_serialno()); } // int32 controlType = 14; if (this->_internal_controltype() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_controltype()); } // bool isEnable = 17; if (this->_internal_isenable() != 0) { total_size += 3; } // bool hadAssign = 18; if (this->_internal_hadassign() != 0) { total_size += 3; } // bool hadMatch = 19; if (this->_internal_hadmatch() != 0) { total_size += 3; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData ScannerCrtlCfgData::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, ScannerCrtlCfgData::MergeImpl }; const ::google::protobuf::Message::ClassData*ScannerCrtlCfgData::GetClassData() const { return &_class_data_; } void ScannerCrtlCfgData::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.ScannerCrtlCfgData) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; _this->_internal_mutable_fixpointdata()->MergeFrom(from._internal_fixpointdata()); _this->_internal_mutable_powercompensate()->MergeFrom(from._internal_powercompensate()); _this->_internal_mutable_tpowercompensate()->MergeFrom(from._internal_tpowercompensate()); if (!from._internal_cardname().empty()) { _this->_internal_set_cardname(from._internal_cardname()); } if (!from._internal_cardip().empty()) { _this->_internal_set_cardip(from._internal_cardip()); } cached_has_bits = from._impl_._has_bits_[0]; if (cached_has_bits & 0x0000007fu) { if (cached_has_bits & 0x00000001u) { _this->_internal_mutable_scanparamcfg()->::stream::ScanParamCfg::MergeFrom( from._internal_scanparamcfg()); } if (cached_has_bits & 0x00000002u) { _this->_internal_mutable_hatchingparams()->::stream::ScanParamCfg::MergeFrom( from._internal_hatchingparams()); } if (cached_has_bits & 0x00000004u) { _this->_internal_mutable_borderparams()->::stream::ScanParamCfg::MergeFrom( from._internal_borderparams()); } if (cached_has_bits & 0x00000008u) { _this->_internal_mutable_supportparams()->::stream::ScanParamCfg::MergeFrom( from._internal_supportparams()); } if (cached_has_bits & 0x00000010u) { _this->_internal_mutable_correctparamcfg()->::stream::CorrectParamCfg::MergeFrom( from._internal_correctparamcfg()); } if (cached_has_bits & 0x00000020u) { _this->_internal_mutable_scantestcfg()->::stream::ScanTestCfg::MergeFrom( from._internal_scantestcfg()); } if (cached_has_bits & 0x00000040u) { _this->_internal_mutable_skywritingcfg()->::stream::SkyWritingCfg::MergeFrom( from._internal_skywritingcfg()); } } if (from._internal_seqno() != 0) { _this->_internal_set_seqno(from._internal_seqno()); } if (from._internal_controlno() != 0) { _this->_internal_set_controlno(from._internal_controlno()); } if (from._internal_serialno() != 0) { _this->_internal_set_serialno(from._internal_serialno()); } if (from._internal_controltype() != 0) { _this->_internal_set_controltype(from._internal_controltype()); } if (from._internal_isenable() != 0) { _this->_internal_set_isenable(from._internal_isenable()); } if (from._internal_hadassign() != 0) { _this->_internal_set_hadassign(from._internal_hadassign()); } if (from._internal_hadmatch() != 0) { _this->_internal_set_hadmatch(from._internal_hadmatch()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void ScannerCrtlCfgData::CopyFrom(const ScannerCrtlCfgData& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.ScannerCrtlCfgData) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool ScannerCrtlCfgData::IsInitialized() const { return true; } void ScannerCrtlCfgData::InternalSwap(ScannerCrtlCfgData* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); _impl_.fixpointdata_.InternalSwap(&other->_impl_.fixpointdata_); _impl_.powercompensate_.InternalSwap(&other->_impl_.powercompensate_); _impl_.tpowercompensate_.InternalSwap(&other->_impl_.tpowercompensate_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.cardname_, lhs_arena, &other->_impl_.cardname_, rhs_arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.cardip_, lhs_arena, &other->_impl_.cardip_, rhs_arena); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.hadmatch_) + sizeof(ScannerCrtlCfgData::_impl_.hadmatch_) - PROTOBUF_FIELD_OFFSET(ScannerCrtlCfgData, _impl_.scanparamcfg_)>( reinterpret_cast(&_impl_.scanparamcfg_), reinterpret_cast(&other->_impl_.scanparamcfg_)); } ::google::protobuf::Metadata ScannerCrtlCfgData::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[26]); } // =================================================================== class FixPointData::_Internal { public: }; FixPointData::FixPointData(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.FixPointData) } FixPointData::FixPointData(const FixPointData& from) : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:stream.FixPointData) } inline void FixPointData::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.id_){0}, decltype(_impl_.cno_){0}, decltype(_impl_.pointx_){0}, decltype(_impl_.pointy_){0}, decltype(_impl_.duration_){0u}, /*decltype(_impl_._cached_size_)*/ {}, }; } FixPointData::~FixPointData() { // @@protoc_insertion_point(destructor:stream.FixPointData) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void FixPointData::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void FixPointData::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void FixPointData::Clear() { // @@protoc_insertion_point(message_clear_start:stream.FixPointData) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&_impl_.id_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.duration_) - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.duration_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* FixPointData::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 5, 0, 0, 2> FixPointData::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 5, 56, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967264, // skipmap offsetof(decltype(_table_), field_entries), 5, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_FixPointData_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // int32 id = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(FixPointData, _impl_.id_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(FixPointData, _impl_.id_)}}, // int32 cno = 2; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(FixPointData, _impl_.cno_), 63>(), {16, 63, 0, PROTOBUF_FIELD_OFFSET(FixPointData, _impl_.cno_)}}, // float pointX = 3; {::_pbi::TcParser::FastF32S1, {29, 63, 0, PROTOBUF_FIELD_OFFSET(FixPointData, _impl_.pointx_)}}, // float pointY = 4; {::_pbi::TcParser::FastF32S1, {37, 63, 0, PROTOBUF_FIELD_OFFSET(FixPointData, _impl_.pointy_)}}, // uint32 duration = 5; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(FixPointData, _impl_.duration_), 63>(), {40, 63, 0, PROTOBUF_FIELD_OFFSET(FixPointData, _impl_.duration_)}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // int32 id = 1; {PROTOBUF_FIELD_OFFSET(FixPointData, _impl_.id_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 cno = 2; {PROTOBUF_FIELD_OFFSET(FixPointData, _impl_.cno_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // float pointX = 3; {PROTOBUF_FIELD_OFFSET(FixPointData, _impl_.pointx_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float pointY = 4; {PROTOBUF_FIELD_OFFSET(FixPointData, _impl_.pointy_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // uint32 duration = 5; {PROTOBUF_FIELD_OFFSET(FixPointData, _impl_.duration_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, }}, // no aux_entries {{ }}, }; ::uint8_t* FixPointData::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.FixPointData) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // int32 id = 1; if (this->_internal_id() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<1>( stream, this->_internal_id(), target); } // int32 cno = 2; if (this->_internal_cno() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<2>( stream, this->_internal_cno(), target); } // float pointX = 3; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_pointx = this->_internal_pointx(); ::uint32_t raw_pointx; memcpy(&raw_pointx, &tmp_pointx, sizeof(tmp_pointx)); if (raw_pointx != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 3, this->_internal_pointx(), target); } // float pointY = 4; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_pointy = this->_internal_pointy(); ::uint32_t raw_pointy; memcpy(&raw_pointy, &tmp_pointy, sizeof(tmp_pointy)); if (raw_pointy != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 4, this->_internal_pointy(), target); } // uint32 duration = 5; if (this->_internal_duration() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 5, this->_internal_duration(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.FixPointData) return target; } ::size_t FixPointData::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.FixPointData) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // int32 id = 1; if (this->_internal_id() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_id()); } // int32 cno = 2; if (this->_internal_cno() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_cno()); } // float pointX = 3; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_pointx = this->_internal_pointx(); ::uint32_t raw_pointx; memcpy(&raw_pointx, &tmp_pointx, sizeof(tmp_pointx)); if (raw_pointx != 0) { total_size += 5; } // float pointY = 4; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_pointy = this->_internal_pointy(); ::uint32_t raw_pointy; memcpy(&raw_pointy, &tmp_pointy, sizeof(tmp_pointy)); if (raw_pointy != 0) { total_size += 5; } // uint32 duration = 5; if (this->_internal_duration() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_duration()); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData FixPointData::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, FixPointData::MergeImpl }; const ::google::protobuf::Message::ClassData*FixPointData::GetClassData() const { return &_class_data_; } void FixPointData::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.FixPointData) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_id() != 0) { _this->_internal_set_id(from._internal_id()); } if (from._internal_cno() != 0) { _this->_internal_set_cno(from._internal_cno()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_pointx = from._internal_pointx(); ::uint32_t raw_pointx; memcpy(&raw_pointx, &tmp_pointx, sizeof(tmp_pointx)); if (raw_pointx != 0) { _this->_internal_set_pointx(from._internal_pointx()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_pointy = from._internal_pointy(); ::uint32_t raw_pointy; memcpy(&raw_pointy, &tmp_pointy, sizeof(tmp_pointy)); if (raw_pointy != 0) { _this->_internal_set_pointy(from._internal_pointy()); } if (from._internal_duration() != 0) { _this->_internal_set_duration(from._internal_duration()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void FixPointData::CopyFrom(const FixPointData& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.FixPointData) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool FixPointData::IsInitialized() const { return true; } void FixPointData::InternalSwap(FixPointData* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(FixPointData, _impl_.duration_) + sizeof(FixPointData::_impl_.duration_) - PROTOBUF_FIELD_OFFSET(FixPointData, _impl_.id_)>( reinterpret_cast(&_impl_.id_), reinterpret_cast(&other->_impl_.id_)); } ::google::protobuf::Metadata FixPointData::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[27]); } // =================================================================== class ScanParamCfg::_Internal { public: }; ScanParamCfg::ScanParamCfg(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.ScanParamCfg) } ScanParamCfg::ScanParamCfg(const ScanParamCfg& from) : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:stream.ScanParamCfg) } inline void ScanParamCfg::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.edgelevel_){0}, decltype(_impl_.edgelevelmin_){0}, decltype(_impl_.edgelevelmax_){0}, decltype(_impl_.jumpdelay_){0u}, decltype(_impl_.jumpdelaymin_){0u}, decltype(_impl_.jumpdelaymax_){0u}, decltype(_impl_.scandelay_){0u}, decltype(_impl_.scandelaymin_){0u}, decltype(_impl_.scandelaymax_){0u}, decltype(_impl_.polygondelay_){0u}, decltype(_impl_.polygondelaymin_){0u}, decltype(_impl_.polygondelaymax_){0u}, decltype(_impl_.laseroffdelay_){::int64_t{0}}, decltype(_impl_.laseroffdelaymin_){::int64_t{0}}, decltype(_impl_.laseroffdelaymax_){::int64_t{0}}, decltype(_impl_.laserondelay_){::int64_t{0}}, decltype(_impl_.laserondelaymin_){::int64_t{0}}, decltype(_impl_.laserondelaymax_){::int64_t{0}}, decltype(_impl_.minjumpdelay_){0u}, decltype(_impl_.minjumpdelaymin_){0u}, decltype(_impl_.minjumpdelaymax_){0u}, decltype(_impl_.jumplengthlimit_){0u}, decltype(_impl_.jumplengthlimitmin_){0u}, decltype(_impl_.jumplengthlimitmax_){0u}, decltype(_impl_.jumpspeed_){0}, decltype(_impl_.jumpspeedmin_){0}, decltype(_impl_.jumpspeedmax_){0}, decltype(_impl_.markspeed_){0}, decltype(_impl_.markspeedmin_){0}, decltype(_impl_.markspeedmax_){0}, /*decltype(_impl_._cached_size_)*/ {}, }; } ScanParamCfg::~ScanParamCfg() { // @@protoc_insertion_point(destructor:stream.ScanParamCfg) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void ScanParamCfg::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void ScanParamCfg::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void ScanParamCfg::Clear() { // @@protoc_insertion_point(message_clear_start:stream.ScanParamCfg) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&_impl_.edgelevel_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.markspeedmax_) - reinterpret_cast(&_impl_.edgelevel_)) + sizeof(_impl_.markspeedmax_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* ScanParamCfg::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<5, 30, 0, 0, 2> ScanParamCfg::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 30, 248, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 3221225472, // skipmap offsetof(decltype(_table_), field_entries), 30, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_ScanParamCfg_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // int32 edgeLevel = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanParamCfg, _impl_.edgelevel_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.edgelevel_)}}, // int32 edgeLevelMin = 2; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanParamCfg, _impl_.edgelevelmin_), 63>(), {16, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.edgelevelmin_)}}, // int32 edgeLevelMax = 3; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanParamCfg, _impl_.edgelevelmax_), 63>(), {24, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.edgelevelmax_)}}, // uint32 jumpDelay = 4; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanParamCfg, _impl_.jumpdelay_), 63>(), {32, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.jumpdelay_)}}, // uint32 jumpDelayMin = 5; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanParamCfg, _impl_.jumpdelaymin_), 63>(), {40, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.jumpdelaymin_)}}, // uint32 jumpDelayMax = 6; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanParamCfg, _impl_.jumpdelaymax_), 63>(), {48, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.jumpdelaymax_)}}, // uint32 scanDelay = 7; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanParamCfg, _impl_.scandelay_), 63>(), {56, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.scandelay_)}}, // uint32 scanDelayMin = 8; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanParamCfg, _impl_.scandelaymin_), 63>(), {64, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.scandelaymin_)}}, // uint32 scanDelayMax = 9; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanParamCfg, _impl_.scandelaymax_), 63>(), {72, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.scandelaymax_)}}, // uint32 polygonDelay = 10; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanParamCfg, _impl_.polygondelay_), 63>(), {80, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.polygondelay_)}}, // uint32 polygonDelayMin = 11; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanParamCfg, _impl_.polygondelaymin_), 63>(), {88, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.polygondelaymin_)}}, // uint32 polygonDelayMax = 12; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanParamCfg, _impl_.polygondelaymax_), 63>(), {96, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.polygondelaymax_)}}, // int64 laseroffDelay = 13; {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ScanParamCfg, _impl_.laseroffdelay_), 63>(), {104, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.laseroffdelay_)}}, // int64 laseroffDelayMin = 14; {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ScanParamCfg, _impl_.laseroffdelaymin_), 63>(), {112, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.laseroffdelaymin_)}}, // int64 laseroffDelayMax = 15; {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ScanParamCfg, _impl_.laseroffdelaymax_), 63>(), {120, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.laseroffdelaymax_)}}, // int64 laseronDelay = 16; {::_pbi::TcParser::FastV64S2, {384, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.laserondelay_)}}, // int64 laseronDelayMin = 17; {::_pbi::TcParser::FastV64S2, {392, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.laserondelaymin_)}}, // int64 laseronDelayMax = 18; {::_pbi::TcParser::FastV64S2, {400, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.laserondelaymax_)}}, // uint32 minJumpDelay = 19; {::_pbi::TcParser::FastV32S2, {408, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.minjumpdelay_)}}, // uint32 minJumpDelayMin = 20; {::_pbi::TcParser::FastV32S2, {416, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.minjumpdelaymin_)}}, // uint32 minJumpDelayMax = 21; {::_pbi::TcParser::FastV32S2, {424, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.minjumpdelaymax_)}}, // uint32 jumpLengthLimit = 22; {::_pbi::TcParser::FastV32S2, {432, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.jumplengthlimit_)}}, // uint32 jumpLengthLimitMin = 23; {::_pbi::TcParser::FastV32S2, {440, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.jumplengthlimitmin_)}}, // uint32 jumpLengthLimitMax = 24; {::_pbi::TcParser::FastV32S2, {448, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.jumplengthlimitmax_)}}, // double jumpSpeed = 25; {::_pbi::TcParser::FastF64S2, {457, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.jumpspeed_)}}, // double jumpSpeedMin = 26; {::_pbi::TcParser::FastF64S2, {465, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.jumpspeedmin_)}}, // double jumpSpeedMax = 27; {::_pbi::TcParser::FastF64S2, {473, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.jumpspeedmax_)}}, // double markSpeed = 28; {::_pbi::TcParser::FastF64S2, {481, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.markspeed_)}}, // double markSpeedMin = 29; {::_pbi::TcParser::FastF64S2, {489, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.markspeedmin_)}}, // double markSpeedMax = 30; {::_pbi::TcParser::FastF64S2, {497, 63, 0, PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.markspeedmax_)}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // int32 edgeLevel = 1; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.edgelevel_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 edgeLevelMin = 2; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.edgelevelmin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 edgeLevelMax = 3; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.edgelevelmax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // uint32 jumpDelay = 4; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.jumpdelay_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 jumpDelayMin = 5; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.jumpdelaymin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 jumpDelayMax = 6; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.jumpdelaymax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 scanDelay = 7; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.scandelay_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 scanDelayMin = 8; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.scandelaymin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 scanDelayMax = 9; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.scandelaymax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 polygonDelay = 10; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.polygondelay_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 polygonDelayMin = 11; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.polygondelaymin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 polygonDelayMax = 12; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.polygondelaymax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // int64 laseroffDelay = 13; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.laseroffdelay_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, // int64 laseroffDelayMin = 14; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.laseroffdelaymin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, // int64 laseroffDelayMax = 15; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.laseroffdelaymax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, // int64 laseronDelay = 16; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.laserondelay_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, // int64 laseronDelayMin = 17; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.laserondelaymin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, // int64 laseronDelayMax = 18; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.laserondelaymax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, // uint32 minJumpDelay = 19; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.minjumpdelay_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 minJumpDelayMin = 20; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.minjumpdelaymin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 minJumpDelayMax = 21; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.minjumpdelaymax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 jumpLengthLimit = 22; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.jumplengthlimit_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 jumpLengthLimitMin = 23; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.jumplengthlimitmin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 jumpLengthLimitMax = 24; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.jumplengthlimitmax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // double jumpSpeed = 25; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.jumpspeed_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double jumpSpeedMin = 26; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.jumpspeedmin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double jumpSpeedMax = 27; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.jumpspeedmax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double markSpeed = 28; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.markspeed_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double markSpeedMin = 29; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.markspeedmin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double markSpeedMax = 30; {PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.markspeedmax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, }}, // no aux_entries {{ }}, }; ::uint8_t* ScanParamCfg::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.ScanParamCfg) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // int32 edgeLevel = 1; if (this->_internal_edgelevel() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<1>( stream, this->_internal_edgelevel(), target); } // int32 edgeLevelMin = 2; if (this->_internal_edgelevelmin() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<2>( stream, this->_internal_edgelevelmin(), target); } // int32 edgeLevelMax = 3; if (this->_internal_edgelevelmax() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<3>( stream, this->_internal_edgelevelmax(), target); } // uint32 jumpDelay = 4; if (this->_internal_jumpdelay() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 4, this->_internal_jumpdelay(), target); } // uint32 jumpDelayMin = 5; if (this->_internal_jumpdelaymin() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 5, this->_internal_jumpdelaymin(), target); } // uint32 jumpDelayMax = 6; if (this->_internal_jumpdelaymax() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 6, this->_internal_jumpdelaymax(), target); } // uint32 scanDelay = 7; if (this->_internal_scandelay() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 7, this->_internal_scandelay(), target); } // uint32 scanDelayMin = 8; if (this->_internal_scandelaymin() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 8, this->_internal_scandelaymin(), target); } // uint32 scanDelayMax = 9; if (this->_internal_scandelaymax() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 9, this->_internal_scandelaymax(), target); } // uint32 polygonDelay = 10; if (this->_internal_polygondelay() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 10, this->_internal_polygondelay(), target); } // uint32 polygonDelayMin = 11; if (this->_internal_polygondelaymin() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 11, this->_internal_polygondelaymin(), target); } // uint32 polygonDelayMax = 12; if (this->_internal_polygondelaymax() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 12, this->_internal_polygondelaymax(), target); } // int64 laseroffDelay = 13; if (this->_internal_laseroffdelay() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt64ToArrayWithField<13>( stream, this->_internal_laseroffdelay(), target); } // int64 laseroffDelayMin = 14; if (this->_internal_laseroffdelaymin() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt64ToArrayWithField<14>( stream, this->_internal_laseroffdelaymin(), target); } // int64 laseroffDelayMax = 15; if (this->_internal_laseroffdelaymax() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt64ToArrayWithField<15>( stream, this->_internal_laseroffdelaymax(), target); } // int64 laseronDelay = 16; if (this->_internal_laserondelay() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteInt64ToArray( 16, this->_internal_laserondelay(), target); } // int64 laseronDelayMin = 17; if (this->_internal_laserondelaymin() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteInt64ToArray( 17, this->_internal_laserondelaymin(), target); } // int64 laseronDelayMax = 18; if (this->_internal_laserondelaymax() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteInt64ToArray( 18, this->_internal_laserondelaymax(), target); } // uint32 minJumpDelay = 19; if (this->_internal_minjumpdelay() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 19, this->_internal_minjumpdelay(), target); } // uint32 minJumpDelayMin = 20; if (this->_internal_minjumpdelaymin() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 20, this->_internal_minjumpdelaymin(), target); } // uint32 minJumpDelayMax = 21; if (this->_internal_minjumpdelaymax() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 21, this->_internal_minjumpdelaymax(), target); } // uint32 jumpLengthLimit = 22; if (this->_internal_jumplengthlimit() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 22, this->_internal_jumplengthlimit(), target); } // uint32 jumpLengthLimitMin = 23; if (this->_internal_jumplengthlimitmin() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 23, this->_internal_jumplengthlimitmin(), target); } // uint32 jumpLengthLimitMax = 24; if (this->_internal_jumplengthlimitmax() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 24, this->_internal_jumplengthlimitmax(), target); } // double jumpSpeed = 25; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_jumpspeed = this->_internal_jumpspeed(); ::uint64_t raw_jumpspeed; memcpy(&raw_jumpspeed, &tmp_jumpspeed, sizeof(tmp_jumpspeed)); if (raw_jumpspeed != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 25, this->_internal_jumpspeed(), target); } // double jumpSpeedMin = 26; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_jumpspeedmin = this->_internal_jumpspeedmin(); ::uint64_t raw_jumpspeedmin; memcpy(&raw_jumpspeedmin, &tmp_jumpspeedmin, sizeof(tmp_jumpspeedmin)); if (raw_jumpspeedmin != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 26, this->_internal_jumpspeedmin(), target); } // double jumpSpeedMax = 27; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_jumpspeedmax = this->_internal_jumpspeedmax(); ::uint64_t raw_jumpspeedmax; memcpy(&raw_jumpspeedmax, &tmp_jumpspeedmax, sizeof(tmp_jumpspeedmax)); if (raw_jumpspeedmax != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 27, this->_internal_jumpspeedmax(), target); } // double markSpeed = 28; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_markspeed = this->_internal_markspeed(); ::uint64_t raw_markspeed; memcpy(&raw_markspeed, &tmp_markspeed, sizeof(tmp_markspeed)); if (raw_markspeed != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 28, this->_internal_markspeed(), target); } // double markSpeedMin = 29; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_markspeedmin = this->_internal_markspeedmin(); ::uint64_t raw_markspeedmin; memcpy(&raw_markspeedmin, &tmp_markspeedmin, sizeof(tmp_markspeedmin)); if (raw_markspeedmin != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 29, this->_internal_markspeedmin(), target); } // double markSpeedMax = 30; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_markspeedmax = this->_internal_markspeedmax(); ::uint64_t raw_markspeedmax; memcpy(&raw_markspeedmax, &tmp_markspeedmax, sizeof(tmp_markspeedmax)); if (raw_markspeedmax != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 30, this->_internal_markspeedmax(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.ScanParamCfg) return target; } ::size_t ScanParamCfg::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.ScanParamCfg) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // int32 edgeLevel = 1; if (this->_internal_edgelevel() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_edgelevel()); } // int32 edgeLevelMin = 2; if (this->_internal_edgelevelmin() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_edgelevelmin()); } // int32 edgeLevelMax = 3; if (this->_internal_edgelevelmax() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_edgelevelmax()); } // uint32 jumpDelay = 4; if (this->_internal_jumpdelay() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_jumpdelay()); } // uint32 jumpDelayMin = 5; if (this->_internal_jumpdelaymin() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_jumpdelaymin()); } // uint32 jumpDelayMax = 6; if (this->_internal_jumpdelaymax() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_jumpdelaymax()); } // uint32 scanDelay = 7; if (this->_internal_scandelay() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_scandelay()); } // uint32 scanDelayMin = 8; if (this->_internal_scandelaymin() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_scandelaymin()); } // uint32 scanDelayMax = 9; if (this->_internal_scandelaymax() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_scandelaymax()); } // uint32 polygonDelay = 10; if (this->_internal_polygondelay() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_polygondelay()); } // uint32 polygonDelayMin = 11; if (this->_internal_polygondelaymin() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_polygondelaymin()); } // uint32 polygonDelayMax = 12; if (this->_internal_polygondelaymax() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_polygondelaymax()); } // int64 laseroffDelay = 13; if (this->_internal_laseroffdelay() != 0) { total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( this->_internal_laseroffdelay()); } // int64 laseroffDelayMin = 14; if (this->_internal_laseroffdelaymin() != 0) { total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( this->_internal_laseroffdelaymin()); } // int64 laseroffDelayMax = 15; if (this->_internal_laseroffdelaymax() != 0) { total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( this->_internal_laseroffdelaymax()); } // int64 laseronDelay = 16; if (this->_internal_laserondelay() != 0) { total_size += 2 + ::_pbi::WireFormatLite::Int64Size( this->_internal_laserondelay()); } // int64 laseronDelayMin = 17; if (this->_internal_laserondelaymin() != 0) { total_size += 2 + ::_pbi::WireFormatLite::Int64Size( this->_internal_laserondelaymin()); } // int64 laseronDelayMax = 18; if (this->_internal_laserondelaymax() != 0) { total_size += 2 + ::_pbi::WireFormatLite::Int64Size( this->_internal_laserondelaymax()); } // uint32 minJumpDelay = 19; if (this->_internal_minjumpdelay() != 0) { total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( this->_internal_minjumpdelay()); } // uint32 minJumpDelayMin = 20; if (this->_internal_minjumpdelaymin() != 0) { total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( this->_internal_minjumpdelaymin()); } // uint32 minJumpDelayMax = 21; if (this->_internal_minjumpdelaymax() != 0) { total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( this->_internal_minjumpdelaymax()); } // uint32 jumpLengthLimit = 22; if (this->_internal_jumplengthlimit() != 0) { total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( this->_internal_jumplengthlimit()); } // uint32 jumpLengthLimitMin = 23; if (this->_internal_jumplengthlimitmin() != 0) { total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( this->_internal_jumplengthlimitmin()); } // uint32 jumpLengthLimitMax = 24; if (this->_internal_jumplengthlimitmax() != 0) { total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( this->_internal_jumplengthlimitmax()); } // double jumpSpeed = 25; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_jumpspeed = this->_internal_jumpspeed(); ::uint64_t raw_jumpspeed; memcpy(&raw_jumpspeed, &tmp_jumpspeed, sizeof(tmp_jumpspeed)); if (raw_jumpspeed != 0) { total_size += 10; } // double jumpSpeedMin = 26; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_jumpspeedmin = this->_internal_jumpspeedmin(); ::uint64_t raw_jumpspeedmin; memcpy(&raw_jumpspeedmin, &tmp_jumpspeedmin, sizeof(tmp_jumpspeedmin)); if (raw_jumpspeedmin != 0) { total_size += 10; } // double jumpSpeedMax = 27; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_jumpspeedmax = this->_internal_jumpspeedmax(); ::uint64_t raw_jumpspeedmax; memcpy(&raw_jumpspeedmax, &tmp_jumpspeedmax, sizeof(tmp_jumpspeedmax)); if (raw_jumpspeedmax != 0) { total_size += 10; } // double markSpeed = 28; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_markspeed = this->_internal_markspeed(); ::uint64_t raw_markspeed; memcpy(&raw_markspeed, &tmp_markspeed, sizeof(tmp_markspeed)); if (raw_markspeed != 0) { total_size += 10; } // double markSpeedMin = 29; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_markspeedmin = this->_internal_markspeedmin(); ::uint64_t raw_markspeedmin; memcpy(&raw_markspeedmin, &tmp_markspeedmin, sizeof(tmp_markspeedmin)); if (raw_markspeedmin != 0) { total_size += 10; } // double markSpeedMax = 30; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_markspeedmax = this->_internal_markspeedmax(); ::uint64_t raw_markspeedmax; memcpy(&raw_markspeedmax, &tmp_markspeedmax, sizeof(tmp_markspeedmax)); if (raw_markspeedmax != 0) { total_size += 10; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData ScanParamCfg::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, ScanParamCfg::MergeImpl }; const ::google::protobuf::Message::ClassData*ScanParamCfg::GetClassData() const { return &_class_data_; } void ScanParamCfg::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.ScanParamCfg) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_edgelevel() != 0) { _this->_internal_set_edgelevel(from._internal_edgelevel()); } if (from._internal_edgelevelmin() != 0) { _this->_internal_set_edgelevelmin(from._internal_edgelevelmin()); } if (from._internal_edgelevelmax() != 0) { _this->_internal_set_edgelevelmax(from._internal_edgelevelmax()); } if (from._internal_jumpdelay() != 0) { _this->_internal_set_jumpdelay(from._internal_jumpdelay()); } if (from._internal_jumpdelaymin() != 0) { _this->_internal_set_jumpdelaymin(from._internal_jumpdelaymin()); } if (from._internal_jumpdelaymax() != 0) { _this->_internal_set_jumpdelaymax(from._internal_jumpdelaymax()); } if (from._internal_scandelay() != 0) { _this->_internal_set_scandelay(from._internal_scandelay()); } if (from._internal_scandelaymin() != 0) { _this->_internal_set_scandelaymin(from._internal_scandelaymin()); } if (from._internal_scandelaymax() != 0) { _this->_internal_set_scandelaymax(from._internal_scandelaymax()); } if (from._internal_polygondelay() != 0) { _this->_internal_set_polygondelay(from._internal_polygondelay()); } if (from._internal_polygondelaymin() != 0) { _this->_internal_set_polygondelaymin(from._internal_polygondelaymin()); } if (from._internal_polygondelaymax() != 0) { _this->_internal_set_polygondelaymax(from._internal_polygondelaymax()); } if (from._internal_laseroffdelay() != 0) { _this->_internal_set_laseroffdelay(from._internal_laseroffdelay()); } if (from._internal_laseroffdelaymin() != 0) { _this->_internal_set_laseroffdelaymin(from._internal_laseroffdelaymin()); } if (from._internal_laseroffdelaymax() != 0) { _this->_internal_set_laseroffdelaymax(from._internal_laseroffdelaymax()); } if (from._internal_laserondelay() != 0) { _this->_internal_set_laserondelay(from._internal_laserondelay()); } if (from._internal_laserondelaymin() != 0) { _this->_internal_set_laserondelaymin(from._internal_laserondelaymin()); } if (from._internal_laserondelaymax() != 0) { _this->_internal_set_laserondelaymax(from._internal_laserondelaymax()); } if (from._internal_minjumpdelay() != 0) { _this->_internal_set_minjumpdelay(from._internal_minjumpdelay()); } if (from._internal_minjumpdelaymin() != 0) { _this->_internal_set_minjumpdelaymin(from._internal_minjumpdelaymin()); } if (from._internal_minjumpdelaymax() != 0) { _this->_internal_set_minjumpdelaymax(from._internal_minjumpdelaymax()); } if (from._internal_jumplengthlimit() != 0) { _this->_internal_set_jumplengthlimit(from._internal_jumplengthlimit()); } if (from._internal_jumplengthlimitmin() != 0) { _this->_internal_set_jumplengthlimitmin(from._internal_jumplengthlimitmin()); } if (from._internal_jumplengthlimitmax() != 0) { _this->_internal_set_jumplengthlimitmax(from._internal_jumplengthlimitmax()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_jumpspeed = from._internal_jumpspeed(); ::uint64_t raw_jumpspeed; memcpy(&raw_jumpspeed, &tmp_jumpspeed, sizeof(tmp_jumpspeed)); if (raw_jumpspeed != 0) { _this->_internal_set_jumpspeed(from._internal_jumpspeed()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_jumpspeedmin = from._internal_jumpspeedmin(); ::uint64_t raw_jumpspeedmin; memcpy(&raw_jumpspeedmin, &tmp_jumpspeedmin, sizeof(tmp_jumpspeedmin)); if (raw_jumpspeedmin != 0) { _this->_internal_set_jumpspeedmin(from._internal_jumpspeedmin()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_jumpspeedmax = from._internal_jumpspeedmax(); ::uint64_t raw_jumpspeedmax; memcpy(&raw_jumpspeedmax, &tmp_jumpspeedmax, sizeof(tmp_jumpspeedmax)); if (raw_jumpspeedmax != 0) { _this->_internal_set_jumpspeedmax(from._internal_jumpspeedmax()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_markspeed = from._internal_markspeed(); ::uint64_t raw_markspeed; memcpy(&raw_markspeed, &tmp_markspeed, sizeof(tmp_markspeed)); if (raw_markspeed != 0) { _this->_internal_set_markspeed(from._internal_markspeed()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_markspeedmin = from._internal_markspeedmin(); ::uint64_t raw_markspeedmin; memcpy(&raw_markspeedmin, &tmp_markspeedmin, sizeof(tmp_markspeedmin)); if (raw_markspeedmin != 0) { _this->_internal_set_markspeedmin(from._internal_markspeedmin()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_markspeedmax = from._internal_markspeedmax(); ::uint64_t raw_markspeedmax; memcpy(&raw_markspeedmax, &tmp_markspeedmax, sizeof(tmp_markspeedmax)); if (raw_markspeedmax != 0) { _this->_internal_set_markspeedmax(from._internal_markspeedmax()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void ScanParamCfg::CopyFrom(const ScanParamCfg& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.ScanParamCfg) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool ScanParamCfg::IsInitialized() const { return true; } void ScanParamCfg::InternalSwap(ScanParamCfg* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.markspeedmax_) + sizeof(ScanParamCfg::_impl_.markspeedmax_) - PROTOBUF_FIELD_OFFSET(ScanParamCfg, _impl_.edgelevel_)>( reinterpret_cast(&_impl_.edgelevel_), reinterpret_cast(&other->_impl_.edgelevel_)); } ::google::protobuf::Metadata ScanParamCfg::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[28]); } // =================================================================== class CorrectParamCfg::_Internal { public: }; CorrectParamCfg::CorrectParamCfg(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.CorrectParamCfg) } CorrectParamCfg::CorrectParamCfg(const CorrectParamCfg& from) : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:stream.CorrectParamCfg) } inline void CorrectParamCfg::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.xmeasuremin_){0}, decltype(_impl_.xmeasuremax_){0}, decltype(_impl_.ymeasuremin_){0}, decltype(_impl_.ymeasuremax_){0}, decltype(_impl_.xposfix_){0}, decltype(_impl_.yposfix_){0}, decltype(_impl_.scanangle_){0}, decltype(_impl_.scananglemin_){0}, decltype(_impl_.scananglemax_){0}, decltype(_impl_.fixangle_){0}, decltype(_impl_.fixanglemin_){0}, decltype(_impl_.fixanglemax_){0}, decltype(_impl_.xcorrect_){0}, decltype(_impl_.ycorrect_){0}, decltype(_impl_.xcorrectmin_){0}, decltype(_impl_.xcorrectmax_){0}, decltype(_impl_.ycorrectmin_){0}, decltype(_impl_.ycorrectmax_){0}, decltype(_impl_.realxoffset_){0}, decltype(_impl_.realyoffset_){0}, decltype(_impl_.factork_){0}, decltype(_impl_.defocusratio_){0}, decltype(_impl_.defocusratiomin_){0}, decltype(_impl_.defocusratiomax_){0}, decltype(_impl_.iscorrectfile3d_){false}, decltype(_impl_.isdynamicfocus_){false}, /*decltype(_impl_._cached_size_)*/ {}, }; } CorrectParamCfg::~CorrectParamCfg() { // @@protoc_insertion_point(destructor:stream.CorrectParamCfg) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void CorrectParamCfg::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void CorrectParamCfg::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void CorrectParamCfg::Clear() { // @@protoc_insertion_point(message_clear_start:stream.CorrectParamCfg) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&_impl_.xmeasuremin_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.isdynamicfocus_) - reinterpret_cast(&_impl_.xmeasuremin_)) + sizeof(_impl_.isdynamicfocus_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* CorrectParamCfg::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<5, 26, 0, 0, 2> CorrectParamCfg::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 26, 248, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4227858432, // skipmap offsetof(decltype(_table_), field_entries), 26, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_CorrectParamCfg_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // double xmeasureMin = 1; {::_pbi::TcParser::FastF64S1, {9, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.xmeasuremin_)}}, // double xmeasureMax = 2; {::_pbi::TcParser::FastF64S1, {17, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.xmeasuremax_)}}, // double ymeasureMin = 3; {::_pbi::TcParser::FastF64S1, {25, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.ymeasuremin_)}}, // double ymeasureMax = 4; {::_pbi::TcParser::FastF64S1, {33, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.ymeasuremax_)}}, // double xposfix = 5; {::_pbi::TcParser::FastF64S1, {41, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.xposfix_)}}, // double yposfix = 6; {::_pbi::TcParser::FastF64S1, {49, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.yposfix_)}}, // double scanAngle = 7; {::_pbi::TcParser::FastF64S1, {57, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.scanangle_)}}, // double scanAngleMin = 8; {::_pbi::TcParser::FastF64S1, {65, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.scananglemin_)}}, // double scanAngleMax = 9; {::_pbi::TcParser::FastF64S1, {73, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.scananglemax_)}}, // double fixAngle = 10; {::_pbi::TcParser::FastF64S1, {81, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.fixangle_)}}, // double fixAngleMin = 11; {::_pbi::TcParser::FastF64S1, {89, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.fixanglemin_)}}, // double fixAngleMax = 12; {::_pbi::TcParser::FastF64S1, {97, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.fixanglemax_)}}, // double xcorrect = 13; {::_pbi::TcParser::FastF64S1, {105, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.xcorrect_)}}, // double ycorrect = 14; {::_pbi::TcParser::FastF64S1, {113, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.ycorrect_)}}, // double xcorrectMin = 15; {::_pbi::TcParser::FastF64S1, {121, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.xcorrectmin_)}}, // double xcorrectMax = 16; {::_pbi::TcParser::FastF64S2, {385, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.xcorrectmax_)}}, // double ycorrectMin = 17; {::_pbi::TcParser::FastF64S2, {393, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.ycorrectmin_)}}, // double ycorrectMax = 18; {::_pbi::TcParser::FastF64S2, {401, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.ycorrectmax_)}}, // double realXOffset = 19; {::_pbi::TcParser::FastF64S2, {409, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.realxoffset_)}}, // double realYOffset = 20; {::_pbi::TcParser::FastF64S2, {417, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.realyoffset_)}}, // double factorK = 21; {::_pbi::TcParser::FastF64S2, {425, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.factork_)}}, // bool isCorrectFile3D = 22; {::_pbi::TcParser::FastV8S2, {432, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.iscorrectfile3d_)}}, // bool isDynamicFocus = 23; {::_pbi::TcParser::FastV8S2, {440, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.isdynamicfocus_)}}, // double defocusRatio = 24; {::_pbi::TcParser::FastF64S2, {449, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.defocusratio_)}}, // double defocusRatioMin = 25; {::_pbi::TcParser::FastF64S2, {457, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.defocusratiomin_)}}, // double defocusRatioMax = 26; {::_pbi::TcParser::FastF64S2, {465, 63, 0, PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.defocusratiomax_)}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // double xmeasureMin = 1; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.xmeasuremin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double xmeasureMax = 2; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.xmeasuremax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double ymeasureMin = 3; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.ymeasuremin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double ymeasureMax = 4; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.ymeasuremax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double xposfix = 5; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.xposfix_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double yposfix = 6; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.yposfix_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double scanAngle = 7; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.scanangle_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double scanAngleMin = 8; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.scananglemin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double scanAngleMax = 9; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.scananglemax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double fixAngle = 10; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.fixangle_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double fixAngleMin = 11; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.fixanglemin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double fixAngleMax = 12; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.fixanglemax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double xcorrect = 13; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.xcorrect_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double ycorrect = 14; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.ycorrect_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double xcorrectMin = 15; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.xcorrectmin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double xcorrectMax = 16; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.xcorrectmax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double ycorrectMin = 17; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.ycorrectmin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double ycorrectMax = 18; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.ycorrectmax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double realXOffset = 19; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.realxoffset_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double realYOffset = 20; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.realyoffset_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double factorK = 21; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.factork_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // bool isCorrectFile3D = 22; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.iscorrectfile3d_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // bool isDynamicFocus = 23; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.isdynamicfocus_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // double defocusRatio = 24; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.defocusratio_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double defocusRatioMin = 25; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.defocusratiomin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double defocusRatioMax = 26; {PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.defocusratiomax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, }}, // no aux_entries {{ }}, }; ::uint8_t* CorrectParamCfg::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.CorrectParamCfg) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // double xmeasureMin = 1; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_xmeasuremin = this->_internal_xmeasuremin(); ::uint64_t raw_xmeasuremin; memcpy(&raw_xmeasuremin, &tmp_xmeasuremin, sizeof(tmp_xmeasuremin)); if (raw_xmeasuremin != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 1, this->_internal_xmeasuremin(), target); } // double xmeasureMax = 2; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_xmeasuremax = this->_internal_xmeasuremax(); ::uint64_t raw_xmeasuremax; memcpy(&raw_xmeasuremax, &tmp_xmeasuremax, sizeof(tmp_xmeasuremax)); if (raw_xmeasuremax != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 2, this->_internal_xmeasuremax(), target); } // double ymeasureMin = 3; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_ymeasuremin = this->_internal_ymeasuremin(); ::uint64_t raw_ymeasuremin; memcpy(&raw_ymeasuremin, &tmp_ymeasuremin, sizeof(tmp_ymeasuremin)); if (raw_ymeasuremin != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 3, this->_internal_ymeasuremin(), target); } // double ymeasureMax = 4; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_ymeasuremax = this->_internal_ymeasuremax(); ::uint64_t raw_ymeasuremax; memcpy(&raw_ymeasuremax, &tmp_ymeasuremax, sizeof(tmp_ymeasuremax)); if (raw_ymeasuremax != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 4, this->_internal_ymeasuremax(), target); } // double xposfix = 5; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_xposfix = this->_internal_xposfix(); ::uint64_t raw_xposfix; memcpy(&raw_xposfix, &tmp_xposfix, sizeof(tmp_xposfix)); if (raw_xposfix != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 5, this->_internal_xposfix(), target); } // double yposfix = 6; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_yposfix = this->_internal_yposfix(); ::uint64_t raw_yposfix; memcpy(&raw_yposfix, &tmp_yposfix, sizeof(tmp_yposfix)); if (raw_yposfix != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 6, this->_internal_yposfix(), target); } // double scanAngle = 7; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_scanangle = this->_internal_scanangle(); ::uint64_t raw_scanangle; memcpy(&raw_scanangle, &tmp_scanangle, sizeof(tmp_scanangle)); if (raw_scanangle != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 7, this->_internal_scanangle(), target); } // double scanAngleMin = 8; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_scananglemin = this->_internal_scananglemin(); ::uint64_t raw_scananglemin; memcpy(&raw_scananglemin, &tmp_scananglemin, sizeof(tmp_scananglemin)); if (raw_scananglemin != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 8, this->_internal_scananglemin(), target); } // double scanAngleMax = 9; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_scananglemax = this->_internal_scananglemax(); ::uint64_t raw_scananglemax; memcpy(&raw_scananglemax, &tmp_scananglemax, sizeof(tmp_scananglemax)); if (raw_scananglemax != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 9, this->_internal_scananglemax(), target); } // double fixAngle = 10; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_fixangle = this->_internal_fixangle(); ::uint64_t raw_fixangle; memcpy(&raw_fixangle, &tmp_fixangle, sizeof(tmp_fixangle)); if (raw_fixangle != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 10, this->_internal_fixangle(), target); } // double fixAngleMin = 11; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_fixanglemin = this->_internal_fixanglemin(); ::uint64_t raw_fixanglemin; memcpy(&raw_fixanglemin, &tmp_fixanglemin, sizeof(tmp_fixanglemin)); if (raw_fixanglemin != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 11, this->_internal_fixanglemin(), target); } // double fixAngleMax = 12; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_fixanglemax = this->_internal_fixanglemax(); ::uint64_t raw_fixanglemax; memcpy(&raw_fixanglemax, &tmp_fixanglemax, sizeof(tmp_fixanglemax)); if (raw_fixanglemax != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 12, this->_internal_fixanglemax(), target); } // double xcorrect = 13; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_xcorrect = this->_internal_xcorrect(); ::uint64_t raw_xcorrect; memcpy(&raw_xcorrect, &tmp_xcorrect, sizeof(tmp_xcorrect)); if (raw_xcorrect != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 13, this->_internal_xcorrect(), target); } // double ycorrect = 14; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_ycorrect = this->_internal_ycorrect(); ::uint64_t raw_ycorrect; memcpy(&raw_ycorrect, &tmp_ycorrect, sizeof(tmp_ycorrect)); if (raw_ycorrect != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 14, this->_internal_ycorrect(), target); } // double xcorrectMin = 15; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_xcorrectmin = this->_internal_xcorrectmin(); ::uint64_t raw_xcorrectmin; memcpy(&raw_xcorrectmin, &tmp_xcorrectmin, sizeof(tmp_xcorrectmin)); if (raw_xcorrectmin != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 15, this->_internal_xcorrectmin(), target); } // double xcorrectMax = 16; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_xcorrectmax = this->_internal_xcorrectmax(); ::uint64_t raw_xcorrectmax; memcpy(&raw_xcorrectmax, &tmp_xcorrectmax, sizeof(tmp_xcorrectmax)); if (raw_xcorrectmax != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 16, this->_internal_xcorrectmax(), target); } // double ycorrectMin = 17; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_ycorrectmin = this->_internal_ycorrectmin(); ::uint64_t raw_ycorrectmin; memcpy(&raw_ycorrectmin, &tmp_ycorrectmin, sizeof(tmp_ycorrectmin)); if (raw_ycorrectmin != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 17, this->_internal_ycorrectmin(), target); } // double ycorrectMax = 18; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_ycorrectmax = this->_internal_ycorrectmax(); ::uint64_t raw_ycorrectmax; memcpy(&raw_ycorrectmax, &tmp_ycorrectmax, sizeof(tmp_ycorrectmax)); if (raw_ycorrectmax != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 18, this->_internal_ycorrectmax(), target); } // double realXOffset = 19; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_realxoffset = this->_internal_realxoffset(); ::uint64_t raw_realxoffset; memcpy(&raw_realxoffset, &tmp_realxoffset, sizeof(tmp_realxoffset)); if (raw_realxoffset != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 19, this->_internal_realxoffset(), target); } // double realYOffset = 20; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_realyoffset = this->_internal_realyoffset(); ::uint64_t raw_realyoffset; memcpy(&raw_realyoffset, &tmp_realyoffset, sizeof(tmp_realyoffset)); if (raw_realyoffset != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 20, this->_internal_realyoffset(), target); } // double factorK = 21; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_factork = this->_internal_factork(); ::uint64_t raw_factork; memcpy(&raw_factork, &tmp_factork, sizeof(tmp_factork)); if (raw_factork != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 21, this->_internal_factork(), target); } // bool isCorrectFile3D = 22; if (this->_internal_iscorrectfile3d() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 22, this->_internal_iscorrectfile3d(), target); } // bool isDynamicFocus = 23; if (this->_internal_isdynamicfocus() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 23, this->_internal_isdynamicfocus(), target); } // double defocusRatio = 24; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_defocusratio = this->_internal_defocusratio(); ::uint64_t raw_defocusratio; memcpy(&raw_defocusratio, &tmp_defocusratio, sizeof(tmp_defocusratio)); if (raw_defocusratio != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 24, this->_internal_defocusratio(), target); } // double defocusRatioMin = 25; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_defocusratiomin = this->_internal_defocusratiomin(); ::uint64_t raw_defocusratiomin; memcpy(&raw_defocusratiomin, &tmp_defocusratiomin, sizeof(tmp_defocusratiomin)); if (raw_defocusratiomin != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 25, this->_internal_defocusratiomin(), target); } // double defocusRatioMax = 26; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_defocusratiomax = this->_internal_defocusratiomax(); ::uint64_t raw_defocusratiomax; memcpy(&raw_defocusratiomax, &tmp_defocusratiomax, sizeof(tmp_defocusratiomax)); if (raw_defocusratiomax != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 26, this->_internal_defocusratiomax(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.CorrectParamCfg) return target; } ::size_t CorrectParamCfg::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.CorrectParamCfg) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // double xmeasureMin = 1; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_xmeasuremin = this->_internal_xmeasuremin(); ::uint64_t raw_xmeasuremin; memcpy(&raw_xmeasuremin, &tmp_xmeasuremin, sizeof(tmp_xmeasuremin)); if (raw_xmeasuremin != 0) { total_size += 9; } // double xmeasureMax = 2; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_xmeasuremax = this->_internal_xmeasuremax(); ::uint64_t raw_xmeasuremax; memcpy(&raw_xmeasuremax, &tmp_xmeasuremax, sizeof(tmp_xmeasuremax)); if (raw_xmeasuremax != 0) { total_size += 9; } // double ymeasureMin = 3; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_ymeasuremin = this->_internal_ymeasuremin(); ::uint64_t raw_ymeasuremin; memcpy(&raw_ymeasuremin, &tmp_ymeasuremin, sizeof(tmp_ymeasuremin)); if (raw_ymeasuremin != 0) { total_size += 9; } // double ymeasureMax = 4; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_ymeasuremax = this->_internal_ymeasuremax(); ::uint64_t raw_ymeasuremax; memcpy(&raw_ymeasuremax, &tmp_ymeasuremax, sizeof(tmp_ymeasuremax)); if (raw_ymeasuremax != 0) { total_size += 9; } // double xposfix = 5; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_xposfix = this->_internal_xposfix(); ::uint64_t raw_xposfix; memcpy(&raw_xposfix, &tmp_xposfix, sizeof(tmp_xposfix)); if (raw_xposfix != 0) { total_size += 9; } // double yposfix = 6; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_yposfix = this->_internal_yposfix(); ::uint64_t raw_yposfix; memcpy(&raw_yposfix, &tmp_yposfix, sizeof(tmp_yposfix)); if (raw_yposfix != 0) { total_size += 9; } // double scanAngle = 7; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_scanangle = this->_internal_scanangle(); ::uint64_t raw_scanangle; memcpy(&raw_scanangle, &tmp_scanangle, sizeof(tmp_scanangle)); if (raw_scanangle != 0) { total_size += 9; } // double scanAngleMin = 8; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_scananglemin = this->_internal_scananglemin(); ::uint64_t raw_scananglemin; memcpy(&raw_scananglemin, &tmp_scananglemin, sizeof(tmp_scananglemin)); if (raw_scananglemin != 0) { total_size += 9; } // double scanAngleMax = 9; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_scananglemax = this->_internal_scananglemax(); ::uint64_t raw_scananglemax; memcpy(&raw_scananglemax, &tmp_scananglemax, sizeof(tmp_scananglemax)); if (raw_scananglemax != 0) { total_size += 9; } // double fixAngle = 10; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_fixangle = this->_internal_fixangle(); ::uint64_t raw_fixangle; memcpy(&raw_fixangle, &tmp_fixangle, sizeof(tmp_fixangle)); if (raw_fixangle != 0) { total_size += 9; } // double fixAngleMin = 11; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_fixanglemin = this->_internal_fixanglemin(); ::uint64_t raw_fixanglemin; memcpy(&raw_fixanglemin, &tmp_fixanglemin, sizeof(tmp_fixanglemin)); if (raw_fixanglemin != 0) { total_size += 9; } // double fixAngleMax = 12; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_fixanglemax = this->_internal_fixanglemax(); ::uint64_t raw_fixanglemax; memcpy(&raw_fixanglemax, &tmp_fixanglemax, sizeof(tmp_fixanglemax)); if (raw_fixanglemax != 0) { total_size += 9; } // double xcorrect = 13; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_xcorrect = this->_internal_xcorrect(); ::uint64_t raw_xcorrect; memcpy(&raw_xcorrect, &tmp_xcorrect, sizeof(tmp_xcorrect)); if (raw_xcorrect != 0) { total_size += 9; } // double ycorrect = 14; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_ycorrect = this->_internal_ycorrect(); ::uint64_t raw_ycorrect; memcpy(&raw_ycorrect, &tmp_ycorrect, sizeof(tmp_ycorrect)); if (raw_ycorrect != 0) { total_size += 9; } // double xcorrectMin = 15; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_xcorrectmin = this->_internal_xcorrectmin(); ::uint64_t raw_xcorrectmin; memcpy(&raw_xcorrectmin, &tmp_xcorrectmin, sizeof(tmp_xcorrectmin)); if (raw_xcorrectmin != 0) { total_size += 9; } // double xcorrectMax = 16; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_xcorrectmax = this->_internal_xcorrectmax(); ::uint64_t raw_xcorrectmax; memcpy(&raw_xcorrectmax, &tmp_xcorrectmax, sizeof(tmp_xcorrectmax)); if (raw_xcorrectmax != 0) { total_size += 10; } // double ycorrectMin = 17; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_ycorrectmin = this->_internal_ycorrectmin(); ::uint64_t raw_ycorrectmin; memcpy(&raw_ycorrectmin, &tmp_ycorrectmin, sizeof(tmp_ycorrectmin)); if (raw_ycorrectmin != 0) { total_size += 10; } // double ycorrectMax = 18; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_ycorrectmax = this->_internal_ycorrectmax(); ::uint64_t raw_ycorrectmax; memcpy(&raw_ycorrectmax, &tmp_ycorrectmax, sizeof(tmp_ycorrectmax)); if (raw_ycorrectmax != 0) { total_size += 10; } // double realXOffset = 19; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_realxoffset = this->_internal_realxoffset(); ::uint64_t raw_realxoffset; memcpy(&raw_realxoffset, &tmp_realxoffset, sizeof(tmp_realxoffset)); if (raw_realxoffset != 0) { total_size += 10; } // double realYOffset = 20; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_realyoffset = this->_internal_realyoffset(); ::uint64_t raw_realyoffset; memcpy(&raw_realyoffset, &tmp_realyoffset, sizeof(tmp_realyoffset)); if (raw_realyoffset != 0) { total_size += 10; } // double factorK = 21; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_factork = this->_internal_factork(); ::uint64_t raw_factork; memcpy(&raw_factork, &tmp_factork, sizeof(tmp_factork)); if (raw_factork != 0) { total_size += 10; } // double defocusRatio = 24; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_defocusratio = this->_internal_defocusratio(); ::uint64_t raw_defocusratio; memcpy(&raw_defocusratio, &tmp_defocusratio, sizeof(tmp_defocusratio)); if (raw_defocusratio != 0) { total_size += 10; } // double defocusRatioMin = 25; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_defocusratiomin = this->_internal_defocusratiomin(); ::uint64_t raw_defocusratiomin; memcpy(&raw_defocusratiomin, &tmp_defocusratiomin, sizeof(tmp_defocusratiomin)); if (raw_defocusratiomin != 0) { total_size += 10; } // double defocusRatioMax = 26; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_defocusratiomax = this->_internal_defocusratiomax(); ::uint64_t raw_defocusratiomax; memcpy(&raw_defocusratiomax, &tmp_defocusratiomax, sizeof(tmp_defocusratiomax)); if (raw_defocusratiomax != 0) { total_size += 10; } // bool isCorrectFile3D = 22; if (this->_internal_iscorrectfile3d() != 0) { total_size += 3; } // bool isDynamicFocus = 23; if (this->_internal_isdynamicfocus() != 0) { total_size += 3; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData CorrectParamCfg::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, CorrectParamCfg::MergeImpl }; const ::google::protobuf::Message::ClassData*CorrectParamCfg::GetClassData() const { return &_class_data_; } void CorrectParamCfg::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.CorrectParamCfg) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_xmeasuremin = from._internal_xmeasuremin(); ::uint64_t raw_xmeasuremin; memcpy(&raw_xmeasuremin, &tmp_xmeasuremin, sizeof(tmp_xmeasuremin)); if (raw_xmeasuremin != 0) { _this->_internal_set_xmeasuremin(from._internal_xmeasuremin()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_xmeasuremax = from._internal_xmeasuremax(); ::uint64_t raw_xmeasuremax; memcpy(&raw_xmeasuremax, &tmp_xmeasuremax, sizeof(tmp_xmeasuremax)); if (raw_xmeasuremax != 0) { _this->_internal_set_xmeasuremax(from._internal_xmeasuremax()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_ymeasuremin = from._internal_ymeasuremin(); ::uint64_t raw_ymeasuremin; memcpy(&raw_ymeasuremin, &tmp_ymeasuremin, sizeof(tmp_ymeasuremin)); if (raw_ymeasuremin != 0) { _this->_internal_set_ymeasuremin(from._internal_ymeasuremin()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_ymeasuremax = from._internal_ymeasuremax(); ::uint64_t raw_ymeasuremax; memcpy(&raw_ymeasuremax, &tmp_ymeasuremax, sizeof(tmp_ymeasuremax)); if (raw_ymeasuremax != 0) { _this->_internal_set_ymeasuremax(from._internal_ymeasuremax()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_xposfix = from._internal_xposfix(); ::uint64_t raw_xposfix; memcpy(&raw_xposfix, &tmp_xposfix, sizeof(tmp_xposfix)); if (raw_xposfix != 0) { _this->_internal_set_xposfix(from._internal_xposfix()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_yposfix = from._internal_yposfix(); ::uint64_t raw_yposfix; memcpy(&raw_yposfix, &tmp_yposfix, sizeof(tmp_yposfix)); if (raw_yposfix != 0) { _this->_internal_set_yposfix(from._internal_yposfix()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_scanangle = from._internal_scanangle(); ::uint64_t raw_scanangle; memcpy(&raw_scanangle, &tmp_scanangle, sizeof(tmp_scanangle)); if (raw_scanangle != 0) { _this->_internal_set_scanangle(from._internal_scanangle()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_scananglemin = from._internal_scananglemin(); ::uint64_t raw_scananglemin; memcpy(&raw_scananglemin, &tmp_scananglemin, sizeof(tmp_scananglemin)); if (raw_scananglemin != 0) { _this->_internal_set_scananglemin(from._internal_scananglemin()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_scananglemax = from._internal_scananglemax(); ::uint64_t raw_scananglemax; memcpy(&raw_scananglemax, &tmp_scananglemax, sizeof(tmp_scananglemax)); if (raw_scananglemax != 0) { _this->_internal_set_scananglemax(from._internal_scananglemax()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_fixangle = from._internal_fixangle(); ::uint64_t raw_fixangle; memcpy(&raw_fixangle, &tmp_fixangle, sizeof(tmp_fixangle)); if (raw_fixangle != 0) { _this->_internal_set_fixangle(from._internal_fixangle()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_fixanglemin = from._internal_fixanglemin(); ::uint64_t raw_fixanglemin; memcpy(&raw_fixanglemin, &tmp_fixanglemin, sizeof(tmp_fixanglemin)); if (raw_fixanglemin != 0) { _this->_internal_set_fixanglemin(from._internal_fixanglemin()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_fixanglemax = from._internal_fixanglemax(); ::uint64_t raw_fixanglemax; memcpy(&raw_fixanglemax, &tmp_fixanglemax, sizeof(tmp_fixanglemax)); if (raw_fixanglemax != 0) { _this->_internal_set_fixanglemax(from._internal_fixanglemax()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_xcorrect = from._internal_xcorrect(); ::uint64_t raw_xcorrect; memcpy(&raw_xcorrect, &tmp_xcorrect, sizeof(tmp_xcorrect)); if (raw_xcorrect != 0) { _this->_internal_set_xcorrect(from._internal_xcorrect()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_ycorrect = from._internal_ycorrect(); ::uint64_t raw_ycorrect; memcpy(&raw_ycorrect, &tmp_ycorrect, sizeof(tmp_ycorrect)); if (raw_ycorrect != 0) { _this->_internal_set_ycorrect(from._internal_ycorrect()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_xcorrectmin = from._internal_xcorrectmin(); ::uint64_t raw_xcorrectmin; memcpy(&raw_xcorrectmin, &tmp_xcorrectmin, sizeof(tmp_xcorrectmin)); if (raw_xcorrectmin != 0) { _this->_internal_set_xcorrectmin(from._internal_xcorrectmin()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_xcorrectmax = from._internal_xcorrectmax(); ::uint64_t raw_xcorrectmax; memcpy(&raw_xcorrectmax, &tmp_xcorrectmax, sizeof(tmp_xcorrectmax)); if (raw_xcorrectmax != 0) { _this->_internal_set_xcorrectmax(from._internal_xcorrectmax()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_ycorrectmin = from._internal_ycorrectmin(); ::uint64_t raw_ycorrectmin; memcpy(&raw_ycorrectmin, &tmp_ycorrectmin, sizeof(tmp_ycorrectmin)); if (raw_ycorrectmin != 0) { _this->_internal_set_ycorrectmin(from._internal_ycorrectmin()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_ycorrectmax = from._internal_ycorrectmax(); ::uint64_t raw_ycorrectmax; memcpy(&raw_ycorrectmax, &tmp_ycorrectmax, sizeof(tmp_ycorrectmax)); if (raw_ycorrectmax != 0) { _this->_internal_set_ycorrectmax(from._internal_ycorrectmax()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_realxoffset = from._internal_realxoffset(); ::uint64_t raw_realxoffset; memcpy(&raw_realxoffset, &tmp_realxoffset, sizeof(tmp_realxoffset)); if (raw_realxoffset != 0) { _this->_internal_set_realxoffset(from._internal_realxoffset()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_realyoffset = from._internal_realyoffset(); ::uint64_t raw_realyoffset; memcpy(&raw_realyoffset, &tmp_realyoffset, sizeof(tmp_realyoffset)); if (raw_realyoffset != 0) { _this->_internal_set_realyoffset(from._internal_realyoffset()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_factork = from._internal_factork(); ::uint64_t raw_factork; memcpy(&raw_factork, &tmp_factork, sizeof(tmp_factork)); if (raw_factork != 0) { _this->_internal_set_factork(from._internal_factork()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_defocusratio = from._internal_defocusratio(); ::uint64_t raw_defocusratio; memcpy(&raw_defocusratio, &tmp_defocusratio, sizeof(tmp_defocusratio)); if (raw_defocusratio != 0) { _this->_internal_set_defocusratio(from._internal_defocusratio()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_defocusratiomin = from._internal_defocusratiomin(); ::uint64_t raw_defocusratiomin; memcpy(&raw_defocusratiomin, &tmp_defocusratiomin, sizeof(tmp_defocusratiomin)); if (raw_defocusratiomin != 0) { _this->_internal_set_defocusratiomin(from._internal_defocusratiomin()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_defocusratiomax = from._internal_defocusratiomax(); ::uint64_t raw_defocusratiomax; memcpy(&raw_defocusratiomax, &tmp_defocusratiomax, sizeof(tmp_defocusratiomax)); if (raw_defocusratiomax != 0) { _this->_internal_set_defocusratiomax(from._internal_defocusratiomax()); } if (from._internal_iscorrectfile3d() != 0) { _this->_internal_set_iscorrectfile3d(from._internal_iscorrectfile3d()); } if (from._internal_isdynamicfocus() != 0) { _this->_internal_set_isdynamicfocus(from._internal_isdynamicfocus()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void CorrectParamCfg::CopyFrom(const CorrectParamCfg& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.CorrectParamCfg) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool CorrectParamCfg::IsInitialized() const { return true; } void CorrectParamCfg::InternalSwap(CorrectParamCfg* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.isdynamicfocus_) + sizeof(CorrectParamCfg::_impl_.isdynamicfocus_) - PROTOBUF_FIELD_OFFSET(CorrectParamCfg, _impl_.xmeasuremin_)>( reinterpret_cast(&_impl_.xmeasuremin_), reinterpret_cast(&other->_impl_.xmeasuremin_)); } ::google::protobuf::Metadata CorrectParamCfg::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[29]); } // =================================================================== class ScanTestCfg::_Internal { public: }; ScanTestCfg::ScanTestCfg(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.ScanTestCfg) } ScanTestCfg::ScanTestCfg(const ScanTestCfg& from) : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:stream.ScanTestCfg) } inline void ScanTestCfg::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.debugshape_){0}, decltype(_impl_.shapesize_){0}, decltype(_impl_.shapesizemin_){0}, decltype(_impl_.shape_size_max_){0}, decltype(_impl_.laser_power_){0}, decltype(_impl_.laser_power_min_){0}, decltype(_impl_.defocus_){0}, decltype(_impl_.defocus_min_){0}, decltype(_impl_.defocus_max_){0}, decltype(_impl_.laser_power_max_){0}, decltype(_impl_.is_cycle_){false}, decltype(_impl_.isautoheatingscanner_){false}, decltype(_impl_.cross_x_){0}, decltype(_impl_.cross_y_){0}, decltype(_impl_.z_distance_){0}, decltype(_impl_.autoheatingscannerminutes_){0u}, decltype(_impl_.autoheatingscannersize_){0u}, decltype(_impl_.autoheatingscannerspeed_){0}, decltype(_impl_.mark_test_start_x_){0}, decltype(_impl_.mark_test_start_y_){0}, decltype(_impl_.mark_test_end_x_){0}, decltype(_impl_.mark_test_end_y_){0}, /*decltype(_impl_._cached_size_)*/ {}, }; } ScanTestCfg::~ScanTestCfg() { // @@protoc_insertion_point(destructor:stream.ScanTestCfg) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void ScanTestCfg::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void ScanTestCfg::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void ScanTestCfg::Clear() { // @@protoc_insertion_point(message_clear_start:stream.ScanTestCfg) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&_impl_.debugshape_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.mark_test_end_y_) - reinterpret_cast(&_impl_.debugshape_)) + sizeof(_impl_.mark_test_end_y_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* ScanTestCfg::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<5, 22, 0, 0, 2> ScanTestCfg::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 22, 248, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4290772992, // skipmap offsetof(decltype(_table_), field_entries), 22, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_ScanTestCfg_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // int32 debugShape = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanTestCfg, _impl_.debugshape_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.debugshape_)}}, // int32 shapeSize = 2; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanTestCfg, _impl_.shapesize_), 63>(), {16, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.shapesize_)}}, // int32 shapeSizeMin = 3; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanTestCfg, _impl_.shapesizemin_), 63>(), {24, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.shapesizemin_)}}, // int32 shape_size_max = 4; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanTestCfg, _impl_.shape_size_max_), 63>(), {32, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.shape_size_max_)}}, // int32 laser_power = 5; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanTestCfg, _impl_.laser_power_), 63>(), {40, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.laser_power_)}}, // int32 laser_power_min = 6; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanTestCfg, _impl_.laser_power_min_), 63>(), {48, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.laser_power_min_)}}, // int32 laser_power_max = 7; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ScanTestCfg, _impl_.laser_power_max_), 63>(), {56, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.laser_power_max_)}}, // double defocus = 8; {::_pbi::TcParser::FastF64S1, {65, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.defocus_)}}, // double defocus_min = 9; {::_pbi::TcParser::FastF64S1, {73, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.defocus_min_)}}, // double defocus_max = 10; {::_pbi::TcParser::FastF64S1, {81, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.defocus_max_)}}, // bool is_cycle = 11; {::_pbi::TcParser::SingularVarintNoZag1(), {88, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.is_cycle_)}}, // double cross_x = 12; {::_pbi::TcParser::FastF64S1, {97, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.cross_x_)}}, // double cross_y = 13; {::_pbi::TcParser::FastF64S1, {105, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.cross_y_)}}, // double z_distance = 14; {::_pbi::TcParser::FastF64S1, {113, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.z_distance_)}}, // bool isAutoHeatingScanner = 15; {::_pbi::TcParser::SingularVarintNoZag1(), {120, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.isautoheatingscanner_)}}, // uint32 autoHeatingScannerMinutes = 16; {::_pbi::TcParser::FastV32S2, {384, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.autoheatingscannerminutes_)}}, // uint32 autoHeatingScannerSize = 17; {::_pbi::TcParser::FastV32S2, {392, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.autoheatingscannersize_)}}, // double autoHeatingScannerSpeed = 18; {::_pbi::TcParser::FastF64S2, {401, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.autoheatingscannerspeed_)}}, // double mark_test_start_x = 19; {::_pbi::TcParser::FastF64S2, {409, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.mark_test_start_x_)}}, // double mark_test_start_y = 20; {::_pbi::TcParser::FastF64S2, {417, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.mark_test_start_y_)}}, // double mark_test_end_x = 21; {::_pbi::TcParser::FastF64S2, {425, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.mark_test_end_x_)}}, // double mark_test_end_y = 22; {::_pbi::TcParser::FastF64S2, {433, 63, 0, PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.mark_test_end_y_)}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // int32 debugShape = 1; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.debugshape_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 shapeSize = 2; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.shapesize_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 shapeSizeMin = 3; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.shapesizemin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 shape_size_max = 4; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.shape_size_max_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 laser_power = 5; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.laser_power_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 laser_power_min = 6; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.laser_power_min_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 laser_power_max = 7; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.laser_power_max_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // double defocus = 8; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.defocus_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double defocus_min = 9; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.defocus_min_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double defocus_max = 10; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.defocus_max_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // bool is_cycle = 11; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.is_cycle_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // double cross_x = 12; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.cross_x_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double cross_y = 13; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.cross_y_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double z_distance = 14; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.z_distance_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // bool isAutoHeatingScanner = 15; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.isautoheatingscanner_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // uint32 autoHeatingScannerMinutes = 16; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.autoheatingscannerminutes_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 autoHeatingScannerSize = 17; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.autoheatingscannersize_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // double autoHeatingScannerSpeed = 18; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.autoheatingscannerspeed_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double mark_test_start_x = 19; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.mark_test_start_x_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double mark_test_start_y = 20; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.mark_test_start_y_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double mark_test_end_x = 21; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.mark_test_end_x_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double mark_test_end_y = 22; {PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.mark_test_end_y_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, }}, // no aux_entries {{ }}, }; ::uint8_t* ScanTestCfg::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.ScanTestCfg) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // int32 debugShape = 1; if (this->_internal_debugshape() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<1>( stream, this->_internal_debugshape(), target); } // int32 shapeSize = 2; if (this->_internal_shapesize() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<2>( stream, this->_internal_shapesize(), target); } // int32 shapeSizeMin = 3; if (this->_internal_shapesizemin() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<3>( stream, this->_internal_shapesizemin(), target); } // int32 shape_size_max = 4; if (this->_internal_shape_size_max() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<4>( stream, this->_internal_shape_size_max(), target); } // int32 laser_power = 5; if (this->_internal_laser_power() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<5>( stream, this->_internal_laser_power(), target); } // int32 laser_power_min = 6; if (this->_internal_laser_power_min() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<6>( stream, this->_internal_laser_power_min(), target); } // int32 laser_power_max = 7; if (this->_internal_laser_power_max() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<7>( stream, this->_internal_laser_power_max(), target); } // double defocus = 8; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_defocus = this->_internal_defocus(); ::uint64_t raw_defocus; memcpy(&raw_defocus, &tmp_defocus, sizeof(tmp_defocus)); if (raw_defocus != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 8, this->_internal_defocus(), target); } // double defocus_min = 9; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_defocus_min = this->_internal_defocus_min(); ::uint64_t raw_defocus_min; memcpy(&raw_defocus_min, &tmp_defocus_min, sizeof(tmp_defocus_min)); if (raw_defocus_min != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 9, this->_internal_defocus_min(), target); } // double defocus_max = 10; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_defocus_max = this->_internal_defocus_max(); ::uint64_t raw_defocus_max; memcpy(&raw_defocus_max, &tmp_defocus_max, sizeof(tmp_defocus_max)); if (raw_defocus_max != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 10, this->_internal_defocus_max(), target); } // bool is_cycle = 11; if (this->_internal_is_cycle() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 11, this->_internal_is_cycle(), target); } // double cross_x = 12; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_cross_x = this->_internal_cross_x(); ::uint64_t raw_cross_x; memcpy(&raw_cross_x, &tmp_cross_x, sizeof(tmp_cross_x)); if (raw_cross_x != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 12, this->_internal_cross_x(), target); } // double cross_y = 13; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_cross_y = this->_internal_cross_y(); ::uint64_t raw_cross_y; memcpy(&raw_cross_y, &tmp_cross_y, sizeof(tmp_cross_y)); if (raw_cross_y != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 13, this->_internal_cross_y(), target); } // double z_distance = 14; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_z_distance = this->_internal_z_distance(); ::uint64_t raw_z_distance; memcpy(&raw_z_distance, &tmp_z_distance, sizeof(tmp_z_distance)); if (raw_z_distance != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 14, this->_internal_z_distance(), target); } // bool isAutoHeatingScanner = 15; if (this->_internal_isautoheatingscanner() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 15, this->_internal_isautoheatingscanner(), target); } // uint32 autoHeatingScannerMinutes = 16; if (this->_internal_autoheatingscannerminutes() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 16, this->_internal_autoheatingscannerminutes(), target); } // uint32 autoHeatingScannerSize = 17; if (this->_internal_autoheatingscannersize() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 17, this->_internal_autoheatingscannersize(), target); } // double autoHeatingScannerSpeed = 18; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_autoheatingscannerspeed = this->_internal_autoheatingscannerspeed(); ::uint64_t raw_autoheatingscannerspeed; memcpy(&raw_autoheatingscannerspeed, &tmp_autoheatingscannerspeed, sizeof(tmp_autoheatingscannerspeed)); if (raw_autoheatingscannerspeed != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 18, this->_internal_autoheatingscannerspeed(), target); } // double mark_test_start_x = 19; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_mark_test_start_x = this->_internal_mark_test_start_x(); ::uint64_t raw_mark_test_start_x; memcpy(&raw_mark_test_start_x, &tmp_mark_test_start_x, sizeof(tmp_mark_test_start_x)); if (raw_mark_test_start_x != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 19, this->_internal_mark_test_start_x(), target); } // double mark_test_start_y = 20; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_mark_test_start_y = this->_internal_mark_test_start_y(); ::uint64_t raw_mark_test_start_y; memcpy(&raw_mark_test_start_y, &tmp_mark_test_start_y, sizeof(tmp_mark_test_start_y)); if (raw_mark_test_start_y != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 20, this->_internal_mark_test_start_y(), target); } // double mark_test_end_x = 21; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_mark_test_end_x = this->_internal_mark_test_end_x(); ::uint64_t raw_mark_test_end_x; memcpy(&raw_mark_test_end_x, &tmp_mark_test_end_x, sizeof(tmp_mark_test_end_x)); if (raw_mark_test_end_x != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 21, this->_internal_mark_test_end_x(), target); } // double mark_test_end_y = 22; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_mark_test_end_y = this->_internal_mark_test_end_y(); ::uint64_t raw_mark_test_end_y; memcpy(&raw_mark_test_end_y, &tmp_mark_test_end_y, sizeof(tmp_mark_test_end_y)); if (raw_mark_test_end_y != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 22, this->_internal_mark_test_end_y(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.ScanTestCfg) return target; } ::size_t ScanTestCfg::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.ScanTestCfg) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // int32 debugShape = 1; if (this->_internal_debugshape() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_debugshape()); } // int32 shapeSize = 2; if (this->_internal_shapesize() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_shapesize()); } // int32 shapeSizeMin = 3; if (this->_internal_shapesizemin() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_shapesizemin()); } // int32 shape_size_max = 4; if (this->_internal_shape_size_max() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_shape_size_max()); } // int32 laser_power = 5; if (this->_internal_laser_power() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_laser_power()); } // int32 laser_power_min = 6; if (this->_internal_laser_power_min() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_laser_power_min()); } // double defocus = 8; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_defocus = this->_internal_defocus(); ::uint64_t raw_defocus; memcpy(&raw_defocus, &tmp_defocus, sizeof(tmp_defocus)); if (raw_defocus != 0) { total_size += 9; } // double defocus_min = 9; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_defocus_min = this->_internal_defocus_min(); ::uint64_t raw_defocus_min; memcpy(&raw_defocus_min, &tmp_defocus_min, sizeof(tmp_defocus_min)); if (raw_defocus_min != 0) { total_size += 9; } // double defocus_max = 10; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_defocus_max = this->_internal_defocus_max(); ::uint64_t raw_defocus_max; memcpy(&raw_defocus_max, &tmp_defocus_max, sizeof(tmp_defocus_max)); if (raw_defocus_max != 0) { total_size += 9; } // int32 laser_power_max = 7; if (this->_internal_laser_power_max() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_laser_power_max()); } // bool is_cycle = 11; if (this->_internal_is_cycle() != 0) { total_size += 2; } // bool isAutoHeatingScanner = 15; if (this->_internal_isautoheatingscanner() != 0) { total_size += 2; } // double cross_x = 12; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_cross_x = this->_internal_cross_x(); ::uint64_t raw_cross_x; memcpy(&raw_cross_x, &tmp_cross_x, sizeof(tmp_cross_x)); if (raw_cross_x != 0) { total_size += 9; } // double cross_y = 13; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_cross_y = this->_internal_cross_y(); ::uint64_t raw_cross_y; memcpy(&raw_cross_y, &tmp_cross_y, sizeof(tmp_cross_y)); if (raw_cross_y != 0) { total_size += 9; } // double z_distance = 14; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_z_distance = this->_internal_z_distance(); ::uint64_t raw_z_distance; memcpy(&raw_z_distance, &tmp_z_distance, sizeof(tmp_z_distance)); if (raw_z_distance != 0) { total_size += 9; } // uint32 autoHeatingScannerMinutes = 16; if (this->_internal_autoheatingscannerminutes() != 0) { total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( this->_internal_autoheatingscannerminutes()); } // uint32 autoHeatingScannerSize = 17; if (this->_internal_autoheatingscannersize() != 0) { total_size += 2 + ::_pbi::WireFormatLite::UInt32Size( this->_internal_autoheatingscannersize()); } // double autoHeatingScannerSpeed = 18; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_autoheatingscannerspeed = this->_internal_autoheatingscannerspeed(); ::uint64_t raw_autoheatingscannerspeed; memcpy(&raw_autoheatingscannerspeed, &tmp_autoheatingscannerspeed, sizeof(tmp_autoheatingscannerspeed)); if (raw_autoheatingscannerspeed != 0) { total_size += 10; } // double mark_test_start_x = 19; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_mark_test_start_x = this->_internal_mark_test_start_x(); ::uint64_t raw_mark_test_start_x; memcpy(&raw_mark_test_start_x, &tmp_mark_test_start_x, sizeof(tmp_mark_test_start_x)); if (raw_mark_test_start_x != 0) { total_size += 10; } // double mark_test_start_y = 20; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_mark_test_start_y = this->_internal_mark_test_start_y(); ::uint64_t raw_mark_test_start_y; memcpy(&raw_mark_test_start_y, &tmp_mark_test_start_y, sizeof(tmp_mark_test_start_y)); if (raw_mark_test_start_y != 0) { total_size += 10; } // double mark_test_end_x = 21; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_mark_test_end_x = this->_internal_mark_test_end_x(); ::uint64_t raw_mark_test_end_x; memcpy(&raw_mark_test_end_x, &tmp_mark_test_end_x, sizeof(tmp_mark_test_end_x)); if (raw_mark_test_end_x != 0) { total_size += 10; } // double mark_test_end_y = 22; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_mark_test_end_y = this->_internal_mark_test_end_y(); ::uint64_t raw_mark_test_end_y; memcpy(&raw_mark_test_end_y, &tmp_mark_test_end_y, sizeof(tmp_mark_test_end_y)); if (raw_mark_test_end_y != 0) { total_size += 10; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData ScanTestCfg::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, ScanTestCfg::MergeImpl }; const ::google::protobuf::Message::ClassData*ScanTestCfg::GetClassData() const { return &_class_data_; } void ScanTestCfg::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.ScanTestCfg) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_debugshape() != 0) { _this->_internal_set_debugshape(from._internal_debugshape()); } if (from._internal_shapesize() != 0) { _this->_internal_set_shapesize(from._internal_shapesize()); } if (from._internal_shapesizemin() != 0) { _this->_internal_set_shapesizemin(from._internal_shapesizemin()); } if (from._internal_shape_size_max() != 0) { _this->_internal_set_shape_size_max(from._internal_shape_size_max()); } if (from._internal_laser_power() != 0) { _this->_internal_set_laser_power(from._internal_laser_power()); } if (from._internal_laser_power_min() != 0) { _this->_internal_set_laser_power_min(from._internal_laser_power_min()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_defocus = from._internal_defocus(); ::uint64_t raw_defocus; memcpy(&raw_defocus, &tmp_defocus, sizeof(tmp_defocus)); if (raw_defocus != 0) { _this->_internal_set_defocus(from._internal_defocus()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_defocus_min = from._internal_defocus_min(); ::uint64_t raw_defocus_min; memcpy(&raw_defocus_min, &tmp_defocus_min, sizeof(tmp_defocus_min)); if (raw_defocus_min != 0) { _this->_internal_set_defocus_min(from._internal_defocus_min()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_defocus_max = from._internal_defocus_max(); ::uint64_t raw_defocus_max; memcpy(&raw_defocus_max, &tmp_defocus_max, sizeof(tmp_defocus_max)); if (raw_defocus_max != 0) { _this->_internal_set_defocus_max(from._internal_defocus_max()); } if (from._internal_laser_power_max() != 0) { _this->_internal_set_laser_power_max(from._internal_laser_power_max()); } if (from._internal_is_cycle() != 0) { _this->_internal_set_is_cycle(from._internal_is_cycle()); } if (from._internal_isautoheatingscanner() != 0) { _this->_internal_set_isautoheatingscanner(from._internal_isautoheatingscanner()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_cross_x = from._internal_cross_x(); ::uint64_t raw_cross_x; memcpy(&raw_cross_x, &tmp_cross_x, sizeof(tmp_cross_x)); if (raw_cross_x != 0) { _this->_internal_set_cross_x(from._internal_cross_x()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_cross_y = from._internal_cross_y(); ::uint64_t raw_cross_y; memcpy(&raw_cross_y, &tmp_cross_y, sizeof(tmp_cross_y)); if (raw_cross_y != 0) { _this->_internal_set_cross_y(from._internal_cross_y()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_z_distance = from._internal_z_distance(); ::uint64_t raw_z_distance; memcpy(&raw_z_distance, &tmp_z_distance, sizeof(tmp_z_distance)); if (raw_z_distance != 0) { _this->_internal_set_z_distance(from._internal_z_distance()); } if (from._internal_autoheatingscannerminutes() != 0) { _this->_internal_set_autoheatingscannerminutes(from._internal_autoheatingscannerminutes()); } if (from._internal_autoheatingscannersize() != 0) { _this->_internal_set_autoheatingscannersize(from._internal_autoheatingscannersize()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_autoheatingscannerspeed = from._internal_autoheatingscannerspeed(); ::uint64_t raw_autoheatingscannerspeed; memcpy(&raw_autoheatingscannerspeed, &tmp_autoheatingscannerspeed, sizeof(tmp_autoheatingscannerspeed)); if (raw_autoheatingscannerspeed != 0) { _this->_internal_set_autoheatingscannerspeed(from._internal_autoheatingscannerspeed()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_mark_test_start_x = from._internal_mark_test_start_x(); ::uint64_t raw_mark_test_start_x; memcpy(&raw_mark_test_start_x, &tmp_mark_test_start_x, sizeof(tmp_mark_test_start_x)); if (raw_mark_test_start_x != 0) { _this->_internal_set_mark_test_start_x(from._internal_mark_test_start_x()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_mark_test_start_y = from._internal_mark_test_start_y(); ::uint64_t raw_mark_test_start_y; memcpy(&raw_mark_test_start_y, &tmp_mark_test_start_y, sizeof(tmp_mark_test_start_y)); if (raw_mark_test_start_y != 0) { _this->_internal_set_mark_test_start_y(from._internal_mark_test_start_y()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_mark_test_end_x = from._internal_mark_test_end_x(); ::uint64_t raw_mark_test_end_x; memcpy(&raw_mark_test_end_x, &tmp_mark_test_end_x, sizeof(tmp_mark_test_end_x)); if (raw_mark_test_end_x != 0) { _this->_internal_set_mark_test_end_x(from._internal_mark_test_end_x()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_mark_test_end_y = from._internal_mark_test_end_y(); ::uint64_t raw_mark_test_end_y; memcpy(&raw_mark_test_end_y, &tmp_mark_test_end_y, sizeof(tmp_mark_test_end_y)); if (raw_mark_test_end_y != 0) { _this->_internal_set_mark_test_end_y(from._internal_mark_test_end_y()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void ScanTestCfg::CopyFrom(const ScanTestCfg& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.ScanTestCfg) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool ScanTestCfg::IsInitialized() const { return true; } void ScanTestCfg::InternalSwap(ScanTestCfg* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.mark_test_end_y_) + sizeof(ScanTestCfg::_impl_.mark_test_end_y_) - PROTOBUF_FIELD_OFFSET(ScanTestCfg, _impl_.debugshape_)>( reinterpret_cast(&_impl_.debugshape_), reinterpret_cast(&other->_impl_.debugshape_)); } ::google::protobuf::Metadata ScanTestCfg::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[30]); } // =================================================================== class SkyWritingCfg::_Internal { public: }; SkyWritingCfg::SkyWritingCfg(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.SkyWritingCfg) } SkyWritingCfg::SkyWritingCfg(const SkyWritingCfg& from) : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:stream.SkyWritingCfg) } inline void SkyWritingCfg::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.timelag_){0}, decltype(_impl_.timelagmin_){0}, decltype(_impl_.timelagmax_){0}, decltype(_impl_.isenable_){false}, decltype(_impl_.nprev_){0u}, decltype(_impl_.laseronshift_){::int64_t{0}}, decltype(_impl_.laseronshiftmin_){::int64_t{0}}, decltype(_impl_.laseronshiftmax_){::int64_t{0}}, decltype(_impl_.nprevmin_){0u}, decltype(_impl_.nprevmax_){0u}, decltype(_impl_.npost_){0u}, decltype(_impl_.npostmin_){0u}, decltype(_impl_.npostmax_){0u}, decltype(_impl_.mode_){0}, decltype(_impl_.limite_){0}, decltype(_impl_.limitemin_){0}, decltype(_impl_.limitemax_){0}, /*decltype(_impl_._cached_size_)*/ {}, }; } SkyWritingCfg::~SkyWritingCfg() { // @@protoc_insertion_point(destructor:stream.SkyWritingCfg) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void SkyWritingCfg::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void SkyWritingCfg::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void SkyWritingCfg::Clear() { // @@protoc_insertion_point(message_clear_start:stream.SkyWritingCfg) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&_impl_.timelag_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.limitemax_) - reinterpret_cast(&_impl_.timelag_)) + sizeof(_impl_.limitemax_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* SkyWritingCfg::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<5, 17, 0, 0, 2> SkyWritingCfg::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 17, 248, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294836224, // skipmap offsetof(decltype(_table_), field_entries), 17, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_SkyWritingCfg_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // bool isEnable = 1; {::_pbi::TcParser::SingularVarintNoZag1(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.isenable_)}}, // double timelag = 2; {::_pbi::TcParser::FastF64S1, {17, 63, 0, PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.timelag_)}}, // double timelagMin = 3; {::_pbi::TcParser::FastF64S1, {25, 63, 0, PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.timelagmin_)}}, // double timelagMax = 4; {::_pbi::TcParser::FastF64S1, {33, 63, 0, PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.timelagmax_)}}, // int64 laserOnShift = 5; {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(SkyWritingCfg, _impl_.laseronshift_), 63>(), {40, 63, 0, PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.laseronshift_)}}, // int64 laserOnShiftMin = 6; {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(SkyWritingCfg, _impl_.laseronshiftmin_), 63>(), {48, 63, 0, PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.laseronshiftmin_)}}, // int64 laserOnShiftMax = 7; {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(SkyWritingCfg, _impl_.laseronshiftmax_), 63>(), {56, 63, 0, PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.laseronshiftmax_)}}, // uint32 nprev = 8; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SkyWritingCfg, _impl_.nprev_), 63>(), {64, 63, 0, PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.nprev_)}}, // uint32 nprevMin = 9; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SkyWritingCfg, _impl_.nprevmin_), 63>(), {72, 63, 0, PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.nprevmin_)}}, // uint32 nprevMax = 10; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SkyWritingCfg, _impl_.nprevmax_), 63>(), {80, 63, 0, PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.nprevmax_)}}, // uint32 npost = 11; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SkyWritingCfg, _impl_.npost_), 63>(), {88, 63, 0, PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.npost_)}}, // uint32 npostMin = 12; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SkyWritingCfg, _impl_.npostmin_), 63>(), {96, 63, 0, PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.npostmin_)}}, // uint32 npostMax = 13; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SkyWritingCfg, _impl_.npostmax_), 63>(), {104, 63, 0, PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.npostmax_)}}, // int32 mode = 14; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SkyWritingCfg, _impl_.mode_), 63>(), {112, 63, 0, PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.mode_)}}, // double limite = 15; {::_pbi::TcParser::FastF64S1, {121, 63, 0, PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.limite_)}}, // double limiteMin = 16; {::_pbi::TcParser::FastF64S2, {385, 63, 0, PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.limitemin_)}}, // double limiteMax = 17; {::_pbi::TcParser::FastF64S2, {393, 63, 0, PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.limitemax_)}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // bool isEnable = 1; {PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.isenable_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // double timelag = 2; {PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.timelag_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double timelagMin = 3; {PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.timelagmin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double timelagMax = 4; {PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.timelagmax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // int64 laserOnShift = 5; {PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.laseronshift_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, // int64 laserOnShiftMin = 6; {PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.laseronshiftmin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, // int64 laserOnShiftMax = 7; {PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.laseronshiftmax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, // uint32 nprev = 8; {PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.nprev_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 nprevMin = 9; {PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.nprevmin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 nprevMax = 10; {PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.nprevmax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 npost = 11; {PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.npost_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 npostMin = 12; {PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.npostmin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 npostMax = 13; {PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.npostmax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // int32 mode = 14; {PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.mode_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // double limite = 15; {PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.limite_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double limiteMin = 16; {PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.limitemin_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, // double limiteMax = 17; {PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.limitemax_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, }}, // no aux_entries {{ }}, }; ::uint8_t* SkyWritingCfg::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.SkyWritingCfg) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // bool isEnable = 1; if (this->_internal_isenable() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 1, this->_internal_isenable(), target); } // double timelag = 2; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_timelag = this->_internal_timelag(); ::uint64_t raw_timelag; memcpy(&raw_timelag, &tmp_timelag, sizeof(tmp_timelag)); if (raw_timelag != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 2, this->_internal_timelag(), target); } // double timelagMin = 3; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_timelagmin = this->_internal_timelagmin(); ::uint64_t raw_timelagmin; memcpy(&raw_timelagmin, &tmp_timelagmin, sizeof(tmp_timelagmin)); if (raw_timelagmin != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 3, this->_internal_timelagmin(), target); } // double timelagMax = 4; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_timelagmax = this->_internal_timelagmax(); ::uint64_t raw_timelagmax; memcpy(&raw_timelagmax, &tmp_timelagmax, sizeof(tmp_timelagmax)); if (raw_timelagmax != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 4, this->_internal_timelagmax(), target); } // int64 laserOnShift = 5; if (this->_internal_laseronshift() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt64ToArrayWithField<5>( stream, this->_internal_laseronshift(), target); } // int64 laserOnShiftMin = 6; if (this->_internal_laseronshiftmin() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt64ToArrayWithField<6>( stream, this->_internal_laseronshiftmin(), target); } // int64 laserOnShiftMax = 7; if (this->_internal_laseronshiftmax() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt64ToArrayWithField<7>( stream, this->_internal_laseronshiftmax(), target); } // uint32 nprev = 8; if (this->_internal_nprev() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 8, this->_internal_nprev(), target); } // uint32 nprevMin = 9; if (this->_internal_nprevmin() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 9, this->_internal_nprevmin(), target); } // uint32 nprevMax = 10; if (this->_internal_nprevmax() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 10, this->_internal_nprevmax(), target); } // uint32 npost = 11; if (this->_internal_npost() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 11, this->_internal_npost(), target); } // uint32 npostMin = 12; if (this->_internal_npostmin() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 12, this->_internal_npostmin(), target); } // uint32 npostMax = 13; if (this->_internal_npostmax() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 13, this->_internal_npostmax(), target); } // int32 mode = 14; if (this->_internal_mode() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<14>( stream, this->_internal_mode(), target); } // double limite = 15; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_limite = this->_internal_limite(); ::uint64_t raw_limite; memcpy(&raw_limite, &tmp_limite, sizeof(tmp_limite)); if (raw_limite != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 15, this->_internal_limite(), target); } // double limiteMin = 16; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_limitemin = this->_internal_limitemin(); ::uint64_t raw_limitemin; memcpy(&raw_limitemin, &tmp_limitemin, sizeof(tmp_limitemin)); if (raw_limitemin != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 16, this->_internal_limitemin(), target); } // double limiteMax = 17; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_limitemax = this->_internal_limitemax(); ::uint64_t raw_limitemax; memcpy(&raw_limitemax, &tmp_limitemax, sizeof(tmp_limitemax)); if (raw_limitemax != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteDoubleToArray( 17, this->_internal_limitemax(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.SkyWritingCfg) return target; } ::size_t SkyWritingCfg::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.SkyWritingCfg) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // double timelag = 2; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_timelag = this->_internal_timelag(); ::uint64_t raw_timelag; memcpy(&raw_timelag, &tmp_timelag, sizeof(tmp_timelag)); if (raw_timelag != 0) { total_size += 9; } // double timelagMin = 3; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_timelagmin = this->_internal_timelagmin(); ::uint64_t raw_timelagmin; memcpy(&raw_timelagmin, &tmp_timelagmin, sizeof(tmp_timelagmin)); if (raw_timelagmin != 0) { total_size += 9; } // double timelagMax = 4; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_timelagmax = this->_internal_timelagmax(); ::uint64_t raw_timelagmax; memcpy(&raw_timelagmax, &tmp_timelagmax, sizeof(tmp_timelagmax)); if (raw_timelagmax != 0) { total_size += 9; } // bool isEnable = 1; if (this->_internal_isenable() != 0) { total_size += 2; } // uint32 nprev = 8; if (this->_internal_nprev() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_nprev()); } // int64 laserOnShift = 5; if (this->_internal_laseronshift() != 0) { total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( this->_internal_laseronshift()); } // int64 laserOnShiftMin = 6; if (this->_internal_laseronshiftmin() != 0) { total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( this->_internal_laseronshiftmin()); } // int64 laserOnShiftMax = 7; if (this->_internal_laseronshiftmax() != 0) { total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( this->_internal_laseronshiftmax()); } // uint32 nprevMin = 9; if (this->_internal_nprevmin() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_nprevmin()); } // uint32 nprevMax = 10; if (this->_internal_nprevmax() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_nprevmax()); } // uint32 npost = 11; if (this->_internal_npost() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_npost()); } // uint32 npostMin = 12; if (this->_internal_npostmin() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_npostmin()); } // uint32 npostMax = 13; if (this->_internal_npostmax() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_npostmax()); } // int32 mode = 14; if (this->_internal_mode() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_mode()); } // double limite = 15; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_limite = this->_internal_limite(); ::uint64_t raw_limite; memcpy(&raw_limite, &tmp_limite, sizeof(tmp_limite)); if (raw_limite != 0) { total_size += 9; } // double limiteMin = 16; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_limitemin = this->_internal_limitemin(); ::uint64_t raw_limitemin; memcpy(&raw_limitemin, &tmp_limitemin, sizeof(tmp_limitemin)); if (raw_limitemin != 0) { total_size += 10; } // double limiteMax = 17; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_limitemax = this->_internal_limitemax(); ::uint64_t raw_limitemax; memcpy(&raw_limitemax, &tmp_limitemax, sizeof(tmp_limitemax)); if (raw_limitemax != 0) { total_size += 10; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData SkyWritingCfg::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, SkyWritingCfg::MergeImpl }; const ::google::protobuf::Message::ClassData*SkyWritingCfg::GetClassData() const { return &_class_data_; } void SkyWritingCfg::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.SkyWritingCfg) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_timelag = from._internal_timelag(); ::uint64_t raw_timelag; memcpy(&raw_timelag, &tmp_timelag, sizeof(tmp_timelag)); if (raw_timelag != 0) { _this->_internal_set_timelag(from._internal_timelag()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_timelagmin = from._internal_timelagmin(); ::uint64_t raw_timelagmin; memcpy(&raw_timelagmin, &tmp_timelagmin, sizeof(tmp_timelagmin)); if (raw_timelagmin != 0) { _this->_internal_set_timelagmin(from._internal_timelagmin()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_timelagmax = from._internal_timelagmax(); ::uint64_t raw_timelagmax; memcpy(&raw_timelagmax, &tmp_timelagmax, sizeof(tmp_timelagmax)); if (raw_timelagmax != 0) { _this->_internal_set_timelagmax(from._internal_timelagmax()); } if (from._internal_isenable() != 0) { _this->_internal_set_isenable(from._internal_isenable()); } if (from._internal_nprev() != 0) { _this->_internal_set_nprev(from._internal_nprev()); } if (from._internal_laseronshift() != 0) { _this->_internal_set_laseronshift(from._internal_laseronshift()); } if (from._internal_laseronshiftmin() != 0) { _this->_internal_set_laseronshiftmin(from._internal_laseronshiftmin()); } if (from._internal_laseronshiftmax() != 0) { _this->_internal_set_laseronshiftmax(from._internal_laseronshiftmax()); } if (from._internal_nprevmin() != 0) { _this->_internal_set_nprevmin(from._internal_nprevmin()); } if (from._internal_nprevmax() != 0) { _this->_internal_set_nprevmax(from._internal_nprevmax()); } if (from._internal_npost() != 0) { _this->_internal_set_npost(from._internal_npost()); } if (from._internal_npostmin() != 0) { _this->_internal_set_npostmin(from._internal_npostmin()); } if (from._internal_npostmax() != 0) { _this->_internal_set_npostmax(from._internal_npostmax()); } if (from._internal_mode() != 0) { _this->_internal_set_mode(from._internal_mode()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_limite = from._internal_limite(); ::uint64_t raw_limite; memcpy(&raw_limite, &tmp_limite, sizeof(tmp_limite)); if (raw_limite != 0) { _this->_internal_set_limite(from._internal_limite()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_limitemin = from._internal_limitemin(); ::uint64_t raw_limitemin; memcpy(&raw_limitemin, &tmp_limitemin, sizeof(tmp_limitemin)); if (raw_limitemin != 0) { _this->_internal_set_limitemin(from._internal_limitemin()); } static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size."); double tmp_limitemax = from._internal_limitemax(); ::uint64_t raw_limitemax; memcpy(&raw_limitemax, &tmp_limitemax, sizeof(tmp_limitemax)); if (raw_limitemax != 0) { _this->_internal_set_limitemax(from._internal_limitemax()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void SkyWritingCfg::CopyFrom(const SkyWritingCfg& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.SkyWritingCfg) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool SkyWritingCfg::IsInitialized() const { return true; } void SkyWritingCfg::InternalSwap(SkyWritingCfg* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.limitemax_) + sizeof(SkyWritingCfg::_impl_.limitemax_) - PROTOBUF_FIELD_OFFSET(SkyWritingCfg, _impl_.timelag_)>( reinterpret_cast(&_impl_.timelag_), reinterpret_cast(&other->_impl_.timelag_)); } ::google::protobuf::Metadata SkyWritingCfg::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[31]); } // =================================================================== class PowerCompensate::_Internal { public: }; PowerCompensate::PowerCompensate(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.PowerCompensate) } PowerCompensate::PowerCompensate(const PowerCompensate& from) : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:stream.PowerCompensate) } inline void PowerCompensate::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.cno_){0}, decltype(_impl_.percent_){0}, decltype(_impl_.value_){0}, decltype(_impl_.value_min_){0}, decltype(_impl_.value_max_){0}, /*decltype(_impl_._cached_size_)*/ {}, }; } PowerCompensate::~PowerCompensate() { // @@protoc_insertion_point(destructor:stream.PowerCompensate) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void PowerCompensate::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void PowerCompensate::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void PowerCompensate::Clear() { // @@protoc_insertion_point(message_clear_start:stream.PowerCompensate) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&_impl_.cno_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.value_max_) - reinterpret_cast(&_impl_.cno_)) + sizeof(_impl_.value_max_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* PowerCompensate::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 5, 0, 0, 2> PowerCompensate::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 5, 56, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967264, // skipmap offsetof(decltype(_table_), field_entries), 5, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_PowerCompensate_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // int32 cno = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(PowerCompensate, _impl_.cno_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(PowerCompensate, _impl_.cno_)}}, // int32 percent = 2; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(PowerCompensate, _impl_.percent_), 63>(), {16, 63, 0, PROTOBUF_FIELD_OFFSET(PowerCompensate, _impl_.percent_)}}, // float value = 3; {::_pbi::TcParser::FastF32S1, {29, 63, 0, PROTOBUF_FIELD_OFFSET(PowerCompensate, _impl_.value_)}}, // float value_min = 4; {::_pbi::TcParser::FastF32S1, {37, 63, 0, PROTOBUF_FIELD_OFFSET(PowerCompensate, _impl_.value_min_)}}, // float value_max = 5; {::_pbi::TcParser::FastF32S1, {45, 63, 0, PROTOBUF_FIELD_OFFSET(PowerCompensate, _impl_.value_max_)}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // int32 cno = 1; {PROTOBUF_FIELD_OFFSET(PowerCompensate, _impl_.cno_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 percent = 2; {PROTOBUF_FIELD_OFFSET(PowerCompensate, _impl_.percent_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // float value = 3; {PROTOBUF_FIELD_OFFSET(PowerCompensate, _impl_.value_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float value_min = 4; {PROTOBUF_FIELD_OFFSET(PowerCompensate, _impl_.value_min_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float value_max = 5; {PROTOBUF_FIELD_OFFSET(PowerCompensate, _impl_.value_max_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, }}, // no aux_entries {{ }}, }; ::uint8_t* PowerCompensate::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.PowerCompensate) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // int32 cno = 1; if (this->_internal_cno() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<1>( stream, this->_internal_cno(), target); } // int32 percent = 2; if (this->_internal_percent() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<2>( stream, this->_internal_percent(), target); } // float value = 3; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_value = this->_internal_value(); ::uint32_t raw_value; memcpy(&raw_value, &tmp_value, sizeof(tmp_value)); if (raw_value != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 3, this->_internal_value(), target); } // float value_min = 4; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_value_min = this->_internal_value_min(); ::uint32_t raw_value_min; memcpy(&raw_value_min, &tmp_value_min, sizeof(tmp_value_min)); if (raw_value_min != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 4, this->_internal_value_min(), target); } // float value_max = 5; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_value_max = this->_internal_value_max(); ::uint32_t raw_value_max; memcpy(&raw_value_max, &tmp_value_max, sizeof(tmp_value_max)); if (raw_value_max != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 5, this->_internal_value_max(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.PowerCompensate) return target; } ::size_t PowerCompensate::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.PowerCompensate) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // int32 cno = 1; if (this->_internal_cno() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_cno()); } // int32 percent = 2; if (this->_internal_percent() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_percent()); } // float value = 3; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_value = this->_internal_value(); ::uint32_t raw_value; memcpy(&raw_value, &tmp_value, sizeof(tmp_value)); if (raw_value != 0) { total_size += 5; } // float value_min = 4; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_value_min = this->_internal_value_min(); ::uint32_t raw_value_min; memcpy(&raw_value_min, &tmp_value_min, sizeof(tmp_value_min)); if (raw_value_min != 0) { total_size += 5; } // float value_max = 5; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_value_max = this->_internal_value_max(); ::uint32_t raw_value_max; memcpy(&raw_value_max, &tmp_value_max, sizeof(tmp_value_max)); if (raw_value_max != 0) { total_size += 5; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData PowerCompensate::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, PowerCompensate::MergeImpl }; const ::google::protobuf::Message::ClassData*PowerCompensate::GetClassData() const { return &_class_data_; } void PowerCompensate::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.PowerCompensate) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_cno() != 0) { _this->_internal_set_cno(from._internal_cno()); } if (from._internal_percent() != 0) { _this->_internal_set_percent(from._internal_percent()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_value = from._internal_value(); ::uint32_t raw_value; memcpy(&raw_value, &tmp_value, sizeof(tmp_value)); if (raw_value != 0) { _this->_internal_set_value(from._internal_value()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_value_min = from._internal_value_min(); ::uint32_t raw_value_min; memcpy(&raw_value_min, &tmp_value_min, sizeof(tmp_value_min)); if (raw_value_min != 0) { _this->_internal_set_value_min(from._internal_value_min()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_value_max = from._internal_value_max(); ::uint32_t raw_value_max; memcpy(&raw_value_max, &tmp_value_max, sizeof(tmp_value_max)); if (raw_value_max != 0) { _this->_internal_set_value_max(from._internal_value_max()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void PowerCompensate::CopyFrom(const PowerCompensate& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.PowerCompensate) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool PowerCompensate::IsInitialized() const { return true; } void PowerCompensate::InternalSwap(PowerCompensate* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(PowerCompensate, _impl_.value_max_) + sizeof(PowerCompensate::_impl_.value_max_) - PROTOBUF_FIELD_OFFSET(PowerCompensate, _impl_.cno_)>( reinterpret_cast(&_impl_.cno_), reinterpret_cast(&other->_impl_.cno_)); } ::google::protobuf::Metadata PowerCompensate::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[32]); } // =================================================================== class TimePowerCompensate::_Internal { public: }; TimePowerCompensate::TimePowerCompensate(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:stream.TimePowerCompensate) } TimePowerCompensate::TimePowerCompensate(const TimePowerCompensate& from) : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:stream.TimePowerCompensate) } inline void TimePowerCompensate::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ decltype(_impl_.id_){0}, decltype(_impl_.cno_){0}, decltype(_impl_.startminute_){0u}, decltype(_impl_.endminute_){0u}, decltype(_impl_.compensate_){0}, /*decltype(_impl_._cached_size_)*/ {}, }; } TimePowerCompensate::~TimePowerCompensate() { // @@protoc_insertion_point(destructor:stream.TimePowerCompensate) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void TimePowerCompensate::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } void TimePowerCompensate::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } PROTOBUF_NOINLINE void TimePowerCompensate::Clear() { // @@protoc_insertion_point(message_clear_start:stream.TimePowerCompensate) ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; ::memset(&_impl_.id_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.compensate_) - reinterpret_cast(&_impl_.id_)) + sizeof(_impl_.compensate_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* TimePowerCompensate::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 5, 0, 0, 2> TimePowerCompensate::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 5, 56, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967264, // skipmap offsetof(decltype(_table_), field_entries), 5, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_TimePowerCompensate_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ {::_pbi::TcParser::MiniParse, {}}, // int32 id = 1; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TimePowerCompensate, _impl_.id_), 63>(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(TimePowerCompensate, _impl_.id_)}}, // int32 cno = 2; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TimePowerCompensate, _impl_.cno_), 63>(), {16, 63, 0, PROTOBUF_FIELD_OFFSET(TimePowerCompensate, _impl_.cno_)}}, // uint32 startMinute = 3; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TimePowerCompensate, _impl_.startminute_), 63>(), {24, 63, 0, PROTOBUF_FIELD_OFFSET(TimePowerCompensate, _impl_.startminute_)}}, // uint32 endMinute = 4; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TimePowerCompensate, _impl_.endminute_), 63>(), {32, 63, 0, PROTOBUF_FIELD_OFFSET(TimePowerCompensate, _impl_.endminute_)}}, // float compensate = 5; {::_pbi::TcParser::FastF32S1, {45, 63, 0, PROTOBUF_FIELD_OFFSET(TimePowerCompensate, _impl_.compensate_)}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // int32 id = 1; {PROTOBUF_FIELD_OFFSET(TimePowerCompensate, _impl_.id_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int32 cno = 2; {PROTOBUF_FIELD_OFFSET(TimePowerCompensate, _impl_.cno_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // uint32 startMinute = 3; {PROTOBUF_FIELD_OFFSET(TimePowerCompensate, _impl_.startminute_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // uint32 endMinute = 4; {PROTOBUF_FIELD_OFFSET(TimePowerCompensate, _impl_.endminute_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, // float compensate = 5; {PROTOBUF_FIELD_OFFSET(TimePowerCompensate, _impl_.compensate_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, }}, // no aux_entries {{ }}, }; ::uint8_t* TimePowerCompensate::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:stream.TimePowerCompensate) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // int32 id = 1; if (this->_internal_id() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<1>( stream, this->_internal_id(), target); } // int32 cno = 2; if (this->_internal_cno() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<2>( stream, this->_internal_cno(), target); } // uint32 startMinute = 3; if (this->_internal_startminute() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 3, this->_internal_startminute(), target); } // uint32 endMinute = 4; if (this->_internal_endminute() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 4, this->_internal_endminute(), target); } // float compensate = 5; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_compensate = this->_internal_compensate(); ::uint32_t raw_compensate; memcpy(&raw_compensate, &tmp_compensate, sizeof(tmp_compensate)); if (raw_compensate != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteFloatToArray( 5, this->_internal_compensate(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:stream.TimePowerCompensate) return target; } ::size_t TimePowerCompensate::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:stream.TimePowerCompensate) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // int32 id = 1; if (this->_internal_id() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_id()); } // int32 cno = 2; if (this->_internal_cno() != 0) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this->_internal_cno()); } // uint32 startMinute = 3; if (this->_internal_startminute() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_startminute()); } // uint32 endMinute = 4; if (this->_internal_endminute() != 0) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this->_internal_endminute()); } // float compensate = 5; static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_compensate = this->_internal_compensate(); ::uint32_t raw_compensate; memcpy(&raw_compensate, &tmp_compensate, sizeof(tmp_compensate)); if (raw_compensate != 0) { total_size += 5; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } const ::google::protobuf::Message::ClassData TimePowerCompensate::_class_data_ = { ::google::protobuf::Message::CopyWithSourceCheck, TimePowerCompensate::MergeImpl }; const ::google::protobuf::Message::ClassData*TimePowerCompensate::GetClassData() const { return &_class_data_; } void TimePowerCompensate::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:stream.TimePowerCompensate) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_id() != 0) { _this->_internal_set_id(from._internal_id()); } if (from._internal_cno() != 0) { _this->_internal_set_cno(from._internal_cno()); } if (from._internal_startminute() != 0) { _this->_internal_set_startminute(from._internal_startminute()); } if (from._internal_endminute() != 0) { _this->_internal_set_endminute(from._internal_endminute()); } static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size."); float tmp_compensate = from._internal_compensate(); ::uint32_t raw_compensate; memcpy(&raw_compensate, &tmp_compensate, sizeof(tmp_compensate)); if (raw_compensate != 0) { _this->_internal_set_compensate(from._internal_compensate()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void TimePowerCompensate::CopyFrom(const TimePowerCompensate& from) { // @@protoc_insertion_point(class_specific_copy_from_start:stream.TimePowerCompensate) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool TimePowerCompensate::IsInitialized() const { return true; } void TimePowerCompensate::InternalSwap(TimePowerCompensate* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(TimePowerCompensate, _impl_.compensate_) + sizeof(TimePowerCompensate::_impl_.compensate_) - PROTOBUF_FIELD_OFFSET(TimePowerCompensate, _impl_.id_)>( reinterpret_cast(&_impl_.id_), reinterpret_cast(&other->_impl_.id_)); } ::google::protobuf::Metadata TimePowerCompensate::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once, file_level_metadata_stream_2eproto[33]); } // @@protoc_insertion_point(namespace_scope) } // namespace stream namespace google { namespace protobuf { } // namespace protobuf } // namespace google // @@protoc_insertion_point(global_scope) #include "google/protobuf/port_undef.inc"