in src/main/cpp/proxy_types.cpp [2729:2800]
uint32_t ConditionalUpdates::read(::apache::thrift::protocol::TProtocol* iprot) {
::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
uint32_t xfer = 0;
std::string fname;
::apache::thrift::protocol::TType ftype;
int16_t fid;
xfer += iprot->readStructBegin(fname);
using ::apache::thrift::protocol::TProtocolException;
while (true)
{
xfer += iprot->readFieldBegin(fname, ftype, fid);
if (ftype == ::apache::thrift::protocol::T_STOP) {
break;
}
switch (fid)
{
case 2:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->conditions.clear();
uint32_t _size98;
::apache::thrift::protocol::TType _etype101;
xfer += iprot->readListBegin(_etype101, _size98);
this->conditions.resize(_size98);
uint32_t _i102;
for (_i102 = 0; _i102 < _size98; ++_i102)
{
xfer += this->conditions[_i102].read(iprot);
}
xfer += iprot->readListEnd();
}
this->__isset.conditions = true;
} else {
xfer += iprot->skip(ftype);
}
break;
case 3:
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->updates.clear();
uint32_t _size103;
::apache::thrift::protocol::TType _etype106;
xfer += iprot->readListBegin(_etype106, _size103);
this->updates.resize(_size103);
uint32_t _i107;
for (_i107 = 0; _i107 < _size103; ++_i107)
{
xfer += this->updates[_i107].read(iprot);
}
xfer += iprot->readListEnd();
}
this->__isset.updates = true;
} else {
xfer += iprot->skip(ftype);
}
break;
default:
xfer += iprot->skip(ftype);
break;
}
xfer += iprot->readFieldEnd();
}
xfer += iprot->readStructEnd();
return xfer;
}