void ApplicationAttemptId::setApplicationId(ApplicationID &appId) {
	ApplicationIdProto *proto = new ApplicationIdProto();
	proto->CopyFrom(appId.getProto());
	attemptIdProto.set_allocated_application_id(proto);
}
void KillApplicationRequest::setApplicationId(ApplicationId &applicationId) {
	ApplicationIdProto* appId = new ApplicationIdProto();
	appId->CopyFrom(applicationId.getProto());
	requestProto.set_allocated_application_id(appId);
}