write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
if (isSetS2_max_level()) {
oprot.writeFieldBegin(_S2_MAX_LEVEL_FIELD_DESC);
oprot.writeI32(this.s2_max_level);
oprot.writeFieldEnd();
}
if (isSetS2_max_cells()) {
oprot.writeFieldBegin(_S2_MAX_CELLS_FIELD_DESC);
oprot.writeI32(this.s2_max_cells);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}