GrpcPrint/PrintS/protobuf/stream.pb.cc

3635 lines
133 KiB
C++

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: stream.proto
#include "stream.pb.h"
#include <algorithm>
#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 <typename>
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_._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 <typename>
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 <typename>
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 <typename>
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 <typename>
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 <typename>
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 <typename>
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 <typename>
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 <typename>
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 <typename>
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 <typename>
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 <typename>
PROTOBUF_CONSTEXPR ComResponce::ComResponce(::_pbi::ConstantInitialized)
: _impl_{
/*decltype(_impl_.data_)*/ {
&::_pbi::fixed_address_empty_string,
::_pbi::ConstantInitialized{},
},
/*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_;
} // namespace stream
static ::_pb::Metadata file_level_metadata_stream_2eproto[12];
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_),
~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_),
~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, _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_),
};
static const ::_pbi::MigrationSchema
schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
{0, -1, -1, sizeof(::stream::ParamInfo)},
{15, -1, -1, sizeof(::stream::RequestInfo)},
{29, -1, -1, sizeof(::stream::ResponseInfo)},
{40, 49, -1, sizeof(::stream::ResponseAny)},
{50, -1, -1, sizeof(::stream::LayerData)},
{63, -1, -1, sizeof(::stream::LayerDataBlock)},
{77, -1, -1, sizeof(::stream::VectorDataBlock)},
{89, -1, -1, sizeof(::stream::ChainDataBlock)},
{99, -1, -1, sizeof(::stream::Point)},
{109, -1, -1, sizeof(::stream::RegResponce)},
{118, -1, -1, sizeof(::stream::ImgInfoResponce)},
{129, -1, -1, sizeof(::stream::ComResponce)},
};
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::_RegResponce_default_instance_._instance,
&::stream::_ImgInfoResponce_default_instance_._instance,
&::stream::_ComResponce_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\"\223\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\""
"\254\001\n\013RequestInfo\022\020\n\010dataType\030\001 \001(\r\022\017\n\007nam"
"eKey\030\002 \001(\014\022\020\n\010strValue\030\003 \001(\014\022\037\n\tvalueTyp"
"e\030\004 \001(\0162\014.stream.TYPE\022&\n\nhandleType\030\005 \001("
"\0162\022.stream.DATAHANDLE\022\037\n\004item\030\006 \003(\0132\021.st"
"ream.ParamInfo\"Q\n\014ResponseInfo\022\020\n\010dataTy"
"pe\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\013ResponseAny\022\"\n\004data"
"\030\001 \001(\0132\024.google.protobuf.Any\"\210\001\n\tLayerDa"
"ta\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\016layerDataBloc"
"k\030\004 \003(\0132\026.stream.LayerDataBlock\022\016\n\006resul"
"t\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\tblockTy"
"pe\030\003 \001(\r\022*\n\tvecBlocks\030\004 \003(\0132\027.stream.Vec"
"torDataBlock\022+\n\013chainBlocks\030\005 \003(\0132\026.stre"
"am.ChainDataBlock\022\r\n\005order\030\006 \001(\r\"M\n\017Vect"
"orDataBlock\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\016Chain"
"DataBlock\022\016\n\006dotNum\030\001 \001(\r\022\037\n\010pointVec\030\002 "
"\003(\0132\r.stream.Point\"#\n\005Point\022\014\n\004xPos\030\001 \001("
"\002\022\014\n\004yPos\030\002 \001(\002\"\033\n\013RegResponce\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\006height\030\003 \001(\005\"\033\n\013Co"
"mResponce\022\014\n\004data\030\001 \001(\014*\223\001\n\004TYPE\022\t\n\005iBOO"
"L\020\000\022\n\n\006iSHORT\020\001\022\013\n\007iUSHORT\020\002\022\010\n\004iINT\020\003\022\t"
"\n\005iUINT\020\004\022\n\n\006iFLOAT\020\005\022\013\n\007iSTRING\020\006\022\t\n\005iC"
"HAR\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"
".stream.RequestInfo\032\023.stream.ResponseAny"
"\"\000\022=\n\014ServerStream\022\023.stream.RequestInfo\032"
"\024.stream.ResponseInfo\"\0000\001\022=\n\014ClientStrea"
"m\022\023.stream.RequestInfo\032\024.stream.Response"
"Info\"\000(\001\022<\n\tAllStream\022\023.stream.RequestIn"
"fo\032\024.stream.ResponseInfo\"\000(\0010\001B-\n\027io.grp"
"c.examples.streamB\013StreamProtoP\001\242\002\002STb\006p"
"roto3"
};
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,
1645,
descriptor_table_protodef_stream_2eproto,
"stream.proto",
&descriptor_table_stream_2eproto_once,
descriptor_table_stream_2eproto_deps,
1,
12,
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_._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<char*>(&_impl_.isshow_) -
reinterpret_cast<char*>(&_impl_.valuetype_)) + sizeof(_impl_.isshow_));
// @@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_._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<char*>(&_impl_.isshow_) -
reinterpret_cast<char*>(&_impl_.valuetype_)) + sizeof(_impl_.isshow_));
_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<3, 7, 0, 0, 2> ParamInfo::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
7, 56, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967168, // skipmap
offsetof(decltype(_table_), field_entries),
7, // 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<bool, offsetof(ParamInfo, _impl_.isenable_), 63>(),
{40, 63, 0, PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.isenable_)}},
// bool isAlarm = 6;
{::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ParamInfo, _impl_.isalarm_), 63>(),
{48, 63, 0, PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.isalarm_)}},
// bool isShow = 7;
{::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ParamInfo, _impl_.isshow_), 63>(),
{56, 63, 0, PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.isshow_)}},
}}, {{
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)},
}},
// 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);
}
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;
}
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<ParamInfo*>(&to_msg);
auto& from = static_cast<const ParamInfo&>(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());
}
_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_.isshow_)
+ sizeof(ParamInfo::_impl_.isshow_)
- PROTOBUF_FIELD_OFFSET(ParamInfo, _impl_.valuetype_)>(
reinterpret_cast<char*>(&_impl_.valuetype_),
reinterpret_cast<char*>(&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<char*>(&_impl_.handletype_) -
reinterpret_cast<char*>(&_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<char*>(&_impl_.handletype_) -
reinterpret_cast<char*>(&_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<unsigned>(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<RequestInfo*>(&to_msg);
auto& from = static_cast<const RequestInfo&>(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<char*>(&_impl_.datatype_),
reinterpret_cast<char*>(&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<char*>(&_impl_.result_) -
reinterpret_cast<char*>(&_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<char*>(&_impl_.result_) -
reinterpret_cast<char*>(&_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<bool, offsetof(ResponseInfo, _impl_.result_), 63>(),
{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<unsigned>(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<ResponseInfo*>(&to_msg);
auto& from = static_cast<const ResponseInfo&>(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<char*>(&_impl_.datatype_),
reinterpret_cast<char*>(&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<ResponseAny>()._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<ResponseAny*>(&to_msg);
auto& from = static_cast<const ResponseAny&>(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<char*>(&_impl_.result_) -
reinterpret_cast<char*>(&_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<char*>(&_impl_.result_) -
reinterpret_cast<char*>(&_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<bool, offsetof(LayerData, _impl_.result_), 63>(),
{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<unsigned>(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<LayerData*>(&to_msg);
auto& from = static_cast<const LayerData&>(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<char*>(&_impl_.zcooldinate_),
reinterpret_cast<char*>(&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<char*>(&_impl_.order_) -
reinterpret_cast<char*>(&_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<char*>(&_impl_.order_) -
reinterpret_cast<char*>(&_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<unsigned>(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<unsigned>(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<LayerDataBlock*>(&to_msg);
auto& from = static_cast<const LayerDataBlock&>(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<char*>(&_impl_.elementid_),
reinterpret_cast<char*>(&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<char*>(&_impl_.endy_) -
reinterpret_cast<char*>(&_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<VectorDataBlock*>(&to_msg);
auto& from = static_cast<const VectorDataBlock&>(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<char*>(&_impl_.startx_),
reinterpret_cast<char*>(&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<unsigned>(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<ChainDataBlock*>(&to_msg);
auto& from = static_cast<const ChainDataBlock&>(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<char*>(&_impl_.ypos_) -
reinterpret_cast<char*>(&_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<Point*>(&to_msg);
auto& from = static_cast<const Point&>(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<char*>(&_impl_.xpos_),
reinterpret_cast<char*>(&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 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<RegResponce*>(&to_msg);
auto& from = static_cast<const RegResponce&>(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[9]);
}
// ===================================================================
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<char*>(&_impl_.height_) -
reinterpret_cast<char*>(&_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<ImgInfoResponce*>(&to_msg);
auto& from = static_cast<const ImgInfoResponce&>(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<char*>(&_impl_.levelimage_),
reinterpret_cast<char*>(&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[10]);
}
// ===================================================================
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_.data_){},
/*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());
}
// @@protoc_insertion_point(copy_constructor:stream.ComResponce)
}
inline void ComResponce::SharedCtor(::_pb::Arena* arena) {
(void)arena;
new (&_impl_) Impl_{
decltype(_impl_.data_){},
/*decltype(_impl_._cached_size_)*/ {},
};
_impl_.data_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.data_.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_.data_.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;
_impl_.data_.ClearToEmpty();
_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<0, 1, 0, 0, 2> ComResponce::_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
&_ComResponce_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
// bytes data = 1;
{::_pbi::TcParser::FastBS1,
{10, 63, 0, PROTOBUF_FIELD_OFFSET(ComResponce, _impl_.data_)}},
}}, {{
65535, 65535
}}, {{
// bytes data = 1;
{PROTOBUF_FIELD_OFFSET(ComResponce, _impl_.data_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
}},
// no aux_entries
{{
}},
};
::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);
}
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;
// bytes data = 1;
if (!this->_internal_data().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
this->_internal_data());
}
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<ComResponce*>(&to_msg);
auto& from = static_cast<const ComResponce&>(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;
if (!from._internal_data().empty()) {
_this->_internal_set_data(from._internal_data());
}
_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_);
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, lhs_arena,
&other->_impl_.data_, rhs_arena);
}
::google::protobuf::Metadata ComResponce::GetMetadata() const {
return ::_pbi::AssignDescriptors(
&descriptor_table_stream_2eproto_getter, &descriptor_table_stream_2eproto_once,
file_level_metadata_stream_2eproto[11]);
}
// @@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"