write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
oprot.writeFieldBegin(_TYPE_FIELD_DESC);
oprot.writeI32(this.type);
oprot.writeFieldEnd();
oprot.writeFieldStop();
oprot.writeStructEnd();
}